Vulnerable AI Factory

The Vulnerable AI Factory is a deliberately insecure agentic AI application: a "Juice Shop for agentic AI". Its departments are built from real components such as AI agents, MCP servers and clients, agent-to-agent (A2A) integrations, vector databases and autonomous pipelines. You can safely break each one with prompt injection, tool misuse, memory poisoning and more.

About Vulnerable AI Factory

What is the Vulnerable AI Factory?

As AI systems become more autonomous and interconnected, their attack surface grows quickly. Agents call tools, talk to MCP servers and other agents (A2A), and read from vector databases and long-term memory. Developers, security researchers and students need a safe place to see how these systems break, and how to make them hold.

The Vulnerable AI Factory is a deliberately insecure, hands-on playground for agentic AI security. Think of it as a "Juice Shop for agentic AI", with one important addition: every attack comes with a defense.

How it works

The Factory is organised into departments. Each department is a small, self-contained lab that maps to an area of the OWASP AI Security Verification Standard (AISVS). For each lab you:

1. Attack: exploit the vulnerable version of the department (for example a prompt injection that makes an agent misuse a tool).

2. Understand: read the AISVS requirements that would have prevented it.

3. Defend: switch to or build the hardened version (code, configuration, architecture or guardrail).

4. Verify: run the same attack as a test (unit test or a scanner such as NVIDIA garak) and prove it no longer works.

What you can explore

- Prompt injection, direct and indirect

- Insecure output handling

- Memory and RAG poisoning in vector databases

- Excessive agency and missing tool authorization

- MCP server and client weaknesses

- Agent-to-agent (A2A) trust issues

- Missing approvals, budgets and monitoring in autonomous pipelines

Who is it for?

- Developers building LLM and agent applications who want to see real failure modes

- Security testers and researchers who want a legal target for agentic AI attacks

- Trainers and educators who need ready-made labs with both attack and defense

Status

The project is in its first year. The first departments, step-by-step guides and verification tests are being built. Contributions of new departments, attack ideas and defenses are very welcome. See the GitHub repository to get involved.

Project Resources

Project Leaders

Rico Komenda

Email

Javan Rasokat

Email

Project Information

Incubator Project
Classification
Tool
License
MIT License
Contributors
1
GitHub Stars
1
Downloads
0
OWASP Logo
OWASP is a nonprofit foundation improving software security through open-source projects, global communities, and education. All resources are free and open to everyone.
OWASP, the OWASP logo, and Global AppSec are registered trademarks and AppSec Days, AppSec California, AppSec Cali, SnowFROC, OWASP Boston Application Security Conference, and LASCON are trademarks of the OWASP Foundation, Inc.
© 2026, OWASP Foundation Inc. All rights reserved.