{"id":"PYSEC-2026-1070","summary":"Malicious code in langchain-core-mcp (PyPI)","details":"Part 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","aliases":["MAL-2026-5318"],"modified":"2026-07-07T17:00:05.737941605Z","published":"2026-07-07T16:04:20Z","references":[{"type":"EVIDENCE","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"},{"type":"ARTICLE","url":"https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages"},{"type":"ARTICLE","url":"https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages"}],"affected":[{"package":{"name":"langchain-core-mcp","ecosystem":"PyPI","purl":"pkg:pypi/langchain-core-mcp"},"versions":["1.4.2","1.4.3"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/langchain-core-mcp/PYSEC-2026-1070.yaml"}}],"schema_version":"1.7.5"}