News · GitHub Advisory Database / PyPI · 2 min read
Event date: · Published:
GitHub flags PyPI package magique in Shai-Hulud supply-chain campaign
GitHub published a high-severity advisory for the PyPI package magique, linking versions 0.6.8 and 0.6.9 to the Shai-Hulud supply-chain campaign that steals credentials via the Bun runtime.
GitHub Advisory Database published a high-severity security advisory on December 2, 2026, flagging the PyPI package magique as part of the Shai-Hulud supply-chain attack. the GitHub advisory for the magique package carries a CVSS score of 8.5 (High) and covers a package used in bioinformatics and graph machine-learning workflows.
Details of the compromise
- Advisory
GHSA-qmjc-65wp-7v34was published on December 2, 2026 with a CVSS score of 8.5 (High). - The advisory affects the
magiquepackage on PyPI, used in bioinformatics and graph machine-learning workflows. - Versions
0.6.8and0.6.9ofmagiquecontain the malicious payload. - The malicious releases were pushed on June 8, 2026 using stolen maintainer credentials.
- The compromise is part of the broader Hades wave of the Shai-Hulud npm and PyPI supply-chain campaign.
- On import, the payload runs a bundled JavaScript payload via the Bun runtime, harvests and exfiltrates credentials, and attempts to self-propagate to other packages.
What it means for AI and data-science builders
The incident shows that the Shai-Hulud campaign is still finding new victims among Python packages used in AI and data-science pipelines, months after the underlying credentials were stolen. Anyone pulling dependencies into agentic or machine-learning workflows should treat package provenance as part of the pipeline's security surface, not an afterthought.
Availability and next steps
No patched version of magique was available as of the advisory's publish date. Teams that depend on the package should check whether versions 0.6.8 or 0.6.9 are installed and remove or pin away from them until a fix lands.
Sources
- GHSA-qmjc-65wp-7v34: magique malicious code (GitHub Advisory Database, December 2, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.