LangChain (JS)
npmlangchainLangChain for JavaScript is the Node.js and browser port of the LangChain agent and chain framework, used in Next.js AI applications, serverless functions, and Node.js backends. It provides the same chain, agent, and memory abstractions as the Python version. Many Next.js AI SaaS applications use this as their primary orchestration layer.
Checking LangChain (JS)
langchain 0.3.0 is a clean, monitored version with no known supply chain compromise. The example response returns supply_chain_monitored: true and compromised: false with an empty sources array.
curl "https://api.attestd.io/v1/check?product=langchain&version=0.3.0" \
-H "Authorization: Bearer YOUR_API_KEY"{
"product": "langchain",
"version": "0.3.0",
"supported": true,
"risk_state": "none",
"risk_factors": [],
"actively_exploited": false,
"remote_exploitable": false,
"authentication_required": false,
"patch_available": false,
"fixed_version": null,
"confidence": 0.9,
"cve_ids": [],
"cves": null,
"max_epss": null,
"typosquat": null,
"supply_chain_monitored": true,
"supply_chain": {
"compromised": false,
"sources": [],
"malware_type": null,
"description": null,
"advisory_url": null,
"compromised_at": null,
"removed_at": null
},
"last_updated": "2026-05-01T00:00:00Z"
}Why this package is monitored
LangChain for JS typically runs in Next.js routes and serverless handlers that already hold provider keys and user payloads. A poisoned release can read process.env keys and request bodies before any chain or agent step executes.
Attestd monitors langchain using the following detection sources:
registryManually curated advisories in the Attestd registry, verified by a human analyst. Confidence 1.0.
osvOSV.dev malicious-package advisories with IDs prefixed MAL-. Confidence 0.95.
npm_deprecationnpm package versions with deprecation messages containing targeted attack language such as malicious, backdoor, or compromised. Confidence 0.80.