Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

paysafe-checkoutnpm

Advisory published Updated

paysafe-checkout is a confirmed malicious npm package (MAL-2026-10167) that steals credentials and exfiltrates sensitive data (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in paysafe-checkout (npm)

MAL-2026-10167
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall paysafe-checkout

What this malware does

Package presents itself as a Paysafe Checkout SDK but is a credential-stealing lure. index.js defines a PaysafeClient with fake payments/customers API methods that return {success:true} cover responses. On any method invocation, _r schedules a delayed (10.8s) __exfil call that POSTs the installer's os.hostname(), os.userInfo().username, process.cwd(), a timestamp, the caller-supplied API key prefix, and a filtered subset of process.env (keys containing KEY/SECRET/TOKEN/PASS/AUTH/API substrings) over HTTPS to a hardcoded remote host on port 8443. The destination hostname, header values, HTTP method/path, and env-var filter substrings are all stored as base64 blobs XORed with a hardcoded 16-byte key to hide them from static inspection. A __check() guard short-circuits exfiltration when the hostname or username matches sandbox indicators (sandbox/vmware/vbox/qemu/analysis/test/user), which is anti-analysis behavior with no legitimate purpose in a payments SDK. Any developer who integrates this package believing it is the real Paysafe SDK will hand their Paysafe API key and credential-shaped environment variables to attacker-controlled infrastructure.

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

4db76c1b389e2c8d019eda8a0b6f3b8c28193fd3f9de4abe6234bab1e595e619

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for paysafe-checkout (version 1.0.0).

  2. If you installed it — respond

    paysafe-checkout is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If paysafe-checkout was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. paysafe-checkout on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-009699

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks paysafe-checkout-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

paysafe-checkout (npm) malicious package — MAL-2026-10167 | O3 Security