All projects
AppSec Testing · 2026
sessionprops
Session security expressed as invariants and checked against randomly generated operation sequences, with every violation shrunk to a minimal reproduction.
Approach
Session bugs are invisible in normal use: an identifier that survives privilege elevation, a logout that only clears the client, a token that still works after a password change. Example-based tests only cover the sequences someone thought of.
sessionprops states seven properties that must hold for every sequence of login, elevate, logout, password-change, clock and use operations, generates seeded traces to break them, and shrinks any counterexample with delta debugging.
Highlights
- Seven invariants, each mapped to an OWASP ASVS control
- Reference auth server with a hardened config and a catalogue of seeded flaws
- Detection power measured: each seeded flaw is found and shrunk
- Zero dependencies, no build step