Application Security Labs: Injection, Secrets and DAST
Python · Playwright · Bandit · Argon2id · HashiCorp Vault · OWASP ZAP

A set of shorter labs, each with a vulnerable and a fixed version and automated proof of the fix: injection flaws, password storage and secrets management, and the limits of automated DAST against an OWASP standard. All run locally with fictitious data.
Technologies
My role
Sole author of every lab.
Highlights
- SQL injection, XSS and command injection fixed and proven by 11 of 11 automated tests, including Playwright in a real browser and Bandit on the code
- Passwords migrated from unsalted MD5 to Argon2id on next login
- Secrets hunted in git history with Gitleaks and TruffleHog, then moved to HashiCorp Vault, which issues database credentials that expire after 60 seconds
- OWASP ZAP measured against four OWASP ASVS 5.0 requirements: the scanner caught 1, manual tests with two identities confirmed all 4, including an IDOR in OWASP Juice Shop
- Triage of real SAST, SCA and DAST results: 20 raw entries consolidated into 14 defects, with duplicates linked, false positives closed and priorities set by context such as CISA's KEV list
Screenshots and diagrams



