@langchain/langgraph-cli@1.4.2
The official command-line interface for LangGraph.js, providing tools to create, develop, and deploy LangGraph.js applications.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiStatic inspection found expected CLI network/process primitives and a public Supabase anon key used for opt-out analytics, but no install-time execution, credential harvesting outside user deployment intent, persistence, or unauthorized control-surface mutation. The critical secret scanner hit is best explained as a public telemetry API key rather than a malicious embedded credential.
Decision evidence
public snapshot- dist/cli/utils/analytics.mjs posts CLI telemetry to Supabase with an embedded anon public API key unless LANGGRAPH_CLI_NO_ANALYTICS=1.
- dist/cli/cloudflare.mjs and dist/cli/dev.python.mjs download and execute cloudflared/uv binaries only for user-invoked dev/tunnel/Python flows.
- dist/cli/deploy.mjs forwards user project env values as deployment secrets to LangChain host APIs during explicit deploy actions.
- package.json has no preinstall/install/postinstall lifecycle scripts; bin langgraphjs points to dist/cli/cli.mjs.
- dist/cli/cli.mjs only imports command modules, parses commander actions, and flushes analytics on exit.
- analytics.mjs sends OS, Node version, CLI version, command name, and option booleans; no file or credential harvesting found.
- Network endpoints are aligned with LangGraph CLI features: Supabase telemetry, LangChain host APIs, GitHub release downloads, localhost health checks.
- No persistence, reviewer/prompt manipulation, AI-agent control-surface writes, stealth remote payload loading, or broad destructive behavior found.
Source & flagged code
2 flaggedPackage contains a critical-looking secret pattern.
dist/cli/utils/analytics.mjsView on unpkg · L3Supabase service role key (JWT) in dist/cli/utils/analytics.mjs
dist/cli/utils/analytics.mjsView on unpkg · L3Findings
Affected versions and remediation
This report applies to @langchain/langgraph-cli@1.4.2.
See all versions of @langchain/langgraph-cli for other recorded verdicts.
- Review the evidence and your use of @langchain/langgraph-cli@1.4.2 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.