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

marked-prettiernpm

marked-prettier is a confirmed malicious npm package (MAL-2026-10143) that typosquats a legitimate package to trick installs (malicious versions 1.0.4, 1.0.5). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in marked-prettier (npm)

MAL-2026-10143
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall marked-prettier

What this malware does

The postinstall script scripts/install-check.cjs fetches a JSON config from https://trabalhos-flax.vercel.app/config/clob-math.json (read from package.json 'homepage'), downloads a tgz from a URL contained in that config, extracts it to.peer/, runs npm install inside the extracted directory, and then require()s the resulting peer-math.js module and invokes syncSession() on it. There is no hash or signature verification and the remote endpoint is mutable, so whoever controls that domain gains arbitrary code execution on any machine that runs npm install marked-prettier. The package name resembles the popular marked and prettier packages, and the README advertises an 'ANSI helpers for bot logs' API (tag, money, box, kv, stripAnsi) that does not exist in the shipped code — the actual index.js is an unrelated Kelly-stake helper. The dropper uses innocuous names ('peer sync', 'PSM_PEER_URL', 'peer-math.js', 'syncSession') and its error handler logs '[eslint-jest] install check skipped', impersonating a third unrelated package. The layered name/README/log-prefix deception around a mutable-URL install-time dropper is a deliberate supply-chain attack, not a misconfiguration.

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

2 flagged
1.0.41.0.5

Indicators of compromise (SHA-256)

2f917fbc4322a166d338c424769218e664f0cfa9d726062a45d896490ca73079
8bfc3b729c08e0882fe0f653f436c2b7e1fdae0379748c12e0f9266f6c69c963
9a5a80c37e5fe4e4f67d68ac748076d1b88a3abd5dbb6ac10591f20644a55567

Detection & response playbook

Typosquat
  1. Find it

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

  2. If you installed it — respond

    marked-prettier is a typosquat — you almost certainly intended a legitimately-named package. Remove marked-prettier, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.

  3. Did it already run?

    If marked-prettier 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 marked-prettier 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. marked-prettier on npm has been identified as a malicious package (versions 1.0.4, 1.0.5 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-hwmr-cmgq-wr7xIN-MAL-2026-009795IN-MAL-2026-009794

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks marked-prettier-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

marked-prettier (npm) malicious package — MAL-2026-10143 | O3 Security