A new open-source tool called Decloak is challenging the prevailing assumption that detecting prompt injection and hidden instructions in AI agent configurations requires a Large Language Model. Developed by user dorgrn, the static binary scans skills, rules, and MCP server configs for malware without executing code or sending data to any API. The tool launched on Hacker News on November 24, 2026, offering a deterministic alternative to cloud-based scanners that often leak sensitive configuration data to third-party providers.
Outperforming LLM-Heavy Scanners
The core value proposition of Decloak lies in its performance metrics on the MaliciousSkillBench dataset. In a direct comparison, Decloak’s static rules with the --policy flag achieved a 36.7% recall rate for high-severity threats with a low 3.3% false positive rate. This outperformed Cisco’s skill-scanner, which managed only 7.7% recall using rules alone. Even when Cisco’s tool employed a Gemma 4 26B LLM, it achieved 33.7% recall with a higher 6.4% false positive rate. Decloak proves that sophisticated static analysis can rival LLM-based detection for specific concealment techniques.
Deep Static Decoding and Taint Analysis
Decloak employs a multi-layered approach to uncover hidden payloads, decoding nested base64, hex, gzip, and zlib blobs up to four layers deep. It utilizes tree-sitter taint analysis to track data flow across code fences and detects specific injection techniques like SkillCamo, where instructions are hidden within images or cloze splits. The tool audits over 15 different agent environments in a single command, including Claude Code, Cursor, Codex, and Windsurf. By enforcing a strict offline model—verified by a build test that fails if net/http or crypto/tls are imported—it ensures that no configuration files ever leave the local machine.
Rug-Pull Defense and Optional LLM Judge
To combat supply chain attacks where clean skills are silently updated to malicious versions, Decloak includes a lock and verify feature. This pins SHA-256 hashes of approved skills and MCP scripts, causing CI pipelines to fail if silent drift occurs. For developers who still want semantic review, an optional separate binary, decloak-judge, can interface with local or remote LLMs. However, this judge is designed with security in mind, using unforgeable file boundaries to prevent the scanned files from injecting their own instructions into the judge’s prompt.
Key Takeaways
- Decloak achieves 36.7% recall on MaliciousSkillBench, surpassing Cisco’s LLM-assisted scanner at 33.7%.
- The tool is provably offline, containing no HTTP or TLS dependencies, ensuring data privacy.
- It detects advanced concealment methods like nested encodings and SkillCamo image injections.
- An optional LLM judge is available but requires a separate binary and API key, keeping the core scanner deterministic.
The Bottom Line
Decloak demonstrates that we don't need to throw compute-heavy LLMs at every security problem. Its deterministic, offline approach offers a faster and more privacy-respecting first line of defense against agent supply chain attacks. The release of Decloak marks a significant shift in how we approach AI agent security. By prioritizing static analysis over dynamic execution or LLM inference, the tool addresses the growing concern of data leakage in configuration scanning. While it does not replace the need for human review or semantic understanding in complex cases, its ability to catch concealment techniques without network access makes it an essential utility for security-conscious developers. The inclusion of a rug-pull defense further solidifies its role in maintaining the integrity of the evolving AI agent ecosystem.