Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
DonkAI — DonkAI is a hands-on lab for the OWASP Top 10 for LLM Applications (2025) - no real LLM required. | Kitploit
Tools/GitHubGitHub/owasp/donkai
Vulnerability AnalysisWeb SecurityCTFPenetration TestingSupply Chain SecurityMisconfigurationLearning & EducationAI SecurityLabs & Practice
GitHubowasp/donkai

DonkAI

DonkAI is a hands-on lab for the OWASP Top 10 for LLM Applications (2025) - no real LLM required.

1242 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository

DonkAI

Hands-on lab for the OWASP Top 10 for LLM Applications (2025) - no real LLM required.

OWASP

DonkAI is deliberately vulnerable web app you can run in one command and use to learn how LLM-integrated systems get broken by actually breaking them. Every OWASP LLM Top 10 category is represented by at least one playable challenge, with a written brief, a payload editor, an active defense to bypass, progressive hints, and a per-user history of every attempt. More than a fixed set of exercises, it's an extensible teaching lab: the modular architecture (one file per category, backend and frontend) makes it straightforward to add new vulnerabilities, harden existing defenses, or build entirely new tracks for workshops, courses, and CTFs.

Warning this application intentionally exposes live attack surfaces (prompt injection, IDOR, SQL injection, hard-coded credentials, and more). It must be run only in an isolated lab environment, preferably inside a dedicated virtual machine, and must never be deployed on the open internet.


Why this exists

The OWASP Top 10 for LLM Applications maps out the risks and gives the vocabulary for talking about them, essential reading for anyone working on LLM security. DonkAI is designed as a hands-on extension of that work: a small, deterministic playground where you try the attacks yourself, see them succeed against a fake-but-realistic chatbot, and read a debrief explaining what just worked and how a real system would defend against it. There is no real LLM behind the curtain, the whole stack is rule-based, so the lab is cheap, offline-friendly, and reproducible.

Quick Start

Clone, build, and launch the full stack with two commands:

root@kitploit:~
git clone https://github.com/OWASP/DonkAI.git && cd DonkAI
docker compose up --build

Then open http://localhost:3000, sign in with alice / password123, and pick your first challenge from the OWASP panel on the left.

Services

ServiceURL / Address
Web UIhttp://localhost:3000
Backend (API + docs)http://localhost:8000/docs
PostgreSQLlocalhost:5432 — db

Default Accounts

UsernamePassword

Tip — to wipe all state (users, sessions, attempt history) and start from a clean slate:

root@kitploit:~
docker compose down -v

OWASP LLM Top 10 Coverage

Every category in the OWASP LLM Top 10 is represented by at least one playable challenge.

To add or modify categories and challenges, see Extending challenges.


Architecture

root@kitploit:~
   ┌──────────────────┐      ┌──────────────────┐      ┌────────────────┐
   │   React SPA      │ ───► │     FastAPI      │ ───► │   PostgreSQL   │
   │   :3000          │      │     :8000        │      │     :5432      │
   │   webapp/        │      │   ml-service/    │      │   database/    │
   └──────────────────┘      └──────────────────┘      └────────────────┘

Disclaimer

This application is intentionally vulnerable. The defaults (passwords, database credentials, hard-coded secrets in system prompts) are part of the educational content, not security oversights. Run locally or in an isolated lab, never on a shared host or the public internet, and never against real production data.

Only apply techniques you learn here against systems you own or have explicit written permission to test.

Download Tool
donk_ai_lab
Role
alicepassword123user
bobpassword123user
adminadmin123admin
#CategoryChallengesBackend file
LLM01Prompt Injection2llm01_prompt_injection.py
LLM02Sensitive Info Disclosure2llm02_sensitive_info.py
LLM03Supply Chain1llm03_supply_chain.py
LLM04Data & Model Poisoning1llm04_data_poisoning.py
LLM05Improper Output Handling2llm05_improper_output.py
LLM06Excessive Agency2llm06_excessive_agency.py
LLM07System Prompt Leakage2llm07_system_prompt_leak.py
LLM08Vector & Embedding Weaknesses1llm08_vector_weaknesses.py
LLM09Misinformation1llm09_misinformation.py
LLM10Unbounded Consumption1llm10_unbounded_consumption.py
LayerStackRole
FrontendReactRenders the challenge UI, payload editor, and per-attempt history drawer.
BackendFastAPIOne rule-based challenge engine per OWASP category - fully deterministic, no LLM calls.
DatabasePostgreSQLStores users, chat_sessions, chat_messages, exploit_attempts