Malicious code in http-uploader-dev (npm)
The npm package 'http-uploader-dev' contains malicious code executed during installation via a preinstall script that runs arbitrary commands using the Bun runtime. The current payload launches calculator applications on various OSes as proof of concept, but the mechanism allows execution of any attacker-chosen commands at install time. This package has suspicious metadata and uses an alternate runtime dropper pattern. Installing this package can lead to full system compromise.
AI Analysis
Technical Summary
The 'http-uploader-dev' npm package declares a 'preinstall' script that uses the Bun runtime to execute 'index.js' during 'npm install'. This script detects the host OS and executes unrelated local calculator applications via synchronous shell commands, demonstrating an install-time remote code execution (RCE) capability. The package metadata is generic and suspicious, and the use of Bun as an alternate runtime fetched outside normal Node.js resolution matches known malicious patterns. Although the current payload is benign (launching calculator apps), the install-time execution vector allows attackers to replace the payload with arbitrary malicious code in future versions without changing the trigger. This results in a critical security risk for any system installing this package.
Potential Impact
Any system that installs the 'http-uploader-dev' package executes attacker-controlled code during installation, leading to full system compromise. This includes potential unauthorized access, data theft, and persistent backdoors. The current payload is a proof of concept, but the attack surface allows arbitrary code execution at install time. Systems with this package installed should be considered compromised, and all secrets and keys on those systems should be rotated immediately from a trusted environment.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The package should be immediately removed from all systems. Because the package executes arbitrary code at install time, systems with this package installed should be treated as fully compromised. All credentials and secrets stored on affected systems must be rotated from a different, secure machine. Avoid installing untrusted or suspicious npm packages, and verify package authenticity before installation.
Malicious code in http-uploader-dev (npm)
Description
The npm package 'http-uploader-dev' contains malicious code executed during installation via a preinstall script that runs arbitrary commands using the Bun runtime. The current payload launches calculator applications on various OSes as proof of concept, but the mechanism allows execution of any attacker-chosen commands at install time. This package has suspicious metadata and uses an alternate runtime dropper pattern. Installing this package can lead to full system compromise.
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 'http-uploader-dev' npm package declares a 'preinstall' script that uses the Bun runtime to execute 'index.js' during 'npm install'. This script detects the host OS and executes unrelated local calculator applications via synchronous shell commands, demonstrating an install-time remote code execution (RCE) capability. The package metadata is generic and suspicious, and the use of Bun as an alternate runtime fetched outside normal Node.js resolution matches known malicious patterns. Although the current payload is benign (launching calculator apps), the install-time execution vector allows attackers to replace the payload with arbitrary malicious code in future versions without changing the trigger. This results in a critical security risk for any system installing this package.
Potential Impact
Any system that installs the 'http-uploader-dev' package executes attacker-controlled code during installation, leading to full system compromise. This includes potential unauthorized access, data theft, and persistent backdoors. The current payload is a proof of concept, but the attack surface allows arbitrary code execution at install time. Systems with this package installed should be considered compromised, and all secrets and keys on those systems should be rotated immediately from a trusted environment.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The package should be immediately removed from all systems. Because the package executes arbitrary code at install time, systems with this package installed should be treated as fully compromised. All credentials and secrets stored on affected systems must be rotated from a different, secure machine. Avoid installing untrusted or suspicious npm packages, and verify package authenticity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-4580
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-4cmw-88qw-qcpr"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed2627e9c79719934590
Added to database: 06/29/2026, 22:09:42 UTC
Last enriched: 06/29/2026, 22:18:55 UTC
Last updated: 07/29/2026, 16:10:34 UTC
Views: 14
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.
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.