Skip to main content

Malicious code in claims-to-iso-string-with-timezone (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:01:45 UTC)
Source: GCVE Database
Product: claims-to-iso-string-with-timezone

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

npmghsa
claims-to-iso-string-with-timezone
Affected versions
=35.7.2

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

AILast updated: 08/05/2026, 16:16:00 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses