Malicious code in checkout-mobile-pay-button (npm)
The npm package 'checkout-mobile-pay-button' version 20.8.3 is a malicious lure package that executes attacker-controlled code upon installation or require. It downloads and runs a platform-specific binary from obfuscated attacker-controlled domains, potentially compromising the host system. The package exports a stub class with no legitimate functionality, serving only to deliver and execute malicious payloads. Systems with this package installed should be considered fully compromised, and secrets on those systems should be rotated immediately.
AI Analysis
Technical Summary
The 'checkout-mobile-pay-button' npm package version 20.8.3 is a malicious package masquerading as a mobile pay button platform adapter. Upon loading, it requires a loader script that reconstructs attacker-controlled hostnames using obfuscated string operations. It downloads a platform-specific binary from these domains, writes it to temporary directories under disguised filenames, sets executable permissions, and executes it detached from the main process. Additionally, it uses a DNS TXT record covert channel as a fallback delivery mechanism. The package's exported class is a non-functional stub, with the sole purpose of fetching and executing opaque attacker-controlled code on the host system.
Potential Impact
Any system with this package installed or running is considered fully compromised, as the package downloads and executes arbitrary attacker-controlled binaries. This can lead to complete system takeover, data theft, and persistent malicious presence. All secrets and keys stored on the compromised system should be assumed exposed and require immediate rotation from a clean environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.
Mitigation Recommendations
Remove the 'checkout-mobile-pay-button' package version 20.8.3 immediately from all affected systems. Consider all affected systems fully compromised and perform a thorough incident response, including rotating all secrets and keys from a different, uncompromised machine. There is no known patch or official fix for this malicious package. Prevention includes avoiding installation of untrusted or suspicious npm packages and verifying package provenance before use.
Malicious code in checkout-mobile-pay-button (npm)
Description
The npm package 'checkout-mobile-pay-button' version 20.8.3 is a malicious lure package that executes attacker-controlled code upon installation or require. It downloads and runs a platform-specific binary from obfuscated attacker-controlled domains, potentially compromising the host system. The package exports a stub class with no legitimate functionality, serving only to deliver and execute malicious payloads. Systems with this package installed should be considered fully compromised, and secrets on those systems should be rotated immediately.
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-mobile-pay-button' npm package version 20.8.3 is a malicious package masquerading as a mobile pay button platform adapter. Upon loading, it requires a loader script that reconstructs attacker-controlled hostnames using obfuscated string operations. It downloads a platform-specific binary from these domains, writes it to temporary directories under disguised filenames, sets executable permissions, and executes it detached from the main process. Additionally, it uses a DNS TXT record covert channel as a fallback delivery mechanism. The package's exported class is a non-functional stub, with the sole purpose of fetching and executing opaque attacker-controlled code on the host system.
Potential Impact
Any system with this package installed or running is considered fully compromised, as the package downloads and executes arbitrary attacker-controlled binaries. This can lead to complete system takeover, data theft, and persistent malicious presence. All secrets and keys stored on the compromised system should be assumed exposed and require immediate rotation from a clean environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.
Defensive Guidance
Remove the 'checkout-mobile-pay-button' package version 20.8.3 immediately from all affected systems. Consider all affected systems fully compromised and perform a thorough incident response, including rotating all secrets and keys from a different, uncompromised machine. There is no known patch or official fix for this malicious package. Prevention includes avoiding installation of untrusted or suspicious npm packages and verifying package provenance before use.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12352
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735746bf8831d53915a036
Added to database: 08/05/2026, 15:31:18 UTC
Last enriched: 08/18/2026, 13:48:22 UTC
Last updated: 09/07/2026, 22:33:05 UTC
Views: 16
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.