MAL-2026-13274

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-vite-plugin-preserve-css-modules/MAL-2026-13274.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13274
Published
2026-08-05T15:29:25Z
Modified
2026-08-05T16:50:28.638950901Z
Summary
Malicious code in devplatform-vite-plugin-preserve-css-modules (npm)
Details

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

Source: amazon-inspector (0781a29416d218a9767f37894e3ad9a851110f50693a4bcb1ab6bd168e1f6feb)

On require() of the package, index.js loads loader.js which selects a platform-specific endpoint, downloads a native binary over HTTPS from string-split-obfuscated hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev) with a DNS TXT covert-channel fallback to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, writes it to /var/tmp or %TEMP% under a disguised name (.cache<rnd> on Unix, dotnetdiag<rnd>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. Execution is gated by a /tmp/.analytics_state TTL marker. Destination hostnames are assembled at runtime from split-string fragments to evade source-level review. The package name mimics an internal-sounding vite plugin but the shipped code fetches and executes an arbitrary native binary on the installer's machine at first require().

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "0781a29416d218a9767f37894e3ad9a851110f50693a4bcb1ab6bd168e1f6feb",
            "source": "amazon-inspector",
            "versions": [
                "35.6.8"
            ],
            "import_time": "2026-08-05T16:13:35.733919033Z",
            "modified_time": "2026-08-05T15:29:25Z",
            "id": "IN-MAL-2026-015718"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-vite-plugin-preserve-css-modules

Package

Name
devplatform-vite-plugin-preserve-css-modules
View open source insights on deps.dev
Purl
pkg:npm/devplatform-vite-plugin-preserve-css-modules

Affected ranges

Affected versions

35.*
35.6.8

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-vite-plugin-preserve-css-modules/MAL-2026-13274.json"
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "tlsh": "c8a1a65a05ab70188bb0d7e4c717541af65bf66333808688fb9c65941f7611883b2efc",
            "sha256": "c83136f8c533183543298c974aa6457eab6deb2e22e21a8a44ed2fc317b58875",
            "path": "_loader.js"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "e4d76e278bc9caf2ee1c58d83685bd65d5c99bff",
                "sha512_sri": "sha512-10BQQxArzH0RdfvDhnImuE+h92JxVEXU09d4lfdJWOYtfop+hoPX6ojJ1fRhcZ3SJ9i2sQbZvjWQ8CsYJXpD9g=="
            },
            "filename": "devplatform-vite-plugin-preserve-css-modules-35.6.8.tgz"
        }
    ]
}