{"id":"PYSEC-2026-1070","aliases":["PYSEC-2026-1070","MAL-2026-5318"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious code in langchain-core-mcp (PyPI)","summary":"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.","summaryFormat":"markdown","summarySource":"pysec","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"pysec"}],"published":"2026-07-07T16:04:20.000Z","modified":"2026-07-07T17:00:05.737Z","severities":[],"cwes":[],"affected":[{"ranges":[{"version":"1.4.2","status":"affected"},{"version":"1.4.3","status":"affected"}],"ecosystem":"PyPI","package":"langchain-core-mcp","purl":"pkg:pypi/langchain-core-mcp","source":"pysec"}],"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","tags":["evidence"],"sources":["pysec"]},{"url":"https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages","tags":["article"],"sources":["pysec"]},{"url":"https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages","tags":["article"],"sources":["pysec"]}],"credits":[],"sources":[{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1070","url":"https://osv.dev/vulnerability/PYSEC-2026-1070","licence":"CC-BY-4.0","modified":"2026-07-07T17:00:05.737Z"}],"updatedAt":"2026-11-25T22:56:38.128Z"}