VibeGuard — secure-by-default for AI-built web apps
When to apply
Apply whenever generating or reviewing application code, configuration, or deployment settings — particularly anything touching authentication, payments, identity, location, customer data, secrets, third-party integrations, or database access.
How to use it
- Read
governance.yamlat the project root (scaffold it fromgovernance.example.yamlif missing). The declared data flags determine which rules are mandatory. - Generate against the rules. Follow
ai-context/CLAUDE.md— every applicable rule inrules/catalogue.yamlmust be satisfied by construction (parameterized queries, server-side authz with ownership checks, env-managed secrets, HttpOnly cookies, etc.). - Self-review before returning code. Walk the relevant
rules/catalogue.yamlentries for the files you touched and confirm eachdetectcondition is NOT present. - Never hardcode secrets, ship secret keys to the client, weaken access control, or disable a security control to "make it work."
What it is NOT
Not a guarantee of security and not a substitute for professional testing. VibeGuard reduces common, high-impact flaws at generation time. Pair it with the CI gates and a human reviewer for anything that ships.
Knowledge base:
rules/catalogue.yaml· Risk manifest:governance.schema.yaml· Coverage:docs/coverage-map.md