Security
The OWASP Top 10 for LLM apps, for developers
The OWASP Top 10 for LLM applications explained for developers: the ten ways AI apps get attacked, in plain language, and where to start.
Security · 3 min read · 8 Oct 2026
How API keys and passwords leak into public code, how quickly attackers find them, and how to catch and rotate them before they're used.
An API key in a public repository is one of the cheapest ways for a company to get breached. Attackers run automated tools that watch public code sites for new commits and pull out anything that looks like a credential. A cloud key pushed to a public repository can be found and used very quickly — sometimes before the developer has even noticed the mistake.
The good news is that most of these leaks follow a handful of patterns, and they’re easy to catch if you look in the right places.
In our experience, leaked secrets rarely come from carelessness about security. They come from ordinary shortcuts:
.env or settings file gets committed because it wasn’t in .gitignore.The last three are the hardest, because they happen outside the repositories your security team watches.
The cheapest leak to fix is the one that never happens.
.env and similar files to .gitignore in every repository template, so new projects start safe.Scanning your own repositories doesn’t help when the leak happens somewhere else. For that you need to watch public code sites for your company’s code and credentials: your domain names, internal hostnames, distinctive code and key formats. That’s what our Repo Leak Scanner does.
If you find a leaked secret, the order of steps matters.
Teams often do these in reverse order, cleaning up the code first because it feels like the fix. Every minute spent on history rewriting before rotation is a minute the key still works.
Search your organisation’s public repositories, and your developers’ public profiles, for your company domain and the prefixes of the keys you use. It takes ten minutes and it’s one of the most useful security checks a small team can run.
Keep reading
Security
The OWASP Top 10 for LLM applications explained for developers: the ten ways AI apps get attacked, in plain language, and where to start.
Security
A lightweight, phased security pipeline that fits a small team and the DPDP Act.
Security
The three kinds of security scanning, what each catches, and how to choose.
Next step
Book a scoping call and talk it through with our team.