MAL-2026-20188
Malicious code in @basis-theory-elements/api-client (npm)
Impact
Package @basis-theory-elements/api-client@99.9.1 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @basis-theory-elements/api-client | unknown | none recorded |