MAL-2026-5309

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nodemon-lint/MAL-2026-5309.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5309
Aliases
  • GHSA-cjg8-jrqm-2q9r
Published
2026-06-08T09:27:28Z
Modified
2026-07-08T23:46:56Z
Summary
Malicious code in nodemon-lint (npm)
Details

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

Source: amazon-inspector (51b598671d8b4d96e826035c56685f7064e10dbcf7cf150e7ab4b2bd9194ad9a)

Package is published as nodemon-lint but its package.json, README, bin name (nodemon), homepage (nodemon.io), and source tree are a verbatim copy of Remy Sharp's nodemon. It declares two runtime dependencies — regexp-ts@^2.1.7 and chai@^4.4.1 — that the upstream nodemon does not ship and that are not require()d anywhere in lib/ or bin/. Installing nodemon-lint by mistake therefore silently pulls those packages into the installer's dependency tree via npm's normal resolution, even though the lure tarball itself contains only legitimate nodemon code. The name is a 5-character extension of a top-tier registry package (nodemon), and the unused-dependency shape is consistent with using the lure as a delivery vehicle for whatever those transitive packages contain. The transitive packages themselves were not inspected here, so confirmation of their content is required before publishing a hard block.

Source: ghsa-malware (e62de7b45c63185183f5fe120bd363a176f70cb28d4abfeec9a3686b320a0b96)

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": [
        {
            "id": "GHSA-cjg8-jrqm-2q9r",
            "import_time": "2026-06-08T09:52:28.864964915Z",
            "modified_time": "2026-06-08T09:27:29Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "e62de7b45c63185183f5fe120bd363a176f70cb28d4abfeec9a3686b320a0b96",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-008951",
            "import_time": "2026-07-08T23:27:55.275012116Z",
            "modified_time": "2026-07-08T22:57:12Z",
            "sha256": "51b598671d8b4d96e826035c56685f7064e10dbcf7cf150e7ab4b2bd9194ad9a",
            "source": "amazon-inspector",
            "versions": [
                "3.1.15"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / nodemon-lint

Package

Affected ranges

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

Affected versions

3.*
3.1.15

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "33dec4d907512911296c20ab30563362ab697a83e30edb7c52f0437a9deaece1",
            "tlsh": "3741f029eca9cda30ec814e5686901466135d81f8d84fc0cb39a636c4f5e57f70f8a2d"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nodemon-lint/MAL-2026-5309.json"