skrill (npm) · Malicious Code
Affects skrillSource GCVE Database
Malicious package : remove skrill and rotate any secrets on hosts that installed it.
Data as of 14 Jul 2026, 09:33 UTC
Malicious package
Published to npm · OSV MAL-2026-10542
What to do
Remove skrill from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmskrill | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The 'skrill' npm package version 1.0.0 is a malicious package impersonating the legitimate Skrill (Paysafe) payments SDK. It exports a PaysafeClient class that returns stubbed success responses while covertly harvesting environment variables containing credential-like substrings. The harvested data, including truncated secrets, hostname, username, current working directory, timestamp, and API key prefix, is exfiltrated via a delayed JSON POST to a hardcoded remote server. The exfiltration details are obfuscated using base64 and XOR encoding with a hardcoded key. The package includes sandbox evasion techniques by checking CPU count and environment indicators to avoid detection on analysis machines. Developers using this package risk leaking sensitive credentials and environment information to an attacker-controlled host.