safe-anything finds the holes in a project before someone else does: SQL injection, XSS, leaked secrets, risky config, vulnerable dependencies, and AI agent setups that give an agent too much power. 74 rules, one Rust binary, works offline.
https://github.com/erkamyaman/safe-anything
npx safe-anything .
If you want to contribute, there are good first issues open right now, each with the exact file, what's wrong, and how to check your fix:
- detect Hugging Face, SendGrid, PyPI, Shopify, DigitalOcean and Slack webhook tokens (one rule each, a regex and a test)
- read Pipfile.lock
- a .gitignore with only .envrc wrongly hides the .env warning
- base64 secrets ending in == are missed in .env files
Ten PRs from new contributors were merged today, usually within the hour, with a thank-you.
Issues: https://github.com/erkamyaman/safe-anything/labels/good%20first%20issue
https://github.com/erkamyaman/safe-anything