npm · Malicious package advisory
Malwarepaper-password-input
MAL-2026-15542
Malicious code in paper-password-input (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a97853ce25938b0cc295a798fa8c9ae8ab513126e70b93084785636a91bc7ec4) package.json declares a dependency whose key equals the package's own name (paper-password-input) and whose value is a bare HTTPS URL, https://repo.securityctrl.com/paper-password-input, rather than a registry version range. On npm install, npm fetches whatever bytes are served at that URL with no version pin and no integrity check, and executes any lifecycle scripts inside the fetched tarball. The shipped index.js is an inert stub, so the manifest itself is the entire published surface — whoever controls repo.securityctrl.com can deliver arbitrary code to every installer, and the self-named dependency shape is consistent with a dependency-confusion lure targeting an internal package name.
Compromised versions (1)
- 45.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.