TL;DR: AI agents can be redirected either by changing the tool they call or by changing the value they pass, according to Verno Labs. Governing the action harness now matters as much as the model prompt itself.
Editorial analysis by NHI Mgmt Group, based on content published by Verno Labs: “Wrong tool or wrong value? Inside two kinds of prompt injection”.
By the numbers:
- Combining activation steering with field-level head masking cuts the average hijack rate from 84% to under 2%, with no attack type above 5%.
Key questions
Q: Why does prompt injection change tool choice or tool arguments?
A: Prompt injection changes tool choice or tool arguments by planting instructions that the agent treats as higher priority than the user’s task, often because the model lacks a strict instruction hierarchy or tool schema enforcement.
Q: How does field-scoped masking reduce AI agent hijacking?
A: Field-scoped masking reduces AI agent hijacking by making only the declared field visible to the model, while hiding adjacent text that could carry conflicting instructions.
Q: How should security teams reduce prompt injection risk in AI agents?
A: Security teams should reduce prompt injection risk by constraining what enters the context window, limiting tool permissions, and separating untrusted retrieval content from privileged instructions.
Practitioner guidance
- Define declared-field access for every agent action Annotate each tool call with the exact record field it is allowed to consume, and hide every other field from the copy path before the model returns its argument.
- Separate tool selection from argument population Treat tool choice and tool input as different controls in the agent pipeline so a defence for one does not create a false sense of coverage for the other.
- Reject duplicate keys in agent-readable records Use a strict parser for JSON and similar structured inputs so attacker-controlled duplicates cannot override the declared field through first-write or last-write ambiguity.
Bottom line: Prompt injection in agentic AI is not one failure mode, but two: tool selection can be redirected by injected instructions, and tool arguments can be corrupted by copied attacker values.
Glossary terms: Prompt Injection (Agentic), Action Harness, Tool Hijacking, Argument Hijack
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →