Vulnapi
Intentionaly very vulnerable API with bonus bad coding practices
Install / Use
/learn @tkisason/VulnapiREADME
vulnapi
Intentionaly very vulnerable API with bonus extremely bad coding practices
NOTE: This is by design a vulnerable application. It's primary use is to demonstrate bad coding practices (in python3) and in operations (docker, etc) and to show off specific vulnerabilities that are not well presented in some other projects. Another use if to have an application that can be used as a demo for various devsecops methods
DO NOT USE ANY PIECE OF THIS CODE IN PRODUCTION! Really. This code is vulnerable to remote code execution, don't leave it in the open
Current implemented vulns:
- Couple of cases of data exposure (by triggering logic issues)
- Mass assignment vulnerabilities
- Broken object level autorization
- Broken authentication
- RCE via deserialization
- SQL injection
- File inclusion / path traversal
- Server Side Template Injection
For solutions, please see the SOLUTION.md file
Usage :
docker build --tag vulnapi .
docker run -it --rm -p8000:8000 vulnapi
open http://IP_OF_HOST:8000/docs in a webbrowser.
Pull requests, especially for cool, subtle bugs or bad practices are welcome. At least FastAPI makes it easy to implement examples.
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
