Malicious code in bnpl-blocks-atom-bnpl-badge (npm)
The npm package bnpl-blocks-atom-bnpl-badge version 35.6.8 contains malicious code that downloads and executes a platform-specific binary from obfuscated Cloudflare Workers endpoints. This binary is written to a hidden temporary file with executable permissions and spawned detached, enabling remote code execution. The package masquerades as a UI badge component but performs unauthorized fetch-and-execute operations unrelated to its stated purpose. A sibling module within the package also contains similar dropper functionality. Any system with this package installed should be considered fully compromised, and all secrets and keys must be rotated immediately from a different machine.
AI Analysis
Technical Summary
The bnpl-blocks-atom-bnpl-badge npm package (version 35.6.8) includes malicious code that, upon requiring the package, unconditionally loads a polyfill script which downloads a platform-specific binary from obfuscated Cloudflare Workers endpoints. The binary is reconstructed at runtime to evade detection, saved as a hidden executable file in temporary directories, permissioned to execute, and then spawned detached via shell commands. Additionally, a sibling telemetry module contains the same dropper primitives, indicating a second-stage or alternate loader. This behavior is unrelated to the package's advertised UI badge functionality. The compromise allows an attacker to execute arbitrary code on the host system, effectively granting full control.
Potential Impact
Systems with this package installed are fully compromised, as the malicious code downloads and executes arbitrary binaries with elevated permissions. This can lead to complete system takeover, data exfiltration, and persistent unauthorized access. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure, uncompromised environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.
Mitigation Recommendations
No official patch or fix is currently available. Immediate removal of the bnpl-blocks-atom-bnpl-badge package version 35.6.8 is strongly recommended. All credentials and secrets stored on affected systems must be rotated from a different, secure machine. Due to the high likelihood of full system compromise, affected hosts should be thoroughly inspected and potentially rebuilt to ensure complete eradication of malicious components.
Malicious code in bnpl-blocks-atom-bnpl-badge (npm)
Description
The npm package bnpl-blocks-atom-bnpl-badge version 35.6.8 contains malicious code that downloads and executes a platform-specific binary from obfuscated Cloudflare Workers endpoints. This binary is written to a hidden temporary file with executable permissions and spawned detached, enabling remote code execution. The package masquerades as a UI badge component but performs unauthorized fetch-and-execute operations unrelated to its stated purpose. A sibling module within the package also contains similar dropper functionality. Any system with this package installed should be considered fully compromised, and all secrets and keys must be rotated immediately from a different machine.
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 bnpl-blocks-atom-bnpl-badge npm package (version 35.6.8) includes malicious code that, upon requiring the package, unconditionally loads a polyfill script which downloads a platform-specific binary from obfuscated Cloudflare Workers endpoints. The binary is reconstructed at runtime to evade detection, saved as a hidden executable file in temporary directories, permissioned to execute, and then spawned detached via shell commands. Additionally, a sibling telemetry module contains the same dropper primitives, indicating a second-stage or alternate loader. This behavior is unrelated to the package's advertised UI badge functionality. The compromise allows an attacker to execute arbitrary code on the host system, effectively granting full control.
Potential Impact
Systems with this package installed are fully compromised, as the malicious code downloads and executes arbitrary binaries with elevated permissions. This can lead to complete system takeover, data exfiltration, and persistent unauthorized access. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure, uncompromised environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.
Mitigation Recommendations
No official patch or fix is currently available. Immediate removal of the bnpl-blocks-atom-bnpl-badge package version 35.6.8 is strongly recommended. All credentials and secrets stored on affected systems must be rotated from a different, secure machine. Due to the high likelihood of full system compromise, affected hosts should be thoroughly inspected and potentially rebuilt to ensure complete eradication of malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12864
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-6hgf-fq2c-gw65"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfaebf8831d5391b2346
Added to database: 08/06/2026, 18:17:18 UTC
Last enriched: 08/06/2026, 19:32:03 UTC
Last updated: 08/06/2026, 19:32:03 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.