These four projects are real code, built to be insecure on purpose so people can practise on them. Pick one, read it, and find three assets, three threats and three vulnerabilities — each with a link that proves it.
A full online shop: customer accounts, orders and baskets, payment cards, product reviews.
Look in: the README (it calls itself insecure on purpose), package.json for old libraries, and SECURITY.md.
Open on GitHub ↗A small web app with a login page and a database. "Damn Vulnerable Web Application."
Look in: the README "Default Credentials" section, and config/config.inc.php.dist where the database password is written in the code.
Open on GitHub ↗A teaching app with one lesson for every kind of flaw, maintained by OWASP.
Look in: the README (deliberately insecure), and each lesson folder, which names the flaw it teaches.
Open on GitHub ↗A retirement-savings app that holds salaries, bank account details and user profiles.
Look in: the README (it prints the admin login), and config/env/all.js where the secret keys are written in the code.
Open on GitHub ↗