MAL-2026-7013
Dashboard / Malicious Package / MAL-2026-7013
MAL-2026-7013
Summary: Malicious code in next-locomotive-init (npm)
Details: Source: amazon-inspector (9a11400eaa7dd74b24610ec815438de047089be7005b94c37717fa2b6f916ab6) 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. Source: ghsa-malware (68a78b469a74aefb2601fb0e0248fcd37bb4bf9b5839e6ac86f388e1e047b8b9) 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.
References: https://www.npmjs.com/package/next-locomotive-init/v/1.0.4, https://www.npmjs.com/package/next-locomotive-init/v/1.0.3, https://www.npmjs.com/package/next-locomotive-init/v/1.0.0, https://www.npmjs.com/package/next-locomotive-init/v/1.0.2, https://www.npmjs.com/package/next-locomotive-init/v/1.0.1, https://github.com/advisories/GHSA-v4q3-jmq9-q449
Affected packages
Package
Name: next-locomotive-init
Purl: pkg:npm/next-locomotive-init
Affected ranges
Type: N/A
Events:
