Malicious code in utils-mf (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in utils-mf (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.