Direct Prompt Injection
An attacker supplies instructions through the application's intended user-input channel.
Read the foundationA specialist knowledge platform for understanding prompt injection attacks, testing LLM and AI agent systems, and building effective detection and defensive controls.
Explore the knowledge baseBuild a precise mental model of instructions, context and trust boundaries.
Browse sectionStudy direct, indirect and emerging prompt injection vectors.
Browse sectionDesign layered controls for LLM applications and AI agents.
Browse sectionPrepare to test security concepts in controlled demonstrations.
Browse sectionEvaluate real application boundaries with explicit evidence and local pass criteria.
Browse sectionAttack a live AI mail assistant with one email and watch each defense level hold or fail.
Browse sectionThe distinction depends on how attacker-controlled instructions reach the model context.
An attacker supplies instructions through the application's intended user-input channel.
Read the foundationAttacker-controlled instructions arrive through external content that a system retrieves or processes.
Read the foundationPrompt injection can enter through multiple content and interaction channels. Each area links to its published article.
A chatbot primarily produces text. An agent may also interpret tool metadata, process tool output, and interact with data or external systems.
Agency changes the impact model: manipulated model behavior may influence tool selection, parameters, data access, or external actions. Security controls must therefore extend beyond the prompt and model output.
Prompt injection resilience depends on layered controls across content handling, model execution, authorization, and monitoring.
Apply the same assumption to user-controlled and externally retrieved content.
Carry source and trust context through the processing pipeline.
Expose only the tools and data required for the current task.
Check requested operations against explicit application constraints.
Keep access decisions in deterministic application controls.
Add review before consequential or difficult-to-reverse actions.
Record and inspect decisions, calls, results, and policy violations.
Curated, source-backed research summaries covering foundational papers, benchmarks, datasets and systematic reviews.
Browse sectionSource-backed case records covering disclosed vulnerabilities, research demonstrations, red-team findings and vendor advisories, each with an explicit evidence classification.
Browse sectionThe knowledge base connects reviewed guidance and terminology to established security frameworks where the relationship is supported by sources.
Community guidance for security risks in generative AI systems.
Risk management and cybersecurity guidance relevant to AI systems.
A knowledge base for adversarial threats and techniques involving AI systems.