Notes
A publication on secure coding for the software we all ship.
Free notes on XSS, auth, and injection, and the defenses that still hold after the framework defaults. Not a vendor pitch.
Latest notes
View all articles
Most Express cookie apps still do not need a JWT
Cookie session first. JWT only when a third party must verify the token.
Injection still starts when untrusted data reaches an interpreter
Bind parameters. Do not concatenate untrusted input into a query.
Cookie sessions in 2026: __Host-, Lax, and regenerate
Four belts on one cookie. __Host- refuses Domain.
TLS 1.3, 200-day certs, and HSTS are the 2026 bar
Default is TLSRef Intermediate: 1.2 and 1.3. Not 1.3-only.
Docker in 2026: non-root USER, read-only rootfs, pin tags
USER 10001, –read-only plus tmpfs, FROM by digest.
Credential stuffing in 2026: MFA, rate limit, HIBP
A stolen list dies at the login door, not after a session exists.




