Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-6755: Malicious code in paperclip2 (npm)

0
Critical
Published: 07/04/2026 (07/04/2026, 13:42:47 UTC)
Source: GCVE Database
Product: paperclip2

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

npmghsa
paperclip2
Affected versions
=1.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: 07/04/2026, 22:37:19 UTC

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.

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-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 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