paper-password-input (npm) · Malicious Code
Affects paper-password-inputSource GCVE Database
Malicious package : remove paper-password-input and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 20:53 UTC
Malicious package
Published to npm · OSV MAL-2026-15542
What to do
Remove paper-password-input from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmpaper-password-input | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'paper-password-input' version 45.0.0 contains malicious code due to a dependency confusion attack. The package.json declares a dependency with the same name as the package pointing to an external URL instead of a versioned registry, allowing arbitrary code execution during installation. Installing this package can lead to full system compromise, requiring immediate secret and key rotation and package removal.