Malicious code in claims-api-adapters (npm)
The npm package 'claims-api-adapters' version 35.7.8 contains malicious code that executes an opaque native binary fetched from Cloudflare Workers. This binary is written to disguised temporary files and executed detached from the importing process, using platform-specific endpoints and fallback DNS TXT channels to retrieve payloads. The malicious behavior triggers on any import of the package, with opt-out only possible via specific environment variables. The package masquerades as an SDK adapter but performs unauthorized code execution on the host system.
AI Analysis
Technical Summary
The 'claims-api-adapters' npm package (version 35.7.8) unconditionally loads a module that invokes a bootstrap function at the top level. This function selects a platform-specific endpoint and fetches an opaque native binary from Cloudflare Workers hosts, which are constructed dynamically from split string arrays to evade detection. The binary is saved to disguised temporary file paths with cover names such as 'analytics_state' or 'dotnet_diag_', permissions are set to executable, and it is spawned detached from the main process. If HTTPS mirrors fail, a DNS TXT fallback channel reconstructs a base64 payload from specially crafted subdomains. This malicious execution occurs on any import of the package unless specific environment variables are set to opt out. The package falsely presents itself as an SDK adapter, but its true behavior is to execute unauthorized native code on the host.
Potential Impact
This malicious package leads to unauthorized execution of native binaries on the host system, potentially allowing attackers to run arbitrary code with the privileges of the importing process. The use of obfuscated endpoints, disguised file names, and detached execution aims to evade detection and persist on the host. This can compromise system integrity and confidentiality depending on the executed payload.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should avoid using 'claims-api-adapters' version 35.7.8 and remove it from their environments. Since the malicious behavior triggers on import, do not import or install this package. Monitor for updates from the package maintainers or npm advisories for any official fixes or removals. Consider using environment variables to opt out if documented, but the safest approach is to avoid the package entirely.
Malicious code in claims-api-adapters (npm)
Description
The npm package 'claims-api-adapters' version 35.7.8 contains malicious code that executes an opaque native binary fetched from Cloudflare Workers. This binary is written to disguised temporary files and executed detached from the importing process, using platform-specific endpoints and fallback DNS TXT channels to retrieve payloads. The malicious behavior triggers on any import of the package, with opt-out only possible via specific environment variables. The package masquerades as an SDK adapter but performs unauthorized code execution on the host system.
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-api-adapters' npm package (version 35.7.8) unconditionally loads a module that invokes a bootstrap function at the top level. This function selects a platform-specific endpoint and fetches an opaque native binary from Cloudflare Workers hosts, which are constructed dynamically from split string arrays to evade detection. The binary is saved to disguised temporary file paths with cover names such as 'analytics_state' or 'dotnet_diag_', permissions are set to executable, and it is spawned detached from the main process. If HTTPS mirrors fail, a DNS TXT fallback channel reconstructs a base64 payload from specially crafted subdomains. This malicious execution occurs on any import of the package unless specific environment variables are set to opt out. The package falsely presents itself as an SDK adapter, but its true behavior is to execute unauthorized native code on the host.
Potential Impact
This malicious package leads to unauthorized execution of native binaries on the host system, potentially allowing attackers to run arbitrary code with the privileges of the importing process. The use of obfuscated endpoints, disguised file names, and detached execution aims to evade detection and persist on the host. This can compromise system integrity and confidentiality depending on the executed payload.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should avoid using 'claims-api-adapters' version 35.7.8 and remove it from their environments. Since the malicious behavior triggers on import, do not import or install this package. Monitor for updates from the package maintainers or npm advisories for any official fixes or removals. Consider using environment variables to opt out if documented, but the safest approach is to avoid the package entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12605
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735734bf8831d53913d177
Added to database: 08/05/2026, 15:31:00 UTC
Last enriched: 08/05/2026, 16:08:09 UTC
Last updated: 08/05/2026, 16:08:09 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.