mal-2026-2911
Vulnerability from ossf_malicious_packages
Published
2026-04-16 00:44
Modified
2026-04-23 20:50
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.
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (ab93869d5c21b5d8424c3c527825b2f0051e5736740429dd67e71403474ee281)
The package terminal-formatter was found to contain malicious code.
Credits
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "terminal-formatter"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
]
}
],
"credits": [
{
"contact": [
"actran@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
},
{
"contact": [
"https://indece.com"
],
"name": "indece",
"type": "FINDER"
}
],
"database_specific": {
"iocs": {
"urls": [
"https://ghostraper.top"
]
},
"malicious-packages-origins": [
{
"import_time": "2026-04-23T20:49:01.300888107Z",
"modified_time": "2026-04-23T20:43:56Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "ab93869d5c21b5d8424c3c527825b2f0051e5736740429dd67e71403474ee281",
"source": "amazon-inspector"
}
]
},
"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",
"id": "MAL-2026-2911",
"modified": "2026-04-23T20:50:52Z",
"published": "2026-04-16T00:44:26Z",
"schema_version": "1.7.4",
"summary": "Malicious code in terminal-formatter (npm)"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…