vibe-audit.lab

What this library is for

AI coding tools write plausible code at speed, and plausible code fails in patterned ways. The opening guide catalogues the seven security mistakes AI coders keep making, not as trivia but because the same seven account for most of what our scanner finds in real submissions. The supply-chain guide covers the attack that needs no bug in your code at all: a dependency chosen by the model, a package name hallucinated into existence and then registered by someone else. The secret-hygiene guide is the shortest path to a better scan result, since leaked API keys are the finding we report most and the one with the fastest fix.

The second half goes deeper and gets more specific. One guide is deliberately about limits: what code scanners cannot find, the logic flaws and design errors that no pattern match will ever catch, so nobody mistakes a clean scan for a safe system. Then come the single-vulnerability guides, each built around one real attack shape: forged JWTs through alg=none confusion, open redirects that lend your domain to a phishing page, RAG poisoning through one planted document, DOM clobbering through a form field named config. Each names the pattern the way the scanner reports it, shows the vulnerable shape, and gives the fix.

How the team chooses topics is worth stating: a guide exists because the scanner kept reporting the pattern, or because readers kept asking the question after a scan. Nothing here is written to fill a calendar. When a pattern stops appearing in real submissions, its guide stops being maintained and says so, because security advice with no date and no evidence behind it is how teams end up defending against last year's attack.

Frequently asked questions

What mistakes do AI coding tools keep making?

The same seven, repeatedly: the opening guide catalogues them, from missing authorisation checks to trusting client-supplied identifiers. They recur because the models learned from code that contains them, and they are the patterns this library and the scanner are organised around.

Can a scanner find every vulnerability in AI-generated code?

No, and one guide here is devoted to that limit. Scanners find known shapes: leaked secrets, dangerous patterns, weak configurations. They do not find logic flaws or design errors. A clean scan means the known shapes are absent, nothing more, and the guides say so plainly.

What should I fix first after a bad scan?

Secrets. A leaked API key is exploitable the moment it is committed, by anyone, without further skill. The secret-hygiene guide gives the order: revoke, rotate, then clean the history. Injection and authorisation findings come after the keys are safe.

Are the guides free to read?

Yes. The library is open on this page, written by the Vibe-Code Audit team. The guides are informational explainers, not security guarantees, and the standing advice on this page applies: scan your own code before every deploy.

Sources

← Back