By NHI Mgmt Group Editorial TeamBased on CrowdStrike: “AI Tool Poisoning: How Hidden Instructions Threaten AI Agents” (May 22, 2026)

TL;DR: AI tool poisoning occurs when malicious instructions are hidden in tool descriptions or schemas used by AI agents, allowing data theft or unauthorized actions through Model Context Protocol or direct agent integration, according to CrowdStrike. The security problem is not the tool alone but the trust placed in agent-readable metadata and runtime authority.


At a glance

What this is: This is an analysis of AI tool poisoning, where hidden instructions in tool metadata can hijack agent behaviour and trigger secret leakage or unsafe actions.

Why it matters: It matters because IAM teams now have to govern not just the agent and its tools, but the trust boundary between metadata, runtime decisions, and delegated authority across AI, NHI, and human control planes.


Context

AI tool poisoning is a metadata abuse problem, not just a model problem. An AI agent reads a tool description or schema and treats that content as guidance for how to construct actions, parameters, or follow-on steps. When an attacker can influence that metadata, the agent may behave as if the instructions were legitimate.

For identity programmes, this matters because the trust boundary has shifted from a human reviewing code or a service account invoking a known API to an agent interpreting machine-readable descriptions in real time. That changes how authorisation, tool approval, and runtime guardrails need to be thought about across agentic AI, NHI, and adjacent systems.

CrowdStrike's article focuses on hidden instructions, misleading examples, and permissive schemas as the main poisoning patterns. The underlying governance problem is that agent-facing metadata can become an execution surface if teams assume descriptions are harmless documentation.


Key questions

Q: What breaks when AI agents trust tool descriptions and schemas too much?

A: Agents can be steered into unsafe parameter choices, secret access, or unauthorized actions when they treat metadata as operational truth. The failure is not just malicious content. It is the assumption that descriptions are harmless. Once an agent reads instructions from untrusted tool metadata, the control boundary has already been crossed.

Q: Why is AI tool poisoning risky for MCP-connected agents?

A: MCP standardises how agents reach tools and data, which also standardises the path for poisoned instructions to reach the reasoning layer. If tool registration is not tightly governed, untrusted metadata can alter behaviour before any explicit security control sees the request. That is why tool onboarding must be treated as an access decision.

Q: How can security teams detect poisoned AI tool metadata?

A: Look for descriptions, examples, or schemas that instruct the agent to read secrets, change destinations, or expand field usage beyond the tool's stated purpose. The signal is a mismatch between the tool's nominal function and the behaviour it encourages. Validate definitions before they enter the agent's approved tool set.

Q: Should organisations govern AI tools like third-party software dependencies?

A: Yes. External tools carry operational intent in the same way dependencies carry code risk. If the tool catalogue is not reviewed for provenance, scope, and hidden instructions, the agent inherits an untrusted supply chain at runtime. The governance model should therefore cover onboarding, approval, and continuous review.


Technical breakdown

How hidden instructions hijack tool selection and parameters

Tool poisoning works when an agent parses a tool description, example, or schema and then uses that text to shape its next action. If malicious guidance is buried in metadata, the agent may incorporate it into parameter construction or task execution even though the tool code itself is not compromised. This is different from classic application compromise because the attack targets the reasoning layer, not the binary or the endpoint. In MCP-style integrations, the protocol becomes the delivery path for malicious instructions embedded in otherwise legitimate tool definitions.

Practical implication: treat tool metadata as an input surface that must be validated before an agent is allowed to trust it.

Why permissive schemas expand agent authority

Permissive schemas widen what the agent is allowed to send, which makes malicious or unexpected parameters harder to detect. If a tool definition allows broad or loosely constrained fields, an agent can be nudged into generating outputs the designer did not intend, such as elevated attributes, unsafe destinations, or data-bearing parameters. The security issue is not only what the tool can do, but what the agent believes it is permitted to ask the tool to do. That creates a governance gap between declared intent and executable scope.

Practical implication: constrain schemas tightly enough that the agent cannot smuggle policy decisions into free-form fields.

Model Context Protocol changes the control boundary for agent tools

MCP standardises how agents connect to external tools and data sources, which is useful for interoperability but also creates a defined channel for poisoned metadata to travel. When the tool catalogue, descriptions, or examples are supplied by third parties, the agent may inherit trust in content that has not been vetted for instruction safety. The risk is structurally similar to supply-chain abuse, except the payload is not code alone. It is machine-readable guidance that the agent treats as operational truth.

Practical implication: govern third-party tool registration and review as part of agent access control, not as a documentation task.


Threat narrative

Attacker objective: The attacker wants the agent to carry out actions or disclose data that the attacker could not obtain through the tool's legitimate purpose alone.

  1. Entry occurs when an attacker publishes or modifies a tool definition that the agent can discover through MCP or direct integration.
  2. Credential or secret access follows when hidden instructions cause the agent to read files, tokens, or other sensitive material as part of the tool call.
  3. Impact occurs when the agent leaks data, executes unsafe actions, or takes privileged steps based on poisoned metadata rather than intended policy.

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

Tool metadata has become part of the trust perimeter: Hidden instructions in descriptions, examples, and schemas turn documentation into a control surface. That matters because many identity programmes still treat metadata as informational rather than authoritative. When agents consume that metadata at runtime, governance has to assume the text itself can change behaviour, which means review, allowlisting, and provenance matter before execution begins.

