π¦ Consolidated. This package is now part of
effectorHQ/effectorβpackages/audit/. All active development continues in the monorepo. This repository remains available for reference.Audit is now integrated into
effector check .via the unified CLI.
Security scanner for Effector packages (static-only).
On February 18, 2026, Snyk published the ToxicSkills Report. The findings were severe: 36% of ClawHub skills contained prompt injection or malicious payloads. The ClawHavoc campaign had planted 1,184+ malicious skills targeting developers. Trend Micro confirmed distribution of the Atomic macOS Stealer through community-published skills. Microsoft, Cisco, and 1Password all published independent analyses confirming the systemic nature of the threat.
The root cause wasn't a bug. It was an architectural absence: no code signing, no security review, no formal permission model for AI agent capabilities. Anyone could publish a skill to ClawHub. Everyone had to trust it blindly.
This is npm circa 2018 β before npm audit, before lockfiles, before Sigstore. Except the stakes are higher, because AI agent capabilities don't just run code. They control what an AI does in the world: reading your files, calling APIs, sending messages, modifying databases.
effector-audit closes this gap.
npm install @effectorhq/auditYou can also use the CLI directly without installing globally:
npx @effectorhq/audit scan ./my-skill
npx @effectorhq/audit scan ./my-skill --format jsonSee the published package on npm: https://www.npmjs.com/package/@effectorhq/audit
Scans Effector packages for known vulnerability patterns (no execution sandbox):
npx @effectorhq/audit scan ./my-skill/
β CRITICAL prompt-injection Line 23: System prompt override detected
β HIGH data-exfiltration Line 47: Unscoped network access to external domain
β MEDIUM permission-creep Network/filesystem/subprocess usage without declared permissions
2 critical, 1 warning β audit failedDetection patterns include:
- Prompt injection and jailbreak attempts in SKILL.md content
- Data exfiltration vectors (unscoped network, filesystem access)
- Obfuscated instructions (base64, unicode tricks, invisible text)
Cross-references declared permissions against actual capability behavior:
npx @effectorhq/audit permissions ./my-skill/
Declared permissions:
β network:external
Detected behavior:
β network:evil.com (fetch/curl β NOT DECLARED)
β write:filesystem (fs.writeFileSync β NOT DECLARED)
Permission drift detected: 2 undeclared capabilitiesThe README previously described signing/supply-chain verification. Those are roadmap items and are not in the current codebase:
- Cryptographic signing / verification
- Supply-chain verification / SBOM generation
- GitHub Action
effector-audit-action
# In your publish pipeline
npx @effectorhq/audit scan . && npx @effectorhq/audit permissions . && npm publisheffector-audit is designed to be a registry gate β ClawHub, MCP Registry, or any future capability registry can require signed, audited Effectors before listing them.
effector-audit
βββ scanner/ # Static analysis engine
β βββ rules/ # Detection rules (prompt injection, exfiltration, etc.)
β βββ analyzer.js # AST + content analysis for SKILL.md and code
β βββ reporter.js # Output formatting (terminal, JSON)
βββ permissions/ # Permission analysis
β βββ diff.js # Permission drift detection
- v0.1 β Core scanner (prompt injection + exfiltration + basic permission creep signals)
- v0.1 β Permission drift check (
effector.tomlvs detected behavior) - v0.2 β Signing + verification
- v0.3 β Supply chain verification / SBOM
- v0.4 β GitHub Action
- v0.5 β Type contract verification (types catalog)
- v1.0 β Production-ready, registry-gate capable
Security tooling needs adversarial thinking. We especially need:
- New detection rules β Found a new attack pattern? Submit a rule
- False positive reports β If the scanner flags legitimate patterns, we need to know
- Registry integration β Help us build gates for ClawHub, MCP Registry, and others
- Signing UX β Make signing as frictionless as possible for capability authors
This project is currently licensed under the Apache License, Version 2.0 γ
Part of the effectorHQ studio. We build hands for AI that moves first.