agents-sdk
Warn
Audited by Socket on Sep 20, 2026
1 alert found:
AnomalyAnomalyreferences/codemode.md
LOWAnomalyLOW
references/codemode.md
The supplied fragment does not contain evident malware or intentional malicious behavior. It documents an experimental system that executes model-generated JavaScript and exposes tools and MCP integrations. This creates a meaningful security risk if untrusted prompts can trigger sensitive tools or arbitrary outbound requests, especially because the shown outbound filter is allow-by-default and the dispatcher lacks explicit authorization checks. Deployment should enforce tool-level authorization, strict schemas, user confirmation for consequential actions, sandboxing, and an outbound allowlist.
Confidence: 96%Severity: 58%
Audit Metadata