TL;DR: Context engineering failures can let attackers poison prompts, retrieval pipelines, and business logic so AI systems leak data or take unsafe actions, even when the model itself is not compromised, according to Pillar Security. The security boundary has shifted upward into context, where access control, sanitation, and runtime policy now determine trust.
Editorial analysis by NHI Mgmt Group, based on content published by Pillar Security: “Securing Context Engineering”.
By the numbers:
- 67% of organisations still rely heavily on static credentials despite the risks they pose to agentic AI deployments, according to the 2026 Infrastructure Identity Survey.
- Only 13% of organisations feel extremely prepared for the reality of agentic AI despite the majority racing toward autonomous adoption, according to the 2026 Infrastructure Identity Survey.
Key questions
Q: How should security teams control context in agentic AI systems?
A: Security teams should treat context as a governed input, not an implementation detail.
Q: Why do poisoned prompts and retrieved documents create more risk than a bad model output?
A: Because the AI can still act on malicious context even when the model itself is functioning as designed.
Q: What are the signs that context governance is missing from an enterprise AI program?
A: Common signs include agents using inconsistent definitions, acting on outdated policy, bypassing semantic standards, or producing different answers from the same data.
Practitioner guidance
- Map all context ingestion points Inventory every place the agent can pull instructions, documents, tickets, logs, or repository data into the decision path.
- Sanitize and classify retrieved context Strip unnecessary sensitive data, label trusted sources, and block low-confidence material from reaching high-impact tasks.
- Control access to retrieval pipelines Restrict who and what can load context into the model, using role-based access controls and task-scoped permissions for tools, connectors, and knowledge stores.
Bottom line: Context engineering expands the AI attack surface because attackers can manipulate what the system trusts without exploiting the model itself.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Context is now an identity boundary, not just an application input. Once an AI system uses external material to decide what to do, the trust problem moves from model quality to context governance. That makes retrieval pipelines, prompt histories, and orchestration layers part of the control plane for agentic behaviour. The practitioner implication is straightforward: if the context path is ungoverned, the identity path is incomplete.
A few things that frame the scale:
- 53% of security leaders expect AI to run major portions of their infrastructure autonomously within the next three years, according to the 2026 Infrastructure Identity Survey.
A question worth separating out:
Q: How should security teams prevent AI agents from acting on malicious input?
A: Security teams should treat every external prompt, email, ticket, or chat message as untrusted input until it is validated against policy. The strongest control is runtime enforcement at the point of tool invocation, where the system can block risky actions before they reach CRM, email, or other sensitive tools.
👉 Read our full editorial: Context engineering exposes the real attack surface in agentic AI