Analysis · curated 28 Jun 2026
What Is Generative AI Security? Complete Guide
First reported · updated · 10 reports giskard.ai
Coverage timeline
Why it matters
AI guardrails are a primary defense against prompt injection and jailbreaks, but the referenced evasion research shows they can be bypassed, so defenders must test rather than assume their controls hold.
A Mindgard guide explains generative AI guardrails — the input, output, and agent-level controls that screen prompts, retrieved data, and tool actions to keep LLM systems within safe boundaries. The guide notes that guardrails can give a false sense of safety, citing Mindgard's peer-reviewed research (arXiv:2504.11168) that bypassed six leading guardrail systems, including Microsoft Azure Prompt Shield and Meta Prompt Guard, with up to 100% evasion success.
Summary
This is vendor-authored defensive guidance on AI guardrails: the controls that screen what enters and leaves generative AI systems to prevent unsafe, off-policy or malicious behavior. It describes four functional guardrail types (input, output, topical/safety, and agent/tool), the tooling that enforces them, and how to test that they hold. Its value is instructional rather than a report of any specific in-the-wild exploitation.[0]
The central technical claim is that guardrails, being classifiers and filters, can be evaded. Peer-reviewed research bypassed six prominent guardrail systems—including Microsoft's Azure Prompt Shield and Meta's Prompt Guard—with up to 100% evasion success using character-injection and adversarial machine learning techniques, underscoring that no single guardrail is sufficient and that continuous adversarial testing is required.[0][11]
The guidance situates guardrails against the OWASP LLM risk landscape, where prompt injection is ranked the top risk, and against indirect prompt injection and training-data poisoning research showing that poisoned retrieved content and poisoned web-scale datasets can compromise LLM-integrated systems. It recommends layered defenses combined with red teaming and runtime monitoring rather than reliance on guardrails alone.[0][10][44][43]
How it works
Guardrails are implemented as classifiers and content filters, which can be fooled. Two attack families are described: character injection, which hides malicious intent using emoji smuggling, homoglyphs, zero-width characters and leetspeak that a human reads normally but a detector misses; and adversarial machine learning, which perturbs wording to slip past the classifier while preserving the malicious payload.[0][11]
Attackers can improve evasion against black-box guardrail targets by leveraging word-importance ranking computed by offline white-box models, increasing attack success rates while maintaining adversarial utility.[11]
Indirect prompt injection blurs the line between data and instructions: a poisoned document or web page can carry instructions that an LLM-integrated application or agent reads as commands when the content is retrieved, enabling remote exploitation without a direct user interface. This means input guardrails must inspect retrieved content, not just the user's prompt.[0][44]
At the training-data layer, web-scale datasets crawled from the internet are exposed to practical poisoning attacks. Split-view poisoning exploits the mutable nature of internet content so an annotator's view differs from what later clients download, while frontrunning poisoning injects malicious examples into periodically snapshotted crowd-sourced content, making downstream guardrails and red teaming critical.[0][43]
Affected versions and patch status
| Product | Affected | Patch status |
|---|---|---|
| LLM guardrail/protection systems (six tested, including Microsoft Azure Prompt Shield and Meta Prompt Guard) | Systems evaluated in the peer-reviewed evasion study | Research finding: evaded with up to 100% success; the paper highlights the need for more robust guardrail systems rather than a specific patch[0][11] |
Key takeaways
- There is no single best guardrail; guardrails reduce risk but can be evaded, so they must be paired with continuous adversarial red teaming and runtime monitoring.[0][11]
- Prompt injection—both direct and indirect—is the defining threat guardrails exist to counter, and it targets the exact layer guardrails defend.[0][10][44]
- Effective coverage requires all four guardrail types working together, with special attention to agent/tool governance and sanitization of retrieved content as autonomous and RAG systems expand the attack surface.[0][44]
- This is vendor-authored guidance (Mindgard) that repeatedly promotes the vendor's own red-teaming platform, so readers should weigh product claims accordingly while noting the underlying evasion findings are peer-reviewed.[0][11]
Defensive actions
- Deploy layered guardrails across input, output, topical/safety, and agent/tool controls rather than relying on a single filter.: A model with strong output filtering but no input screening still passes prompt injection to the reasoning layer, and an agent with clean text output can still take unsafe actions if its tool calls are ungoverned.[0]
- Continuously red team and adversarially test guardrails instead of treating them as a one-time configuration.: Guardrails are classifiers that can be evaded, and one that blocks an attack today can fail after a model or prompt update; peer-reviewed testing achieved up to 100% evasion against six leading systems.[0][11]
- Constrain autonomous agents by allowlisting callable tools, validating parameters, applying least-privilege scopes, and requiring human approval for high-impact actions.: Agents widen the attack surface beyond a chatbot because they call tools and trigger actions; these controls limit the damage a hijacked prompt can cause.[0]
- Sanitize and inspect retrieved RAG content, not just user prompts.: Indirect prompt injection can smuggle instructions through poisoned documents or web pages that an application reads as commands.[0][44]
- Centralize guardrail logging and monitoring and map each guardrail to a governance framework control (e.g., NIST AI RMF, ISO/IEC 42001, or the NCSC secure AI development guidelines).: Portfolio-level governance lets security teams see failures across all applications and produces audit evidence, addressing the projected rise in GenAI security incidents.[0][12][40]