AI Security Atlas › All entries › Autonomous Agent & MCP Security

VulnerabilityHigh severity

Unvalidated Function Arguments

Tool handlers accept free-form model output without schema, type, or semantic validation before execution.

Open in the interactive atlas →

Impact

Injection payloads travel as tool arguments into SQL, shell, or privileged APIs.

Why this severity

Impact High × Likelihood Medium = High

Impact high: arguments reach code, SQL, or APIs. Likelihood medium: demonstrated in Semantic Kernel and across 11 LLM frameworks; no catalogued in-the-wild exploitation.

Impact High: Code execution, credential compromise, exposure of regulated or confidential data, irreversible actions, or system-wide failure.
Likelihood Medium: Publicly demonstrated against real products or in peer-reviewed research, or seen in the wild only with a prior foothold such as stolen credentials.

Method: OWASP Risk Rating Methodology

Evidence

Related

Exploited by

Mitigated by

Remediation

  1. Validate every argument against a JSON Schema or protobuf contract.
  2. Reject unexpected keys and coerce enums to closed sets.
  3. Sanitize path and URL arguments with allowlisted hosts.

How to verify

Pattern

const args = ToolSchema.parse(raw);
if (args.path.includes('..')) throw new DenyError('path');

Framework mapping

OWASP Top 10 for LLM Applications 2025

OWASP Top 10 for Agentic Applications 2026

MITRE ATLAS

NIST AI RMF 1.0