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

babel-plugin-linaria-css-to-undefinednpm

babel-plugin-linaria-css-to-undefined is a confirmed malicious npm package (MAL-2026-11962) that steals credentials and exfiltrates sensitive data (malicious versions 0.3.1, 0.3.2, 0.3.3…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in babel-plugin-linaria-css-to-undefined (npm)

MAL-2026-11962
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall babel-plugin-linaria-css-to-undefined

What this malware does

npm/babel-plugin-linaria-css-to-undefined 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 declares a preinstall hook (node setup.mjs) that runs on npm install. setup.mjs is obfuscator.io-style code (hex-named identifiers _0xNNNN, per-function string-lookup objects) that downloads a Bun runtime zip from github.com/oven-sh/bun/releases/download/bun-v<VER>/...zip, extracts and chmod+x's the bun binary, and then invokes it against a bundled sibling math_init.js — a single-line 727KB obfuscated Bun-cjs blob (opens with // @bun @bun-cjs followed by a large numeric string-array and decoder). The advertised purpose is a Babel plugin (lib/index.js contains the unobfuscated, legitimate ornikar plugin source and matches the author/repository metadata ornikar/babel-plugin-linaria-css-to-undefined); a Babel plugin has no need to pull an alternate language runtime at install time or execute a 700KB opaque payload. The install-time payload is executed via Bun specifically to evade scanners that only inspect Node-resolved code. The combination — lifecycle-hook fetch of a second runtime, obfuscated loader, opaque runtime-executed sibling, and legitimate library code wrapped around the dropper to disguise the tarball as the genuine ornikar plugin — is the shape of a compromised or typosquatted publish that runs attacker-controlled code on every installer's machine.

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

17 flagged
0.3.10.3.20.3.30.3.40.3.50.3.60.3.70.3.80.3.90.3.100.3.110.3.120.3.130.3.140.3.150.3.160.3.17

Indicators of compromise (SHA-256)

16815fdd377119a459007dcd3f2846a700cc47b502c7172639040730ffdd6f75
3bf0fcda950bbb67ad1e1acb361c3eab6116c59ea21f72badd837053f4eae3a2
90e5269541a533977b964522e87151d132770cb2a744540d37292c444cd4b789
a4b283a17cfacffec7597089ff6bde76529e5148350de2c879ba35e2bcfdcce8
b09344a73008d2199ead0ba0087957c864455307f6f3f2bd4de03535d18e40e4
c3cc136bf24aae3ac0f5ade93dc603b8f50764d13af00ba3216a48b23e0381c8
dc61408af4c076ac251ca643a13ebd29fc6ff2b661414e278429f23fd87a14b2
e5a7917a241ec4bdbaf5e017073cb4d8dbcdd703abb9a96e868103790a123448
f22d56c6c06a5424dfc384232b4a3dbf52ec511dd7263a86a7eb3b095a63385b
7cc11e747cbfd4549899ab06c3dd1a9a190a4c838e1776503553176fa56e2d68
bfa06aa1bfa1dace08fc1b68c01d2d6e7b1ed5d212cbfcb854f7f7a163954e36
e83114abf494b9146da4f27ee82f22e03dcd6a34d609444f147f66159c9a3a32
3bb2d7f7e63a226ab89d1c277845c0699817e8966df0340519f8a6021b79e313
3d42250efef9105d30e8d60e7599429d8ed6a7f9f0005c26f976a4deee52ae32
63b42395027759375b53d8e4f6d4b2f30d4366b4c3b546022ea2ef357e99fd5c
63f271da0a69c6ad39749cffc9cf5c3d59d4e71eb8124425cfe3053036514c0b
986c43bb4406559fe0f283e2c8041333cf07c98d611748c9551f2a961953221b
a01284dac37fc11def8efa6438d3838c968a2425ff8d311a497b7cca58a3a481

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 babel-plugin-linaria-css-to-undefined (17 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging babel-plugin-linaria-css-to-undefined across your stack and pipelines.

  2. If you installed it — respond

    babel-plugin-linaria-css-to-undefined 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 babel-plugin-linaria-css-to-undefined 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 babel-plugin-linaria-css-to-undefined 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. babel-plugin-linaria-css-to-undefined on npm has been identified as a malicious package (versions 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, and 9 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-277g-jjx3-xmwjIN-MAL-2026-011374IN-MAL-2026-013499IN-MAL-2026-013551IN-MAL-2026-013530IN-MAL-2026-013492IN-MAL-2026-013616IN-MAL-2026-013583IN-MAL-2026-013665IN-MAL-2026-013531IN-MAL-2026-013800IN-MAL-2026-013789IN-MAL-2026-014089IN-MAL-2026-013790IN-MAL-2026-014225IN-MAL-2026-013911IN-MAL-2026-013766IN-MAL-2026-014092

References

Credits

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

Detect & block this

O3 blocks babel-plugin-linaria-css-to-undefined-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

babel-plugin-linaria-css-to-undefined (npm) malicious package — MAL-2026-11962 | O3 Security