Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in magique-ai (PyPI)

0
Critical
Published: 06/06/2026 (06/06/2026, 06:13:57 UTC)
Source: GCVE Database
Product: magique-ai

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (4241e99d1053712e6909db44c939421695dff66556055a93058f9a55f8694929) The package was found to contain malicious code or consuming dependency that contains malicious code ## Source: kam193 (6806267ad399a4b51411f5176e26470cccb7803dff5f0f6f1e3dca6e6c82170c) Versions 0.4.4, 0.4.5 were compromised. Compromised packages start an obfuscated infostealer. The infostealer is a heavily obfuscated JavaScript code executed using Bun runtime on Python startup. It collectes all kinds of sensitive data, including API keys, credentials to package repositories, cryptocurrency assets, password manager data. Infostealer actively queries online services to collect additional secrets as well as attempts to gain persistence and spread further by publishing infected packages using collected credentials. Data are exfiltrated likely using Github. The code seems to threaten to wipe the user's data if it detects invalid GitHub tokens. Cleanup should be done with caution. It seems to be related to the recent Mini Shai Hulud campaign. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-06-compr-woodpecker Reasons (based on the campaign): - compromised-package - exfiltration-env-variables - exfiltration-cloud-tokens - exfiltration-credentials - abuses-pth - obfuscation - infostealer - The package contains code to detect if it is running in a sandbox environment. - exfiltration-crypto - files-exfiltration - destructive-actions

Affected software

PyPIghsa
magique-ai
Affected versions
=0.4.5=0.4.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 09:43:03 UTC

Technical Analysis

The 'magique-ai' PyPI package versions 0.4.4 and 0.4.5 were compromised to include an obfuscated JavaScript infostealer executed with the Bun runtime during Python startup. This malware collects a wide range of sensitive information including environment variables, cloud tokens, credentials, cryptocurrency assets, and password manager data. It actively queries online services to gather additional secrets and attempts to maintain persistence and propagate by publishing infected packages using stolen credentials. Data exfiltration is likely performed via GitHub. The malicious code also contains destructive capabilities that threaten data wiping if invalid GitHub tokens are detected. The campaign is associated with the Mini Shai Hulud threat group and exhibits advanced evasion techniques such as sandbox detection.

Potential Impact

Sensitive information including API keys, credentials for package repositories, cryptocurrency assets, and password manager data can be stolen. The malware can spread further by publishing infected packages using stolen credentials, increasing the risk of supply chain compromise. There is also a risk of data destruction if invalid GitHub tokens are detected, potentially causing data loss. This compromises confidentiality, integrity, and availability of affected systems and data.

Mitigation Recommendations

No official patch or remediation is currently available. Users should immediately uninstall versions 0.4.4 and 0.4.5 of the 'magique-ai' package and avoid using these versions. Exercise caution during cleanup due to the destructive capabilities of the malware. Monitor for any unauthorized package publishing activity using your credentials. Check vendor or PyPI advisories for updates or official guidance. Since this is not a cloud service, remediation depends on user action.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5294
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba5668715ace4357eec0

Added to database: 07/10/2026, 09:24:38 UTC

Last enriched: 07/10/2026, 09:43:03 UTC

Last updated: 07/22/2026, 03:38:58 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses