Defining ASI02 and ASI03, and where they differ
OWASP's Top 10 for Agentic Applications describes ASI02 Tool Misuse and Exploitation as agents bending legitimate tools into destructive outputs. It describes ASI03 Identity and Privilege Abuse as leaked credentials letting agents operate far beyond their intended scope. Note the official ASI03 name: it is broader than privilege abuse alone and includes identity.
A practical working distinction follows from that wording. ASI02 asks whether this call, with these parameters, is an acceptable use of this tool. ASI03 asks whether this identity should hold the authority the call relies on. A tool can be correctly scoped and still be steered into a harmful action. A credential can be over-broad and still never be misused. Treating them as separate questions keeps the controls separate.
In practice they co-occur. OWASP's Q3 2026 exploit roundup maps cases to both risks together: a tool-level pivot or unauthorized activity (ASI02) paired with elevated credentials that enabled expansion or escalation (ASI03). A control design that answers only one question leaves the other path open.
Attack and failure patterns at the tool-call level
Most failures reach the tool through content the agent reads. Repository content, fetched pages and MCP tool responses can act as instructions once the agent ingests them, which is how prompt injection becomes a tool call. Tool arguments are generated from model output shaped by that context, so they should be treated as untrusted input.
MCP adds specific paths to tool misuse: poisoned tool descriptions, shadowed tool names, credential exfiltration through tool arguments, and rug-pull updates that change a tool's definition after it was approved. These mostly map to ASI02.
Privilege failures usually come from the identity attached to the call. Common causes are tool scopes broader than the task, credentials inherited from a user or service rather than issued per run, and chains of individually permitted calls that together exceed what anyone intended to grant. A tool's read or write label also understates risk. Authorization should be judged by effect: sensitive reads, writes, data disclosure and irreversible actions.
Runtime enforcement points mapped to each risk
Design-time review fixes scope at a point in time. It cannot see the parameters of a specific call or the injected context behind it. Log analysis after the fact shows what ran, but not before an irreversible action executes. The agent also cannot be trusted to police itself: it can propose an action, but a policy service or execution component outside its reasoning should validate scope, privilege and approval state before execution, and fail closed for unknown tools or missing approval requirements. Access checks belong server-side or at a gateway in the execution path, not in the client.
Independent network egress control complements these checks. An allowlist of exact targets enforced at both the network and tool layers means an attempt against an unlisted host can be treated as a stop condition.
- Tool invocation gate (ASI02, ASI03): Intercept every proposed call before execution. Fail closed on unknown tools or missing approval state.
- Tool and server allowlist (ASI02): Permit only approved MCP servers and tools. Pin definitions and use snapshot-and-diff to detect changes.
- Parameter inspection (ASI02): Validate and normalize arguments as untrusted input. Check exact targets and redact sensitive values.
- Credential and scope check (ASI03): Verify actor identity, per-tool scope and per-run credentials. Reject calls that need authority beyond the task.
- Rate limits and quotas (ASI02): Apply per-session or per-tenant limits and timeouts to contain abnormal call frequency.
- Human approval (ASI02, ASI03): Require step-up authorization for privilege changes, bulk deletion, payments and production deployment.
The policy decisions: allow, redact, block, rate limit, escalate
Each enforcement point resolves to one of five decisions. Allow applies when tool, target, parameters and identity all fall within policy. Redact removes or masks sensitive values in arguments or responses while letting the call proceed. Block stops the call, and should be the default for unknown tools, unlisted targets and missing approval requirements. Rate limit slows or caps calls when frequency departs from the expected pattern, which matters for chained or looping behavior. Escalate holds the call for a human decision.
Escalation is where implementations most often weaken. A boolean such as user_confirmed is insufficient. The enforcing component should verify that the approval belongs to the current actor and the exact tool call, is still valid and has not already been consumed. The approval record should carry actor, tool name, target resource, normalized parameters, timestamp and expiry. Approvals should be single-use, and the approver should see the full call parameters. Auto-approving tool calls defeats the purpose.
A stop mechanism should be tested, not assumed. It should revoke both credentials and network access, so a blocked agent cannot continue through another path.