TSGoat is an intentionally vulnerable application written in TypeScript to learn about security flaws.
- Node.js (tested on v12.18.1)
Download and install dependencies
git clone https://github.com/jharper-sec/TSGoat.git
cd TSGoat
npm install
Compile TypeScript application
npm run tsc
Start application
npm start
or to start with Contrast agent
npm run contrast
Navigate to http://localhost:3000 to view the application
Build container image
docker-compose build
Run with docker-compose
docker-compose up
- SQL Injection
- Reflected XSS