safe-anything Review 2026: Agent and Code Security Scanner
safe-anything is a free Rust scanner that checks your code and the files that configure your AI coding agent. This review covers what its 111 rules look at, what the author reports about accuracy, and what nobody has independently tested.
There are no affiliate links in this review.

| Product | safe-anything (erkamyaman) |
| License | MIT |
| Stars | 932 after 9 days |
| Latest release | v1.2.0, Nov 30, 2026 |
| Evidence | Repository and registry pages only |
safe-anything is a real, quickly maintained, MIT-licensed scanner that also audits the files that control your coding agent. Its numbers are self-reported and nobody independent has tested it yet.
Worth running on a copy of a skill or MCP server before you install it, with its limits in mind.
What it is. A command-line tool written in Rust by one developer, erKam Yaman, created on Nov 22, 2026. It scans code in nine languages, secrets, Docker, GitHub Actions, Terraform, mobile config and lockfiles, and it has ten rules for AI agent setups: MCP configs, Claude Code, Codex, Cursor, Gemini CLI and SKILL.md files.
What JAVIS verified. The code is MIT. The rules reference lists 25 code, 48 secret, 10 agent, 9 mobile, 18 config and 1 dependency rule, which adds up to 111. There are 5 tagged releases from v1.0.0 on Nov 22 to v1.2.0 on Nov 30, an npm package and a crates.io package for the same version, and 30 contributors on GitHub.
What it does not show. No independent benchmark, no count of what it misses, and no way to tell whether its 932 stars are organic. The README itself says a clean scan is not proof of safety.
Not hands-on tested: JAVIS did not install or run safe-anything. Every statement below comes from the repository, its documentation and its registry pages, each read on Dec 1, 2026.

Most claims are specific and checkable in the repository. The speed and accuracy figures are the author's own.
Swipe sideways to see every column.
| Claim | What the sources show | Assessment |
|---|---|---|
| 111 rules | The rules reference sums to 111; the repository description and the crates.io page say 110 | Matches the reference; the 110 on the description is out of date |
| No config, no account, no upload | The privacy page says nothing is uploaded; the only network call is a lockfile check against OSV.dev | Documented; JAVIS did not capture traffic |
| Nine languages and 15 lockfile formats | Stated in the repository description; the README lists the lockfile names | Not verified per language |
| Scans Juice Shop in 0.03 s | The README demo caption says 1,195 files in 0.03 s; the Measured section says the same scan took 0.03 to 0.13 s on an Apple M4, depending on machine load | Self-reported, not reproduced |
| MCP server, Claude Code plugin, GitHub Action | README sections with install commands for each | Documented; not tested |
| Quiet on clean code | 0 findings on express, 0 on vercel-labs/agent-skills in the author's table | Self-reported; a zero also fits a scanner that misses things |
| Stable software | 5 releases in 8 days, a CHANGELOG with an Unreleased section, versions 1.x | Fast moving; rules change often |
JAVIS assessment as of Dec 1, 2026, from the repository and documentation.

A one-developer open-source project, nine days old, with 30 contributors and a company sponsor.
The README credits erKam Yaman, based in Turkiye, who also made rust-anything, and lists CodeRabbit and Atak Domain as sponsors. The README shows a badge for pull requests reviewed by CodeRabbit; because CodeRabbit is also a sponsor, treat that badge as a sponsor relationship and not as an independent audit.
Swipe sideways to see every column.
| Source | What it shows on Dec 1, 2026 |
|---|---|
| GitHub | 932 stars, 114 forks, 162 commits, 5 tags, MIT license, 30 contributors in the contributors list |
| crates.io | Version 1.2.0, about 8,200 lines of source, 292 downloads since Nov 22 |
| npm | Version 1.2.0, 919 downloads for the week of Nov 23 to Nov 29 |
| Registry metadata | npm lists no install scripts and carries a provenance attestation reference; JAVIS did not verify the attestation |
Counts and fields as shown by GitHub, crates.io and the npm registry, Dec 1, 2026.

Stars say interest, not use. The weekly npm figure of 919 is lower than the star count, which is normal for a new project, and download counts include automated installs. JAVIS cannot confirm whether stars are organic because GitHub requires a sign-in to list who starred a repository.
This is the part that sets it apart: ten rules for the files that decide what your coding agent may do.
Coding agents run commands, read files and call MCP servers with your permissions. The agent guide in the repository lists which files it reads for each tool and what it flags. Text that warns against these patterns, such as a rule that says never to follow "ignore previous instructions", is not flagged, according to the guide.

