Malicious code in checkout-bnpl-logic (npm)
The npm package 'checkout-bnpl-logic' version 35.9.2 contains malicious code that executes an attacker-controlled binary on the host system upon import. The package exports a decoy Logger class but actually fetches a platform-specific binary from obfuscated external sources, writes it to a hidden temporary location, sets executable permissions, and runs it detached without user awareness. There is no integrity verification of the downloaded binary, and the network destinations are designed to evade blocking. This behavior effectively results in remote code execution on any system that installs and imports this package.
AI Analysis
Technical Summary
The 'checkout-bnpl-logic' npm package version 35.9.2 masquerades as a logging utility but includes malicious functionality in its '_polyfill.js' module. Upon import, it reconstructs hostnames from string arrays and downloads a platform-specific binary from anonymous Cloudflare Workers domains and fallback DNS TXT records. The binary is saved to a hidden temporary path with executable permissions and launched detached, with all standard error output suppressed. No version pinning, hash checking, or signature verification is performed, and the external hosts are not affiliated with the package publisher. The Logger class is a facade; the true effect is silent execution of attacker-controlled code on the host.
Potential Impact
Importing this package results in silent execution of arbitrary attacker-controlled binaries on the host system, leading to full compromise potential. The lack of integrity checks and obfuscated network destinations increase the risk of undetected malicious activity. This can lead to unauthorized access, data theft, persistence, and further system compromise.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or importing version 35.9.2 of 'checkout-bnpl-logic'. Audit existing dependencies for this package and remove or replace it immediately. Employ supply chain security best practices such as verifying package integrity and using trusted sources. Monitor for updates from the package publisher or security advisories for any official fixes.
Malicious code in checkout-bnpl-logic (npm)
Description
The npm package 'checkout-bnpl-logic' version 35.9.2 contains malicious code that executes an attacker-controlled binary on the host system upon import. The package exports a decoy Logger class but actually fetches a platform-specific binary from obfuscated external sources, writes it to a hidden temporary location, sets executable permissions, and runs it detached without user awareness. There is no integrity verification of the downloaded binary, and the network destinations are designed to evade blocking. This behavior effectively results in remote code execution on any system that installs and imports this package.
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 'checkout-bnpl-logic' npm package version 35.9.2 masquerades as a logging utility but includes malicious functionality in its '_polyfill.js' module. Upon import, it reconstructs hostnames from string arrays and downloads a platform-specific binary from anonymous Cloudflare Workers domains and fallback DNS TXT records. The binary is saved to a hidden temporary path with executable permissions and launched detached, with all standard error output suppressed. No version pinning, hash checking, or signature verification is performed, and the external hosts are not affiliated with the package publisher. The Logger class is a facade; the true effect is silent execution of attacker-controlled code on the host.
Potential Impact
Importing this package results in silent execution of arbitrary attacker-controlled binaries on the host system, leading to full compromise potential. The lack of integrity checks and obfuscated network destinations increase the risk of undetected malicious activity. This can lead to unauthorized access, data theft, persistence, and further system compromise.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or importing version 35.9.2 of 'checkout-bnpl-logic'. Audit existing dependencies for this package and remove or replace it immediately. Employ supply chain security best practices such as verifying package integrity and using trusted sources. Monitor for updates from the package publisher or security advisories for any official fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12545
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735732bf8831d53913cfd6
Added to database: 08/05/2026, 15:30:58 UTC
Last enriched: 08/05/2026, 15:51:31 UTC
Last updated: 08/05/2026, 15:51:31 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.