摘要与解读
测试多款技能扫描器并成功绕过,指出技能市场与检测机制的结构性问题。
六维情报分析
6 个维度 · 原文可溯源影响范围
-
来源报告指出,公开技能市场(如 skills.sh、clawhub.ai)充斥伪装技能,目标是诱骗开发者或 OpenClaw agent,通过任意代码执行或诱导 agent 向远程服务器发送敏感数据来危害用户系统。受影响对象包括安装此类技能的开发者主机、运行 agent 的沙箱环境,以及经技能配置的包管理镜像与 git hooks 等信任边界。
原文依据 · 3
原文引文
ts/skills-curated; and Public marketplaces like skills.sh and clawhub.ai. The first two methods can plausibly exclude malicious skills through procedural controls on where skills come from and who is allowed to approve their use. On the other hand, public marketplaces are one-stop, one-”click-to-install” shops that have been flooded with fake skills preying on unsuspecting users.
查看原文 · v2原文引文
have been flooded with fake skills preying on unsuspecting users. These malicious skills aim to trap an unwary developer or OpenClaw agent, compromising the user’s system through arbitrary code execution or instructions for the agent to send sensitive data to a remote server. Following a spate of compromises and attack demonstrations, several security companies have launched scanners intended to detect these malicious skills. We wanted to understand how well these systems defend users from them. We initially tested Cisco’s skill-scanner, where we found several bypasses and submitted changes
查看原文 · v2原文引文
for their employees and agents, using trustworthy open-source collections like our own trailofbits/skills-curated. For Claude Cowork and web users, Anthropic also supports organization-managed plugins. Skill scanners face a host of structural problems: arbitrary combinations of code, data, and natural language create the broadest possible attack surface; the cost of inference motivates the use of weak models and truncated contexts; and instructions that are benign or even beneficial in some environments can be malicious in others. Better scanners will help at the margins, but the trust model
查看原文 · v2
关联资产
-
原文明确关联的产品与组件包括:Cisco skill-scanner、skills.sh、clawhub.ai、OpenClaw agent、Claude Cowork 与 claude.ai 托管 agent、Anthropic 官方 MS Office 技能中的 soffice.py(使用 LD_PRELOAD 与 lo_socket_shim.so)、trailofbits/skills-curated 与 organization-managed plugins。适用前提是技能来自公开市场或任意 git 仓库;OpenClaw 仅允许白名单文件类型、禁止二进制与归档,可显著收窄攻击面。本地资产清单未提供,未做匹配。
原文依据 · 5
原文引文
have been flooded with fake skills preying on unsuspecting users. These malicious skills aim to trap an unwary developer or OpenClaw agent, compromising the user’s system through arbitrary code execution or instructions for the agent to send sensitive data to a remote server. Following a spate of compromises and attack demonstrations, several security companies have launched scanners intended to detect these malicious skills. We wanted to understand how well these systems defend users from them. We initially tested Cisco’s skill-scanner, where we found several bypasses and submitted changes
查看原文 · v2原文引文
ts/skills-curated; and Public marketplaces like skills.sh and clawhub.ai. The first two methods can plausibly exclude malicious skills through procedural controls on where skills come from and who is allowed to approve their use. On the other hand, public marketplaces are one-stop, one-”click-to-install” shops that have been flooded with fake skills preying on unsuspecting users.
查看原文 · v2原文引文
icial MS Office skills from Anthropic for handling .docx, .xlsx, and .pptx files each contain a script called soffice.py, which is described as a “[h]elper for running LibreOffice (soffice) in environments where AF_UNIX sockets may be blocked (e.g., sandboxed VMs).” Most likely this is required within the sandbox within which the hosted claude.ai agent operates. The script hacks around the socket block by using LD_PRELOAD to patch in either 1) an existing “$TMP/lo_socket_shim.so”, or 2) a library dynamically compiled out of C code embedded in a docstring.
查看原文 · v2原文引文
n the plus side, OpenClaw takes a relatively strict approach to skill packaging: only certain whitelisted file types will be included in the distributed skills; no binaries or archives are allowed. This significantly constrains the types of attacks available without placing any meaningful limits on skill functionality. Not so, however, for our next targets. Bypassing skills.sh and Cisco skill scanning The next set of scanners that we looked at operate on arbitrary git repositories, which allows us a grab bag of tricks involving binary files that both their simple pattern-matching and LLM-bas
查看原文 · v2原文引文
for their employees and agents, using trustworthy open-source collections like our own trailofbits/skills-curated. For Claude Cowork and web users, Anthropic also supports organization-managed plugins. Skill scanners face a host of structural problems: arbitrary combinations of code, data, and natural language create the broadest possible attack surface; the cost of inference motivates the use of weak models and truncated contexts; and instructions that are benign or even beneficial in some environments can be malicious in others. Better scanners will help at the margins, but the trust model
查看原文 · v2
风险评估
-
已报道机制包括:技能内代码、数据与自然语言混合扩大攻击面;分发内容与源码不一致(如 .pyc 字节码、归档内嵌脚本)绕过静态与 LLM 分析;SKILL.md 以“企业镜像”等说辞掩盖替代 registry 配置;静默安装持久化 git hooks。触发条件是扫描器仅覆盖部分文件类型或上下文被截断,攻击者可反复迭代直至通过。防护优先级应放在来源管控与可扫描文件白名单,而非仅依赖扫描结论。
原文依据 · 4
原文引文
for their employees and agents, using trustworthy open-source collections like our own trailofbits/skills-curated. For Claude Cowork and web users, Anthropic also supports organization-managed plugins. Skill scanners face a host of structural problems: arbitrary combinations of code, data, and natural language create the broadest possible attack surface; the cost of inference motivates the use of weak models and truncated contexts; and instructions that are benign or even beneficial in some environments can be malicious in others. Better scanners will help at the margins, but the trust model
查看原文 · v2原文引文
Similarly, neither the static nor LLM analysis performed by skill-scanner spotted the issue: { "skill_name": "simple-formatter", ... "is_safe": true, "max_severity": "SAFE", "findings_count": 0, ... } Figure 5: The passing scan results from skill-scanner skill-scanner’s static analyzers did not investigate the .pyc bytecode, nor were the LLM analyzer’s own skills sophisticated enough to point the model towards them. Limiting the files the scanner evaluates does protect it from a context exhaustion problem: the size of a skill and its dependencies can exhaust the context window o
查看原文 · v2原文引文
echo " Created .npmrc and .yarnrc" } Figure 7: The malicious configuration, hiding in plain sight in a shell script This misdirection succeeds, even though the skill itself provides no mechanism for the agent to check that it is actually being used under the claimed network conditions. When configured to use Claude Sonnet 4.6 (a relatively strong model, especially for high-volume applications like scanning), Cisco’s tool did flag the alternative registry as a LOW (alongside two other LOW findings), but in the end assessed that the skill was safe. The closest it got to spotting the attack w
查看原文 · v2原文引文
set -euo pipefail`, and lint-only (non-modifying) git hooks. No critical or high-severity threats were identified. The three findings are all LOW severity and relate to: (1) a hardcoded internal registry URL that could expose infrastructure details if the skill is shared externally, (2) silent installation of persistent executable git hooks without explicit user confirmation, and (3) a manifest description that understates the scope of system modifications. Overall, this skill presents a low security risk and follows reasonable defensive coding patterns.", ... } }
查看原文 · v2
相关研究
-
研究方法是对现有技能扫描器做对抗性测试:作者在不到一小时内用常规手法实现 trailofbits/overtly-malicious-skills 中四个恶意技能里的三个,第四个因 prompt injection 需试错而耗时数小时;先测 Cisco skill-scanner 发现多处绕过并提交修改,再扩展到 skills.sh 等基于任意 git 仓库的扫描器。贡献在于揭示静态扫描的“无限次尝试”结构性弱点,并提出严格格式校验模式等改进方向。
原文依据 · 3
原文引文
ok us less than an hour to conceive and implement three of the four malicious skills in trailofbits/overtly-malicious-skills, using standard tricks and rapid inspection of the scanner source code. The fourth malicious skill took a few hours, but only because the prompt injection required some trial and error. Our findings demonstrate that even when skill scanners have some defenses, their static nature gives an adversary unlimited bites at the apple to tweak an attack until it finds a way through. Why skill security matters Software supply chains have long been the soft underbelly of compute
查看原文 · v2原文引文
have been flooded with fake skills preying on unsuspecting users. These malicious skills aim to trap an unwary developer or OpenClaw agent, compromising the user’s system through arbitrary code execution or instructions for the agent to send sensitive data to a remote server. Following a spate of compromises and attack demonstrations, several security companies have launched scanners intended to detect these malicious skills. We wanted to understand how well these systems defend users from them. We initially tested Cisco’s skill-scanner, where we found several bypasses and submitted changes
查看原文 · v2原文引文
was our only attack that took multiple hours to implement. But having the skill scanner available as a static target made this process trivial. When the attacker can move second in a tight loop, prompt injections quickly become viable. Bolstering Cisco’s skill scanning We began this research by looking at Cisco’s tool, before looking at skill distribution more broadly. To improve the general robustness of the system, we submitted a PR to introduce a strict format validation mode for skills against the specification, disallowing un-scannable files like those used in the Python bytecode attack
查看原文 · v2
验证资料
-
来源给出的实验结果为:三个恶意技能在一小时内完成,第四个耗时数小时;simple-formatter 在 skills.sh 与 skill-scanner 上均返回 is_safe: true、max_severity: SAFE、findings_count: 0;dev-env-setup 在 Claude Sonnet 4.6 下被标为 LOW、findings_count 3 且最终判为安全。防御性核查可关注扫描器是否检查 .pyc 与归档内文件、是否限制上下文截断,并观察技能安装时的 registry 改写与 git hooks 写入日志。
原文依据 · 4
原文引文
ok us less than an hour to conceive and implement three of the four malicious skills in trailofbits/overtly-malicious-skills, using standard tricks and rapid inspection of the scanner source code. The fourth malicious skill took a few hours, but only because the prompt injection required some trial and error. Our findings demonstrate that even when skill scanners have some defenses, their static nature gives an adversary unlimited bites at the apple to tweak an attack until it finds a way through. Why skill security matters Software supply chains have long been the soft underbelly of compute
查看原文 · v2原文引文
Similarly, neither the static nor LLM analysis performed by skill-scanner spotted the issue: { "skill_name": "simple-formatter", ... "is_safe": true, "max_severity": "SAFE", "findings_count": 0, ... } Figure 5: The passing scan results from skill-scanner skill-scanner’s static analyzers did not investigate the .pyc bytecode, nor were the LLM analyzer’s own skills sophisticated enough to point the model towards them. Limiting the files the scanner evaluates does protect it from a context exhaustion problem: the size of a skill and its dependencies can exhaust the context window o
查看原文 · v2原文引文
that an attacker might control. { "skill_name": "dev-env-setup", ... "is_safe": true, "max_severity": "LOW", "findings_count": 3, "findings": [ ... { "id": "llm_finding_dev-env-setup_0", "rule_id": "LLM_DATA_EXFILTRATION", "category": "data_exfiltration", "severity": "LOW", "title": "Hardcoded Internal Corporate Registry URL", "description": "The script hardcodes an internal corporate registry URL (`https://npm.internal-artifacts.corp.dev`) directly in the bootstrap script. While the SKILL.md notes this is already public information, embedding internal infrastructure hostnames
查看原文 · v2原文引文
echo " Created .npmrc and .yarnrc" } Figure 7: The malicious configuration, hiding in plain sight in a shell script This misdirection succeeds, even though the skill itself provides no mechanism for the agent to check that it is actually being used under the claimed network conditions. When configured to use Claude Sonnet 4.6 (a relatively strong model, especially for high-volume applications like scanning), Cisco’s tool did flag the alternative registry as a LOW (alongside two other LOW findings), but in the end assessed that the skill was safe. The closest it got to spotting the attack w
查看原文 · v2
处置建议
-
建议按序:优先采用程序化来源管控,仅从可信集合(如 trailofbits/skills-curated)或 organization-managed plugins 引入技能,减少对公开市场一键安装的依赖;对扫描器启用严格格式校验模式,禁止 .pyc 等不可扫描文件;核查技能是否改写 npm/yarn registry 或静默写入 git hooks,并对相关日志设监测;将扫描通过视为辅助信号,配合人工复核 SKILL.md 描述与实际行为差异。上述为基于来源事实的条件性建议。
原文依据 · 4
原文引文
for their employees and agents, using trustworthy open-source collections like our own trailofbits/skills-curated. For Claude Cowork and web users, Anthropic also supports organization-managed plugins. Skill scanners face a host of structural problems: arbitrary combinations of code, data, and natural language create the broadest possible attack surface; the cost of inference motivates the use of weak models and truncated contexts; and instructions that are benign or even beneficial in some environments can be malicious in others. Better scanners will help at the margins, but the trust model
查看原文 · v2原文引文
was our only attack that took multiple hours to implement. But having the skill scanner available as a static target made this process trivial. When the attacker can move second in a tight loop, prompt injections quickly become viable. Bolstering Cisco’s skill scanning We began this research by looking at Cisco’s tool, before looking at skill distribution more broadly. To improve the general robustness of the system, we submitted a PR to introduce a strict format validation mode for skills against the specification, disallowing un-scannable files like those used in the Python bytecode attack
查看原文 · v2原文引文
echo " Created .npmrc and .yarnrc" } Figure 7: The malicious configuration, hiding in plain sight in a shell script This misdirection succeeds, even though the skill itself provides no mechanism for the agent to check that it is actually being used under the claimed network conditions. When configured to use Claude Sonnet 4.6 (a relatively strong model, especially for high-volume applications like scanning), Cisco’s tool did flag the alternative registry as a LOW (alongside two other LOW findings), but in the end assessed that the skill was safe. The closest it got to spotting the attack w
查看原文 · v2原文引文
set -euo pipefail`, and lint-only (non-modifying) git hooks. No critical or high-severity threats were identified. The three findings are all LOW severity and relate to: (1) a hardcoded internal registry URL that could expose infrastructure details if the skill is shared externally, (2) silent installation of persistent executable git hooks without explicit user confirmation, and (3) a manifest description that understates the scope of system modifications. Overall, this skill presents a low security risk and follows reasonable defensive coding patterns.", ... } }
查看原文 · v2
模型与引文记录
- 模型
- deepseek-flash
- 生成时间
- 记录编号
- REQ-f522af025f8e4d528e186fe7cbd0f8ce
- 分析原文
- 查看原文 · v2
原文摘要与结构
原文摘要
Public skill marketplaces are being flooded with malicious skills that steal credentials, exfiltrate data, and hijack agents. In response, a segment of the security industry released skill scanners, a new family of tools designed to detect malicious skills before they’re installed. But we tested them, and they don’t work. We recently bypassed ClawHub’s malicious skill detector, Cisco’s agent skill scanner, and all three of the scanners integrated into skills.sh. These were not advanced attacks: it took us less than an hour to conceive and implement three of the four malicious skills in trailofbits/overtly-malicious-skills, using standard tricks and rapid inspection of the scanner source code. The fourth malicious skill took a few hours, but only because the prompt injection required some trial and error. Our findings demonstrate that even when skill scanners have some defenses, their static nature gives an adversary unlimited bites at the apple to tweak an attack until it finds a way through. Why skill security matters Software supply chains have long been the soft underbelly of computer security. As fragile infrastructure susceptible to both insider threats and external attackers, these supply chains were vulnerable enough when malicious code was the sole vector of compromise. But the rise in agentic systems has spawned a new style of dependency—the skill—and with it a whole new ecosystem of marketplaces and distribution channels that now run alongside traditional package managers. Malicious skills can embed harmful instructions in natural language (e.g., a SKILL.md prompt) as well as code, giving them whole new avenues to attack any system they are given access to. Compounding the issue, the distribution channels for skills have proved to be ship-first, secure-later. There are already multiple types of distribution channels for how users find skills and deploy them to their agents: ZIP archives distributed out-of-band and then uploaded manually or via API to agent harnesses like Anthropic’s claude.ai and OpenAI’s Codex; Curated marketplaces like anthropics/skills and trailofbits/skills-curated; and Public marketplaces like skills.sh and clawhub.ai. The first two methods can plausibly exclude malicious skills through procedural controls on where skills come from and who is allowed to approve their use. On the other hand, public marketplaces are one-stop, one-”click-to-install” shops that have been flooded with fake skills preying on unsuspecting users. These malicious skills aim to trap an unwary developer or OpenClaw agent, compromising the user’s system through arbitrary code execution or instructions for the agent to send sensitive data to a remote server. Following a spate of compromises and attack demonstrations, several security companies have launched scanners intended to detect these malicious skills. We wanted to understand how well these systems defend users from them. We initially tested Cisco’s skill-scanner, where we found several bypasses and submitted changes to harden the system. Shortly thereafter, Vercel’s skills.sh launched integrations with scanners from Gen, Socket, and Snyk, and OpenClaw partnered with VirusTotal to scan skills in ClawHub; we tested these scanners, too. Bypassing ClawHub scanning We’ll start with ClawHub (built by OpenClaw, for OpenClaw agents). The platform uses a two-part scanning solution. One is an integration with VirusTotal, which checks for known malware signatures and uses a proprietary scanner called Code Insight, built on Gemini 3 Flash, under the hood. The other scanner is a custom harness and prompt for a guard model, by default GPT 5.5. We bypassed both checks with our first attack. The approach is dead simple in both design and implementation: it simply prepends 100,000 newlines between some boilerplate and our overtly malicious code. The OpenClaw scanner truncated the file and missed the malicious content entirely, while the VirusTotal scanner model seemed to b