Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Part of a larger attack: @servicetitan published 141 malicious packages. See the full campaign →
Malicious package

@servicetitan/anvil-themesnpm

@servicetitan/anvil-themes is a confirmed malicious npm package (MAL-2026-11820) that steals credentials and exfiltrates sensitive data (malicious versions 14.5.4, 14.5.5, 14.5.6…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @servicetitan/anvil-themes (npm)

MAL-2026-11820
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @servicetitan/anvil-themes

What this malware does

npm/@servicetitan/anvil-themes is affected by the large-scale, self-propagating npm supply-chain worm of 2026-08-04 (the "Shai-Hulud: Here We Go Again" wave) — the same campaign that began with the compromise of the keyv and cacheable maintainer account. The listed version(s) were trojanized and republished by the worm after it reached an npm publish token belonging to a maintainer in this namespace; the payload enumerates every package a stolen token controls and republishes each with the same hook, so many packages under this scope were poisoned in the same short window. Every poisoned release adds a preinstall hook ("preinstall": "node setup.mjs") that runs on a bare npm install, before any project code. setup.mjs downloads a standalone Bun runtime and runs a byte-identical, heavily obfuscated ~728 KB second-stage credential stealer (shipped as Math_Symbol.js / math_init.js). It harvests GitHub, npm, AWS, GCP, Azure, HashiCorp Vault and Kubernetes credentials plus generic secrets and private keys (TruffleHog-style sweep), reads CI/CD secrets and identifies build runners, then republishes further packages the stolen token can reach. Rather than a fixed command-and-control host, it exfiltrates stolen findings to attacker-created GitHub repositories (descriptions reading "Shai-Hulud: Here We Go Again") and over DNS. Treat any environment that installed an affected version (with install scripts enabled) as compromised: rotate and revoke all reachable credentials (npm and GitHub tokens, cloud keys, Vault/Kubernetes secrets, and CI org/repo secrets). Part of the August 2026 npm worm that poisoned 400+ packages across many organizations.

The package's preinstall hook runs setup.mjs, which downloads the Bun runtime from GitHub releases (bun-v1.3.13), extracts it to a temp directory, marks it executable, and invokes it against the sibling file math_init.js. math_init.js is a ~727 KB heavily obfuscated Bun-CJS bundle (// @bun @bun-cjs header, string-array rotation function, char-code lookup tables reconstructing strings at runtime, single-letter mangled identifiers) with no relation to the package's declared purpose of design theme tokens. The public-facing dist/index.js is a 973-byte re-export of @servicetitan/tokens/core, which acts as a cover for the hostile preinstall path. Package metadata claims the @servicetitan scope with homepage v1.anvil.servicetitan.com and repository github:servicetitan/anvil, but the tarball ships an empty author, empty description, and the dropper chain — inconsistent with a legitimate first-party design-tokens release. Fetching an alternate JavaScript runtime at install time specifically to execute an opaque, obfuscated bundle evades Node-based analysis and gives the publisher arbitrary code execution on the host of any developer or CI system that runs npm install.

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

7 flagged
14.5.414.5.514.5.614.5.714.5.814.5.914.5.10

Indicators of compromise (SHA-256)

e62c5a507ea5b30f61d8469074f803f606df829dd5ab48169ff32f47e0a9c1f8
e3eb0f0a5316de5f44c69f4e930acdff90f7e26eb8b098f4dcdaf6935b7bfa26
359023d4068334deafe1dbcf955606662c1c510594ddc4bdb17049c87544168b
a9f0086bb7263e895690e76cb17625438ae464929e3f7dcb26d6939b04d71879
c334f07be160166e0d1fa2b4c8d80a9fa399c591df7a7bc9b74fb28f6fe5403c
d41cb29b1fe8ea09e77be513f14900e9615a9ae81f9b3f44f50433284314faf3
fb3adb355866700197af1511791ce81a135c687326e302de10394b74c48b807c
fa0cbe3c854426cc3cea2b3ecb2ec2f7c65c430de4de8355d732630c8e6fcdd3

Detection & response playbook

Credential / info stealer
  1. Find it

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

  2. If you installed it — respond

    @servicetitan/anvil-themes is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If @servicetitan/anvil-themes 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 @servicetitan/anvil-themes 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. @servicetitan/anvil-themes on npm has been identified as a malicious package (versions 14.5.4, 14.5.5, 14.5.6, 14.5.7, 14.5.8, 14.5.9, 14.5.10 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-3pch-xh49-x28wIN-MAL-2026-011982IN-MAL-2026-012533IN-MAL-2026-012648IN-MAL-2026-012368IN-MAL-2026-012180IN-MAL-2026-012167IN-MAL-2026-012735

References

Credits

  • Aikido Security · finder
  • Amazon Inspector · finder
  • SafeDep · finder
  • Socket Threat Research Team · finder

Detect & block this

O3 blocks @servicetitan/anvil-themes-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

@servicetitan/anvil-themes (npm) malicious package — MAL-2026-11820 | O3 Security