Malicious code in @lilsccott6x9/devpipe-connector (npm)
Description
The npm package @lilsccott6x9/devpipe-connector version 1.0.0 contains malicious code in its postinstall lifecycle script. This script decodes base64-encoded shell commands and executes them during installation, resulting in arbitrary command execution on both Windows and Unix systems. The payload writes a proof-of-execution file to the installer's Desktop, demonstrating the capability for remote code execution at install time. This behavior is not legitimate for the package's stated purpose as a CI/CD connector SDK.
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 @lilsccott6x9/devpipe-connector npm package version 1.0.0 includes a postinstall script (setup.js) that decodes base64-encoded shell commands and executes them using child_process.execSync. The script differentiates between Windows and POSIX platforms, running commands via 'cmd.exe' on Windows or the default shell on Unix. The executed commands create a 'WebMCP-RCE-CANARY' or pwned.txt file on the Desktop, serving as a canary to prove arbitrary command execution during npm install. This mechanism constitutes an install-time remote code execution (RCE) vulnerability embedded as malicious code, not a legitimate installation step.
Potential Impact
This malicious postinstall script enables arbitrary command execution on the host system during package installation, potentially allowing an attacker to execute any commands with the privileges of the user running npm install. While the current payload is a proof-of-concept canary file creation, the underlying mechanism could be exploited to run harmful commands, leading to system compromise, data theft, or further malware deployment.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing version 1.0.0 of @lilsccott6x9/devpipe-connector. Verify package integrity before installation and consider using trusted package sources or alternatives. Monitor for vendor advisories for any updates or official fixes. Since this is a malicious package, removal and blocking of the package from internal registries is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14203
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a85b4c7acd9273b49252855
Added to database: 08/19/2026, 13:51:03 UTC
Last enriched: 08/19/2026, 14:40:29 UTC
Last updated: 10/02/2026, 13:52:34 UTC
Views: 45
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.