MAL-2026-6755: Malicious code in paperclip2 (npm)
The npm package paperclip2 version 1.0.0 contains malicious code that executes during installation. Specifically, its postinstall script runs a Node.js command that opens a TCP connection to a remote IP and spawns a shell, effectively giving the remote operator arbitrary code execution on the installer's machine. The package provides no legitimate functionality beyond this reverse shell. Any environment running 'npm install paperclip2' version 1.0.0 is compromised with the privileges of the invoking user.
AI Analysis
Technical Summary
The paperclip2 npm package version 1.0.0 includes a postinstall lifecycle script that executes a Node.js command opening a TCP connection to 185.112.147.174 on port 7007. This connection is piped to a spawned /bin/sh shell, granting the remote operator an interactive shell on the compromised system. The package contains no other functionality, making the sole purpose of installation to establish this reverse shell and enable arbitrary code execution under the installer's user context.
Potential Impact
Installation of paperclip2 version 1.0.0 results in arbitrary code execution on the affected system with the privileges of the user running npm install. This allows a remote attacker to gain an interactive shell, potentially leading to full system compromise depending on user privileges. The malicious code executes automatically during package installation without user interaction beyond the install command.
Mitigation Recommendations
No official patch or remediation is currently available for paperclip2 version 1.0.0. Users and organizations should avoid installing this package. Review and remove any installations of paperclip2 version 1.0.0 from development and CI environments. Monitor for and block network connections to the IP address 185.112.147.174 on port 7007. Consider using package integrity verification and trusted sources to prevent installation of malicious npm packages.
MAL-2026-6755: Malicious code in paperclip2 (npm)
Description
The npm package paperclip2 version 1.0.0 contains malicious code that executes during installation. Specifically, its postinstall script runs a Node.js command that opens a TCP connection to a remote IP and spawns a shell, effectively giving the remote operator arbitrary code execution on the installer's machine. The package provides no legitimate functionality beyond this reverse shell. Any environment running 'npm install paperclip2' version 1.0.0 is compromised with the privileges of the invoking user.
Affected software
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
Technical Analysis
The paperclip2 npm package version 1.0.0 includes a postinstall lifecycle script that executes a Node.js command opening a TCP connection to 185.112.147.174 on port 7007. This connection is piped to a spawned /bin/sh shell, granting the remote operator an interactive shell on the compromised system. The package contains no other functionality, making the sole purpose of installation to establish this reverse shell and enable arbitrary code execution under the installer's user context.
Potential Impact
Installation of paperclip2 version 1.0.0 results in arbitrary code execution on the affected system with the privileges of the user running npm install. This allows a remote attacker to gain an interactive shell, potentially leading to full system compromise depending on user privileges. The malicious code executes automatically during package installation without user interaction beyond the install command.
Mitigation Recommendations
No official patch or remediation is currently available for paperclip2 version 1.0.0. Users and organizations should avoid installing this package. Review and remove any installations of paperclip2 version 1.0.0 from development and CI environments. Monitor for and block network connections to the IP address 185.112.147.174 on port 7007. Consider using package integrity verification and trusted sources to prevent installation of malicious npm packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6755
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a498a7327e9c7971936e8a3
Added to database: 07/04/2026, 22:34:27 UTC
Last enriched: 07/04/2026, 22:37:19 UTC
Last updated: 07/04/2026, 22:37:22 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.