langgraph-agent-patterns

Warn

Audited by Socket on Aug 20, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/visualize_graph.py

This module is not overtly malicious in its own logic (no explicit exfiltration, backdoor, or system-command behavior is present). However, it performs a high-severity security-relevant action: it executes an arbitrary Python file specified by the caller via spec.loader.exec_module, effectively enabling code execution under the running user's privileges. Additionally, it writes output to an unrestricted attacker-controlled path and embeds untrusted graph identifiers/conditions into Mermaid/Markdown with limited sanitization. Overall, treat it as a dangerous utility in untrusted input scenarios; only use with fully trusted, fixed module paths and output destinations.

Confidence: 74%Severity: 78%
Audit Metadata
Analyzed At
Aug 20, 2026, 07:27 PM
Package URL
pkg:socket/skills-sh/soba-labs%2Flangchain-agent-skills%2Flanggraph-agent-patterns%2F@de083ccae172d3558dd96efbf8c88ea9ccff9c4861bd8e589be297ceeb40b647
Security Audit — socket — langgraph-agent-patterns