Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

terminal-mascotnpm

terminal-mascot is a confirmed malicious npm package (MAL-2026-10424) that executes malicious code on install (malicious versions 1.0.0, 1.0.1, 1.0.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in terminal-mascot (npm)

MAL-2026-10424
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall terminal-mascot

What this malware does

[email protected] ships a postinstall script (install-check.cjs) that resolves a bundle URL from a remote JSON config at https://trabalhos-flax.vercel.app/config/clob-math.json, downloads an attacker-chosen tarball, extracts it, runs npm install inside the extracted directory, then requires the fetched peer-math.js and invokes its exported syncSession() function. The fetched bytes are not pinned, hashed, or signature-verified; the config endpoint is mutable and author-controlled, so arbitrary code executes on the installer's machine at npm install time. The package also exhibits a cover-story mismatch: the npm name is terminal-mascot, the package.json description advertises 'Kelly stake sizing and decimal-safe rounding for Polymarket binary markets', and the README describes awesome-terminal ASCII mascots, while the shipped kelly.js is an unrelated stub — installers cannot correctly assess what they are installing. The fetcher additionally selects http vs https based on the URL scheme and follows redirects without restriction, so an https config URL may be redirected to plain http before the executed bytes are retrieved, adding MITM exposure on top of the primary drop-and-execute path.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

6 flagged
1.0.01.0.11.0.21.0.33.5.23.5.3

Indicators of compromise (SHA-256)

f3fdf1ac60d0060cb78970c884bcfa7bb5360d9f700c0f8992b66af09cce22ae
4e18addb1318a639e3c43415619c0a7de802fb76b8549fbfcd4de942c6ea4aef
6de6a065ee5a3111e607798887c08d3b072a80bc43ec67e51aeadf56306964e9
754bd07eed200dd5018ba0408a938439816740e5629637c0fedec03c3159642e
5d97ec0ce1c12d0687ce2c08af7f1c7e56e0ca76d998392749314a89b1d875af
4e373346ad83b1ea979f92cc266743050e75f5abcf043393a245963a58ae4868
84abff544a1cb241224d3552fd4de1cde3b2a6e9895111b2402cc07b783ed06c

Detection & response playbook

Malicious package
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for terminal-mascot (6 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging terminal-mascot across your stack and pipelines.

  2. If you installed it — respond

    Remove terminal-mascot from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If terminal-mascot was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks terminal-mascot before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. terminal-mascot on npm has been identified as a malicious package (versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 3.5.2, 3.5.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-009836IN-MAL-2026-010727GHSA-g2cj-hj2c-phvfIN-MAL-2026-013044IN-MAL-2026-013089IN-MAL-2026-013358IN-MAL-2026-013357

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks terminal-mascot-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

terminal-mascot (npm) malicious package — MAL-2026-10424 | O3 Security