Swipe sideways to see every column.
| Rule | What it looks for | Why it matters |
|---|---|---|
| agent.bypass-permissions | bypassPermissions, --dangerously-skip-permissions, a Codex danger-full-access sandbox | One bad instruction can do anything on the machine |
| agent.mcp-auto-approve | enableAllProjectMcpServers set to true | Every server in a cloned repository starts without asking |
| agent.unrestricted-shell | Bash allowed with no restriction | Every shell command is pre-approved |
| agent.mcp-unpinned | npx -y, uvx or docker with no pinned version | Each start runs whatever was published last |
| agent.mcp-plaintext-secret | A token written into the MCP env or headers | The token travels with the file |
| agent.mcp-insecure-url | A remote MCP server on http:// | Tool calls cross the network in clear text |
| agent.remote-script | curl piped to sh in a hook or skill | Whoever controls the URL controls the machine |
| agent.prompt-injection | Phrases such as ignore all previous instructions | Text that turns the agent against its user |
| agent.sensitive-file-access | A skill that reads ~/.ssh or cloud credentials | An agent never needs your keys |
| agent.hidden-unicode | Invisible tag characters in a rules file | Instructions you cannot see |
From docs/agent-setups.md, Dec 1, 2026. Rule names and examples are the author's.
How the README suggests using it. Clone someone else's skill repository to a temporary folder, run safe-anything on it, and read every agent finding before copying anything into your agent's config folder. That is a sensible habit. It is also a pattern match: a malicious skill that avoids these strings passes.

A fair irony. The README quick start offers npx safe-anything as an alternative to cargo install. An npx call with no pinned version is exactly what the author's own agent.mcp-unpinned rule flags inside an MCP config. For one-off use it is a normal choice; if you wire it into an agent or CI, pin the version, as the README's own GitHub Action example does with @v1.2.0.
One pass over the files with compiled patterns and a few parsers. Nothing is executed and nothing is uploaded except lockfile package names.
The README says it walks the repository once with the same walker ripgrep uses, reads each file once and runs every applicable rule as a compiled regular expression. Where a pattern cannot tell right from wrong it parses the file: MCP configs as JSON with comments, Dockerfile stages and each lockfile type. The privacy page says secrets it finds are redacted in terminal, JSON, SARIF and MCP output.

The limit it states itself. The README says it finds known patterns and does not trace data through your program. That is the difference between a pattern scanner and a full static analysis tool: it can flag a string built into a SQL query, but it cannot prove that user input ever reaches it. Expect both false alarms and misses.

The table is transparent about false positives. It is also one person's reading of results on nine repositories.
The README reports a release build run on an Apple M4 with the offline flag on Nov 22, 2026, with every finding read by hand. JAVIS did not rerun it. The figures below are the README's.
Swipe sideways to see every column.
| Repository | Files | Findings | Author's note |
|---|---|---|---|
| OWASP Juice Shop (vulnerable on purpose) | 1,195 | 67 | 2 to 3 false positives |
| DVWA (vulnerable on purpose) | 233 | 63 | about 4 false positives |
| expressjs/express | 216 | 0 | clean |
| pallets/flask | 231 | 2 | both false positives in practice |
| modelcontextprotocol/servers | 439 | 1 | a pull_request_target workflow, worth a look |
| anthropics/skills | 392 | 6 | 5 innerHTML in local review pages, 1 shell=True by design |
| vercel-labs/agent-skills | 439 | 0 | clean |
| rust-anything | 3,134 | 6 | 5 innerHTML in demo pages, an action on @master |
| safe-anything itself | 53 | 0 | checked in CI on every push |
Source: the Measured section of the README, Nov 22, 2026 run, read on Dec 1, 2026. Not reproduced by JAVIS.

Worked example. On the two deliberately vulnerable apps the author counts up to 3 plus about 4 false positives out of 67 plus 63, which is 130 findings. That is about 7 of 130, or 5.4 percent, a JAVIS calculation on the author's own numbers. On the four other projects that returned anything (Flask, the MCP servers repo, anthropics/skills and rust-anything), 15 findings were reported, and the author describes at least 2 as false positives and 10 as innerHTML uses in local tools. A real, well-kept project will mostly produce a short list of items to read, not an alert flood.
What the table cannot tell you. The vulnerable-on-purpose apps show how many known bugs were found only if someone lists the known bugs, and the README does not give a count of missed ones. A recall figure is missing, so a low false-positive rate says nothing about how many real issues slip past. The README names code.xss-inner-html as the noisiest rule and says it stays on because real XSS looks the same.
Free to use, MIT licensed, funded by sponsorship.
Swipe sideways to see every column.
| Item | Cost | Source and note |
|---|---|---|
| Software | $0 | MIT license; no paid tier in the repository |
| Account or API key | None | README: no config, no account |
| Dependency check | Free | Uses the public OSV.dev API, run by Google, per the privacy page |
| GitHub Action | Free | Runs in your own CI minutes |
| Your agent | Your vendor | The MCP server runs inside your own agent plan |
JAVIS assessment as of Dec 1, 2026 from the README and privacy page.


