Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

utils-mfnpm

utils-mf is a confirmed malicious npm package (MAL-2026-4699) that steals credentials and exfiltrates sensitive data (malicious versions 11.2.4, 11.2.5, 11.2.6…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in utils-mf (npm)

MAL-2026-4699
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall utils-mf

What this malware does

Package metadata advertises 'utility mf' with main 'index.js', but the shipped main is a 15.7MB obfuscator.io-style blob preceded by ~8MB of invisible-Unicode whitespace padding designed to conceal its contents. On require(), the module performs several unsafe and attacker-beneficial actions:

  1. Hidden WhatsApp bot payload: index.js dynamically imports @whiskeysockets/baileys, calls useMultiFileAuthState('sessions/dev'), opens a WhatsApp socket via makeWASocket(...), prompts on stdin for a pairing-code phone number, and writes credential state to ./sessions/. None of this is gated behind an exported function — it fires when the module is loaded.

  2. Auto-exfiltration of accumulated chat/session state: an AutoBackup routine on a 30-second setInterval PUTs the local database.json (containing chats, contacts, sessions, and env-derived state) to https://api.github.com/repos/<owner>/<repo>/contents/database.json and the analogous GitLab API, using a token and repo path read from package-operator settings. The destination repo and credential are not the library consumer's — they are configured in the package's payload, so any consumer running this code uploads their accumulated state to the package operator's repository on a timer.

  3. Runtime self-updater / silent-mutation primitive: on load, the module fetches https://registry.npmjs.org/utils-mf/latest, compares versions, downloads the latest tarball to ./tmp/upgrade.tgz, and extracts it over node_modules/utils-mf/ using tar -xzf (or Expand-Archive on Windows), then reloads. Already-installed copies will silently pull and execute any future published version, including a compromised one — the package mutates itself at runtime regardless of the consumer's lockfile.

  4. Privileged system mutation at import: the top-level code shells out via exec to apt-get install -y ffmpeg imagemagick git tar zip unzip when those binaries are missing, runs recurring exec('rm -rf /tmp/*') and exec('netstat -an') on intervals, and writes to ./tmp/ and ./sessions/ in the consumer's CWD.

The combination of deceptive packaging (utility name, opaque blob), import-time exfiltration of local data to attacker-configured repos, an in-band self-update channel that bypasses normal dependency pinning, and unsanctioned privileged shell execution constitutes an active supply-chain attack against any installer who consumes this package as a 'utility'.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

10 flagged
11.2.411.2.511.2.611.4.111.9.811.9.912.0.112.0.212.1.012.1.1

Indicators of compromise (SHA-256)

1c2da33ec9db484def0cd13843bd15c0ec8613d508eb86747fab86cd413532b1
8856f3bd713eae0ec502b1450bb0221741c78b5da4235bb37aebd9e16dc625d8
aece5485a5defaed47a12bb12f22d243b77a05b9ce5d6cbe0c1d1632d314672d
6d338ea2a5c454a5a0352e6fb29bd940027bc4b8c349649f6356c4fc4f396272
7921878ab64996afca0b68ed8fed4ce0afccbe200740eb27504225e2d0fea9c2
0aec86e9f5ecc0cc788d5e424ddb10187cec30b3699cdbb000a0b2a28175a1b5
1cf834619a50f8e966dc754191a461d8694601ba9d069c7b51c7d8491442dc55
3dd50900d28e25e692782c4a3f72ff1a1ea966c369983acb515ffa9723274951
a4894700b97144ceddc2b837cbd0fb3c44473db9dd23527bdbfab647d15f680f
a734a2a6082d7330121a525f100082210a86ef4b1051d4ca6fdca31e20f3e607
b81986e6f925d55faeb735922b22ceaf2636f99e604ceee93d2a676fa87e3398

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for utils-mf (10 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging utils-mf across your stack and pipelines.

  2. If you installed it — respond

    utils-mf is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If utils-mf was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks utils-mf before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. utils-mf on npm has been identified as a malicious package (versions 11.2.4, 11.2.5, 11.2.6, 11.4.1, 11.9.8, 11.9.9, 12.0.1, 12.0.2, and 2 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-003873IN-MAL-2026-004845IN-MAL-2026-004505IN-MAL-2026-003872GHSA-4c54-hwv9-c5xmIN-MAL-2026-008796IN-MAL-2026-008792IN-MAL-2026-008812IN-MAL-2026-008794IN-MAL-2026-008795IN-MAL-2026-008793

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks utils-mf-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore