MAL-2026-2911Malicious code in terminal-formatter (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | terminal-formatter | * |
{"modified":"2026-04-23T20:50:52Z","published":"2026-04-16T00:44:26Z","schema_version":"1.7.4","id":"MAL-2026-2911","summary":"Malicious code in terminal-formatter (npm)","details":"terminal-formatter is a malicious npm package that when installed (postinstall-hook) or imported sends local env variables, files and bash history to https://ghostraper[.]top and registers a new ssh key in .ssh/authorized_keys.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ab93869d5c21b5d8424c3c527825b2f0051e5736740429dd67e71403474ee281)\nThe package terminal-formatter was found to contain malicious code.\n","affected":[{"package":{"ecosystem":"npm","name":"terminal-formatter"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]},{"name":"indece","type":"FINDER","contact":["https://indece.com"]}],"database_specific":{"iocs":{"urls":["https://ghostraper.top"]},"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"ab93869d5c21b5d8424c3c527825b2f0051e5736740429dd67e71403474ee281","import_time":"2026-04-23T20:49:01.300888107Z","modified_time":"2026-04-23T20:43:56Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0