Our take
Newless than six months old and changing fast- Activity
- 54
- Community
- 36
- Issues
- 78
- Pull requests
- 63
- Closes issues faster than 81% of the projects we track
A broad, practical scanner with active early development, but its pattern-based findings and concentrated maintainer base merit a trial before relying on it as a security gate.
Good fit if
- You want one Rust CLI to check code, secrets, dependencies, configuration, and AI agent setups across macOS, Linux, and Windows.
- Your team can use a CI or pre-commit check that fails on high or critical findings and can review false positives.
- You value an MIT-licensed tool with CLI, MCP, and GitHub Actions integration.
Look elsewhere if
- You need data-flow analysis or assurance that a clean scan establishes that a codebase is secure.
- You require a mature tool with a long operating history and development spread across a larger contributor base.
- Your workflow requires dependency vulnerability checks while fully offline, since offline mode skips that check.
All health signals
| Last commit | 2026-11-23 (today) |
|---|---|
| Commits, last 90 days | 32 |
| Releases, last 12 months | 3 (latest v1.0.2, 2026-11-22) |
| Contributors | 6 (top contributor: 75% of commits) |
| Issues closed, last 90 days | 6 (typically closed in 0 days) |
| Pull requests merged, last 90 days | 8 (typically merged in 0 days) |
| Project age | 1 days |
Checked on 2026-11-24 with the GitHub API.
Overview
safe-anything is a Rust-based security scanner that looks for vulnerabilities in application code, exposed secrets, risky configuration, vulnerable dependencies, and unsafe AI agent setups. It is designed to help developers and security teams find issues before committing or deploying, with findings that include the relevant line, explanation, and suggested fix.
The scanner runs on macOS, Linux, and Windows, and can be used from the command line, in CI, or as an MCP server for AI agents. It uses pattern-based rules rather than tracing data through a program, so a clean result means its checks did not find a known pattern, not that the code is proven safe.
Key Features
- Scans nine programming languages plus SQL for common weaknesses such as injection, XSS, unsafe deserialization, and weak cryptography.
- Detects provider keys, passwords, private keys, committed environment files, and secrets exposed through client-side environment prefixes, with secret values redacted in output.
- Checks locked dependencies against OSV.dev, with an offline mode that skips dependency checks.
- Reviews mobile, cloud, container, infrastructure, and CI configuration, including Android, iOS, Docker, GitHub Actions, Kubernetes, and Terraform.
- Inspects AI agent configurations, MCP servers, hooks, and skills for risky permissions, exposed tokens, unpinned servers, and suspicious instructions.
- Provides JSON and SARIF reports, configurable severity and exit behavior, and inline ignore comments.
- Offers an MCP server and a Claude Code plugin for agent-assisted scanning and triage.
Use Cases
- Developers can run a pre-commit scan to catch likely vulnerabilities and accidental secret commits before they reach a remote repository.
- Security teams can add a SARIF-producing scan to GitHub Actions and review findings in GitHub code scanning.
- Teams adopting Claude Code, Codex, Cursor, or other supported agent setups can inspect permissions, hooks, skills, and MCP configuration before use.
- Maintainers can check dependency lockfiles against OSV.dev and review risky settings across mobile, cloud, and deployment files.
What you need
Detected in the repository
- Rust 1.88 or newer (from Cargo.toml)
- A test suite and automated checks on GitHub Actions
License in plain words
MITpermissive
- Commercial use: yes
- Modify and redistribute: yes
- You must keep: the copyright and license notice
- Share your changes: no
A summary, not legal advice: the LICENSE file is what applies.
Getting Started
Install with Cargo and scan a repository:
cargo install safe-anything
safe-anything .
See the README for npm installation, CI, MCP, and reporting options.
Alternatives
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| safe-anything | Rust | MIT | 512 | New |
| opengrep | OCaml | LGPL-2.1 | 3.1k | Active |
| AgentSec | Python | Apache-2.0 | 0 | Active |
Considerations
- This is a very new project, and most contributions come from one person. Recent commits and releases indicate rapid development, but the short history leaves less time for behavior and compatibility to mature.
- The scanner uses compiled regular-expression rules and targeted parsing, not program-wide data-flow analysis. Some patterns can produce false positives, particularly XSS checks on HTML built from variables.
- Dependency checks make a network request to OSV.dev and send package names and versions. Offline mode avoids that request by skipping dependency checks.
- The documented build requirement is Rust 1.88. The project also offers an npm package and native platform binaries, but the README's source-build command uses Cargo.
- The MIT license permits broad use, subject to its license terms; teams should still review their own distribution and security-tooling requirements.
Found this useful?
Share it with someone who would like safe-anything.