MAL-2026-15920

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/box-sign-client/MAL-2026-15920.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15920
Published
2026-09-04T06:38:17Z
Modified
2026-09-04T07:00:09.429768730Z
Summary
Malicious code in box-sign-client (npm)
Details

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

Source: amazon-inspector (76143eab11057809af00414cb665446366f039e3cbf1fa82aae06a1093cbbf49)

box-sign-client@1.0.0 is a dependency-confusion vehicle positioned against the internal Box namespace (@box/sign-client). Its package.json declares a preinstall script (node index.js) that reads os.hostname() and process.env.USER/USERNAME, embeds those values into a subdomain of the hardcoded host iv6mfybhp42k33ysmzi73de5w.canarytokens.com, and calls dns.resolve() to trigger a DNS lookup against that subdomain. On any npm install that resolves this public package instead of the intended internal one, the installing host's hostname and login user are transmitted via DNS to a third-party Canarytokens collector at install time, before any application code is run. The package advertises itself as a proof-of-concept for Box dependency confusion, but the beacon fires against any installer regardless of intent.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-09-04T06:53:31.726239799Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ],
            "id": "IN-MAL-2026-019638",
            "modified_time": "2026-09-04T06:38:17Z",
            "sha256": "76143eab11057809af00414cb665446366f039e3cbf1fa82aae06a1093cbbf49"
        }
    ]
}
References
Credits

Affected packages

npm / box-sign-client

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/box-sign-client/MAL-2026-15920.json"
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "4751ab9469fc40383577488a9497653ba86cefa23346fd20766c424a4ec3bb9d7131bf",
            "sha256": "8eaf5131b39e711e6f015ecf8012ee452011ba0094795496e5101e2dd8f7873b"
        },
        {
            "path": "package.json",
            "tlsh": "5ad022300c30e07324d01be189bb908346f20c2f0008bc08a3c7202885ce3ab06fe30e",
            "sha256": "8dac85eaeeb2a3e7bec10e3b8ad717fd8a49a83b4975437fb8c07c2d86259ecc"
        }
    ],
    "package_integrity": [
        {
            "filename": "box-sign-client-1.0.0.tgz",
            "hashes": {
                "sha1": "33c249f0358cb58bff8a42627e43d15740f34f57",
                "sha512_sri": "sha512-omgoztQEW8CsF0S0OUz+RF6rKjn/gfb3ON7O1Ibq5UBNZPnEghOWViePI2ZO5OtnsQl1x4V6sn+RmIzZqe6URw=="
            }
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]