MAL-2026-17693

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@bitwardne/cli/MAL-2026-17693.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17693
Published
2026-10-08T16:53:40Z
Modified
2026-10-08T17:25:14Z
Summary
Malicious code in @bitwardne/cli (npm)
Details

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

Source: amazon-inspector (cf7d0b3168a3a56cb6208688970e6109a964ccfb99a97fe7061d57e007b67ca6)

package.json declares a preinstall lifecycle script of the form 'curl -L | node', which fetches remote content and executes it in Node at npm install time. In this published version the URL slot is empty so the command fails as shipped, but the script shape is a canonical install-time remote-code-execution dropper that fires automatically on npm install. The package is published under the @bitwardne scope — a one-character variation of the Bitwarden brand — while the shipped source is a verbatim copy of the unrelated 'cli' option-parser library by Chris O'Hara (homepage node-js-libs/cli), with no legitimate connection between the scope name and the vendored code.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-021212",
            "import_time":  "2026-10-08T17:17:19.186538972Z",
            "modified_time":  "2026-10-08T16:53:40Z",
            "sha256":  "cf7d0b3168a3a56cb6208688970e6109a964ccfb99a97fe7061d57e007b67ca6",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @bitwardne/cli

Package

Name
@bitwardne/cli
View open source insights on deps.dev
Purl
pkg:npm/%40bitwardne/cli

Affected ranges

Affected versions

1.*
1.0.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":  "006c8facf58a8c21b5564c575bcbefb5375e1f5f7df0a9e25d6a473a57679e8f",
            "tlsh":  "1201c06607ed9c752f819fc8fdfebcc498fa121286d8c48ba0a6dd0882551c6745f1e4"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "cli-1.0.1.tgz",
            "hashes":  {
                "sha1":  "c475ed5a8e7787ce4285f9f88fc09c7c7445c78e",
                "sha512_sri":  "sha512-9lepiqc0snkDE4JLMAZ7VEEYb6qgDpQ3UT7ejpuk2c0c8JWE3Eu/oZT63CjpiY+pgYSB3820FxDv8I2tTTRI5A=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@bitwardne/cli/MAL-2026-17693.json"