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.
-= Per source details. Do not edit below this line.=-
The package terminal-formatter was found to contain malicious code.
{
"iocs": {
"urls": [
"https://ghostraper.top"
]
},
"malicious-packages-origins": [
{
"import_time": "2026-04-23T20:49:01.300888107Z",
"sha256": "ab93869d5c21b5d8424c3c527825b2f0051e5736740429dd67e71403474ee281",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"source": "amazon-inspector",
"modified_time": "2026-04-23T20:43:56Z"
}
]
}