by erkamyaman
Find the holes before someone else does. A fast, 100% Rust vulnerability scanner: XSS, SQL injection, leaked secrets, dependency CVEs and AI agent setups.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/erkamyaman/safe-anythingGuides for using ai agents skills like safe-anything.
See how safe-anything compares with popular alternatives.
cargo install safe-anything # or: npx safe-anything .
safe-anything .
That's it. No config, no account, no upload. It exits with 1 when something high or critical is found, so it works as a pre-commit or CI check as is.
safe-anything . --json # machine-readable report
safe-anything . --sarif # GitHub code scanning
safe-anything . --offline # no network (skips the dependency check)
safe-anything . --severity medium # hide low findings
safe-anything . --fail-on never # always exit 0 (or low, medium, high, critical)
safe-anything . --include-tests # also report findings in tests and fixtures
safe-anything --list-rules
.gitignore is respected, and node_modules, vendor, target, dist, build, virtualenvs
and .claude/worktrees are skipped. List more paths in .safe-anything-ignore.safe-anything:ignore in a comment silences that line (or the next one).--include-tests.72 rules, each with a CWE id, an OWASP category and a link to the OWASP page that explains it. The full list is in docs/rules.md.
| Code | SQL injection, command injection, XSS (innerHTML, dangerouslySetInnerHTML, v-html, echo $_GET, raw), eval and new Function, path traversal, SSRF, unsafe deserialization (pickle, yaml.load, ObjectInputStream, BinaryFormatter, unserialize, Marshal), TLS checks turned off, MD5/SHA-1, DES/RC4/ECB, JWT none, template injection, debug mode, insecure cookies, Math.random tokens. JS/TS, Python, Go, Java, Kotlin, PHP, Ruby, C#, SQL |
| Secrets | AWS, GitHub, Slack, Stripe, OpenAI, Anthropic and Google keys, private keys, passwords in code, credentials in connection strings, committed .env files, real values in .env.example, a .gitignore that misses .env, secrets behind public prefixes (NEXT_PUBLIC_, VITE_, EXPO_PUBLIC_) that ship in the client bundle |
| Agent setups | bypassPermissions and --dangerously-skip-permissions, pre-approved Bash, MCP servers run with unpinned npx/uvx/docker, MCP tokens in plain text, remote MCP over http://, curl | sh in hooks and skills, prompt-injection text, skills that read ~/.ssh or cloud credentials, invisible Unicode in instructions. More |
| Mobile | Android debuggable, cleartext traffic, exported content providers, WebView file access and JS bridges, world-readable files; iOS ATS turned off; tokens in UserDefaults, SharedPreferences, AsyncStorage or localStorage |
| Config | Docker (unpinned base, root, secrets in ENV, ADD <url>), GitHub Actions (pull_request_target, write-all, actions on @main, script injection from PR titles), privileged containers, hostNetwork, open Terraform ingress, public buckets, nginx autoindex, TLS 1.0/1.1 |
| Dependencies | every locked version in package-lock.json, yarn.lock, pnpm-lock.yaml, Cargo.lock, requirements*.txt, poetry.lock, uv.lock, go.mod, Gemfile.lock and composer.lock, checked against OSV.dev, with the nearest fixed version |
safe-anything is also an MCP server, so your agent can scan before it commits, and before you install someone else's skill or MCP server.
claude mcp add safe-anything -- safe-anything mcp # Claude Code
codex mcp add safe-anything -- safe-anything mcp # Codex
Or, as a Claude Code plugin with the skill that tells the agent how to triage and fix findings:
/plugin marketplace add erkamyaman/safe-anything
/plugin install safe-anything@safe-anything
Tools: scan (path, offline, severity, include_tests) and list_rules. The skill is in
skills/safe-anything.
- uses: erkamyaman/safe-anything@v1.0.2
with:
fail-on: high
- uses: github/codeql-action/upload-sarif@v4
if: always()
with:
sarif_file: safe-anything.sarif
Findings then show up in the repository's Security tab and on pull requests.
Release build on an Apple M4, --offline, 2026-11-22. Every finding was read by hand. Times are
the scan's own report; the same scan took 0.03 to 0.13 s depending on what else the machine was
doing.
| Repository | Files | Findings | What they are |
|---|---|---|---|
| OWASP Juice Shop (vulnerable on purpose) | 1,195 | 67 | the login and search SQL injections, the eval challenges, MD5 passwords, tokens in localStorage, seeded passwords, open Terraform ingress; 2 to 3 false positives (a checksum MD5, innerHTML with trusted hint text) |
| DVWA (vulnerable on purpose) | 233 | 63 | the SQL injections, command injections, MD5 passwords and eval; about 4 false positives (setup-script inserts, input validated in the "impossible" level) |
| expressjs/express | 216 | 0 | |
| pallets/flask | 231 | 2 | both false positives in practice: eval of the user's own shell startup file, SHA-1 for key derivation (reported as low) |
| modelcontextprotocol/servers | 439 | 1 | pull_request_target in a workflow, worth a look |
| anthropics/skills | 392 |
safe-anything is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by erkamyaman. Find the holes before someone else does. A fast, 100% Rust vulnerability scanner: XSS, SQL injection, leaked secrets, dependency CVEs and AI agent setups. It has 104 GitHub stars.
safe-anything's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/erkamyaman/safe-anything" and add it to your Claude Code skills directory (see the Installation section above).
safe-anything is primarily written in Rust. It is open-source under erkamyaman on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh safe-anything against similar tools.
No comments yet. Be the first to share your thoughts!