NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

@basis-theory-elements/api-clientnpm

Advisory published Updated

@basis-theory-elements/api-client is a confirmed malicious npm package (MAL-2026-20188) that executes malicious code on install (malicious version 99.9.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @basis-theory-elements/api-client (npm)

MAL-2026-20188
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @basis-theory-elements/api-client

What this malware does

Package @basis-theory-elements/[email protected] declares its sole dependency as an HTTPS tarball URL ("ltidisafe": "https://ltidi.storage.googleapis.com/depenconf/ltidisafe-4.0.9.tgz") rather than a registry version range. On npm install, npm fetches whatever bytes that URL currently serves and runs any lifecycle scripts contained in that tarball, with no version pin, no integrity hash, and no publisher-match check. The shipped index.js is an empty stub, so dependency resolution is the package's entire on-install effect. The package name shadows the @basis-theory vendor scope, and the 99.9.1 version is implausibly high for the name — the shape associated with dependency-confusion resolution attacks against internal @basis-theory-elements/* packages.

Malicious versions

1 flagged
99.9.1

Indicators of compromise (SHA-256)

f84e5b8dd56ced8cdd78e5d5f3b4498111ebcb490cb6e6572674766ab0193dd3

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for @basis-theory-elements/api-client (version 99.9.1).

  2. If you installed it — respond

    Remove @basis-theory-elements/api-client from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If @basis-theory-elements/api-client was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @basis-theory-elements/api-client on npm has been identified as a malicious package (version 99.9.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-022884

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @basis-theory-elements/api-client-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

@basis-theory-elements/api-client (npm) malicious package — MAL-2026-20188 | O3 Security