A scanner called safe-anything, published on GitHub and first released on 22 November, checks app code for common flaws such as SQL injection, cross-site scripting, leaked secrets and vulnerable packages. It is worth running on every change, but a clean result does not mean your app is safe. Access and logic flaws need a person to review them before launch.
A new security scanner arrived on 22 November
A security scanner called safe-anything had its first public release on 22 November. It checks the code of a website or app for common security holes before someone with bad intentions finds them. If you built your app with AI coding tools, it is one more check worth running. It does not replace a proper review, and this post explains why.
The project describes itself as a fast scanner written entirely in Rust, a programming language. It looks for cross-site scripting (XSS, where an attacker gets their own script to run in your users' browsers), SQL injection (tricking your database into running commands it should not), leaked secrets such as passwords and API keys (codes that let your app talk to other services), known flaws in the packages your app relies on, and risky setups for AI agents.
It is very new. The first release notes list 72 rules in six families, starting with code flaws like SQL injection and XSS, and a follow-up release came out within hours. Treat it as an early tool worth trying, not a proven one.
What an automated scanner can catch
An automated scanner reads your code and compares it against known bad patterns. That suits the mistakes that look much the same in every app. OWASP, a non-profit foundation that publishes web security guidance, explains in its guidance on source code analysis tools why this is useful. It notes these tools can run over lots of software, again and again, and that they point developers to the exact file, line and snippet that needs attention.
Each safe-anything finding comes with the file, the line, a severity rating and a suggested fix, according to the v1.0.0 release notes. It needs no setup, no account and no upload, and it stops with an error when it finds something high or critical. So your developer can set it to block risky code automatically, either before each change is committed or in continuous integration, the automatic checks that run every time the code changes.
According to the project's GitHub page, safe-anything has 72 rules, each tied to a CWE number (a standard catalogue entry for a type of weakness) and an OWASP category. Its checks include:
- Code flaws. Injection, XSS and similar mistakes in how your app handles what people type in.
- Leaked secrets. Keys and passwords sitting in files where they could end up public.
- Dependency flaws. Every locked dependency, meaning the exact version of each package your app uses, is checked against OSV.dev, a public database of known vulnerabilities.
- Configuration files. Android and iOS settings, Docker, GitHub Actions, Kubernetes, Terraform and nginx files, which control how your app is built and served.
- AI agent setups. Risky setups for AI agents, which the project lists among the things it checks.
What a scanner cannot tell you
A clean scan does not mean your app is secure. OWASP says automated code scanners can find only a relatively small percentage of application security flaws. It also notes they often miss configuration problems, because those settings are not in the code. safe-anything does read some configuration files, such as Docker and Terraform, but settings held in dashboards and control panels are not in any file it reads.
Some serious problems are about logic and access: whether a logged-in customer can open another customer's records by changing a number in the web address, whether a free user can reach paid features, or whether an admin page checks who is asking. A scanner cannot know your business rules, so it cannot know that customer A should never see customer B's invoice. So do not rely on any scanner, safe-anything included, to confirm who is allowed to see or change what.
Scanners can also be wrong in both directions. Within hours of launch, the project added templates for reporting false positives, which are warnings about problems that are not real, and missed findings. That is honest of the project, and a good reminder to read any results with care.
Why a person should review your app before launch
A reviewer does what a scanner cannot. They learn what your app is supposed to do, then try to make it do something else. They sign up as two different customers and try to reach each other's data. They follow login, password resets and payments from start to finish. They check the hosting and database settings directly, not just the code.
Think of the scanner as a smoke alarm and the review as a building inspection. You want both. The scanner can run on every change. The review happens before real people trust you with their details, and again after big changes.
This is the kind of work we do. For StaffChecks Ltd, a New Zealand pre-employment screening company operating since 1997, we reviewed and secured a client portal, redesigned it and ran the switch to it. It went live on 5 October 2026.
What to do this week before you launch
If your app was built with AI tools and real users are coming, this is the routine we would start with. The first four steps can often be started straight away.
None of this is a guarantee. It lowers the odds of the obvious mistakes and gives you a clear record of what has and has not been checked.
- Run a scanner on your code. Ask your developer to run safe-anything or a similar tool across the whole project. It needs no account or upload, so there is little reason not to try it.
- Fix high and critical findings first. Use the file, line and suggested fix in each finding. Ask why each one happened, not just how to make the warning go away.
- Replace any leaked keys. If a password or API key was ever in your code, assume it has been seen. Deleting it is not enough. Create a new one and switch the old one off.
- Make the check automatic. Set the scanner to run on every change, so many common problems are flagged before they reach your live app.
- Write down who can see what. List each type of user and what they should be able to view, change and delete. Then test it with two test accounts.
- Check settings outside the code. Look at database permissions, file storage and hosting settings in their own dashboards.
- Book a human review. Have someone independent review access, login and data handling before launch. For questions about your legal duties if customer data is exposed, ask a lawyer.
A scanner like safe-anything is a good habit to add to every change. Pattern-based scanners cannot know your business rules, so they will not confirm whether the right people can see the right data, and that question needs a person who understands your app. If you want that done properly before launch, get your AI-built app checked.
Frequently asked questions
Is an automated security scanner enough for an AI-built app?
No. A scanner is a useful first check, but OWASP says automated code scanners find only a relatively small percentage of application security flaws. They are good at known patterns such as SQL injection, cross-site scripting and leaked keys. They cannot know your business rules, so they struggle with problems like one customer seeing another customer's data. Run a scanner on every change, and have a person review access, login and settings before launch.
What does the safe-anything scanner check?
safe-anything is a scanner written in Rust, published on GitHub and first released on 22 November. It checks code for flaws such as SQL injection and cross-site scripting, looks for leaked secrets, compares your locked dependencies against the OSV.dev vulnerability database, and reads configuration for Android, iOS, Docker, GitHub Actions, Kubernetes, Terraform and nginx. It has 72 rules, and each finding gives a file, line, severity and suggested fix.
Can a code scanner find access control problems?
Not reliably. Access control means the rules about who can see or change what, such as a customer only seeing their own orders. Those rules depend on how your business works, which a scanner cannot work out from patterns in code. So do not rely on any scanner, safe-anything included, to confirm who can see what. The practical test is to create two accounts with different roles and try to reach each other's data, ideally with an experienced reviewer.
How often should I run a security scanner on my app?
Ideally on every change. OWASP notes that automated code scanners can be run repeatedly, for example on nightly builds or in continuous integration, the automatic checks that run whenever code changes. safe-anything stops with an error when it finds a high or critical issue, so it can block a risky change before it goes live. A human review is less frequent: before launch and after any big change to login, payments or data.
Sources
- erKam Yaman (GitHub): GitHub - erkamyaman/safe-anything: Find the holes before someone else does. A fast, 100% Rust vulnerability scanner: XSS, SQL injection, leaked secrets, dependency CVEs and AI agent setups.
- erKam Yaman (GitHub): Releases · erkamyaman/safe-anything, 2026-11-22
- OWASP Foundation: Source Code Analysis Tools