The four labs and what they teach
- OWASP crAPI (Completely Ridiculous API): a vehicle-owner platform built around the OWASP API Security Top 10. Best for BOLA, broken authentication, excessive data exposure, mass assignment and SSRF in a realistic multi-service API.
- OWASP Juice Shop: a modern single-page web shop with a large number of challenges across the OWASP Top 10 and beyond, including XSS, injection, broken access control and logic flaws, with a built-in score board.
- VAmPI: a compact vulnerable REST API with a switch to turn vulnerabilities on or off. Ideal for learning BOLA, BFLA, mass assignment and excessive data exposure in isolation.
- DVGA (Damn Vulnerable GraphQL Application): GraphQL-specific issues such as introspection, query depth and batching abuse, injection and authorisation bypass.
Running labs safely
- Run them in Docker on your own machine or an isolated VM.
- Bind them to localhost, never to a public interface; they are deliberately insecure.
- Tear them down when finished, and do not reuse credentials from them anywhere.
- Do not practise against third-party sites, even ones that look abandoned.
A practice plan
Start manually with an intercepting proxy on VAmPI, because its small size lets you find every issue and understand why it exists. Move to crAPI to practise chaining across services, then Juice Shop for breadth on the web side, and DVGA once you are comfortable with REST. Only after you have found issues manually should you run automated tools against the same lab: comparing what you found with what the tool found teaches you where each is strong.
Skills each lab builds
- VAmPI: reading API responses carefully, swapping IDs and tokens between users, and recognising over-shared fields.
- crAPI: following a chain across services, such as a data leak in one endpoint enabling an attack on another.
- Juice Shop: client-side analysis of a JavaScript application, finding hidden routes and testing front-end trust assumptions.
- DVGA: thinking per field and per resolver, and testing denial-of-service style query abuse safely.
Using labs to evaluate tools
Give every tool the same lab, the same time limit and the same starting information. Count verified findings, false positives and known issues missed. Note how much of each result you had to check by hand. Repeat a run to see whether results are consistent. This tells you far more about a tool than a vendor demonstration on a target it was tuned for.
Bundled labs in Pentest-Swarm
Pentest-Swarm bundles all four labs. Each spins up in Docker, gets attacked within its own scope and is torn down afterwards, so there is nothing to set up.
pentestswarm scan --lab --lab-target crapi --provider ollama --swarm --tuiruns a full lab session with a local model and no API key.- Swap
--lab-targetforjuiceshop,vampiordvga. - Deterministic, live-verified chains for VAmPI and DVGA run reliably regardless of model, which makes them a good baseline.
- Try
--mode ctfto see goal-driven behaviour, or pick a lab in thepentestswarm runlauncher.
Where it falls short
Labs are simplified; success on them does not guarantee results on a real application with unusual authentication, rate limits or business logic. Running bundled labs needs Docker. Pentest-Swarm does not provide guided lessons or scoring, so for structured learning pair the labs with Juice Shop's own score board or OWASP's documentation. For network, Active Directory or binary exploitation practice, look at other lab environments.
Questions
Which vulnerable app should I start with?
VAmPI for APIs, because it is small enough to understand completely, or Juice Shop if you are focused on web front ends.
Is it legal to hack these labs?
Yes, when you run them yourself; they are designed for it. Never attack someone else's hosted instance without permission.
Can I use labs to compare AI pentesting tools?
Yes. Same lab, same time limit, same starting information, then compare verified findings and false positives.