MAL-2026-2911
Dashboard / Malicious Package / MAL-2026-2911
MAL-2026-2911
Published: 16 Apr 2026Last Modified: 23 Apr 2026
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. Source: amazon-inspector (ab93869d5c21b5d8424c3c527825b2f0051e5736740429dd67e71403474ee281) The package terminal-formatter was found to contain malicious code.
References:
Affected packages
Package
Name: terminal-formatter
Purl: pkg:npm/terminal-formatter
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
