Protet Intel / npm / @basis-theory-elements/api-client
@basis-theory-elements/api-client 99.9.1
Every version of this package that Protet Intel names: Is @basis-theory-elements/api-client malicious?
Details
@basis-theory-elements/api-client 99.9.1 is a dependency-confusion package with an inflated version number and no code of its own (index.js exports an empty object; the 0.0.0-stage placeholder published four minutes earlier is inert and not listed). It declares a single dependency, ltidisafe, as a tarball URL outside the npm registry (https://ltidi.storage.googleapis.com/depenconf/ltidisafe-4.0.9.tgz). That tarball's preinstall script runs node test.js with all output discarded. The script reads the OS user name, host name and home directory, hex-encodes each, and sends each one as the leading label of a cleartext HTTP GET to basis-theory-elements.3z3m8pklr6jii5uhsorwmxf0trzlnbb0.oastify.com, a Burp Collaborator out-of-band callback host, so the values leave the machine through the DNS lookup alone even if the HTTP request fails. It runs on install without the package being imported. The script collects the machine's non-internal IPv4 addresses but does not send them. The name imitates the @basis-theory vendor namespace; the package belongs to the same campaign as @clickwraps/fetch (MAL-2026-20119), @clikwraps/navigate and react-native-datepickerror, which use the same payload with per-package callback hosts. The payload is hosted outside the registry, so the publisher can change it without a new npm release. Remove the package, treat any machine that installed it as having disclosed its host identity, and block the callback and tarball hosts on build hosts.
Records
- OSV record PROTET-NPM-2026-249
- Also reported in OSV as MAL-2026-20188
- Feeds: NDJSON, Atom
Status history
- 2026-11-18: named as a Protet finding
- 2026-11-19: active