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 mem8 (PyPI)

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

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5c765c6eef25d18c5a10057d62908ac3bc1ece86e39a9807683834fb7f896b52) The package was found to contain malicious code or consuming dependency that contains malicious code ## Source: kam193 (d2fc000f15b66037b67d503cef346f32d400b0cc704417b28ff6c559c9924d8f) Versions 6.0.1 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
mem8
Affected versions
=6.0.1

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:42:46 UTC

Technical Analysis

The mem8 PyPI package version 6.0.1 was compromised to include heavily obfuscated JavaScript infostealer code executed with the Bun runtime on Python startup. The malware collects a wide range of sensitive information including environment variables, cloud tokens, credentials, and cryptocurrency data. It attempts persistence and propagation by publishing infected packages using stolen credentials. Data exfiltration is likely performed through GitHub. The code includes destructive capabilities triggered by invalid GitHub tokens and detects sandbox environments to avoid detection. This incident is associated with the Mini Shai Hulud campaign and is categorized as a malicious package compromise with clear intent to steal information and cause harm.

Potential Impact

Users of mem8 version 6.0.1 are at risk of having sensitive information such as API keys, package repository credentials, cryptocurrency assets, and password manager data stolen. The malware can persist on infected systems and spread by publishing additional infected packages. There is also a risk of destructive actions including potential data wiping if certain conditions are met. This compromises confidentiality, integrity, and availability of affected systems and data.

Mitigation Recommendations

No official patch or fix is currently documented for this compromise. Users should immediately discontinue use of mem8 version 6.0.1 and remove it from their environments. Due to the destructive nature of the malware, cleanup should be performed with caution, ideally by restoring systems from known good backups and rotating all potentially exposed credentials and secrets. Monitor for any suspicious package publishing activity using stolen credentials. Check vendor or repository advisories for updates or remediation guidance.

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-5319
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba5668715ace4357eeb1

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

Last enriched: 07/10/2026, 09:42:46 UTC

Last updated: 07/29/2026, 10:47:30 UTC

Views: 6

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