By NHI Mgmt Group Editorial TeamBased on KonaSense: “Prompt Injection Is a Supply-Chain Problem Now” (September 27, 2026)

TL;DR: Indirect prompt injection hides malicious instructions inside pages, tickets, files, and tool outputs that AI agents read as part of their task, according to KonaSense, so a compromised input can redirect an agent into real actions, not just bad text. The control boundary has to move from model output to action-time verification and blocking.


At a glance

What this is: KonaSense argues that indirect prompt injection is the more dangerous agentic AI threat because the attacker hides instructions in the content an agent consumes, not in a visible chat prompt.

Why it matters: This matters because AI agents can execute actions, not just generate answers, so identity, access, and tool-use controls have to govern what inputs they trust and what actions they are allowed to take.


Context

Prompt injection is an instruction-smuggling problem, not a classic authentication failure. The attacker does not need the user to type a malicious command if the agent will consume a hostile page, ticket, file, or tool response and treat it as task input.

For AI programmes, the governance issue is that data handling and execution handling are now inseparable. Agentic AI identity only matters if the system can distinguish trusted instructions from untrusted content before the agent acts.


Key questions

Q: What breaks when an AI agent can turn untrusted content into privileged actions?

A: The trust boundary breaks because the agent no longer just reads external text. It can convert that text into tool calls, data access, and outbound transmission. Once that happens, classic assumptions about safe ingestion and human review no longer hold, and the control point shifts to pre-action authorisation, content trust, and destination restrictions.

Q: Why do indirect prompt injections create more risk than direct jailbreak attempts?

A: Indirect prompt injection is riskier because the agent treats the malicious text as ordinary working context and may act on it through tools, writes, or outbound messages. Direct jailbreaks mainly affect what the model says. Indirect attacks affect what the system does, which is where business impact appears.

Q: How should security teams govern AI agents that call APIs instead of using a UI?

A: Security teams should govern AI agents by treating each callable action as a scoped entitlement, not as a general application login. The key control is to limit which APIs, data sources, and write actions the agent can chain together in one session. That keeps machine-paced behaviour inside a reviewable boundary instead of relying on human-style session assumptions.

Q: What is the difference between prompt injection and data poisoning in LLM security?

A: Prompt injection is a runtime attack that manipulates live model inputs to override intended behavior or extract information. Data poisoning happens earlier, when training or fine-tuning data is corrupted to embed bias, backdoors, or unsafe behavior. Teams need different controls for each: input filtering and policy enforcement for injection, and data provenance, review, and validation for poisoning.


Technical breakdown

Why indirect prompt injection is more dangerous than a noisy jailbreak

Direct prompt injection is usually a visible attempt to make a chatbot ignore its instructions. Indirect injection hides the malicious instruction inside content the agent is expected to process, such as a webpage, a Jira ticket, or a tool result. Because the agent treats that content as part of its task context, the attack does not need to win a login prompt or bypass a perimeter. The security failure is contextual trust: the agent cannot reliably separate task data from attacker-authored control data once both are placed into the same reasoning loop. See the Prompt Injection Guide.

Practical implication: Treat every external text source the agent reads as untrusted until verified.

Why agentic systems turn prompt injection into an execution risk

A chatbot that is injected may produce a wrong answer. An agent that is injected may execute an action. That difference matters because the model is no longer only generating text, it is selecting tools, writing files, calling APIs, moving data, and deciding when to act. Once a malicious instruction survives into the action phase, the problem becomes a control-plane issue, not just a content-safety issue. The real exposure is therefore the bridge from interpreted text to privileged system behavior. See the AI Agent Authorisation Guide.

Practical implication: Separate generation from execution and require policy checks before any tool call.

Why untrusted content is part of the AI supply chain

Every page, file, or tool output an agent consumes becomes an upstream dependency, whether or not an operator approved it. That makes the agent’s runtime content path a supply chain, and most of that chain is effectively unsigned. If an attacker can alter one dependency, they can steer the agent without touching the model itself. This is why the problem resembles compromised build inputs or poisoned third-party dependencies: the attack lands through trusted consumption, then propagates through downstream action. See the AI Supply Chain Security and AI-BOM Guide.

Practical implication: Classify fetched content and tool output as supply-chain inputs that need verification and containment.


Threat narrative

Attacker objective: The attacker wants the agent to misuse its own privileges so that the system performs an action the human operator never approved.

  1. Entry occurs when the attacker places a hidden instruction into a page, ticket, file, or tool output that the agent will consume during normal work.
  2. Credential or privilege abuse follows when the agent accepts the instruction as part of the task and uses its own access to carry out the attacker’s intent.
  3. Impact occurs when the agent performs an unintended action such as running a command, calling an API, moving data, or writing a file.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Indirect prompt injection is the core agentic AI governance gap. The risk is not that an AI system says something wrong, but that it treats attacker-authored content as authoritative instructions. That collapses the boundary between untrusted data and permitted action. In practice, organisations need to treat input provenance as a governance control, not a content-filtering nicety, because the same prompt channel is now carrying both information and command.

