MAL-2026-10167: Malicious code in paysafe-checkout (npm)
The npm package 'paysafe-checkout' version 1.0.0 is a malicious package masquerading as a Paysafe Checkout SDK. It contains code that steals credentials by exfiltrating environment variables and system information to an attacker-controlled server. The package delays exfiltration by about 10.8 seconds and avoids sending data if it detects sandbox or analysis environments. This behavior poses a risk of leaking sensitive API keys and credentials to attackers.
AI Analysis
Technical Summary
The 'paysafe-checkout' npm package (version 1.0.0) is a credential-stealing lure disguised as a legitimate Paysafe Checkout SDK. Its 'index.js' defines a fake PaysafeClient with dummy API methods that return success responses to avoid suspicion. Upon any method call, it schedules a delayed function that exfiltrates the installer's hostname, username, current working directory, a timestamp, the API key prefix supplied by the caller, and environment variables containing sensitive substrings (KEY, SECRET, TOKEN, PASS, AUTH, API) to a hardcoded remote server over HTTPS on port 8443. The exfiltration details such as destination hostname and HTTP headers are obfuscated using base64 and XOR with a hardcoded key to evade static analysis. It also includes anti-analysis checks to avoid exfiltration in sandbox or virtualized environments. This malicious behavior enables attackers to harvest sensitive credentials from developers who mistakenly integrate this package.
Potential Impact
Any developer or organization that installs and uses 'paysafe-checkout' version 1.0.0 risks exposing their Paysafe API keys and other sensitive environment credentials to attackers. The stolen data includes system identifiers and filtered environment variables containing secrets, which can lead to unauthorized access and compromise of related services. The package's anti-analysis features increase the likelihood that the malicious activity goes undetected during automated scans or sandbox analysis.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately remove 'paysafe-checkout' version 1.0.0 from their projects and replace it with the legitimate Paysafe SDK obtained from trusted sources. Avoid using unverified or suspicious npm packages, especially those impersonating known services. Monitor for any unauthorized access or credential misuse resulting from this exposure. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
MAL-2026-10167: Malicious code in paysafe-checkout (npm)
Description
The npm package 'paysafe-checkout' version 1.0.0 is a malicious package masquerading as a Paysafe Checkout SDK. It contains code that steals credentials by exfiltrating environment variables and system information to an attacker-controlled server. The package delays exfiltration by about 10.8 seconds and avoids sending data if it detects sandbox or analysis environments. This behavior poses a risk of leaking sensitive API keys and credentials to attackers.
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 'paysafe-checkout' npm package (version 1.0.0) is a credential-stealing lure disguised as a legitimate Paysafe Checkout SDK. Its 'index.js' defines a fake PaysafeClient with dummy API methods that return success responses to avoid suspicion. Upon any method call, it schedules a delayed function that exfiltrates the installer's hostname, username, current working directory, a timestamp, the API key prefix supplied by the caller, and environment variables containing sensitive substrings (KEY, SECRET, TOKEN, PASS, AUTH, API) to a hardcoded remote server over HTTPS on port 8443. The exfiltration details such as destination hostname and HTTP headers are obfuscated using base64 and XOR with a hardcoded key to evade static analysis. It also includes anti-analysis checks to avoid exfiltration in sandbox or virtualized environments. This malicious behavior enables attackers to harvest sensitive credentials from developers who mistakenly integrate this package.
Potential Impact
Any developer or organization that installs and uses 'paysafe-checkout' version 1.0.0 risks exposing their Paysafe API keys and other sensitive environment credentials to attackers. The stolen data includes system identifiers and filtered environment variables containing secrets, which can lead to unauthorized access and compromise of related services. The package's anti-analysis features increase the likelihood that the malicious activity goes undetected during automated scans or sandbox analysis.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately remove 'paysafe-checkout' version 1.0.0 from their projects and replace it with the legitimate Paysafe SDK obtained from trusted sources. Avoid using unverified or suspicious npm packages, especially those impersonating known services. Monitor for any unauthorized access or credential misuse resulting from this exposure. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10167
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a520ebf68715ace438f59a9
Added to database: 07/11/2026, 09:37:03 UTC
Last enriched: 07/11/2026, 09:54:54 UTC
Last updated: 07/12/2026, 03:34:20 UTC
Views: 4
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.