MAL-2025-47228

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/remark-preset-lint-crowdstrike/MAL-2025-47228.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-47228
Aliases
  • GHSA-9r7p-jxp9-q5xf
Published
2025-09-16T07:56:12Z
Modified
2025-09-18T04:14:28Z
Summary
Malicious code in remark-preset-lint-crowdstrike (npm)
Details

Suspicious postinstall script executes a file with excessive bitwise math. Likely malware.


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

Source: ghsa-malware (165b629be2876c01b20135bbf391a92b4ae66e6645b8f390bcbb5373f8d43c5b)

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.

Source: google-open-source-security (a2b91727dc412862ca7980b4ca0fc7415bcd5afddbad2b51346e995eccc077f3)

This package was compromised by the Shai-Hulud NPM worm. The malicious payload steals tokens and credentials and publishes them to GitHub before propogating itself to NPM packages the user owns.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-9r7p-jxp9-q5xf",
            "import_time": "2025-09-17T00:07:09.283148451Z",
            "sha256": "165b629be2876c01b20135bbf391a92b4ae66e6645b8f390bcbb5373f8d43c5b",
            "source": "ghsa-malware",
            "modified_time": "2025-09-16T17:19:56Z",
            "versions": [
                "4.0.2"
            ]
        },
        {
            "id": "GHSA-9r7p-jxp9-q5xf",
            "import_time": "2025-09-17T00:34:59.121190905Z",
            "sha256": "24f7d0adf8db917c87525a32998faffcbfcbf9ede2b5900c60d177e9840fed19",
            "source": "ghsa-malware",
            "modified_time": "2025-09-16T17:19:56Z",
            "versions": [
                "4.0.2"
            ]
        },
        {
            "import_time": "2025-09-17T05:59:34.264649Z",
            "sha256": "a2b91727dc412862ca7980b4ca0fc7415bcd5afddbad2b51346e995eccc077f3",
            "source": "google-open-source-security",
            "modified_time": "2025-09-17T05:58:45Z",
            "versions": [
                "4.0.2",
                "4.0.1"
            ]
        },
        {
            "id": "GHSA-9r7p-jxp9-q5xf",
            "import_time": "2025-09-18T04:13:59.093894157Z",
            "sha256": "b783597546934d06e950e141b383fd5a9665ae85d78da9430ca27a74796f7e2a",
            "source": "ghsa-malware",
            "modified_time": "2025-09-16T17:19:56Z",
            "versions": [
                "4.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / remark-preset-lint-crowdstrike

Package

Name
remark-preset-lint-crowdstrike
View open source insights on deps.dev
Purl
pkg:npm/remark-preset-lint-crowdstrike

Affected ranges

Affected versions

4.*
4.0.1
4.0.2

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/remark-preset-lint-crowdstrike/MAL-2025-47228.json"