· 7 min read
IDOR and Broken Access Control: A Practical Guide
How IDOR and broken access control creep into REST, GraphQL and Next.js route handlers, how to test for them, and the fixes that hold up in real codebases.
- Security
- OWASP
- Access Control
Guides on code security, AI code review and shipping fixes that hold.
· 7 min read
How IDOR and broken access control creep into REST, GraphQL and Next.js route handlers, how to test for them, and the fixes that hold up in real codebases.
· 7 min read
The JWT and session mistakes that lead to account takeover: algorithm confusion, weak secrets, missing claim checks, token storage, rotation and real logout.
· 7 min read
Deleting a committed API key does not remove it from git history. How to find leaked secrets, rotate them first, rewrite history safely and stop the next leak.
· 8 min read
A practical security checklist for Next.js App Router apps: server actions, route handlers, middleware, env vars, CSRF, headers, webhooks and per-user caching.
· 8 min read
How prompt injection, tool abuse and link-based data exfiltration actually hit LLM features, and the controls that limit the damage when a model gets steered.
· 7 min read
How double-spends, coupon reuse and limit bypasses happen when requests race, and how to fix them with constraints, atomic updates, locks and idempotency keys.
· 7 min read
A practical guide to CSP with nonces and strict-dynamic, HSTS and preload, frame-ancestors, Referrer-Policy, Permissions-Policy and COOP, with a Next.js config.
· 7 min read
Vulnerable and fixed SQL snippets for pg, Prisma, psycopg, SQLAlchemy and Go database/sql, plus safe dynamic ORDER BY clauses and IN lists. Mapped to CWE-89.
· 7 min read
How SSRF turns webhooks, link previews and importers into a path to cloud metadata and internal services, and the defenses that hold, with a Node.js example.
· 9 min read
A practical checklist of the ten vulnerability classes worth checking in every code review, mapped to OWASP Top 10 and CWE, with the one-line fix for each.
· 5 min read
CWE identifiers turn a vague security finding into a precise, trackable class of weakness. A short guide to reading them and using them to prioritize fixes.