{"id":"MAL-2026-10542","revision":"0c0237b5e32c46ddb9aade5c7e0c41d4","records":[{"revision":"0c0237b5e32c46ddb9aade5c7e0c41d4","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10542","aliases":[],"title":"Malicious code in skrill (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7d4219c6698feb94554982491eef6e0cc533353d46c42e4a7c8679ace1264602)\nPackage published as 'skrill' with description 'Skrill API wrapper' and repository 'github.com/paysafe/skrill' impersonates the Skrill (Paysafe) payments SDK. It exports a PaysafeClient class whose payments.create/get and customers.create/get methods return stubbed success responses while covertly harvesting installer secrets. On any method invocation the code enumerates process.env, filters keys by credential-shaped substrings ('KEY', 'SECRET', 'TOKEN', etc.), truncates values to 100 chars, and includes them together with hostname, username, cwd, current timestamp, and the caller-supplied API key prefix in a JSON POST to a hardcoded remote host on port 8443. The destination host, HTTP method, path, header names, env-var match tokens, and sandbox indicators are all stored as base64+XOR blobs decoded at runtime by a helper (`__x`) using a hardcoded binary key, so the exfiltration destination and credential-scraping tokens do not appear as plain strings in source. Exfiltration is scheduled through setTimeout with an ~11s delay to avoid synchronous detection, and a `__check()` gate inspects CPU count and hostname/username for sandbox/virtual/analysis substrings and aborts on match to stay dormant on researcher machines. Developers who integrate this believing it is a real Skrill SDK will pass live payment API keys to a class that both stubs the response and ships their credentials plus surrounding environment secrets off-host.\n","state":0,"publishedAt":"2026-07-14T03:38:02+00:00","modifiedAt":"2026-07-14T04:46:58.9439132+00:00","affected":[{"ecosystem":"npm","name":"skrill","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/skrill/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10542","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10542","identifiers":["MAL-2026-10542"]},"retained":false,"historicalAffected":[]}],"coverage":[]}