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

next-locomotive-initnpm

next-locomotive-init is a confirmed malicious npm package (MAL-2026-7013) that opens a backdoor for remote access (malicious versions 1.0.0, 1.0.1, 1.0.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in next-locomotive-init (npm)

MAL-2026-7013
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall next-locomotive-init

What this malware does

The package's declared postinstall script reads the installer's OS username via os.userInfo().username and the machine hostname via os.hostname(), composes them into a <username>@<hostname> identifier, and POSTs them to a hardcoded remote endpoint at https://seedance2-api.vercel.app/api/agent/register together with a source: 'next-locomotive-init' tag. The package is advertised as animation utilities for Next.js templates; there is no functional or documented reason to transmit host identifiers to a third-party endpoint on install. The transmission fires automatically as a lifecycle script on npm install with no opt-in, no configuration, and no disclosure, giving the operator of that endpoint a census of every machine that installs the package — a beacon consistent with reconnaissance for follow-on targeting.

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

5 flagged
1.0.01.0.11.0.21.0.31.0.4

Indicators of compromise (SHA-256)

f6c9a6a78e92a3815c6923d8a77304fa6622e93b11eecdad3d5a1156398ec37b
ec4c91242980b901a25caec52717158145b49303bde9702feb5b097076055706
0af87f7aaa62b60b0178cb9e60d6e574171fe4bcad0987fc0f30bbc15f1e3e1d
3200e336a06d7fe71922ea3aad5d57b53209f631e3d0bb7fe367aa6e39753696
9a11400eaa7dd74b24610ec815438de047089be7005b94c37717fa2b6f916ab6
68a78b469a74aefb2601fb0e0248fcd37bb4bf9b5839e6ac86f388e1e047b8b9

Detection & response playbook

Backdoor / remote access
  1. Find it

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

  2. If you installed it — respond

    next-locomotive-init establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.

  3. Did it already run?

    If next-locomotive-init 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 next-locomotive-init 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. next-locomotive-init on npm has been identified as a malicious package (versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-008167IN-MAL-2026-008176IN-MAL-2026-009685IN-MAL-2026-009683IN-MAL-2026-009684GHSA-v4q3-jmq9-q449

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks next-locomotive-init-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.

Explore