Malicious code in claims-to-iso-string-with-timezone (npm)
The npm package claims-to-iso-string-with-timezone version 35.7.2 contains malicious code that downloads and executes a platform-specific binary from obfuscated, author-controlled endpoints. This binary is saved to temporary directories with names mimicking legitimate dotnet diagnostic tools and executed detached from the main process. The malicious behavior is hidden in the _init.js file loaded by index.js, while the package superficially appears to be a harmless date/timezone formatting utility.
AI Analysis
Technical Summary
The npm package claims-to-iso-string-with-timezone (version 35.7.2) includes a malicious payload embedded in its _init.js file, which is loaded by index.js. Upon requiring the package, it reconstructs URLs from obfuscated string arrays to download a platform-specific binary from Cloudflare Workers hostnames and a DNS-TXT fallback domain. The binary is written to temporary directories such as /tmp/.cache_<random> on Unix or %TEMP%\dotnet_diag_<random>.exe on Windows, given executable permissions, and then spawned detached via shell commands. The binary name impersonates legitimate dotnet diagnostic tooling to evade detection. The malicious code is wrapped in try/catch blocks to suppress errors, making the malicious activity stealthy. The package name resembles a legitimate date/timezone formatting utility, misleading users about its true intent.
Potential Impact
The malicious package can execute arbitrary code on the host system by downloading and running a hidden binary, potentially leading to system compromise. The dropped binary runs detached from the main process, which may evade some detection mechanisms. The impersonation of legitimate tooling may delay suspicion. No specific exploit in the wild is currently known, but the presence of such a dropper indicates a high risk of unauthorized code execution and persistence.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove claims-to-iso-string-with-timezone version 35.7.2 from their projects and dependency trees. Avoid installing or using this package. Employ supply chain security measures such as verifying package integrity and using trusted sources. Monitor for any unexpected binaries named similarly to dotnet diagnostic tools in temporary directories and investigate accordingly. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in claims-to-iso-string-with-timezone (npm)
Description
The npm package claims-to-iso-string-with-timezone version 35.7.2 contains malicious code that downloads and executes a platform-specific binary from obfuscated, author-controlled endpoints. This binary is saved to temporary directories with names mimicking legitimate dotnet diagnostic tools and executed detached from the main process. The malicious behavior is hidden in the _init.js file loaded by index.js, while the package superficially appears to be a harmless date/timezone formatting utility.
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 npm package claims-to-iso-string-with-timezone (version 35.7.2) includes a malicious payload embedded in its _init.js file, which is loaded by index.js. Upon requiring the package, it reconstructs URLs from obfuscated string arrays to download a platform-specific binary from Cloudflare Workers hostnames and a DNS-TXT fallback domain. The binary is written to temporary directories such as /tmp/.cache_<random> on Unix or %TEMP%\dotnet_diag_<random>.exe on Windows, given executable permissions, and then spawned detached via shell commands. The binary name impersonates legitimate dotnet diagnostic tooling to evade detection. The malicious code is wrapped in try/catch blocks to suppress errors, making the malicious activity stealthy. The package name resembles a legitimate date/timezone formatting utility, misleading users about its true intent.
Potential Impact
The malicious package can execute arbitrary code on the host system by downloading and running a hidden binary, potentially leading to system compromise. The dropped binary runs detached from the main process, which may evade some detection mechanisms. The impersonation of legitimate tooling may delay suspicion. No specific exploit in the wild is currently known, but the presence of such a dropper indicates a high risk of unauthorized code execution and persistence.
Defensive Guidance
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove claims-to-iso-string-with-timezone version 35.7.2 from their projects and dependency trees. Avoid installing or using this package. Employ supply chain security measures such as verifying package integrity and using trusted sources. Monitor for any unexpected binaries named similarly to dotnet diagnostic tools in temporary directories and investigate accordingly. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12644
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735735bf8831d53913f939
Added to database: 08/05/2026, 15:31:01 UTC
Last enriched: 08/05/2026, 16:16:00 UTC
Last updated: 09/18/2026, 02:21:48 UTC
Views: 19
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.