- Home
- MCP and skills
- This story
safe-anything: a Rust vulnerability scanner that also audits AI agent and MCP setups
safe-anything is an MIT-licensed Rust scanner that finds XSS, SQL injection, leaked secrets, dependency CVEs and risky config with 72 rules in one command. Its distinctive part is auditing Claude Code, Codex, Cursor, Gemini and MCP setups: bypassPermissions…
Why it matters
It gives a quick way to check agent configs and third-party skills or MCP servers before you install them.
What happened
1 min readsafe-anything is an MIT-licensed Rust scanner that finds XSS, SQL injection, leaked secrets, dependency CVEs and risky config with 72 rules in one command. Its distinctive part is auditing Claude Code, Codex, Cursor, Gemini and MCP setups: bypassPermissions, unpinned npx/uvx MCP servers, curl | sh in hooks, prompt-injection text and invisible Unicode in skills. It also ships as an MCP server, a Claude Code plugin and a GitHub Action with SARIF output.
Our analysis
Most code rules are regex-based and the author states it does not trace data flow, so it does not replace CodeQL or Semgrep. The real value is the agent-specific rules that mainstream scanners don't cover. The Juice Shop and DVWA results are the author's own measurements. For teams using Claude Code or MCP it is a cheap, useful CI addition.