Safe Anything · Claude Code skill

Find the holes before someone else does. A fast, 100% Rust vulnerability scanner: XSS, SQL injection, leaked secrets, dependency CVEs and AI agent setups.

License: MITLast commit 2026-11-24Instructions onlyPlugin marketplace

safe-anything Find the holes before someone else does. One command finds XSS, SQL injection and other vulnerabilities in your code, leaked secrets, risky mobile and cloud config, vulnerable dependencies, and the AI agent setup that writes it

Install
Claude Code — copy the folder
git clone --depth 1 https://github.com/erkamyaman/safe-anything.git /tmp/safe-anything-src
cp -r /tmp/safe-anything-src/skills/* ~/.claude/skills/

Claude Code picks up new skills automatically (run /reload-skills if your skills folder is brand new). Codex CLI: copy the same folder to ~/.codex/skills/safe-anything.

Any agent — skills CLI
npx skills add erkamyaman/safe-anything

The open-source skills CLI asks which agents to install for (Claude Code, Cursor, Codex, Gemini CLI and others) and links the skill into each one.

Claude Code plugin marketplace
/plugin marketplace add erkamyaman/safe-anything

This repo ships a .claude-plugin/ marketplace. After adding it, run /plugin in Claude Code to pick what to install.

On Windows? Follow the Windows install guide. Using several agents? See 3 ways to install a skill. New to skills? Read the beginner's guide.

Skill not loading? Check 10 common causes or validate your SKILL.md.

Inside SKILL.md
  • name: safe-anything
  • Length: about 40 lines

Sections: Security checks with safe-anything · Steps · Agent setups · Do not

Preview the start of SKILL.md
# Security checks with safe-anything

safe-anything finds problems; you judge and fix them. Every finding has a file, a line, a
severity, a CWE, why it matters and a fix.

Tools: the `safe-anything` CLI, or the MCP tools `scan` and `list_rules` (`safe-anything mcp`).
If neither is available, ask the user to install it (`cargo install safe-anything` or
`npx safe-anything`).

## Steps

1. Scan the repository root: `scan` with `path` set to it (CLI: `safe-anything  --json`).
   Add `offline: true` (`--offline`) only if the user does not want package names sent to
   OSV.dev.
2. Read the findings from the most severe down. For each one, open the file at the line and
   decide: real problem, or a false positive (trusted input, test data, a checksum that is not a
   security use). Say which, in one line each.
…

Read the full SKILL.md on GitHub →

When it triggers

Claude decides when to load a skill from its description. This one says:

Security-check a repository with the safe-anything CLI or MCP tools - code vulnerabilities (SQL/command injection, XSS, SSRF, path traversal, unsafe deserialization, weak crypto), leaked secrets, mobile and cloud misconfiguration, dependencies with known CVEs, and unsafe AI agent setups (MCP servers, hooks, skills, permissions). Use when asked to audit, security-review or scan code, before a release or merge, after adding dependencies or MCP servers, or when installing a skill, plugin or MCP server from someone else.
Tags
ai-agentsclaude-codeclaude-code-pluginclicodexcursordevsecopsmcposvowasprustsastsecret-scanningsecretssecuritysecurity-scannersql-injectionvulnerabilityvulnerability-scannerxss
FAQ

What is Safe Anything?

safe-anything Find the holes before someone else does. One command finds XSS, SQL injection and other vulnerabilities in your code, leaked secrets, risky mobile and cloud config, vulnerable dependencies, and the AI agent setup that writes it

How do I install Safe Anything in Claude Code?

Clone it into your personal skills folder: git clone --depth 1 https://github.com/erkamyaman/safe-anything.git /tmp/safe-anything-src && cp -r /tmp/safe-anything-src/skills/* ~/.claude/skills/ — Claude Code picks it up automatically.

How do I install Safe Anything globally in Claude Code?

Drop the skill folder into ~/.claude/skills/safe-anything/ instead of a project-local .claude/skills/. Globally installed skills are available in every Claude Code session, on any project, without needing to copy the skill into each repo. To check it loaded, type / in Claude Code: the skill appears in the slash-command menu under its folder name.

Is Safe Anything free?

Safe Anything is open source on GitHub (521 stars at last check) and published by erkamyaman.

What are alternatives to Safe Anything?

Browse other security skills in the Security category of this directory.

Maintain this skill?

Add this badge to your README — it links back to your SkillNest page, so visitors of your repo can grab the install command and see related skills.

Listed on SkillNest

[![Listed on SkillNest](https://skillnest.dev/badge.svg)](https://skillnest.dev/skills/safe-anything/)
<a href="https://skillnest.dev/skills/safe-anything/"><img src="https://skillnest.dev/badge.svg" alt="Listed on SkillNest" width="142" height="20"></a>

More badge options →