A hands-on session security lab showing how stolen cookies bypass passwords, 2FA, and OAuth
Part of CyberDesserts - Learn Cybersecurity By Doing (GitHub)
Open demo/index.html in your browser - no setup required. The demo is a standalone walkthrough that explains session replay attacks, cookie security flags, and defence strategies with interactive diagrams.
When hosted via GitHub Pages the demo is available at the repo’s Pages URL.
The full lab runs two apps side by side - a deliberately vulnerable app and a hardened app - so you can steal a session cookie and replay it, then see exactly which defences block the same attack.
git clone https://github.com/cyberdesserts/cookiejar-lab.git
cd cookiejar-lab
docker compose up --build
See cookiejar-lab/README.md for the full walkthrough, HTTPS setup, and detailed documentation.
A CyberDesserts project - Learn Cybersecurity By Doing