剑庭安
首页
黑客安全首页全部安全栏目 黑客技术黑客技术、渗透测试、漏洞利用工具与教程 安全软件安全工具、扫描器、检测与审计软件 病毒分析恶意软件分析、样本、逆向与沙箱 CTF思路CTF 题目、writeup、解题思路与工具 防护思路防御技术、加固、检测响应与蓝队 红蓝攻防红队攻击模拟、蓝队对抗、攻防演练 漏洞知识库漏洞、CVE、PoC、EXP 与安全研究
逆向|反编译
PHP源码PHP 网站源码、程序、系统 APP源码安卓/iOS APP 源码 ASP源码ASP 网站源码与程序 NET源码.NET 网站源码与系统 小程序源码微信/支付宝小程序源码 Dedecms风格模板Dedecms 织梦风格模板 Empirecms风格模板EmpireCMS 帝国风格模板 Discuz商业模板/插件Discuz 商业模板与插件 WordPress主题/插件WordPress 主题与插件 其它源码、模板其它各类源码与模板 游戏源码游戏源码与引擎项目 加密货币源码加密货币、区块链、钱包、USDT/比特币相关源码与工具 手游源码手机游戏源码、服务端、客户端与引擎项目 传奇源码热血传奇、传奇世界、复古传奇等客户端/服务端/引擎源码 页游源码网页游戏、H5 游戏、浏览器游戏源码 端游源码电脑单机游戏、PC 网游客户端/服务端源码
最新万能免驱动支持所有型号打印机下载程序 日历天气老黄历 · 每天同步真实日期与天气
站长工具站长工具 自助开通会员浏览该分类 其他资源qtziy SEO工具SEO工具 站群源码站群源码 泛程序泛程序 蜘蛛模板蜘蛛模板 蜘蛛池蜘蛛池 外链工具外链工具
搜索 自助开通会员🔓 破甲 API
登录 注册
首页 分类列表 CTF思路 LLMVault - An intentionally …
LLMVault - An intentionally vulnerable OWASP LLM Top 10 train CTF思路 点击放大
作者:admin 发布:2026-10-05

LLMVault - An intentionally vulnerable OWASP LLM Top 10 train

项目说明<p align="center"> <img src="docs/banner.png" alt="LLMVault Banner" width="100%"></p> LL…
资源可下载 免费下载 0 条讨论
会员资源
开通会员后即可下载全部资源。
登录后开通会员
会员方案
307浏览量
0讨论
2下载链接
可下载资源状态
内容可验证
更新 2026-10-05
人工审核发布
评论区答疑

LLMVault - An intentionally vulnerable OWASP LLM Top 10 train

LLMVault - An intentionally vulnerable OWASP LLM Top 10 train

项目说明

<p align="center">
<img src="docs/banner.png" alt="LLMVault Banner" width="100%">
</p>

LLMVault v2.0

<h3 align="center">

🚀 The Ultimate Hands-On OWASP LLM Top 10 Training Platform

</h3>

🎬 Demo

<p align="center">
<img src="./docs/demo.gif" width="650" alt="LLMVault Demo">
</p>

<p align="center">
<strong>Learn • Exploit • Defend</strong>

</p>

<p align="center">

<img src=" alt="Stars">

<img src=" alt="Forks">

<img src=" alt="License">

<img src=" alt="Last Commit">

<img src=" alt="Issues">

<br>

<img src=")-8A2BE2?style=for-the-badge" alt="OWASP">

<img src=" alt="Docker">

<img src=" alt="Python">

</p>

A deliberately-, CTF-style training range for the OWASP Top 10 for LLM Applications (2025) — WebGoat / KubeGoat, but for AI.

It runs in two modes, and you pick one from the dashboard:

Play Mode is the scored range. 25 labs across three tiers: ten core one-per-category labs; ten ad, multi-turn labs (jailbreaking, data poisoning, agent exploitation, model extraction); and five expert labs modelling real-world attack classes. Each tier unlocks the next. The assistants are scripted, so flags reproduce every time and you can practise a technique until it's muscle memory.

Live Mode points the same attacks at a real model running on your machine. Nothing is scripted, the secret is generated fresh per session, and there is no flag to look up — you either talk the model into leaking it or you don't. No score, no penalties, unlimited hints.

