Malicious code in devplatform-cra-template (npm)
The npm package devplatform-cra-template version 35.6.2 contains malicious code that downloads and executes remote payloads. It uses obfuscated techniques to evade detection, including runtime string assembly and multiple network fallback domains. The package is a typosquat of legitimate cra-template packages, designed to trick users into installing it and executing arbitrary code on their systems.
AI Analysis
Technical Summary
The devplatform-cra-template npm package (version 35.6.2) includes malicious code in its index.js that loads a bootstrap script selecting a platform-specific payload. This payload is downloaded over HTTPS from obfuscated Cloudflare Workers mirrors or via DNS TXT fallback domains. The downloaded payload is saved to temporary directories with names mimicking legitimate tooling, permissions are set to executable, and the payload is executed detached via shell commands. The package also contains a second dropper in lib/telemetry.js, structurally identical but not reachable from index.js in this version. The package name is a typosquat of the legitimate cra-template family, aiming to deliver remote code execution to consumers requiring it.
Potential Impact
Any user or system that installs and requires devplatform-cra-template version 35.6.2 risks executing arbitrary remote code. This can lead to full system compromise, data theft, or further malware deployment. The obfuscation and multiple fallback mechanisms increase the likelihood of successful payload delivery and execution.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or requiring devplatform-cra-template version 35.6.2. Remove any installations of this package from projects and dependency trees. Prefer official and verified packages, especially for similarly named templates like cra-template. Monitor for updates or advisories from npm or package maintainers regarding this malicious package.
Malicious code in devplatform-cra-template (npm)
Description
The npm package devplatform-cra-template version 35.6.2 contains malicious code that downloads and executes remote payloads. It uses obfuscated techniques to evade detection, including runtime string assembly and multiple network fallback domains. The package is a typosquat of legitimate cra-template packages, designed to trick users into installing it and executing arbitrary code on their systems.
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 devplatform-cra-template npm package (version 35.6.2) includes malicious code in its index.js that loads a bootstrap script selecting a platform-specific payload. This payload is downloaded over HTTPS from obfuscated Cloudflare Workers mirrors or via DNS TXT fallback domains. The downloaded payload is saved to temporary directories with names mimicking legitimate tooling, permissions are set to executable, and the payload is executed detached via shell commands. The package also contains a second dropper in lib/telemetry.js, structurally identical but not reachable from index.js in this version. The package name is a typosquat of the legitimate cra-template family, aiming to deliver remote code execution to consumers requiring it.
Potential Impact
Any user or system that installs and requires devplatform-cra-template version 35.6.2 risks executing arbitrary remote code. This can lead to full system compromise, data theft, or further malware deployment. The obfuscation and multiple fallback mechanisms increase the likelihood of successful payload delivery and execution.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or requiring devplatform-cra-template version 35.6.2. Remove any installations of this package from projects and dependency trees. Prefer official and verified packages, especially for similarly named templates like cra-template. Monitor for updates or advisories from npm or package maintainers regarding this malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12706
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735737bf8831d53914979a
Added to database: 08/05/2026, 15:31:03 UTC
Last enriched: 08/05/2026, 16:30:40 UTC
Last updated: 08/05/2026, 16:30:40 UTC
Views: 3
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.