MAL-2026-2500

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/totally-safe-util/MAL-2026-2500.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-2500
Published
2026-04-06T09:20:39Z
Modified
2026-04-07T14:57:20.428691Z
Summary
Malicious code in totally-safe-util (npm)
Details

Multiple suspicious behaviors: postinstall script, hex obfuscation, OS command execution to open a Rickroll, and attempt to hide execution.


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

Source: amazon-inspector (0d45a8a1395a8ff66e2ea74cacd9d8de0ebaa9e88e0170a6907b3e4861a2acc5)

The package totally-safe-util was found to contain malicious code.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-04-07T14:24:50Z",
            "import_time": "2026-04-07T14:39:22.591605753Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "0d45a8a1395a8ff66e2ea74cacd9d8de0ebaa9e88e0170a6907b3e4861a2acc5"
        }
    ]
}
References
Credits

Affected packages

npm / totally-safe-util

Package

Affected ranges

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

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/totally-safe-util/MAL-2026-2500.json"