langgraph-testing-evaluation

Warn

Audited by Socket on Sep 7, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/evaluate_with_langsmith.py

No overt malware behavior is present in this module’s own logic (no obfuscation, no exec/eval/subprocess, no credential theft). However, the tool intentionally enables high-impact arbitrary code execution by dynamically importing and invoking a function specified by the CLI. It also uploads datasets and evaluation results to LangSmith by default, which can leak sensitive data depending on the content of inputs/outputs/metadata and the deployment’s data policies. Use only with trusted target_function inputs and consider disabling uploads for sensitive evaluations.

Confidence: 62%Severity: 58%
AnomalyLOW
scripts/compare_agents.js

No direct evidence of malicious payloads (exfiltration, credential theft, cryptomining, or obfuscated execution) is visible in the provided fragment. The dominant security concern is architectural/operational: the tool loads and evaluates code from user-supplied paths (loadAgentFunction) and then executes it via evaluateAgent, which can be equivalent to running arbitrary code if the loader/sandboxing is insufficient. Additionally, --output enables writing JSON to an arbitrary path permitted by process permissions. Review loadAgentFunction, evaluateAgent, and loadDataset implementations for allowlisted module resolution, sandboxing, network restrictions, and any covert data handling.

Confidence: 45%Severity: 50%
Audit Metadata
Analyzed At
Sep 7, 2026, 02:32 PM
Package URL
pkg:socket/skills-sh/soba-labs%2Flangchain-agent-skills%2Flanggraph-testing-evaluation%2F@fd96e167c6348b188cd0f94ef532bdd40a3e3911940c8a65484f29ce644a6379