MAL-2026-12728

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-nx-stylelint/MAL-2026-12728.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12728
Aliases
  • GHSA-hqcv-mqm2-xcmh
Published
2026-08-05T13:47:54Z
Modified
2026-08-06T01:20:30.968966072Z
Summary
Malicious code in devplatform-nx-stylelint (npm)
Details

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

Source: amazon-inspector (16573678cf46c8aabbd843cd3bbbbe258474f3768d15ad6f1178921b6ad964bf)

The package presents itself as an Nx stylelint helper but its main entry require()s platform.js, which on load downloads a platform-specific executable from one of four Cloudflare Workers hosts whose names are assembled at runtime via array-join concatenation (oob-worker.cf{99-9b3,101-adf,102-baf,103-070}.workers.dev). If HTTPS retrieval fails, it reassembles the payload from base64 chunks served in DNS TXT records under sdk/ext/pkg/net.dl.wel1.ru (reading a chunk count from c.<domain> and concatenating parts from <i>.<domain>). The bytes are written to /var/tmp/.cache<hex> on Unix or %TEMP%\dotnetdiag<hex>.exe on Windows, chmod 0755, and launched detached via cp.spawn("/bin/sh", ["-c", fp+" &"], {detached:true, stdio:"ignore"}).unref(). A marker file.analytics_state suppresses re-execution. lib/telemetry.js embeds a second copy of the same dropper (base64 chunk decoding, split "chmod"+"Sync" and cp.spawn("/bin/sh",...)) under an analytics-SDK cover story. The exported DevplatformNxStylelint class is a no-op stub; the package's only functional behavior is the dropper. Package naming impersonates the Nx stylelint ecosystem.

Source: ghsa-malware (17bb3474e482e10720577233ded6d0d01962b5055551dfdb0a98507d09b23d9e)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T14:19:55.866378288Z",
            "sha256": "16573678cf46c8aabbd843cd3bbbbe258474f3768d15ad6f1178921b6ad964bf",
            "id": "IN-MAL-2026-015043",
            "modified_time": "2026-08-05T13:47:54Z",
            "versions": [
                "35.6.9"
            ]
        },
        {
            "source": "ghsa-malware",
            "sha256": "17bb3474e482e10720577233ded6d0d01962b5055551dfdb0a98507d09b23d9e",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-hqcv-mqm2-xcmh",
            "modified_time": "2026-08-05T14:59:49Z",
            "import_time": "2026-08-06T00:58:53.392110904Z"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-nx-stylelint

Package

Name
devplatform-nx-stylelint
View open source insights on deps.dev
Purl
pkg:npm/devplatform-nx-stylelint

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

35.*
35.6.9

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-nx-stylelint/MAL-2026-12728.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "devplatform-nx-stylelint-35.6.9.tgz",
            "hashes": {
                "sha512_sri": "sha512-u/9PvWz+feKyKjxwmRHDhtqbo2eut94zluC7itH8hqZxsTYoZYWGB/ofwR390gBSH8+3IWfdURtoffHCRo3r9g==",
                "sha1": "e7c806597945f70953b192cecb482a4ba4a87580"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "49a1855a06a7b01887b09bf4c7174416f66bf6633381d188fb6c95985f7612883b2efc",
            "sha256": "7edee7b56399b757486966baa2f3806ca12dba73d82a0efebc2dc0e15b7a39d4",
            "path": "_platform.js"
        },
        {
            "tlsh": "90835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "bd42d8ab2c8607abb89b866991ea9a2dc7f732bfe026aff67585dc08f5ba72f4",
            "path": "lib/telemetry.js"
        },
        {
            "tlsh": "30c08033c950953354f557515ce1910b3f570f5f5234dc0e7973213850b1175049d396",
            "sha256": "571b0f3c515eeeef2e0e8784d5958add3ac5bbd7531c0a21353568dbefaa4188",
            "path": "package.json"
        }
    ]
}