Skip to main content
MalwarePublished

@basis-theory-elements/api-client (npm) · Malicious Code

Affects @basis-theory-elements/api-clientSource GCVE Database

0

Malicious package : remove @basis-theory-elements/api-client and rotate any secrets on hosts that installed it.

Data as of 19 Nov 2026, 07:52 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-20188

What to do

Remove @basis-theory-elements/api-client 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

ProductAffectedFixed in
npm@basis-theory-elements/api-clientAffected
  • =99.9.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package @basis-theory-elements/api-client version 99.9.1 is identified as malicious. It declares a dependency as an HTTPS tarball URL rather than a versioned package, allowing arbitrary code execution during installation without integrity or publisher verification. The package name mimics a legitimate vendor scope and uses an implausibly high version number, consistent with dependency confusion attacks.

References

Community reviews

Loading reviews…