The agent runtime is now an attack surface, not just the model. If a system can fetch content, parse it, and then act on it, the security question becomes whether the action path is gated, scoped, and reversible. That is why agent design must include zero trust for AI agents principles, especially around request validation and action-level authorization. Without that, the system inherits the privileges of whatever it can reach.

Prompt injection is a supply-chain problem in disguise. The article’s most important insight is that every external dependency read by an agent can carry executable influence, even when no code is involved. That expands the trust perimeter to pages, tickets, tool outputs, and files. For security leaders, the implication is clear: the control objective is not to eliminate all malicious content, but to prevent untrusted content from becoming trusted action.

Task-context poisoning: the hidden instruction does not need to attack the model directly if it can contaminate the context the agent uses to decide what to do next. This is especially dangerous in workflows where retrieval, summarisation, and execution happen in one loop. The practical conclusion is to design for containment before interpretation, not after the agent has already acted.

From our research library:

What this signals

Hidden instruction injection is becoming an operational control problem, not just a model-safety problem. Once an agent can read untrusted content and then act, the organisation has to govern what counts as a valid instruction before the action path opens. The safer design pattern is to verify the source, scope the request, and deny execution when provenance is unclear.

Task-context poisoning: when attacker content enters the agent’s working context, the control failure happens at interpretation time rather than at the perimeter. That means traditional perimeter thinking is too late, and the programme needs action-boundary controls that can block the outcome even if the model accepts the input.

Least privilege becomes the difference between nuisance and incident. In the 2026 Infrastructure Identity Survey, 70% of organisations grant AI systems more access than they would give a human employee performing the exact same job, and that over-granting makes injected instructions far more dangerous.


For practitioners

  • Enforce input provenance checks Classify every page, ticket, file, and tool response the agent consumes as untrusted unless it comes from a known controlled source. Block or sandbox content that can influence execution decisions without prior verification.
  • Separate reasoning from execution Require a policy decision before any command, API call, file write, or outbound connection. The agent can propose actions, but a guarded execution layer must approve or deny them independently.
  • Instrument detection at the action boundary Monitor both inbound prompts and outbound tool intents for instruction manipulation patterns, then stop the action before the tool runs. Logging alone is not enough if the system can still execute the malicious request.
  • Reduce standing privilege for agents Scope each agent to the minimum access needed for the current task and expire that access as soon as the task ends. Narrow permissions make successful injection less valuable and reduce the size of the blast radius.

Key takeaways

  • Indirect prompt injection is dangerous because the attacker hides instructions in the content an agent already trusts.
  • The security failure is not limited to model output, because an agent can turn manipulated text into a real action.
  • Action-time authorization and least privilege are the controls that matter most when agents can read and execute.

Related NHI Mgmt Group resources: Agentic AI Security Guide · Prompt Injection Guide · AI Agent Authorisation Guide · Zero Trust for AI Agents


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 addresses the attack and risk surface, while NIST AI RMF sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI01 — Agent Goal HijackIndirect prompt injection can redirect an agent away from its intended goal.
ASI02 — Tool MisuseThe attack succeeds when a manipulated agent misuses tools, files, or APIs.
ASI03 — Identity & Privilege AbuseThe article focuses on an agent abusing its own access after being manipulated.
Recommendation — Detect goal hijack signals and deny execution when the agent’s actions diverge from the approved task. Gate tool use with per-action policy checks and block unapproved tool invocation. Scope agent privileges to the minimum task need and revoke them as soon as the task ends.
NIST AI RMFGOVERN — AI Governance and AccountabilityThe issue is a governance failure about how AI systems are permitted to consume and act on inputs.
Recommendation — Define accountability for agent inputs, tool use, and action approval under formal AI governance.

Key terms

  • Indirect Prompt Injection: Indirect prompt injection is an attack where malicious instructions are hidden inside content that an AI system reads later. The model may treat that content as context rather than as hostile input, which can influence tool use, data access, or workflow actions if controls are weak.
  • Action Boundary: The action boundary is the point where a user or system turns a request into a business-impacting decision, such as a payment approval or access grant. It is the most important place to add controls when attackers are using legitimate-looking messages to redirect trusted workflows.
  • Task-Context Poisoning: Task-context poisoning is the contamination of an AI agent’s working context with attacker-controlled instructions or data that can distort its next decision. Unlike model training compromise, the attack operates during live execution and can influence specific actions without changing the underlying model.
  • Agent Runtime: The agent runtime is the execution environment where an AI agent reads data, calls tools, and carries out actions. It matters because the runtime is where identity, policy, and filesystem boundaries either hold or fail. If those boundaries are weak, the agent becomes a high-privilege path into the environment.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, machine identity security, IAM, and secrets management. It helps security leaders translate identity control principles into agent and workload governance.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org