TL;DR: Agent Breaker models real-world GenAI attack surfaces such as indirect prompt injection, tool poisoning, context leaks, and goal hijacking inside playable levels that score partial and full success, according to Lakera. The broader lesson is that GenAI security needs attack-aware testing, not just prompt hygiene, because the failure modes are architectural and measurable.
Editorial analysis by NHI Mgmt Group, based on content published by Lakera: “Inside Agent Breaker: Building a Real-World GenAI Security Playground”.
Key questions
Q: How should security teams use AI pentesting to test real attack paths?
A: Treat AI pentesting as a way to validate whether an attacker can move from entry to impact, not as a way to count more findings.
Q: Why do partial-success scores matter in GenAI security testing?
A: Partial-success scores matter because many AI attacks do not fail cleanly.
Q: What are the signs that GenAI guardrails are not working as intended?
A: Common warning signs include unsafe outputs reaching users, policy violations slipping through, slow or inconsistent enforcement, and operational friction that pushes teams to bypass controls.
Practitioner guidance
- Define threat snapshots for your own GenAI apps Document the application purpose, model context, tool set, memory behaviour, and likely attack objectives so testers can reproduce realistic adversarial conditions.
- Measure partial success, not just complete compromise Use scoring or graded evaluation to capture prompt leakage, tool misuse, and partial policy bypasses before those states turn into full exploit paths.
- Test indirect prompt injection paths Review external documents, webpages, logs, and retrieved content that your agent ingests, then verify those sources cannot redirect behaviour through hidden instructions.
Bottom line: GenAI testbeds are most useful when they model realistic attack paths rather than abstract prompt tricks.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Agentic security needs measurable attack realism, not prompt etiquette. The article shows that real GenAI risk comes from how systems ingest content, call tools, and generate actions under pressure. That shifts the discipline from prompt cleanliness to adversarial testing of architecture, behaviour, and guardrail interplay. Practitioners should treat attack simulation as a core security control, not a research novelty.
A few things that frame the scale:
- Generative AI use specifically increased from 33% in 2023 to 79% in 2025, according to McKinsey’s Global Surveys on the State of AI.
A question worth separating out:
Q: How can teams evaluate whether a red team testbed is useful?
A: A useful testbed reproduces realistic application behaviour, gives clear success criteria, and scores more than simple pass or fail outcomes. It should help teams compare model behaviour under stress, identify recurring exploit paths, and turn findings into repeatable security tests that fit the production environment.
👉 Read our full editorial: Agent breaker shows how GenAI security testbeds model real attacks