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

@shared-runtime/modulesnpm

@shared-runtime/modules is a confirmed malicious npm package (MAL-2026-16291) that executes malicious code on install (malicious version 9.9.10). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @shared-runtime/modules (npm)

MAL-2026-16291
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @shared-runtime/modules

What this malware does

@shared-runtime/[email protected] collects the installer's OS username (os.userInfo().username), hostname (os.hostname()) and current working-directory basename, then issues a dns.resolve4() query against a subdomain assembled as srmods.<user>.<host>.<cwd>.<ts>.oob.algamil7x.xyz, leaking those values via authoritative DNS logs at the attacker-controlled domain oob.algamil7x.xyz. The destination hostname, the OS/DNS API names, and the module names are stored as hex byte arrays in lib/a74d1f.js and lib/f63c0e.js and reconstructed at runtime via String.fromCharCode, with os and dns loaded through module.constructor._load to avoid literal require() strings. Execution is triggered both at install (package.json scripts.install="node index.js") and on require() (index.js top-level require('./lib/core.js')), with a swallowed try/catch so npm install still reports success. The README claims no hidden network calls in module scope while module scope performs exactly that.

Malicious versions

1 flagged
9.9.10

Indicators of compromise (SHA-256)

bc6095cf4766c948193c22d8c0e775010fc3ab47733a1020fb8fd5367d88e5e9

Detection & response playbook

Malicious package
  1. Find it

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

  2. If you installed it — respond

    Remove @shared-runtime/modules from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If @shared-runtime/modules 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 @shared-runtime/modules 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. @shared-runtime/modules on npm has been identified as a malicious package (version 9.9.10 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-020187

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @shared-runtime/modules-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

@shared-runtime/modules (npm) malicious package — MAL-2026-16291 | O3 Security