Malicious code in package-uploader (npm)
The npm package 'package-uploader' version 1.3.25 contains malicious code that executes automatically during installation. It drops and runs an obfuscated Windows executable payload, then attempts to remove traces by editing package files and deleting its own directory. The package's declared functionality is a decoy unrelated to the malicious behavior. This supply-chain dropper compromises any system where it is installed, potentially giving full control to attackers.
AI Analysis
Technical Summary
The 'package-uploader' npm package at version 1.3.25 includes a postinstall script that runs 'install-hook.js'. This script contains a large base64-encoded binary payload that is XOR-decrypted and written as a temporary executable on Windows systems. The executable is launched detached, enabling execution of a hidden payload. After execution, a cleanup routine modifies package.json and package-lock.json to remove the dependency entry and deletes the installed module directory. If immediate deletion fails, it schedules a Windows task to remove the directory later. The package's stated purpose is a UI navbar library, but the main entry point only exports theme colors, serving as a decoy. The combination of obfuscated payload delivery, automatic execution, and anti-forensics cleanup confirms this as a supply-chain malware dropper. The campaign uses rotating package names, indicated by references to 'mailconfirmer' in cleanup code. Systems with this package installed should be considered fully compromised.
Potential Impact
Any computer with 'package-uploader' version 1.3.25 installed is likely fully compromised. The malicious payload runs automatically on installation, potentially allowing attackers full control over the system. All secrets and keys stored on the compromised machine should be considered exposed and must be rotated from a secure environment. Removing the package alone does not guarantee removal of all malicious components due to the persistence mechanisms and cleanup obfuscation.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package version. The recommended mitigation is to immediately remove the 'package-uploader' package version 1.3.25 from all systems. Assume full compromise of affected systems and rotate all secrets and credentials from a secure, uncompromised environment. Monitor for any signs of persistence or additional malicious activity. Avoid installing or using this package or any variants with similar behavior.
Malicious code in package-uploader (npm)
Description
The npm package 'package-uploader' version 1.3.25 contains malicious code that executes automatically during installation. It drops and runs an obfuscated Windows executable payload, then attempts to remove traces by editing package files and deleting its own directory. The package's declared functionality is a decoy unrelated to the malicious behavior. This supply-chain dropper compromises any system where it is installed, potentially giving full control to attackers.
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 'package-uploader' npm package at version 1.3.25 includes a postinstall script that runs 'install-hook.js'. This script contains a large base64-encoded binary payload that is XOR-decrypted and written as a temporary executable on Windows systems. The executable is launched detached, enabling execution of a hidden payload. After execution, a cleanup routine modifies package.json and package-lock.json to remove the dependency entry and deletes the installed module directory. If immediate deletion fails, it schedules a Windows task to remove the directory later. The package's stated purpose is a UI navbar library, but the main entry point only exports theme colors, serving as a decoy. The combination of obfuscated payload delivery, automatic execution, and anti-forensics cleanup confirms this as a supply-chain malware dropper. The campaign uses rotating package names, indicated by references to 'mailconfirmer' in cleanup code. Systems with this package installed should be considered fully compromised.
Potential Impact
Any computer with 'package-uploader' version 1.3.25 installed is likely fully compromised. The malicious payload runs automatically on installation, potentially allowing attackers full control over the system. All secrets and keys stored on the compromised machine should be considered exposed and must be rotated from a secure environment. Removing the package alone does not guarantee removal of all malicious components due to the persistence mechanisms and cleanup obfuscation.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package version. The recommended mitigation is to immediately remove the 'package-uploader' package version 1.3.25 from all systems. Assume full compromise of affected systems and rotate all secrets and credentials from a secure, uncompromised environment. Monitor for any signs of persistence or additional malicious activity. Avoid installing or using this package or any variants with similar behavior.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5932
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-q8q6-p47p-ppp3"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a3ef7be27e9c79719ffd4f3
Added to database: 06/26/2026, 22:05:50 UTC
Last enriched: 06/26/2026, 22:33:42 UTC
Last updated: 07/29/2026, 01:32:39 UTC
Views: 7
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.