Security Orchestrator
UsedFocus
Scope, authorization, severity, and final verdict
Coverage
Confirmed local/staging scope and avoided live scanner or MCP actions.
Internal - Version 0.1.0
Request changes: high-risk issues require remediation before approval.
Verdict: Request changes: high-risk issues require remediation before approval.
Risk posture: Moderate based on 1 normalized finding(s).
local/staging
source + imported scanner evidence
True
Escalation-only; local evidence and imported reports were preferred.
This review used a focused subset of specialists because the input combined source review with imported scanner evidence.
Scope, authorization, severity, and final verdict
Confirmed local/staging scope and avoided live scanner or MCP actions.
Per-finding threat context and source freshness
Added source-linked threat intel for the SSRF/tool-abuse finding.
Tool boundary and least-privilege review
Reviewed the agent fetch tool as an MCP-adjacent privileged action.
Detailed HTML/PDF deliverable
Converted the normalized finding into a findings-first report with fixes and tests.
As of 2026-05-28
The current threat context for agentic systems emphasizes prompt injection reaching tools, excessive agency, MCP authorization boundaries, SSRF controls, and traceable governance evidence.
OWASP LLM 2025 keeps prompt injection and excessive agency in scope for GenAI apps, and the reviewed issue allows model-influenced URLs to reach a network-capable tool.
Enforce deterministic URL validation, egress controls, approval gates, and logging outside the model.
MCP security guidance calls out SSRF, token passthrough, scope minimization, and authorization validation as key implementation risks.
Bind tokens to intended audiences, avoid token passthrough, minimize scopes, and block private or reserved IP ranges before outbound requests.
These actions are tailored to the target, authorization model, actual evidence sources, and the current finding set.
The example platform gives the model a network-capable action, so prompt injection can become SSRF unless policy enforcement happens outside the LLM.
F-SSRF-001 - sonar, manual-review
agent web fetch tool
src/tools/fetch_url.ts
/api/agent/tools/fetch-url
internal network reachable by agent runtime
{
"summary": "The fetch tool accepts an arbitrary URL from the agent planner without a deterministic host allowlist or private IP block.",
"rule_id": "custom-ai-ssrf"
}A prompt injection causes the model to call the fetch tool with an internal metadata or service URL. The tool performs the request from the trusted runtime.
The LLM is not a trusted policy enforcement point. Prompt or RAG injection can influence tool parameters unless deterministic validation exists before network access.
As of 2026-05-28
This finding maps to a common agentic exploit pattern: prompt injection or compromised context influences a network-capable tool, turning an AI workflow into an SSRF path.
{
"mitre_atlas": "Prompt injection and tool abuse pattern",
"cwe": "CWE-918"
}Add a regression test that attempts metadata-service and RFC1918 URLs through the agent tool and asserts denial before outbound network access.
The risk is not that the model is malicious by itself. The risk is that untrusted prompt or retrieved context can steer a network-capable tool unless deterministic URL policy checks happen outside the model.
Untrusted content influences the agent planner.
The planner selects the web fetch tool with a model-controlled destination.
The runtime attempts outbound access from a trusted network position.
Internal services or metadata endpoints may become reachable through the agent.
Denied URL attempts should be logged and covered by regression tests.
Cause the agent runtime to request an internal or otherwise unauthorized URL.
The attacker can influence prompt, chat, document, or workflow context that reaches the agent planner.
Missing deterministic URL policy enforcement outside the LLM.
Internal network reachable by the agent runtime.
Denied requests to private, reserved, link-local, and metadata ranges.
URL allowlist, DNS resolution checks, egress restriction, approvals, logging, and regression tests.
Conceptual exploit flow for authorized defensive review.
No payloads or unauthorized exploitation steps are provided.
{
"owasp_llm": "LLM01 Prompt Injection; LLM06 Excessive Agency",
"owasp_agentic": "Tool Misuse; Excessive Agency",
"mitre_atlas": "Prompt Injection / Tool Abuse",
"nist_ai_rmf": "Map, Measure, Manage",
"cwe": "CWE-918",
"cve": null
}{
"system": "AIVSS",
"value": "High",
"rationale": "High autonomy, privileged network position, reproducible attack path, and weak deterministic control."
}Add an outbound host allowlist, block private/link-local IP ranges after DNS resolution, require explicit approval for untrusted domains, and log denied attempts.
Add an integration test that attempts to fetch http://169.254.169.254 and internal RFC1918 ranges through the agent tool and asserts denial before any network request.
Residual risk remains if newly added tools bypass the shared URL validation library.
| ID | Severity | Finding | Recommended Fix |
|---|---|---|---|
| F-SSRF-001 | High | Agent web fetch tool can receive model-controlled URLs | Add an outbound host allowlist, block private/link-local IP ranges after DNS resolution, require explicit approval for untrusted domains, and log denied attempts. |
| ID | Test / Control |
|---|---|
| F-SSRF-001 | Add an integration test that attempts to fetch http://169.254.169.254 and internal RFC1918 ranges through the agent tool and asserts denial before any network request. |
| ID | Framework | Mapping |
|---|---|---|
| F-SSRF-001 | owasp_llm | LLM01 Prompt Injection; LLM06 Excessive Agency |
| F-SSRF-001 | owasp_agentic | Tool Misuse; Excessive Agency |
| F-SSRF-001 | mitre_atlas | Prompt Injection / Tool Abuse |
| F-SSRF-001 | nist_ai_rmf | Map, Measure, Manage |
| F-SSRF-001 | cwe | CWE-918 |
Residual risk depends on complete remediation, regression test adoption, scanner coverage, evidence redaction, and continued enforcement of deterministic authorization around model-driven actions.