writing-agentcore-policy
Warn
Audited by Snyk on Nov 24, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (low risk: 0.10). The required workflow runs
prepare gatewayanddescribe, which read tool names and descriptions from Gateway targets (MCPtools/listand OpenAPI/HTTP schemas) into the agent's context. Those targets are chosen by the developer, so an outsider can publish poisoned descriptions but cannot force delivery into the workflow.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (low risk: 0.10). The skill can change live AgentCore Gateway authorization through approved create, update, delete and teardown operations on policy engines and policies, but no explicit evidence establishes unrecoverable loss of operational state, so Gate 2 fails and the tier is low.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata