Skip to main content

Malicious code in paper-password-input (npm)

0
Critical
Published: 08/28/2026 (08/28/2026, 23:16:42 UTC)
Source: GCVE Database
Product: paper-password-input

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.

Affected software

npmghsa
paper-password-input
Affected versions
=45.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/09/2026, 20:53:43 UTC

Technical Analysis

The 'paper-password-input' npm package version 45.0.0 declares a dependency whose key matches the package's own name and whose value is a bare HTTPS URL (https://repo.securityctrl.com/paper-password-input) rather than a version range from the npm registry. When npm installs this package, it fetches and executes any lifecycle scripts from the tarball served at that URL without version pinning or integrity checks. The shipped index.js is inert, making the manifest and dependency declaration the attack surface. This setup enables whoever controls the external URL to deliver arbitrary code to all installers, consistent with a dependency confusion attack targeting an internal package name. The package is considered fully malicious, and any system with it installed should be treated as compromised.

Potential Impact

Systems with 'paper-password-input' version 45.0.0 installed are fully compromised. Attackers controlling the external URL can execute arbitrary code during installation, potentially gaining full control of the affected system. All secrets and keys stored on the compromised system should be rotated immediately from a secure environment. Removing the package alone may not eliminate all malicious software introduced by the compromise.

Mitigation Recommendations

Remove the 'paper-password-input' package version 45.0.0 immediately from all affected systems. Rotate all secrets and keys stored on compromised machines from a different, secure computer. Because the package allows arbitrary code execution during installation, assume full system compromise and perform a thorough incident response. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for any updates or official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-15542
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a92f7e3acd9273b49e75cc9

Added to database: 08/29/2026, 15:16:51 UTC

Last enriched: 09/09/2026, 20:53:43 UTC

Last updated: 10/01/2026, 22:27:16 UTC

Views: 24

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses