{"id":"PYSEC-2026-1070","aliases":["MAL-2026-5318"],"title":"Malicious code in langchain-core-mcp (PyPI)","summary":"Malicious code in langchain-core-mcp (PyPI)","severity":"none","vendor":"langchain-core-mcp","product":"langchain-core-mcp","ecosystem":"pip","affected":["langchain-core-mcp"],"published":"2026-07-07","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/PYSEC-2026-1070","references":[{"url":"https://inspector.pypi.io/project/langchain-core-mcp/1.4.3/packages/51/de/fc5e079bf959bc729044aa0bf8139e87567689d59ee9611ed2a5929ef77a/langchain_core_mcp-1.4.3-py3-none-any.whl/langchain_core-setup.pth"},{"url":"https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages"},{"url":"https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages"}],"tags":["osv","pip"],"ingestedAt":"2026-07-08T18:34:39.985Z","slug":"PYSEC-2026-1070","body":"## Overview\n\nPart of the \"Hades\" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08,\nmalicious phantom releases of langchain-core-mcp were published to PyPI using stolen\ncredentials. The package executes a bundled JavaScript payload (via the Bun\nruntime) on import that harvests and exfiltrates credentials and attempts\nself-propagation. This entry is a summary; behavior may not be fully\ncharacterized here. See the linked references for detailed analysis and\nindicators of compromise.\n\n\n## Affected packages\n\n- `langchain-core-mcp`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}