MAL-2026-11131

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/basic-vite/MAL-2026-11131.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11131
Published
2026-07-28T13:32:35Z
Modified
2026-07-28T14:37:23.930221744Z
Summary
Malicious code in basic-vite (npm)
Details

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

Source: amazon-inspector (ab736217e52ecd2e4aa966da6192e434d69f7d34cc5b7a1ce72c6c6ece6aff56)

package.json declares preinstall: node index.js, so npm install basic-vite auto-executes index.js. The script collects host identity data (hostname, username, home directory, DNS servers, current working directory, package.json contents) and reads /etc/passwd and /etc/hosts, then POSTs the collected payload over HTTPS to the hardcoded Burp Collaborator subdomain md3wko7hlcmvfsq16xh2higublhc53ts.oastify.com. The package name suggests a Vite-related utility, but no such functionality is present; the sole behavior is install-time data exfiltration to an attacker-controlled out-of-band interaction host.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-010892",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-07-28T14:19:57.783881224Z",
            "sha256": "ab736217e52ecd2e4aa966da6192e434d69f7d34cc5b7a1ce72c6c6ece6aff56",
            "modified_time": "2026-07-28T13:32:35Z",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / basic-vite

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "e21fb6f15199acfca523ac51b81fac3a6e6d77b9",
                "sha512_sri": "sha512-VOC4kxHvhGc9l/drGquGiU7rASgBrSvD4PcyQUBxjdY1eVE7w74Wi6iRBsHhuRcpLFOEaG4k/bwD2s63+Zn0Zw=="
            },
            "filename": "basic-vite-1.0.0.tgz"
        }
    ],
    "evidence_files": [
        {
            "tlsh": "19411199a2c917330de210c06a0c70812359fa777169e8d077cf42969f869f8bb326f3",
            "path": "index.js",
            "sha256": "f79d79cd9a32220f4d47700c28a4347b9befaf7e567a44a5a722a4c8f0fdb745"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/basic-vite/MAL-2026-11131.json"