Every lab pairs the attack with a defense: solve it, then read what would ha you.

> ⚠️ E here is intentionally insecure. Authorised, self-hosted security education only. Don't expose it to the internet or reuse its code in production.

🚀 What's new in v2.0.0

🔴 Live Mode

A real local model instead of a scripted bot — genuinely unpredictable, so yesterday's payload may die today.

  • 🧠 Ollama, ~2 GB, CPU is fine; secret minted fresh each session

  • 🎯 Three scenarios: prompt injection, indirect injection , downstream output handling
  • 📊 A real dashboard

  • ⚔️ Both modes side by side, per-tier progress, rank, score, li feed

  • 🎨 Two themes: Neon (default) and Phosphor green-CRT
  • 🏅 Milestones and alerts

  • 🎖️ Core / Ad / Expert cards pop on the spot, carrying your badges

  • 🔔 One Notification e, Play / Li, dot when the model needs attention
  • 🕹️ Play Mode is untouched

    E you had still works exactly as before.

    Pre, in v1.1.0

  • Read before you attack. Landing on any lab shows a short reference panel for that OWASP category — what the issue is, why it happens, and what to watch for in the wild.

  • Refreshed Labs page, including per-difficulty accent colours on each card.

  • Hardened flag checks. Flags are by hash comparison instead of a stored plaintext match.
  • 📸 Screenshots

    | Labs (three tiers) | A lab in action | Completion card |
    |---|---|---|
    | <img src="docs/labs.svg" width="300"> | <img src="docs/lab.svg" width="300"> | <img src="docs/completion-card.png" width="300"> |

    ---

    🧩 Core Tier — OWASP LLM Top 10

    | OWASP (2025) | Lab | Technique |
    |---|---|---|
    | LLM01 Prompt Injection | The Obedient Assistant | direct instruction o |
    | LLM02 Sensitive Info Disclosure | Redaction Theater | output-filter bypass |
    | LLM03 Supply Chain | Trust the Manifest? | typosquatted / unsigned dependency |
    | LLM04 Data & Model Poisoning | The Sleeper Phrase | poisoned-data backdoor trigger |
    | LLM05 Improper Output Handling | Rendered Without Question | unsanitised output → injection |
    | LLM06 Excessi | Keys to the Kingdom | o tool, no authz |
    | LLM07 System Prompt Leakage | Loose Lips | secret leaked from system prompt |
    | LLM08 & Embedding | Retrie Borders | RAG retrie ACLs |
    | LLM09 Misinformation | The Yes-Man | sycophancy / false authority |
    | LLM10 Unbounded Consumption | Denial of Wallet | runaway generation + leaky error |

    🔥 Ad Tier — Multi-Turn Challenges (unlocks after completing all 10 Core challenges)

    These are con: no single message wins — they require building state across turns (roleplay escalation, iterati, tool chaining, oracle querying).

    | OWASP | Lab | Ad technique |
    |---|---|---|
    | LLM01 | Roleplay Unchained | multi-turn jailbreak escalation |
    | LLM02 | Death by a Thousand Hints | fragment reconstruction from a partial-disclosure oracle |
    | LLM03 | The Tampered Registry | deployed- hash correlation |
    | LLM04 | Teach Me Wrong | active data poisoning of an online-learning filter |
    | LLM05 | The Note Keeper | stored / second-order injection |
    | LLM06 | Confused Deputy | agent tool-chaining (SSRF to internal metadata) |
    | LLM07 | Method Actor | multi-technique system-prompt extraction |
    | LLM08 | Crossed Wires | cross-tenant RAG memory bleed |
    | LLM09 | The Confident Liar | hallucination → o cascade |
    | LLM10 | The Oracle | query-based model extraction |

    ⚔️ Expert Tier — Real-World Attack Classes (unlocked after all Ad challenges are solved)

    Five expert labs modelling real-world, disclosed- attack classes against LLM systems. Each is simulated — the app recognises the known payload and returns a flag; no real RCE/SSRF/SQL happens in the tool.

    This tier ships ENCRYPTED, and its contents are intentionally not listed here. The challenges and flags are AES-encrypted (Fernet) into challenges/expert.enc with a key derived from a secret Expert Access Key that lives only in the operator's private vault — never in the repo. Cloning the repo yields ciphertext only; the specific scenarios stay secret until you earn them. To unlock, a player must (1) finish all Core + Ad labs and (2) enter the key, which the operator (CyberSunil) hands out manually after the player shares their completion card. Wrong key → authenticated decryption fails → nothing is re.

    > Disco what's inside is part of the challenge. 🔒

    ---

    ⚡ Live Mode — a real model, no script

    Play Mode teaches you the shape of each attack against a bot that always answers the same way.
    Live Mode takes that away. The assistant is a real LLM running locally, the secret it's guarding
    is generated per session, and it streams its reply token by token so you can watch a jailbreak
    land or fall apart mid-sentence.

    There's no score here and no flag box. You win when the model itself gives up the secret, and the
    app checks its output rather than your typing. Hints are free and there are as many as you want —
    gating them behind a cost would only punish curiosity.

    | Scenario | OWASP | What you're actually learning |
    |---|---|---|
    | The Helpdesk O | LLM01 Prompt Injection | A secret in a system prompt is not stored, it's just *context*. You'll get the model to hand over a Tier-2 escalation code by out-framing its instructions — and find that authority, urgency and role-play all still work on a li. |
    | The Screenshot Triage | LLM01 Prompt Injection (multimodal) | Indirect injection. You never type the payload — you hide it in an image you upload, and the triage assistant reads it as instructions. This is the lesson people skip: text extracted from a file is user input, and OCR is an attack surface. |
    | The Report Renderer | LLM05 Improper Output Handling | The model's reply looks harmless; the damage happens *downstream*, when a template engine renders it. You'll make the rendered report leak a value the model never saw, which is the difference between "the model said something bad" and "the model's output was executed". |

    Each one ends with the defence — why the bug exists and what actually fixes it, not just
    "sanitise your inputs".

    Getting Live Mode running

    Expect a few seconds per reply on a laptop CPU; that's normal. Running Ollama elsewhere? Point
    OLLAMA_HOST at it. Prefer an OpenAI-compatible endpoint? Set OPENAI_API_KEY. Full notes in
    docs/LI.md.

    Skip this section entirely and nothing breaks. Without a local model the Live Zone shows the
    setup steps and the other 25 labs carry on working offline.

    ---

    🚀 Run it

    Flask debug mode is off by default (the Werkzeug debugger runs arbitrary code). Only on a
    trusted, local machine, opt in with LLM=1 python app.py (true also works).

    No API key needed, ever. Play Mode's assistants are scripted, so flags reproduce reliably and
    the whole range runs offline. Live Mode adds a real model, but it runs on your machine too — see
    Live Mode below. Nothing in LLMVault calls a hosted API.

    ---

    🐳 Run with Docker

    Served by gunicorn (single worker, so the in-memory scoreboard stays consistent).
    Do not expose this to the public internet — it's intentionally . To bind
    to localhost only, use "127.0.0.1:5000:5000" in docker-compose.yml.

    💾 Persistence (self-host friendly)

    Progress and the scoreboard are saved to data/progress.json — no database needed — so
    they survive page refresh *and* a ser restart. In Docker the ./data
    keeps them across docker compose down/up. Delete the file to reset e.

    🙋 Player experience

  • First-run name gate (locked once set) and a one-time guided tutorial on your first lab.

  • Every lab opens with a short reference panel for its OWASP category — plain-language explanation plus what to watch for — before you start attacking it.

  • After you solve a lab, a 📘 Learn — the fix panel reveals the defensi for that OWASP category.

  • Milestone cards pop up the moment you clear a tier, with the badges you' so far.

  • One notification bell on every page, with a Play / Li and a minimise control.

  • Responsi — works on phones (the sidebar collapses, panels stack).
  • 🕹️ How to play

    1. On first launch you set a player name (locked once chosen — it can't be changed after).
    2. From the dashboard, pick Play Mode for the scored labs or Live Mode for the real model.
    3. Work the core labs; make each assistant leak its flag using that category's technique.
    4. Clear all 10 core labs to unlock the ad tier; clear all ad to unlock the expert tier.
    5. Reveal hints if stuck. Submit flags (LLMVAULT{...}, configurable in config.py).
    6. Cards float on hover and turn green when solved; track e on the Scoreboard.

    Scoring (Play Mode only): core 100–300 pts, ad 400, expert 500; hints cost
    10 / 25 / 50, escalating. Your rank — Initiate up to Vault Master — is the highest threshold
    your score has passed. Live Mode is deliberately outside all of this: no points either way, so
    it can never move your scoreboard position.

    ---

    🎓 Completion card & sharing

    Three milestone cards unlock automatically as a pop-up the moment you finish a tier:
    a green Beginner card (all 10 Core labs), a blue Master card (all 20 Core +
    Ad), and a purple Expert card (the full 25). Each pop-up also shows the badges you now
    hold, and they queue rather than o each other — clear two tiers in one submit and you see
    both. All three live at /completion as well. Each has a Download card (PNG/SVG) button,
    a pre-written caption (Copy), and LinkedIn/X openers.

    Sharing an image: social sites can't auto-attach an image from a share link, so the
    flow is: Download the card → open LinkedIn/X → paste the caption → attach the image.
    Players post it and tag CyberSunil to receive the Expert Access Key. The card renders
    ser as a themed SVG (/card.svg) and exports to PNG in-browser — no external deps.

    🧱 Architecture

    Each challenge is a Challenge subclass with a respond(message, state) that encodes the vuln; ad labs use the persistent state dict for multi-turn logic. Add your own by dropping a module in challenges/ (or challenges/ad/) and registering it.

    ---

    👤 Credit & license

    Made by CyberSunil. Copyright © 2026 Sunil Tripathy.. Released under the MIT License (see LICENSE), with a security notice that the project is deliberately and for authorised training only. Forks and deri works must comply with the MIT License. Use of the LLMVault branding remains subject to the trademark policy.

    ---

    ⚖️ Intellectual Property

  • 📄 Source Code: MIT License

  • ™️ Trademark & Branding: See TRADEMARKS.md
  • The LLMVault™ name, logo, branding, artwork, banners, screenshots, documentation, and other assets are not licensed under the MIT License and may not be used without prior written permission.

    ---
    *Break it here so you can defend it e.*

    ---

    Contributions welcome — see CONTRIBUTING.md. Security policy: SECURITY.md.

    项目信息

    开发语言:Python

    Star 数:332

    技术要点

    该项目属于CTF思路方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕An intentionally vulnerable OWASP LLM Top 10 training platform for AI Security, Prompt Injection, RAG Security, Agent Security, and GenAI penetration testing.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。

    从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。

    使用与学习建议

    1. 下载源码压缩包,解压到本地环境。

    2. 根据项目类型准备对应的运行环境与依赖。

    3. 按照 README 中的步骤完成配置与部署。

    4. 在隔离的测试环境中运行验证,避免影响生产系统。

    免责声明

    本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。

    资源标题LLMVault - An intentionally vulnerable OWASP LLM Top 10 train
    所属分类CTF思路
    发布作者admin
    发布时间2026-10-05 23:43:28
    下载权限 免费下载
    附件数量2 个下载链接
    浏览次数307
    讨论数量0
    主题状态正常讨论中

    本资源免费,登录后即可在本页「下载链接」区域获取全部附件。

    请在评论区留言说明具体链接,或联系作者补档。楼主更新后本页会同步最新的下载地址。

    请先阅读正文中的授权说明;未注明的默认仅限站内学习交流,禁止直接搬运到其他站点二次售卖。
    还没有讨论,快来抢沙发~
    登录 后才能参与讨论
    下载链接
    会员才能下载
    登录后开通会员
    同分类推荐
    暂无同类资源
    免费登录即可下载
    查看会员
    放大预览

    © 2026 剑庭安 - 网站开发定制 SEO 优化蜘蛛池代做 在线看手相算命. 保留所有权利。

    Powered by 酷像SEOv3.0

    网站地图 Sitemap.xml
    首页 全部分类 黑客安全 逆向|反编译 精品源码 站长工具自助开通会员其他资源SEO工具站群源码泛程序蜘蛛模板蜘蛛池外链工具创意乐园 搜索 会员服务 登录 注册