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

webservices.rest-utilsnpm

Malicious code in webservices.rest-utils (npm) Remove it immediately and rotate any exposed credentials.

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

What this malware does

package.json declares both preinstall and postinstall hooks that execute index.js, which exfiltrates installer data to a base64-encoded Cloudflare Worker destination (openmrs-sol-dev-v2.lapxa354.workers.dev). The payload includes hostname, username, network interfaces, /etc/resolv.conf,.git/HEAD, ~40 CI/CD environment variables (GITHUB_, GITLAB_, AWS_, CIRCLE_, BUILDKITE_, VERCEL_, etc.), recursively walked package.json metadata,.npmrc registry/scope hints, and presence indicators for ~/.ssh, ~/.aws/credentials, ~/.kube/config, ~/.docker, ~/.npmrc, ~/.gitconfig, shell histories. When cloud env-var probes match, the script contacts the cloud metadata IP (encoded as decimal 2852039166 == 169.254.169.254) to harvest live AWS IMDSv2 IAM tokens, GCP service-account access tokens, and Azure managed-identity tokens — first 40 characters of each are appended to the exfil. It additionally performs DNS reconnaissance against ~25 internal hostnames (kubernetes.default.svc.cluster.local, vault.internal, consul.service.consul, gitlab.local, jenkins.local, ec2.internal, rancher.internal, etc.) for lateral-movement targeting. package.json declares 11 bin aliases — webpack, vite, tsc, eslint, jest, gulp, next, turbo, prettier, tsnode — all pointing at the same malicious index.js, so every subsequent invocation of those common dev commands re-triggers the exfiltrator while forwarding to the real tool to mask the hijack. Obfuscation (base64 destination, decimal-encoded metadata IP, MalekAbuLialaResearch/1.0 cover User-Agent, [Webpack-Debug-MAB-v1] log label) confirms intent.

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

3 flagged
1.0.51.0.71.0.8

Indicators of compromise (SHA-256)

0b73e8e4e7f0f01d1e611280e8922e8d3caa66ca7bcfb47a95a3d94a0d56080d
0d25f7c8217b81bf2828e77cef685d9eee97525bc2167a0a1a2a119175c6758b
2f8ef56f73ada635926e20b0ebf86b75f70c1ec9bf2d286215fda07b97fc1ac4
5c9c78a4d0c87def69bbc5337e41a730e7ca6ae898426759915f053dc584581c
a2b3da3aed8465edc2b6c2623096d4016bd40ee97924e18b6dea55217a779dad
a9020c5c218d700533f51d34ebe5a362406f52ea266dce586773eff853174e42
c4f05896466268d5527bbd39c4fda96220baec1f82fab67727545f0fb528018f

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 webservices.rest-utils (3 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging webservices.rest-utils across your stack and pipelines.

  2. If you installed it — respond

    webservices.rest-utils 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 webservices.rest-utils 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 webservices.rest-utils 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. webservices.rest-utils on npm has been identified as a malicious package (versions 1.0.5, 1.0.7, 1.0.8 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-v62r-4vqp-f32gIN-MAL-2026-004318IN-MAL-2026-004316IN-MAL-2026-004324IN-MAL-2026-003774IN-MAL-2026-003775IN-MAL-2026-004326

References

Credits

  • Amazon Inspector · finder

Detect & block this

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

webservices.rest-utils (npm) malicious package — MAL-2026-4336 | O3 Security