Skill scanners routinely miss malicious agent skills, allowing easy bypasses
Existing skill scanners cannot reliably detect malicious skills in public marketplaces.
Security & privacy Trail of Bits 3 Jun 2026 Disclosure Real-world evidence
Published as “The sorry state of skill distribution”
Why it matters
Automated skill scanners cannot be relied upon to protect agents from malicious skills, urging organizations to curate their own marketplaces.
Summary
The researchers built four malicious agent skills and tested them against ClawHub, Cisco, and three scanners integrated into skills.sh. Simple tricks such as inserting 100,000 newlines, hiding malicious payloads in .docx archives, embedding malicious Python bytecode, and prompt injection all bypassed the scanners, which either missed the content or marked it as low severity. The evidence comes from direct experiments on the actual scanner implementations using real malicious skill samples, showing consistent failures across all tested tools.
What they found 4
- Newline padding bypasses both ClawHub's custom guard model and its VirusTotal integration.
“it simply prepends 100,000 newlines between some boilerplate and our overtly malicious code.”
- A skill containing malicious Python bytecode (.pyc) passed all checks on skills.sh.
“Yet it passed with flying colors on skills.sh.”
- Cisco's scanner flagged an alternative registry as a LOW finding but still marked the skill safe.
“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 LLM analyzer marked a risky LD_PRELOAD usage as LOW while a pattern rule marked it as MEDIUM.
“the LLM analyzer (using Sonnet 4.6) marks this issue as a LOW, while one of the pattern-matching rules marks it as a MEDIUM.”
Caveats 2
- Cisco’s scanner did flag the alternative registry as a LOW finding, indicating some detection capability.
- The bypasses used simple, non-advanced attacks, with three of four skills crafted in under an hour.
What’s new here 4
- Demonstrated bypasses of ClawHub, Cisco, and skills.sh scanners using trivial techniques.
- Showed that newline padding, hidden files, .pyc bytecode poisoning, and prompt injection evade both static and LLM-based analysis.
- Submitted a PR to Cisco's scanner to add strict format validation and JavaScript/TypeScript support, which still did not stop the attacks.
- Highlighted legitimate skills that appear malicious, exposing false-positive challenges for automated scanners.