MAL-2026-1964

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/pretty-loggers/MAL-2026-1964.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-1964
Aliases
  • GHSA-6mrh-fqgr-9x68
Published
2026-03-20T04:32:42Z
Modified
2026-03-23T05:45:03Z
Summary
Malicious code in pretty-loggers (npm)
Details

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

Source: amazon-inspector (4ac086b231c77fe68e31ce08ba212f70807936ae95b86d5af7fce505d9e20118)

The package pretty-loggers was found to contain malicious code.

Source: ghsa-malware (0218f0b3be8b1ccf4ed897adca433d157feeee1163f03cf8ed2e0b435ad90e8e)

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-6mrh-fqgr-9x68",
            "import_time": "2026-03-20T04:52:38.911038928Z",
            "modified_time": "2026-03-20T04:32:43Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "0218f0b3be8b1ccf4ed897adca433d157feeee1163f03cf8ed2e0b435ad90e8e",
            "source": "ghsa-malware"
        },
        {
            "import_time": "2026-03-23T05:14:21.000405872Z",
            "modified_time": "2026-03-23T05:11:41Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "4ac086b231c77fe68e31ce08ba212f70807936ae95b86d5af7fce505d9e20118",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / pretty-loggers

Package

Name
pretty-loggers
View open source insights on deps.dev
Purl
pkg:npm/pretty-loggers

Affected ranges

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

Database specific

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