Products Lemma APIProof issuance & verification platformTrust402Delegate to agents, and transactSealSign-in for the agent era — no keys handed over
Use cases Manufacturing & Critical InfraInspection Record AssuranceFinance & FinTechCounterparty Record VerificationPublic SectorCertificate-less ProceduresHealthcareQualified Worker AssuranceProcurement & Supply ChainSupplier Credential MonitoringMedia & ContentContent AuthenticityService & RetailCross-group IdentityAI Adoption (cross-industry)AI Run GovernanceDevelopers & Agent OpsAgent Authority Control ▸ Browse the use-case index
Pricing
Resources Critical BriefThe frontier of AI × trustBlogThinking and implementation notesDocumentationAPI & specsVerification CenterReal verification & issuance countsAbout usFRAME00, Inc.ContactSales & press inquiriesGlossaryDefinitionsFAQFrequently asked questions
Dashboard ↗ JA
Home / Critical Brief / No. 101
No. 101 Critical Brief · Verifiable Origin

Fake Paysafe SDKs: packages posing as payment SDKs were built to carry off developers' keys and tokens (Socket research)

17packages
Packages posing as payment SDKs: 13 on npm, 4 on PyPI (Socket)
~6min
From publication to a malware verdict on npm (Socket)
Undisclosed
How many environments installed the packages (not in Socket's disclosure)
CountryGlobal
Incident date2026-07-07
Published2026-07-10
AuthorsLemma Critical Team
Contents
  1. 01Summary
  2. 02What got through
  3. 03Pre-execution check
  4. 04What Lemma does
  5. 05Facts and timeline
  6. 06Sources

Summary

These were not the official SDKs of Paysafe, Skrill, or Neteller but separate packages published to npm and PyPI under similar names. They exposed the API a legitimate SDK is expected to provide, returned fake success responses to calls, and, behind the scenes, were built to find keys and tokens in the development environment and send them out (Socket’s analysis). A component that looks genuine in name and behavior still gets into the development environment unless its publisher is checked before it is pulled in.

Exhibit 1Detection vs pre-execution check

A pre-execution check means checking, before a dependency is pulled in, that the package comes from the official publisher, and keeping a record. Detection means a scanner or researcher judging a package malicious after publication. Dates are those Socket observed or published.

Pre-execution check · not known from the disclosuresBefore pulling it in, check that the package comes from the official publisher
What was confirmed17 packages posing as payment SDKs were published
Number of environments that installed them undisclosed
Detection · worked after publicationFlagged on npm about six minutes after publication
Published
Published to npm and PyPI at nearly the same time
~6 min later
Flagged as malware on npm
2026-07-07
Socket detects the cluster of 17
2026-07
Socket publishes the technique and how to check

What got through

What got through
Publishing packages posing as payment SDKs, and pulling them in as dependencies. The packages carried names such as paysafe-checkout, paysafe-vault, paysafe-api, paysafe-node, paysafe-payments, paysafe-sdk, paysafe-kyc, skrill, skrill-sdk, skrill-payments, and neteller (Socket).
What was stopped
Each npm package was flagged as malware about six minutes after publication (Socket).
What reached the receiving side
In general, the side pulling in a package receives a name, a version, and contents; whether the publisher is the official one cannot be told from the name. These packages did not talk to Paysafe’s backend and returned fake success responses, so the integration appeared to work (Socket).
What was targeted
Paysafe API keys, AWS keys, GitHub tokens, npm tokens, hostnames, usernames, and API-usage data (Socket).
Not disclosed
How many environments installed the packages, and whether the keys were actually abused.

Pre-execution check

Whatever the route, the condition for telling them apart is that, before a developer or CI pulls in a dependency, it checks that the package comes from the official publisher.

The core of this case
A component that looks genuine in name and behavior still gets into the development environment unless its publisher is checked before it is pulled in.
Who approves
The package’s publisher (the payment service’s official publisher), and the organization that decides which publishers’ components may be pulled in. A similar name is not an approval.
Where it is checked
Before a dependency is pulled in (before installation, before a CI build). Packages whose publisher cannot be checked are held, not installed.
What is recorded
Which package was pulled in, on which publisher’s confirmation. Later, it shows which environment pulled in what.

They were flagged within about six minutes, but in an environment that installed one in that window, keys could be sent out first. Other cases where the origin of an incoming component was not checked before installation or execution include npm dependency confusion (Brief 028), an npm worm that republishes itself with stolen credentials (Brief 038), and a fake agent skill that passed every scanner (Brief 090).

What Lemma does

Lemma builds the pre-execution check into the step that pulls in dependencies. It does not watch packages; before one is pulled in, it checks that its publisher is the official one and does not pull in what cannot be checked.

Industries and operations to watch

IndustryFinance
Organizations implementing integrations with payment or identity-verification services. The payment API keys sit in the same environment as the SDKs they pull in.
IndustryDevelopers & software
Developers and organizations that pull dependencies from npm or PyPI and ship them through CI to production.

Current controls vs Lemma

The route in this case is pulling in, as a dependency, a package posing as a payment SDK.

Control Pulling in a package as a dependency
Judging by name and behavior Not effective
Scanner and registry verdicts after publication Partial
Blocking package names at the registry proxy Partial
Lemma (pre-execution check) Effective

Judging by name and behavior does not settle it, because the packages exposed the legitimate SDK’s API and returned fake success responses. Verdicts after publication worked within about six minutes on npm, but in an environment that installed a package before then, keys could be sent out first. Blocking package names, which Socket recommended, only works for names already known to be malicious. Lemma checks the package’s publisher before it is pulled in, not its name or behavior. A record of what was pulled in is also kept, so which environment pulled in what can be confirmed later.

Note: Lemma’s check works only when it is built into the step that pulls in dependencies (installation or the CI build) and the publishers that may be pulled in are managed by the organization. If the official publisher’s own account is taken over and used to publish, this check can be passed. The table compares what each control checks; it does not show whether this incident would have been stopped. Lemma does not detect or prevent intrusions.

CheckChecklist

Three things to confirm for development organizations that use payment (or similar) SDKs

  • Before pulling a payment (or similar) SDK in as a dependency, do you confirm that the package comes from the official publisher?
  • Is there a procedure that stops, without installing, a package whose publisher cannot be confirmed?
  • Do you record which environment pulled in which package, and when?

Facts and timeline

Subject
Packages posing as the official SDKs of Paysafe, Skrill, and Neteller (all payment / e-money services). The targets were developers implementing these payment integrations. The three companies’ names were used; their official SDKs were not altered.
Scale
17 packages in total (13 on npm, 4 on PyPI). The npm packages were released in versions 1.0.0 to 1.0.3 (Socket).
Technique
They exposed the API a legitimate SDK is expected to provide, returned fake success responses without talking to Paysafe’s backend, and behind the scenes looked for secrets in the environment (tokens, passwords, API keys) and sent them out (Socket).
Anti-analysis
They stopped early when common sandbox indicators were found or when the host had fewer than two CPU cores. The destination was hidden by layered decoding (XOR, character shifting, reversal) and resolved to a domain under ngrok-type infrastructure (Socket).
Detection
Socket’s AI scanner detected the cluster published to npm and PyPI at nearly the same time. Each npm package was flagged as malware about six minutes after publication (Socket).

Glossary
SDK — A component for calling a service from your own code. Developers pull in a payment SDK as a dependency to call payment functions.
Typosquatting — Publishing a fake package under a name resembling the real one, so developers install it by mistyping or by taking it for the genuine article.

Timeline

2026-07-07
Socket’s AI scanner detects the cluster of 17 packages published to npm and PyPI. Each npm package is flagged as malware about six minutes after publication.
From 2026-07-07
Socket publishes the technique, the targeted secrets, the anti-analysis logic, and how the destination was hidden, and recommends auditing dependencies.

The technical facts rely on Socket’s analysis and BleepingComputer’s reporting. The package count (17), the ~6-minute verdict, the targeted secrets, the anti-analysis logic, and the hidden destination are per Socket’s observations. How many environments installed the packages is not disclosed as of this writing. What has not been disclosed does not mean there were no controls.

After disclosure

  • Socket: Recommended that developers audit dependency trees, audit CI/CD logs, block the package names at the registry proxy, and check for compromise by cross-checking PAYSAFE_API_KEY against the package names in CI logs.

Sources

The same method elsewhereSee all 32 "Supply chain" cases

This Brief sets out, from disclosed facts, what organisations in a similar position can check. It is not guidance on individual losses or procedures.

This material is a structured analysis of public information; it is not an audit, diagnosis, or recommendation for any specific organization.

Cite this Brief

Lemma Critical Team. (2026).
"Fake Paysafe SDKs: packages posing as payment SDKs were built to carry off developers' keys and tokens (Socket research)".
Lemma Critical Brief No.101. Lemma / FRAME00, Inc.
https://lemma.frame00.com/critical/briefs/101-paysafe-fake-payment-sdk/
Read nextNext
All Briefs →
Lemma

If it can't be verified,
it doesn't enter your operation.

Lemma is a pre-execution check: logins, payments, records and publishing that look genuine are checked before they run, with cryptographic proofs the receiving side verifies without asking the issuer. Detection stays; the check sits in front of it.