{
 "affected": [
  {
   "package": {
    "ecosystem": "npm",
    "name": "@basis-theory-elements/api-client"
   },
   "versions": [
    "99.9.1"
   ]
  }
 ],
 "aliases": [
  "MAL-2026-20188"
 ],
 "credits": [
  {
   "contact": [
    "https://protet.io/intel/npm/@basis-theory-elements/api-client/99.9.1"
   ],
   "name": "Protet",
   "type": "FINDER"
  }
 ],
 "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.",
 "id": "PROTET-NPM-2026-249",
 "modified": "2026-11-19T09:49:01Z",
 "published": "2026-11-18T15:39:01Z",
 "references": [
  {
   "type": "REPORT",
   "url": "https://protet.io/intel/npm/@basis-theory-elements/api-client/99.9.1"
  }
 ],
 "schema_version": "1.6.0",
 "summary": "Malicious code in @basis-theory-elements/api-client (npm)"
}