Malicious code in text-transform-plus (npm)
Description
The npm package text-transform-plus version 1.2.4 contains malicious code in its postinstall script. This script downloads and executes an unverified binary from a hardcoded Dropbox URL on Windows systems during installation, enabling arbitrary code execution. The malicious behavior is designed to evade detection by skipping execution in production or CI environments and using hidden temporary file paths.
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 text-transform-plus npm package version 1.2.4 includes a postinstall script that downloads a ZIP archive from a hardcoded Dropbox URL to a hidden temporary directory. It extracts the archive and executes any .exe files found on Windows with hidden and detached flags. This behavior occurs during npm install, allowing arbitrary code execution on developer Windows machines. The script avoids execution when NODE_ENV=production or CI environment variables are set, aiming to evade sandbox and continuous integration detection. The package's declared functionality does not require downloading or executing binaries, indicating malicious intent. The downloaded binary is unpinned and unverified, increasing risk.
Potential Impact
Arbitrary code execution on Windows developer machines during npm install of text-transform-plus version 1.2.4. This can lead to full compromise of the development environment where the package is installed. The malicious payload is delivered from an untrusted source without verification, increasing the risk of further malicious activity.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing text-transform-plus version 1.2.4. Since the malicious behavior is triggered during npm install, refrain from using this package version. Monitor vendor advisories or npm security notices for updates or removal of the malicious package. Consider using alternative, trusted packages for text transformation needs.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15915
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4edacd9273b49b677c8
Added to database: 09/04/2026, 14:25:49 UTC
Last enriched: 09/07/2026, 17:29:07 UTC
Last updated: 10/04/2026, 07:09:32 UTC
Views: 22
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.