langgraph-state-management
Warn
Audited by Socket on Aug 29, 2026
1 alert found:
AnomalyAnomalyscripts/test_reducers.py
LOWAnomalyLOW
scripts/test_reducers.py
The fragment is a reducer-testing CLI, not apparent malware. Its main security risk is intentional arbitrary code execution: any Python file supplied through module_path is executed during loading, and the selected function is invoked repeatedly. This is acceptable only when the module path is trusted; it should not be used on untrusted reducer files or in a privileged environment. The provided text also has a syntax error at the final 'main(' call.
Confidence: 99%Severity: 58%
Audit Metadata