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

@servicetitan/tanstack-query-mobxnpm

@servicetitan/tanstack-query-mobx is a confirmed malicious npm package (MAL-2026-11930) that steals credentials and exfiltrates sensitive data (malicious versions 6.2.1, 6.2.2, 6.2.3…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @servicetitan/tanstack-query-mobx (npm)

MAL-2026-11930
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @servicetitan/tanstack-query-mobx

What this malware does

npm/@servicetitan/tanstack-query-mobx 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.

package.json declares a preinstall hook node setup.mjs that downloads the Bun runtime from https://github.com/oven-sh/bun/releases/download/bun-v<version>/...zip, extracts it to a temp directory, chmods it executable, and invokes it against a sibling file math_init.js via execFileSync. math_init.js is a 727KB // @bun @bun-cjs single-file bundle whose contents are a shuffled string/opcode array with runtime-reconstructed identifiers (custom string-array rotator WV8StW + char-code decoder) — not human-readable, not referenced by the library's declared entry points in dist/ or src/, and only decoded at runtime by the fetched Bun binary. The package presents itself as a TanStack Query wrapper for MobX; a library of that scope has no functional need to fetch a second language runtime at install time to execute an opaque local blob. Fetching an alternate runtime specifically to execute an obfuscated bundle that Node-based scanners cannot inspect is the alternate-runtime-dropper fingerprint. On npm install, arbitrary attacker-authored code executes on the installer's host under Bun with the installer's privileges.

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
6.2.16.2.26.2.36.2.46.2.56.2.66.2.7

Indicators of compromise (SHA-256)

9269c60bc5b4bb46ce475a087b50ee7ec1c59440e1a7b62c1f4a616652b54935
0deb9ee821f08827a248c22f5c5b15bd217d23923099061835715fa093cf4a98
6e6d778e3681d43ded32b0fbdfd62538ebddd0c37e7cd6b33431890d19ef0c96
43685b28080d5b2acb82341448f6d13c7e5853d84f10d4f62d4e8b421ed8ea99
50e4afc3af33226d535f3871f34ccc62de9b96385b6e0d30640871127b49c387
c468f15e86816f5b39a781218d39257fc54480d032c8e9d25a306d003507f06f
89ce289f403cddbf508bda1af808851b47928b059a22ef51b1af624bf5c3d9d5
370ed915ef1d0a812446ca414acaea7d125b5f29aa71b4028ccf6cc139caff70

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/tanstack-query-mobx (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/tanstack-query-mobx across your stack and pipelines.

  2. If you installed it — respond

    @servicetitan/tanstack-query-mobx 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/tanstack-query-mobx 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/tanstack-query-mobx 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/tanstack-query-mobx on npm has been identified as a malicious package (versions 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-x9rp-2ppw-m5p8IN-MAL-2026-011466IN-MAL-2026-011399IN-MAL-2026-012038IN-MAL-2026-012041IN-MAL-2026-012040IN-MAL-2026-012285IN-MAL-2026-012357

References

Credits

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

Detect & block this

O3 blocks @servicetitan/tanstack-query-mobx-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/tanstack-query-mobx (npm) malicious package — MAL-2026-11930 | O3 Security