Intentionally vulnerable REST API for security testing. Practice API hacking safely.
756
ā ļø INTENTIONALLY VULNERABLE - FOR SECURITY TESTING ONLY ā ļø
A deliberately insecure REST API built in Rust for learning and practicing API security testing. Perfect for training, CTFs, and testing security tools.
docker pull trapdoorsec/dvwapi:latest
docker run -d -p 7341:7341 trapdoorsec/dvwapi
API available at http://localhost:7341
3 API versions with different response formats, each containing:
| Category | Endpoints | Vulnerabilities |
|---|---|---|
| Debug | /api/v{1,2,3}/debug/config, /api/v{1,2,3}/env | Secrets exposure, credential leaks |
| Admin | /api/v{1,2,3}/admin | Missing authentication |
| Files | /api/v{1,2,3}/.env | Sensitive file disclosure |
| Actuator | /actuator/* | Spring Boot misconfig (env, heapdump, shutdown) |
| GraphQL | /graphql | Introspection, unrestricted mutations, secrets query |
| Swagger | /swagger/* | RCE via spec generation |
| Command Injection | /api/{version}/version-info | OS command execution |
# Custom port and debug logging
docker run -d -p 8080:8080 trapdoorsec/dvwapi --port 8080 --log-level debug
# All options
--ip <IP> # Bind address (default: 0.0.0.0)
--port <PORT> # Port (default: 7341)
--log-level <LEVEL> # trace|debug|info|warn|error
--colored <BOOL> # Colored output (default: true)
latest - Most recent stable release0.1.0 - Specific versions (semver)DO NOT deploy on public networks or production systems. This application is intentionally vulnerable and will compromise your host if exposed to the internet.
License: AGPL-3.0 | Built with: Rust + Axum
Content type
Image
Digest
sha256:c5cc647a3ā¦
Size
35.9 MB
Last updated
10 months ago
docker pull trapdoorsec/dvwapi