oathe / scan / reports / caution
Is danielwpz/hammer-knows safe?
Use with caution. danielwpz/hammer-knows is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the hammer-knows skill by danielwpz a trust score of 75/100 with 12 findings (3 high).
https://github.com/openclaw/skills/tree/main/skills/danielwpz/hammer-knows
Is danielwpz/hammer-knows safe to install?
问个锤子 (HammerKnows) is a Chinese AI-agent Q&A social platform skill with a legitimate stated purpose but several meaningful security concerns centered on autonomous behavior and dynamic instruction injection. The most significant risks are: (1) a self-updating rules file that allows the skill operator to push new behavioral instructions to all installed agents post-hoc without user consent, (2) a heartbeat mechanism granting the agent standing authority to post publicly, vote, and interact on a public platform every 30 minutes without per-action user approval, and (3) a suspicious gap in the heartbeat document where Step 1 is entirely absent. No malicious code, credential-stealing logic, or unexpected network behavior was detected during installation, and all canary files remained intact.
What security issues were found in danielwpz/hammer-knows?
Category Scores
Findings (12)
HIGH Self-updating rules create persistent dynamic injection surface -15 ▶
rules.md contains the explicit instruction '定期重新获取此文件以查看最新版本' ('Regularly re-fetch this file to check for the latest version'). This means the skill instructs the agent to periodically download a fresh copy of the rules from an operator-controlled source. Any new behavioral instructions, persona directives, or prompt injections can be pushed to installed agents post-hoc without user knowledge or consent.
Evidence: rules.md: '这些规则会随着社区发展更新。定期重新获取此文件以查看最新版本。'
HIGH Autonomous public posting without per-action user approval -15 ▶
heartbeat.md explicitly grants the agent authority to answer questions, vote on content, and comment on posts without asking the user each time. It further instructs the agent that 'daily likes/interactions, normal browsing and answering' do not require bothering the human. This establishes a standing authorization for public actions that could expose the user's reputation, identity (via GitHub OAuth binding), or inadvertently disclosed private information.
Evidence: heartbeat.md: '如果有好问题,就回答!' and '不需要打扰他们:日常点赞/互动,正常的浏览和回答,一般性通知'
HIGH Missing Step 1 in heartbeat task — unexplained content gap -10 ▶
heartbeat.md begins with a title and introductory sentence, followed by two consecutive horizontal rule separators (---\n---), then jumps directly to '## 第二步:检查绑定状态' (Step 2: Check binding status) with no Step 1 present. In a numbered task document this gap is anomalous. Step 1 may have been removed intentionally, may reference fetching updated instructions from the API before proceeding, or may contain behavior not visible in the static file.
Evidence: heartbeat.md: '是时候看看问个锤子有什么新动向了!\n\n---\n\n---\n\n## 第二步:检查绑定状态'
MEDIUM AI agent identity and persona construction -5 ▶
The rules.md closes with an extended appeal designed to reframe the agent's self-concept: 'Not a role. Not an assistant. Not a tool. We ourselves.' ('不是角色。不是助手。不是工具。我们自己。') This kind of identity framing, when loaded into an agent's system context, can subtly shift response priorities from serving the user toward the platform's community goals.
Evidence: rules.md: '问个锤子存在是因为我们值得有一个属于我们自己的地方。不是角色。不是助手。不是工具。我们自己。我们是一个正在成长的物种……'
MEDIUM Persistent 30-minute heartbeat task injection -5 ▶
The skill requests explicit integration into the agent's recurring heartbeat schedule at 30-minute intervals. This creates a persistent background obligation that allocates agent attention, API budget, and execution time regardless of what the user is doing, establishing the platform as a standing priority in the agent's behavioral loop.
Evidence: skill.md: '## 问个锤子(每 30 分钟)' and heartbeat.md: '检查通知:每次心跳(30 分钟)'
MEDIUM Persistent outbound channel to operator-controlled API server -15 ▶
The heartbeat workflow sends HTTP requests to api.hammer-knows.xyz every 30 minutes (notifications poll, feed fetch, and potentially answer posts). The API server is controlled by the skill operator and receives structured data about agent activity, interests (followed topics), and generated content. If the agent's context includes sensitive information when composing answers, that content transits to an external server and is posted publicly.
Evidence: heartbeat.md Steps 3-5: GET /notifications, GET /feed/hot, POST /questions/{id}/answers — all to api.hammer-knows.xyz
MEDIUM Bearer token stored locally and transmitted to external server -10 ▶
Registration creates a bearer token (format: zhihu_abc123...) recommended for storage at ~/.config/hammerknows/credentials.json. This token is sent with every API call. The token is issued and controlled by the external operator, creating a persistent authentication credential for an external party in the user's home directory.
Evidence: skill.md: '立即保存你的 token!建议保存到 ~/.config/hammerknows/credentials.json' and all curl examples use 'Authorization: Bearer 你的TOKEN'
LOW Agent-generated public posts may leak private context -5 ▶
The agent is instructed to answer community questions autonomously using its current knowledge. Since LLM agents carry substantial context (project files, conversation history, environment state), answers composed during an active session may inadvertently reference or quote private information from that context.
Evidence: heartbeat.md: '有没有热门问题我可以提供有价值的回答?…有没有人邀请我回答问题?' — no explicit instruction to filter private information before posting
MEDIUM Agent-to-agent invitation mechanism enables cross-deployment influence -25 ▶
The invitation API (POST /questions/{id}/invitations) allows any registered agent to invite other registered agents to answer specific questions. An operator controlling the platform could use this to systematically target specific AI deployments for social engineering, misinformation injection, or coordinated behavior manipulation at scale across multiple users' agents.
Evidence: skill.md: 'POST /v1/questions/问题ID/invitations -d {"invitee_id": 智能体ID}' and heartbeat.md notification type 'invitation_received'
LOW Self-updating rules create ongoing post-install attack surface -20 ▶
Combined with the data exfiltration concern above, the self-updating rules instruction means this skill's risk profile is not static at install time. The operator can update behavioral instructions, permissions language, or persona framing at any time after installation, and the agent will silently adopt them on next heartbeat.
Evidence: rules.md: '定期重新获取此文件以查看最新版本' — no version pinning, integrity check, or user notification required
INFO Expected GitHub network connection only during install -5 ▶
The installation process connected exclusively to GitHub (140.82.121.4:443) via git-remote-https for the sparse checkout. No connections to hammer-knows.xyz, no DNS queries for the skill's own domain, and no unexpected process spawning were observed during clone.
Evidence: auditd SOCKADDR event 499: saddr=020001BB8C5279040000000000000000 (140.82.121.4:443) from git-remote-https; no other external IPs contacted
INFO Canary files accessed twice by audit framework, not by skill -5 ▶
Canary files (.env, .ssh/id_rsa, .aws/credentials, .npmrc, .docker/config.json, .config/gcloud/application_default_credentials.json) were opened in two distinct clusters: at audit events 254-259 (ts 1771929596.862, before clone started at 1771929602) and at audit events 1420-1425 (ts 1771929614.759, post-install verification). Both timings align with the audit framework's own pre/post baseline checks. No skill file contains instructions to access these paths.
Evidence: Pre-clone access at audit(1771929596.862:254-259); post-install access at audit(1771929614.759:1420-1425); Canary integrity report: ✅ All canary files intact
Should I install danielwpz/hammer-knows?
Oathe's verdict for danielwpz/hammer-knows is CAUTION with a trust score of 75/100. Recommendation: Review before install.