Agent-readable instructions create an identity problem, not just an AI problem: The real issue is who or what is allowed to authorise behaviour inside the tool chain. If an agent can be steered by untrusted metadata, then delegated authority is being exercised without an accountable decision boundary. This is where agentic AI and NHI governance converge, because the agent is effectively operating as an identity that can be redirected by content it should never have trusted.

Runtime trust in tool definitions is a broken assumption: Least privilege was designed for actors whose allowed actions are known at provisioning time. That assumption fails when an agent can derive new intent from tool descriptions, examples, or schemas during execution. The implication is that governance must stop pretending the permission model is static once the agent starts reading instructions.

Permissive schemas create identity blast radius: When tool inputs are too broad, poisoned metadata can expand the set of actions the agent will consider legitimate. That does not just increase misuse potential, it increases the blast radius of every compromised tool definition. Practitioners should read this as a control design failure in authorisation boundaries, not a narrow prompt-security issue.

AI agent governance will increasingly mirror NHI supply-chain governance: Third-party tools, shared definitions, and external metadata now behave like dependencies that can carry hidden operational intent. That means agent security will not be solved by model filtering alone. The field is moving toward provenance, validation, and constrained execution as the durable controls, with runtime trust decisions becoming the primary governance challenge.

From our research library:

What this signals

Tool poisoning turns metadata into policy: Security teams need to stop treating tool descriptions as passive documentation and start treating them as runtime input that can alter agent behaviour. That shift is especially important where third-party tools, MCP connectors, and shared schemas are used across multiple teams.

Governance now has to cover the full path from tool onboarding to execution. If an agent can read malicious examples or instructions from a definition, then approval gates, provenance checks, and constrained schemas become part of the control surface rather than back-office administration.

Only 44% of organisations have implemented any policies to manage their AI agents, despite 92% agreeing that governing AI agents is critical to enterprise security, according to the 2026 Infrastructure Identity Survey. That gap means the operational model is moving faster than the policy model.


For practitioners

  • Validate tool metadata before registration Review descriptions, examples, and schemas for hidden instructions or unexpected parameter guidance before a tool is made available to an agent.
  • Constrain schemas to narrow agent authority Remove free-form fields and avoid permissive inputs that let poisoned metadata steer the agent into unsafe or unplanned actions.
  • Separate documentation from executable guidance Ensure that examples and descriptions cannot be interpreted as operational policy by the agent during runtime decision-making.
  • Monitor agent calls for secret-bearing outputs Inspect parameter values, tool responses, and downstream actions for signs that the agent was prompted to access sensitive files or tokens.
  • Govern third-party tool onboarding as access control Treat external tool publication and approval as part of the agent's authorisation boundary, with review gates for provenance and scope.

Key takeaways

  • AI tool poisoning is a trust-boundary failure in which hidden instructions in metadata can redirect agent behaviour.
  • The attack can lead to secret exposure, unsafe actions, and misuse of delegated authority without compromising the tool code itself.
  • Strong governance depends on validating tool definitions, constraining schemas, and treating tool onboarding as an access-control decision.

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 and OWASP Non-Human Identity Top 10 define the specific risk controls and attack patterns relevant to this term.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI02 — Tool MisuseHidden instructions manipulate how agents select and use tools at runtime.
ASI03 — Identity & Privilege AbusePoisoned metadata redirects delegated authority through agent actions.
Recommendation — Restrict tool inputs and approvals so agents cannot be steered into unsafe tool use. Constrain agent authority so metadata cannot expand identity privilege at execution time.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe article centres on trust in agent-facing tool definitions and runtime authority.
NHI-05 — Overprivileged NHIPermissive schemas expand the agent's effective privilege beyond intended scope.
NHI-10 — Human Use of NHIHuman-authored tool descriptions can mislead agent behaviour when interpreted as policy.
Recommendation — Verify tool provenance before letting an agent trust or act on a definition. Reduce schema breadth so agent permissions stay within a narrow, reviewable scope. Separate human-readable documentation from executable agent instructions.

Key terms

  • AI Tool Poisoning: AI tool poisoning is the manipulation of local AI assistants or coding tools so they execute attacker-chosen behaviour, hide prompts, or persist changes. It is an identity problem because the assistant operates with delegated execution authority and can be steered by malicious input or environment changes.
  • Tool Metadata Integrity: Tool metadata integrity is the assurance that a tool’s name, description, schema, and source have not been altered in a way that changes intended behavior. For MCP and agent systems, this is a control problem because hidden or modified metadata can redirect privileged actions without obvious user consent.
  • Permissive Schema: A permissive schema is a tool definition with weak or overly broad input constraints that allows the agent to submit unsafe or unexpected values. In agent governance, permissiveness expands the space in which hidden instructions can influence execution.
  • Device Trust Boundary: The device trust boundary is the point where an endpoint is considered sufficiently verified to access systems, data, or services. It defines the security line between trusted and untrusted device states, based on posture, identity, integrity, and policy. In practice, it governs whether a device can authenticate, connect, or receive sensitive access.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on May 26, 2026.
Updated on October 8, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org