30 security rules
Vibe coding guide
Guide
Security checklist

30 security rules

These apply to every app you ship — whether it took you 2 hours or 2 months. Check them off as you go. The ones marked critical can cause serious harm if skipped.

30 rules 10 categories Track progress
Category 01

Authentication & sessions

01
02
Category 02

Secrets & keys

03
04
05
Category 03

Dependencies

06
07
08
Category 04

Input & database security

09
10
Category 05

Network & code hygiene

11
12
13
Category 06

Rate limiting

14
15
16
Category 07

Infrastructure & costs

17
18
Category 08

Storage, uploads & payments

19
20
21
22
Category 09

Authorization & AI-assisted review

23
24
25
Category 10

Operations & compliance

26
27
28
29
30
Your progress
0

Get started

Check off rules as you apply them to your project. Progress is saved in your browser so you can pick up where you left off. Critical rules (marked in red) should be addressed first.

Critical rules — do these first

01 — Set session expiration with refresh rotation

02 — Never use AI-built auth

03 — No API keys in AI chats

04 — .gitignore before first commit

09 — Parameterized queries always

10 — Row-Level Security from day one

12 — No wildcard CORS

19 — Lock down storage buckets

21 — Verify webhook signatures

23 — Server-side permission checks

28 — Test your backup restoration

29 — Separate test and prod environments

30 — Test webhooks stay in test systems