Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in bnpl-api (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:58:50 UTC)
Source: GCVE Database
Product: bnpl-api

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

npmghsa
bnpl-api
Affected versions
=35.9.5

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

AILast updated: 08/06/2026, 19:32:58 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses