aws-agentic-ai

Warn

Audited by Socket on Sep 15, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/runtime-fastapi-template.py

The fragment implements a conventional Bedrock/Strands streaming chat service and contains no clear malware, credential theft, persistence, destructive behavior, or deliberate data exfiltration. The main risks are unauthenticated invocation, uncontrolled inference cost, prompt injection through user messages, and the broad capabilities of a remotely configured MCP server. The incomplete final expression may indicate truncated input. Review authentication, authorization, rate limits, request limits, MCP server trust, tool permissions, and deployment configuration before production use.

Confidence: 97%Severity: 62%
AnomalyLOW
cross-service/agent-persistence-patterns.md

No clear standalone supply-chain malware/backdoor indicators are visible in the provided fragment. However, the code includes materially dangerous security properties: (1) an agent configuration that enables high-impact tool capabilities (including 'Bash') and (2) a filesystem-reading tool that runs grep over a path built from an unvalidated, caller-influenced directory value, which is consistent with path traversal and unauthorized file enumeration within mounted volumes. The final agent result is returned to the caller, so tool-discovered file information can be exposed. Because key components are truncated/opaque (sync_config(), query/tool enforcement), this should be treated as a significant security review item rather than confirmed maliciousness.

Confidence: 46%Severity: 67%
Audit Metadata
Analyzed At
Sep 15, 2026, 12:41 AM
Package URL
pkg:socket/skills-sh/aws-samples%2Fsample-agent-skills-for-builders%2Faws-agentic-ai%2F@24643875f3f56fda37efa9f3631d69c447fbf318bf2477b442159ed96e616540
Security Audit — socket — aws-agentic-ai