MAL-2026-20188

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@basis-theory-elements/api-client/MAL-2026-20188.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20188
Published
2026-11-19T07:03:48Z
Modified
2026-11-19T07:15:09Z
Summary
Malicious code in @basis-theory-elements/api-client (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (f84e5b8dd56ced8cdd78e5d5f3b4498111ebcb490cb6e6572674766ab0193dd3)

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.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-022884",
            "import_time":  "2026-11-19T07:12:44.644322701Z",
            "modified_time":  "2026-11-19T07:03:48Z",
            "sha256":  "f84e5b8dd56ced8cdd78e5d5f3b4498111ebcb490cb6e6572674766ab0193dd3",
            "source":  "amazon-inspector",
            "versions":  [
                "99.9.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @basis-theory-elements/api-client

Package

Name
@basis-theory-elements/api-client
View open source insights on deps.dev
Purl
pkg:npm/%40basis-theory-elements/api-client

Affected ranges

Affected versions

99.*
99.9.1

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "package.json",
            "sha256":  "be6134a9d7c4118dd825a38393cfbd5ac9f80f14e1dcba88efabb07df5133dea",
            "tlsh":  "7ce07d20452059330ec502b2882b554bf371ce5f1809bc0c5fdb041c58ada7378f935c"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "api-client-99.9.1.tgz",
            "hashes":  {
                "sha1":  "be9395eee41aba7f507e9827e27608bab6c7f1c5",
                "sha512_sri":  "sha512-Zk97VNBIuJTAu7cBNsGaCg1KznrShqDP6fCff88j/jq6zDmQ0mPGe0/vXqYgpp1Ksw+IO/U2bVwInZ9IwXkfhw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@basis-theory-elements/api-client/MAL-2026-20188.json"