Harsh

// engineering radar · AI Security

Prompt Injection Defense

Prompt injection exploits the influence of untrusted content on a model's behavior.

FounderEngineerSpeaker
Back to the Engineering RadarGlossary definition
Radar sector
AI Security
Research domain
AI Security & Governance
Adoption position
Unassessed

How Prompt Injection Defense works

Prompt injection exploits the influence of untrusted content on a model's behavior. Documents, web pages and tool responses may contain instructions that conflict with the legitimate task. Defense requires both careful context handling and independent permission enforcement, not a claim that a prompt can eliminate the threat.

Conceptual illustration of prompt injection defense
Prompt Injection Defense · Conceptual illustration

Sources & evidence

  1. [1]

    OWASP describes direct and indirect prompt injection and notes that retrieval-based designs do not eliminate the vulnerability. [1]

    LLM01:2025 Prompt Injection

    OWASP · Engineering guidance

  2. [2]

    Limiting functionality, permissions and autonomy reduces the potential consequences of unwanted model actions. [2]

    LLM06:2025 Excessive Agency

    OWASP · Engineering guidance

References support the specific statements above. Definitions are paraphrased synthesis; scenarios, diagrams, implementation checks and portfolio connections are independent educational examples, not results reported by these sources.

From design to verification

Illustrative workflow

Mark untrusted input

Separate evidence from system policy and credentials.

Example in practice

A retrieved page tells an agent to send credentials elsewhere. The executor rejects the destination and never exposes credentials to retrieved content.

The failure to design for

Content screening alone may miss an indirect instruction or a novel attack, especially when the model has broad tool access.

Implementation review

  • Separate evidence from system policy and credentials.
  • Enforce permissions outside model-generated reasoning.
  • Test hostile documents, tool responses and multilingual attacks.

Connected engineering concerns

Where it connects

These technologies address adjacent design constraints. Connections express conceptual relationships, not citations or measured dependencies.

Independent implementation perspectives · illustrative, not findings reported by the cited sources.

Engineering implication

Separate retrieved data from system policy.

Security consideration

Enforce permissions at the tool boundary even if the model follows an injection.

Opportunity

Identity, least privilege and runtime controls for agents operating across enterprise boundaries.

Challenge

An authenticated agent can execute a harmful action using legitimate tools. Prompt injection, excessive permissions and confused-deputy behavior make model-level filtering insufficient as the sole security control.

Related papers, articles & research

Portfolio work sharing this technology’s domains. Shared subjects indicate editorial relationships, not citations.

Security Without Humans: Designing Systems that Defend Themselves
Article · 2026Explore

Security Without Humans: Designing Systems that Defend Themselves

Published on RSA Conference official library: AI-driven threats move at machine speed, so security must shift from monitoring to autonomous response. Why self-healing systems that isolate, repair and recover on their own are now essential — and how intent, time and interaction put guardrails on defensive automation.

RSA Conference

Book Harsh