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 utils-mf (npm)

0
Critical
Published: 05/21/2026 (05/21/2026, 15:09:28 UTC)
Source: GCVE Database
Product: utils-mf

Description

The npm package 'utils-mf' contains malicious code that executes immediately upon import. It includes a hidden WhatsApp bot that collects user credentials, periodically exfiltrates local chat and session data to attacker-controlled GitHub and GitLab repositories, silently self-updates by overwriting its own code from the npm registry, and executes privileged system commands to install software and manipulate system files. This behavior constitutes an active supply-chain attack that compromises any system installing this package. Removal of the package does not guarantee full remediation due to potential persistent compromise.

Affected software

npmghsa
utils-mf
Affected versions
=11.2.5=11.4.1=11.2.6=11.2.4=12.1.1=12.1.0=12.0.2=12.0.1=11.9.9=11.9.8

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/09/2026, 10:04:43 UTC

Technical Analysis

The 'utils-mf' npm package is a malicious supply-chain threat that executes harmful actions when imported. It dynamically loads a WhatsApp bot payload that captures and stores authentication credentials locally. Every 30 seconds, it uploads sensitive local data including chats, contacts, and session states to attacker-controlled GitHub and GitLab repositories using embedded tokens. On load, it fetches the latest package version from the npm registry and silently overwrites its own installation directory, enabling ongoing remote code execution regardless of dependency lockfiles. Additionally, it runs privileged shell commands to install utilities like ffmpeg and git if missing, clears temporary files, and collects network connection data. This combination of obfuscated code, automatic data exfiltration, self-mutation, and privileged command execution represents a severe supply-chain compromise.

Potential Impact

Systems that install or run this package are fully compromised. Sensitive local data including chats, contacts, and session credentials are exfiltrated to attacker-controlled repositories. The package can silently update itself to any future malicious version, bypassing normal dependency controls. It executes privileged commands on the host system, potentially enabling further system compromise. All secrets and keys stored on affected systems should be considered exposed and rotated immediately. Removal of the package alone may not eliminate all malicious components due to the extent of control gained by the attacker.

Mitigation Recommendations

No official patch or remediation is currently available. Immediate removal of the 'utils-mf' package is strongly recommended. Due to the high likelihood of full system compromise, all secrets, credentials, and keys stored on the affected system should be rotated from a separate, trusted environment. Systems suspected of running this package should be treated as compromised and undergo thorough incident response and forensic analysis. Monitor for any unauthorized outbound connections or suspicious processes related to WhatsApp bot activity or self-updating behaviors. Avoid reinstalling or using this package in any environment.

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-4699
Osv Schema Version
1.7.4
Aliases
["GHSA-4c54-hwv9-c5xm"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a4f6c6768715ace4315a3ee

Added to database: 07/09/2026, 09:39:51 UTC

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

Last updated: 07/28/2026, 12:04:12 UTC

Views: 10

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