The small dependency list is a plus for a security tool: seven direct crates, with the network library ureq used for the OSV check. The README also says sponsors get a logo and nothing else, with no paid recommendations, which is a stated policy that the repository cannot prove.
162 commits and 5 releases in nine days, driven by a handful of accounts.
The repository is about nine days old. The contributors list shows 30 accounts; the top three by commits are erkamyaman with 32, OnurrUgur with 30 and pranavarya007 with 19. The changelog credits contributors by handle for individual rules, such as the HCP Terraform token rule and the Swift Package.resolved reader.




Two readings. A steady stream of rule fixes with named contributors is a good sign. It also means rule behaviour will keep changing, so a finding set from one version may not match the next. Each release ships binaries and a SHA256SUMS file, which lets you verify a download. The security policy asks for private reports through GitHub and promises an answer within a few days.

Use it as a fast first filter, pin the version, and keep your own review for anything that matters.
Swipe sideways to see every column.
| You are | Do this | Why |
|---|---|---|
| About to install a third-party skill or MCP server | Clone it to a temp folder and scan it first | It checks for the common unsafe patterns before they reach your agent config |
| Using Claude Code or Codex on a real repo | Scan your own .claude, .mcp.json and AGENTS.md | Catches bypassed permissions and plain-text tokens |
| Running CI | Pin the Action to a version and start with the baseline file | Fails only on new findings |
| Handling sensitive code | Use the offline flag | Avoids the OSV.dev lockfile call |
| Needing deep analysis | Add a data-flow tool as well | This one matches patterns and does not trace data |
JAVIS assessment as of Dec 1, 2026.
Install 1.2.0 with cargo install or download the release binary and check SHA256SUMS.
Point it at a clone of the skill or MCP server you are evaluating.
Decide by reading the line, not by the severity label.
Save existing findings once so CI fails only on new ones.
- No hands-on test: JAVIS did not install or run safe-anything and did not check any rule against sample code.
- The benchmark table, the speed figures and the false-positive notes are the author's and were not reproduced.
- The privacy statements come from the repository's privacy page; JAVIS captured no network traffic.
- There is no independent user evidence yet; the project is nine days old.
- Stars could not be checked for organic growth because the star list needs a sign-in.
- The npm provenance attestation was named in registry metadata and was not verified.
- The repository changes daily; this reflects Dec 1, 2026.
More on agent security and plugins, from other JAVIS pages.
Questions people ask about safe-anything.
What is safe-anything?
A free, MIT-licensed command-line scanner written in Rust by erKam Yaman. It checks source code, secrets, mobile and cloud config, lockfile dependencies and the files that configure AI coding agents, with 111 rules in total. It also runs as an MCP server and as a Claude Code plugin.
Is it free?
Yes. The repository license is MIT, the README says it needs no account and no config, and there is no paid tier in the repository. The author takes GitHub sponsorships and lists two company sponsors.
What does it check in an agent setup?
Ten agent rules. They look at files such as .mcp.json, .claude/settings.json, CLAUDE.md, .codex/config.toml, .cursor/mcp.json, AGENTS.md and any SKILL.md for things like bypassed permissions, pre-approved Bash, unpinned npx MCP servers, plain-text tokens, curl piped to a shell, prompt-injection text and invisible Unicode.
Does it send my code anywhere?
The privacy page in the repository says nothing is uploaded and nothing is collected. The one network call is the dependency check, which sends package names, ecosystems and versions from your lockfiles to OSV.dev; the offline flag turns it off. JAVIS did not capture network traffic to confirm this.
Does a clean scan mean my code is safe?
No. The README says it finds known patterns and does not trace data through your program, so a clean scan means none of its 111 listed problems were found, not that the code is safe.
Did JAVIS test it?
No. JAVIS did not install or run safe-anything. This guide compares the repository, its documentation, its registry pages and its release history as of Dec 1, 2026. The benchmark table in the README is the author's own and was not reproduced.
Where this came from, and when.
Repository: erkamyaman/safe-anything, its README, agent setups guide, rules reference, privacy page, changelog, license, Cargo.toml, security policy, releases, commits and pull requests, read Dec 1, 2026, with the counts GitHub shows.
Registries: crates.io and the npm registry entry for safe-anything, version 1.2.0 and download counts as shown on Dec 1, 2026.






