MAL-2025-2790

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/toc-generator-markdown/MAL-2025-2790.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-2790
Aliases
  • GHSA-8m8m-mrfr-8xwv
Published
2025-03-28T08:16:42Z
Modified
2025-03-29T00:56:17.934939Z
Summary
Malicious code in toc-generator-markdown (npm)
Details

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

Source: ghsa-malware (78aba0f665dc55e94b5a5dc3b90ce2d371080c1acda0c4565429afcfb9ba4fe6)

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": [
        {
            "import_time": "2025-03-29T00:34:16.59205855Z",
            "id": "GHSA-8m8m-mrfr-8xwv",
            "modified_time": "2025-03-28T08:16:42Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "sha256": "78aba0f665dc55e94b5a5dc3b90ce2d371080c1acda0c4565429afcfb9ba4fe6"
        }
    ]
}
References

Affected packages

npm / toc-generator-markdown

Package

Name
toc-generator-markdown
View open source insights on deps.dev
Purl
pkg:npm/toc-generator-markdown

Affected ranges

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

Database specific

{
    "cwes": [
        {
            "name": "Embedded Malicious Code",
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature."
        }
    ]
}