langgraph-agent
Warn
Audited by Socket on Mar 1, 2026
1 alert found:
SecuritySecuritylanggraph-agent.js
MEDIUMSecurityMEDIUM
langgraph-agent.js
The code provides a configurable OpenAI-based agent with powerful file-system and shell capabilities exposed as tools. While this is a legitimate AI-augmented automation module, it introduces significant security risk if used with untrusted inputs or in untrusted environments, as it enables arbitrary shell execution, file reads, and file writes driven by model prompts or external tasks. No sandboxing, permission checks, or input validation beyond JSON parsing are present. This constitutes a high risk for supply-chain or runtime abuse in deployments where inputs may be adversarial.
Confidence: 65%Severity: 72%
Audit Metadata