Fake Paysafe, Skrill and Neteller SDKs: a credential stealer that looks like a payment library
On 7 July 2026, Socket reported 13 npm and 4 PyPI packages named like official SDKs for the Paysafe, Skrill and Neteller payment platforms. They looked and behaved like small API clients, and quietly sent your secrets away when you used them.
What happened
The packages had names a developer might reasonably search for, such as paysafe-node, paysafe-checkout, skrill-sdk and neteller on npm, and paysafe-sdk and paysafe-api on PyPI. None of them were published by the payment companies. Socket’s scanner flagged the npm versions within minutes of publication.
How it worked
- A convincing fake. The code exported a
PaysafeClientwith methods likepayments.createand read aPAYSAFE_API_KEYenvironment variable. Calls returned fake “success” responses instead of contacting Paysafe. - Theft on use. When a method was called with an API key set, it waited a few seconds and then collected the host name, user name, working directory, part of the API key and every environment variable whose name contained
KEY,SECRET,TOKEN,PASS,AUTHorAPI. On a CI runner that can include cloud, GitHub and npm tokens. - Exfiltration and evasion. Data went over HTTPS to an obfuscated
ngrok-free.devaddress. The code exited early on machines with fewer than two CPUs or with sandbox-like host names, to avoid analysis environments.
What to do if you installed one
- Search your dependency trees for the package names listed by Socket and remove them.
- Rotate every secret that was in the environment of a process that used the package, especially in CI.
- Look for outbound HTTPS traffic to
*.ngrok-free.devfrom build hosts.
Lessons
- Before adding an SDK, find it from the vendor’s own documentation, not from a registry search. Check the publisher and the repository link.
- A package that is days old and claims to be an official SDK deserves a second look.
- Keep long-lived secrets out of the environment of jobs that don’t need them.
Where DepSentinel fits. Brand-new packages are exactly what DepSentinel’s new-package (first published less than 30 days ago) and fresh-release signals are for. Together they put a package like these over the SUSPICIOUS threshold. Once the packages appear in OSV’s malicious-packages feed, DepSentinel marks them MALICIOUS. Its typosquat check only covers names one edit away from popular packages, so it would not have caught these names on its own.
Am I affected?
None of these names belong to the payment companies. If any of them shows up, remove it:
npm ls --all 2>/dev/null | grep -iE "paysafe|skrill|neteller"
python -m pip freeze | grep -iE "paysafe|skrill|neteller"
For other package managers, and what to do if you find a match, see how to check your project for malicious or compromised packages.
Sources
- Socket: npm and PyPI campaign typosquats popular secure payment apps
- GBHackers: npm and PyPI malware campaign exfiltrates CI/CD secrets through fake payment SDKs
Details come from the public reports above and may change as investigations continue. Package names and versions are listed so you can check your own projects; verify them against the original sources before acting.
Related
- Shai-Hulud: from the first npm worm to the TanStack compromise
- Red Hat’s npm packages backdoored: how the “Miasma” worm got in
- ChainDrop: the npm worm that started in keyv and reached hundreds of packages
Catch the next one in your editor. DepSentinel is a free VS Code extension that checks every dependency, including sub-dependencies, for known vulnerabilities and signs of a supply-chain attack. No account, no API key.