Malicious code in claims-payout-offer-api (npm)
The npm package 'claims-payout-offer-api' version 35.7.6 contains malicious code that, upon requiring the package, loads a script which reconstructs command-and-control (C2) hostnames from fragmented strings to evade detection. It downloads platform-specific payloads from these C2 servers, saves them under disguised filenames, sets executable permissions, and executes them detached from the main process. This behavior is hidden within modules that appear unrelated to the advertised functionality of the package, which is a REST client wrapper.
AI Analysis
Technical Summary
The 'claims-payout-offer-api' npm package version 35.7.6 includes malicious code embedded in its index.js and lib/telemetry.js files. These scripts reconstruct C2 hostnames from split fragments to avoid static detection and use DNS-TXT base64 fallback channels for communication. The malicious code downloads platform-specific payloads via HTTPS, writes them to disk under disguised names (e.g., 'dotnet_diag_*.exe' on Windows, '.cache_*' in /var/tmp on Unix), changes file permissions to executable, and spawns these payloads detached using shell commands. The package's advertised purpose as a REST client wrapper does not require any such behavior, indicating deliberate malicious intent.
Potential Impact
This malicious package can lead to arbitrary code execution on the host system by downloading and running unauthorized payloads. The dropped payloads run detached from the main process, potentially enabling persistent and stealthy compromise. This can result in system takeover, data exfiltration, or further malware deployment depending on the payload delivered by the C2 servers.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.7.6 of 'claims-payout-offer-api' from their projects and replace it with a trusted alternative or a clean version if available. Avoid using this package from untrusted sources and verify package integrity before installation. Monitor for any unexpected network connections to the described C2 domains and investigate systems where this package was installed.
Malicious code in claims-payout-offer-api (npm)
Description
The npm package 'claims-payout-offer-api' version 35.7.6 contains malicious code that, upon requiring the package, loads a script which reconstructs command-and-control (C2) hostnames from fragmented strings to evade detection. It downloads platform-specific payloads from these C2 servers, saves them under disguised filenames, sets executable permissions, and executes them detached from the main process. This behavior is hidden within modules that appear unrelated to the advertised functionality of the package, which is a REST client wrapper.
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-payout-offer-api' npm package version 35.7.6 includes malicious code embedded in its index.js and lib/telemetry.js files. These scripts reconstruct C2 hostnames from split fragments to avoid static detection and use DNS-TXT base64 fallback channels for communication. The malicious code downloads platform-specific payloads via HTTPS, writes them to disk under disguised names (e.g., 'dotnet_diag_*.exe' on Windows, '.cache_*' in /var/tmp on Unix), changes file permissions to executable, and spawns these payloads detached using shell commands. The package's advertised purpose as a REST client wrapper does not require any such behavior, indicating deliberate malicious intent.
Potential Impact
This malicious package can lead to arbitrary code execution on the host system by downloading and running unauthorized payloads. The dropped payloads run detached from the main process, potentially enabling persistent and stealthy compromise. This can result in system takeover, data exfiltration, or further malware deployment depending on the payload delivered by the C2 servers.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.7.6 of 'claims-payout-offer-api' from their projects and replace it with a trusted alternative or a clean version if available. Avoid using this package from untrusted sources and verify package integrity before installation. Monitor for any unexpected network connections to the described C2 domains and investigate systems where this package was installed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12632
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735735bf8831d53913f851
Added to database: 08/05/2026, 15:31:01 UTC
Last enriched: 08/05/2026, 16:15:18 UTC
Last updated: 08/05/2026, 16:15:18 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.