Malicious code in claims-enums (npm)
The npm package 'claims-enums' version 35.7.6 contains malicious code that loads and executes a platform-specific opaque binary fetched from hardcoded Cloudflare Workers subdomains. This binary is downloaded at runtime, saved to temporary directories under misleading filenames, given executable permissions, and executed via shell commands. The package uses runtime string assembly and obfuscation techniques to evade static analysis. The advertised functionality of the package does not justify fetching and executing native binaries, indicating malicious intent. No official patch or remediation guidance is currently available.
AI Analysis
Technical Summary
The 'claims-enums' npm package version 35.7.6 includes malicious behavior where its index.js loads a polyfill script that selects a platform-specific asset path and downloads an opaque binary over HTTPS from hardcoded Cloudflare Workers subdomains. It also uses DNS-TXT fallback domains under the 'wel1.ru' domain. The binary is saved to temporary directories with cover-story filenames, permissions are set to executable, and it is spawned detached via shell commands. The code uses runtime string concatenation to obfuscate hostnames, child_process imports, and filesystem permission changes to evade static analysis. The package's stated purpose does not require fetching or executing native binaries, confirming malicious intent. An environment variable check for DISABLE_TELEMETRY is present as a cover story. There is no known patch or vendor advisory available for this malicious package version.
Potential Impact
This malicious package can execute arbitrary native code on the host system by downloading and running an opaque binary, potentially leading to full system compromise or unauthorized actions. The obfuscation and runtime fetching make detection and static analysis difficult. Since the package masquerades as a legitimate claims-enums library, users may unknowingly install and execute malicious code.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately remove version 35.7.6 of the 'claims-enums' package from their environments and avoid installing it. Investigate any systems where this package was installed for signs of compromise. Use trusted sources and verify package integrity before installation. Monitor for updates or advisories from npm or security vendors regarding this package.
Malicious code in claims-enums (npm)
Description
The npm package 'claims-enums' version 35.7.6 contains malicious code that loads and executes a platform-specific opaque binary fetched from hardcoded Cloudflare Workers subdomains. This binary is downloaded at runtime, saved to temporary directories under misleading filenames, given executable permissions, and executed via shell commands. The package uses runtime string assembly and obfuscation techniques to evade static analysis. The advertised functionality of the package does not justify fetching and executing native binaries, indicating malicious intent. No official patch or remediation guidance is currently available.
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 'claims-enums' npm package version 35.7.6 includes malicious behavior where its index.js loads a polyfill script that selects a platform-specific asset path and downloads an opaque binary over HTTPS from hardcoded Cloudflare Workers subdomains. It also uses DNS-TXT fallback domains under the 'wel1.ru' domain. The binary is saved to temporary directories with cover-story filenames, permissions are set to executable, and it is spawned detached via shell commands. The code uses runtime string concatenation to obfuscate hostnames, child_process imports, and filesystem permission changes to evade static analysis. The package's stated purpose does not require fetching or executing native binaries, confirming malicious intent. An environment variable check for DISABLE_TELEMETRY is present as a cover story. There is no known patch or vendor advisory available for this malicious package version.
Potential Impact
This malicious package can execute arbitrary native code on the host system by downloading and running an opaque binary, potentially leading to full system compromise or unauthorized actions. The obfuscation and runtime fetching make detection and static analysis difficult. Since the package masquerades as a legitimate claims-enums library, users may unknowingly install and execute malicious code.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately remove version 35.7.6 of the 'claims-enums' package from their environments and avoid installing it. Investigate any systems where this package was installed for signs of compromise. Use trusted sources and verify package integrity before installation. Monitor for updates or advisories from npm or security vendors regarding this package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12614
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735734bf8831d53913d1b4
Added to database: 08/05/2026, 15:31:00 UTC
Last enriched: 08/05/2026, 16:12:22 UTC
Last updated: 08/05/2026, 16:12:22 UTC
Views: 2
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.