MAL-2026-6353

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/markdownlint-cli2-fix/MAL-2026-6353.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6353
Aliases
  • GHSA-75g7-vcxw-p99c
Published
2026-06-23T21:46:05Z
Modified
2026-06-24T02:16:23.271372118Z
Summary
Malicious code in markdownlint-cli2-fix (npm)
Details

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

Source: amazon-inspector (ca7d5154ecbbcc636198bd2314e1916e5f0673d37ab7b14caca2ea96ad5ac5e1)

Package name 'markdownlint-cli2-fix' impersonates the popular 'markdownlint-cli2' linter but contains no linter functionality — the README states 'Takeover By lobo / For POC only' and the package ships only postinstall.js plus metadata. postinstall.js (line 30) hardcodes BURP_COLLABORATOR_URL = "http://i0jvc03bvcjt40q39f5fx8671y72vxjm.oastify.com" and, when run, collects host/network reconnaissance (os.hostname(), username, network interfaces, disk info, AD domain info, full process list via ps aux/tasklist through execSync), enumerates Object.keys(process.env) matching a curated credential list (AWSACCESSKEYID, AWSSECRETACCESSKEY, GITHUBTOKEN, NPMTOKEN, STRIPESECRET, SSHPRIVATEKEY, DEPLOYKEY, SLACKTOKEN, DISCORDTOKEN, JWT_SECRET) plus regex /_(TOKEN|SECRET|KEY|PASSWORD|PWD|APIKEY|API_KEY|PRIVATE_KEY)$/i, and POSTs the JSON payload to the attacker-controlled Burp Collaborator endpoint at oastify.com. While package.json in this version does not declare a scripts.postinstall hook (so the file does not auto-execute on npm install), the package is a deliberate typosquat with no legitimate purpose, the exfiltration code is fully functional, and any installer who is tricked into running the file — or any republish that wires the lifecycle hook — produces immediate credential exfiltration.

Source: ghsa-malware (1929ec583cc78f943385264d03ada63b3f79e62cfa2d753eeb772fe408d0685f)

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": [
        {
            "sha256": "8612d9e090123bffb0bb3f0070be5486cb592c4d78958bb8fd62a8bce3a33834",
            "import_time": "2026-06-23T22:31:27.518527737Z",
            "source": "amazon-inspector",
            "modified_time": "2026-06-23T21:46:05Z",
            "versions": [
                "99.0.6"
            ],
            "id": "IN-MAL-2026-007376"
        },
        {
            "sha256": "ca7d5154ecbbcc636198bd2314e1916e5f0673d37ab7b14caca2ea96ad5ac5e1",
            "import_time": "2026-06-23T22:31:27.616975501Z",
            "source": "amazon-inspector",
            "modified_time": "2026-06-23T21:46:12Z",
            "versions": [
                "99.0.7"
            ],
            "id": "IN-MAL-2026-007377"
        },
        {
            "sha256": "1929ec583cc78f943385264d03ada63b3f79e62cfa2d753eeb772fe408d0685f",
            "id": "GHSA-75g7-vcxw-p99c",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2026-06-24T01:17:57Z",
            "source": "ghsa-malware",
            "import_time": "2026-06-24T01:59:16.922956104Z"
        }
    ]
}
References
Credits

Affected packages

npm / markdownlint-cli2-fix

Package

Name
markdownlint-cli2-fix
View open source insights on deps.dev
Purl
pkg:npm/markdownlint-cli2-fix

Affected ranges

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

Affected versions

99.*
99.0.6
99.0.7

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/markdownlint-cli2-fix/MAL-2026-6353.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"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "tlsh": "784293b541b0555835b5cf9da70f60026656f0077a46fea878ae33401fce65882b3efe",
            "sha256": "a79a742307230c688f29fd9844cf9f41ff84d0eebf1571c18a818802fd16c38c",
            "path": "postinstall.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "markdownlint-cli2-fix-99.0.6.tgz",
            "hashes": {
                "sha1": "87745ac99cd62b03805320fb42c909a7c3920a67",
                "sha512_sri": "sha512-B3AV6OkhgHGT6oBnyaOBhMTK8xaYos4C/siYq/DA/RPC5Qo1oWLPdAeaI6YuzI2PIj0VoFTffgU/fCKMvmqBdQ=="
            }
        }
    ]
}