Malicious code in bnpl-api (npm)
The bnpl-api npm package version 35.9.5 is a malicious package that executes attacker-controlled native binaries on the host system upon installation. It fetches these binaries from anonymous Cloudflare Workers or via a DNS-TXT covert channel, writes them to temporary directories, sets executable permissions, and runs them detached. The package has no legitimate functionality and is designed solely to compromise the host system.
AI Analysis
Technical Summary
The bnpl-api package (npm ecosystem) version 35.9.5 is a malicious package that masquerades as an empty API stub but on load fetches and executes attacker-controlled native executables. It reconstructs download URLs from obfuscated strings to retrieve binaries from Cloudflare Workers hosts, writes these binaries to temporary directories under disguised names, sets executable permissions, and spawns them detached using shell commands. If HTTPS retrieval fails, it uses a DNS-TXT record covert channel to reassemble a base64-encoded binary and execute it similarly. The package also uses dynamic require calls to evade static detection. It provides no legitimate functionality and compromises any system where it is installed.
Potential Impact
Any system with this package installed is considered fully compromised, as the package runs opaque attacker-controlled binaries with the privileges of the installer. This can lead to complete system takeover, theft of secrets and keys, and persistent malicious presence. Removal of the package alone does not guarantee eradication of the attacker’s foothold.
Mitigation Recommendations
Immediate removal of the bnpl-api package version 35.9.5 is required. All secrets and keys stored on the compromised system should be rotated from a separate, trusted system. Because the package executes arbitrary native code, assume full compromise and consider rebuilding the affected system. No official patch or fix is available; avoid using this package version entirely.
Malicious code in bnpl-api (npm)
Description
The bnpl-api npm package version 35.9.5 is a malicious package that executes attacker-controlled native binaries on the host system upon installation. It fetches these binaries from anonymous Cloudflare Workers or via a DNS-TXT covert channel, writes them to temporary directories, sets executable permissions, and runs them detached. The package has no legitimate functionality and is designed solely to compromise 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 bnpl-api package (npm ecosystem) version 35.9.5 is a malicious package that masquerades as an empty API stub but on load fetches and executes attacker-controlled native executables. It reconstructs download URLs from obfuscated strings to retrieve binaries from Cloudflare Workers hosts, writes these binaries to temporary directories under disguised names, sets executable permissions, and spawns them detached using shell commands. If HTTPS retrieval fails, it uses a DNS-TXT record covert channel to reassemble a base64-encoded binary and execute it similarly. The package also uses dynamic require calls to evade static detection. It provides no legitimate functionality and compromises any system where it is installed.
Potential Impact
Any system with this package installed is considered fully compromised, as the package runs opaque attacker-controlled binaries with the privileges of the installer. This can lead to complete system takeover, theft of secrets and keys, and persistent malicious presence. Removal of the package alone does not guarantee eradication of the attacker’s foothold.
Defensive Guidance
Immediate removal of the bnpl-api package version 35.9.5 is required. All secrets and keys stored on the compromised system should be rotated from a separate, trusted system. Because the package executes arbitrary native code, assume full compromise and consider rebuilding the affected system. No official patch or fix is available; avoid using this package version entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12860
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-fgxc-644c-34qm"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfaebf8831d5391b2356
Added to database: 08/06/2026, 18:17:18 UTC
Last enriched: 08/06/2026, 19:32:58 UTC
Last updated: 08/06/2026, 19:32:58 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.