Vulnerabilities in pkg:pypi/magique-ai
PACKAGEGHSA-298x-3jqf-3wvc is a HIGH malicious code vulnerability (CWE-506: Embedded Malicious Code) affecting Magique ai libraries in the PyPI ecosystem. The issue involves malicious code in magique-ai (pypi). Remediation is available in the latest vendor maintenance releases.
pkg:pypi/magique-ai
Vulnerability advisories affecting package pkg:pypi/magique-ai. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-298x-3jqf-3wvc | - | HIGH | Malicious code in magique-ai (PyPI) |
GHSA-298x-3jqf-3wvc at a Glance
How to Fix GHSA-298x-3jqf-3wvc
To remediate this vulnerability, upgrade all affected Magique ai dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install magique-ai>=Latest secure release
pip install magique-ai>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show magique-ai
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-298x-3jqf-3wvc, inspect your installed packages using pip:
pip show magique-ai
Analyze the terminal output to locate any version of Magique ai in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show magique-ai command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-506: Embedded Malicious Code, where the product contains code that appears to be malicious in nature. In Magique ai, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-298x-3jqf-3wvc Affected Magique ai Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
magique-ai
|
PyPI |
0.4.4
All 1 versions
0.4.4
|
None specified
|
|
magique-ai
|
PyPI |
0.4.5
All 1 versions
0.4.5
|
None specified
|
References
Frequently Asked Questions
What is GHSA-298x-3jqf-3wvc?
Which Magique ai versions are affected?
What version fixes GHSA-298x-3jqf-3wvc?
Is magique-ai affected?
What CWE is associated with GHSA-298x-3jqf-3wvc?
How can I check PyPI dependencies for GHSA-298x-3jqf-3wvc?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-298x-3jqf-3wvc",
"modified" : "2026-12-02T21:04:40Z",
"published" : "2026-12-02T21:04:40Z",
"aliases" : [ ],
"summary" : "Malicious code in magique-ai (PyPI)",
"details" : "Part of the \"Hades\" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08, malicious phantom releases of magique-ai were published to PyPI using stolen credentials. The package executes a bundled JavaScript payload (via the Bun runtime) on import that harvests and exfiltrates credentials and attempts self-propagation. This entry is a summary; behavior may not be fully\ncharacterized here. See the linked references for detailed analysis and indicators of compromise.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "magique-ai"
},
"versions" : [ "0.4.4" ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "magique-ai"
},
"versions" : [ "0.4.5" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/magique-ai/PYSEC-2026-593.yaml"
}, {
"type" : "WEB",
"url" : "https://inspector.pypi.io/project/magique-ai/0.4.5/packages/33/51/f36b85977bd09b12a88aff94531b608659312497c8856b73353603f11405/magique_ai-0.4.5-py3-none-any.whl//magique_ai-setup.pth"
}, {
"type" : "WEB",
"url" : "https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages"
}, {
"type" : "WEB",
"url" : "https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-506" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-02T21:04:40Z",
"nvd_published_at" : null
}
}