A practical website security checklist for developers working with Claude Code. It covers the mistakes that actually get made on small and mid-sized sites, in roughly the order they cause damage.
This list does not make a site secure. No checklist does. It catches common, avoidable problems. Anything handling payments, health data, or personal data at scale needs a real security review by someone who does that for a living. Treat this as a floor, not a ceiling.
There is one addition worth making for AI-assisted development specifically: an assistant that can read your repository can also read anything you leave in it. Most of the credential exposure below is not exotic — it is a .env file that was never git-ignored.
1. Secrets and credentials
-
-
-
-
-
-
-
-
-
-
-
-
-
2. Environment separation
3. Transport and headers
-
-
-
-
-
-
-
-
-
-
5. Authentication
6. Sessions
7. Authorisation
8. APIs and webhooks
9. Dependencies
10. CI/CD and infrastructure
11. Production hygiene
12. Logging and monitoring
13. Privacy and data
14. Working with an AI assistant
15. Before you call it done
The Claude Code Website Launch System includes the security audit prompts that work through this list against a real codebase.
Licence
Free to use in any project, including client work. Do not resell or republish it as your own.