目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

babel-plugin-linaria-css-to-undefined

MAL-2026-11962
2026-08-05 08:24:53
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

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

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmbabel-plugin-linaria-css-to-undefined0.3.1
npmbabel-plugin-linaria-css-to-undefined0.3.10
npmbabel-plugin-linaria-css-to-undefined0.3.11
npmbabel-plugin-linaria-css-to-undefined0.3.12
npmbabel-plugin-linaria-css-to-undefined0.3.13
npmbabel-plugin-linaria-css-to-undefined0.3.14
npmbabel-plugin-linaria-css-to-undefined0.3.15
npmbabel-plugin-linaria-css-to-undefined0.3.16
npmbabel-plugin-linaria-css-to-undefined0.3.17
npmbabel-plugin-linaria-css-to-undefined0.3.2
npmbabel-plugin-linaria-css-to-undefined0.3.3
npmbabel-plugin-linaria-css-to-undefined0.3.4
npmbabel-plugin-linaria-css-to-undefined0.3.5
npmbabel-plugin-linaria-css-to-undefined0.3.6
npmbabel-plugin-linaria-css-to-undefined0.3.7
npmbabel-plugin-linaria-css-to-undefined0.3.8
npmbabel-plugin-linaria-css-to-undefined0.3.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11962","published":"2026-08-04T15:14:02Z","modified":"2026-08-05T08:24:52.579433964Z","aliases":["GHSA-277g-jjx3-xmwj"],"summary":"Malicious code in babel-plugin-linaria-css-to-undefined (npm)","details":"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.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e5a7917a241ec4bdbaf5e017073cb4d8dbcdd703abb9a96e868103790a123448)\nThe 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.\n\n## Source: ghsa-malware (16815fdd377119a459007dcd3f2846a700cc47b502c7172639040730ffdd6f75)\nAny 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.\n","affected":[{"package":{"name":"babel-plugin-linaria-css-to-undefined","ecosystem":"npm"},"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","0.3.9","0.3.10","0.3.11","0.3.12","0.3.13","0.3.14","0.3.15","0.3.16","0.3.17"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"setup.mjs","sha256":"fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb","tlsh":"9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"},{"path":"math_init.js","sha256":"9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc","tlsh":"59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"},{"path":"package.json","sha256":"369d61a790d5206011e8fc11da3d71c05e308df46811196f4a2cae1188a44669","tlsh":"d4017b308a2cad7391d85b70903d514361274dab8a49fc0c73f3032c4b5d79624ba969"}],"package_integrity":[{"filename":"babel-plugin-linaria-css-to-undefined-0.3.16.tgz","hashes":{"sha1":"66e7974508206a03180be0fd3cfc5d7be9131f84","sha512_sri":"sha512-2RgCSMbEdCPXG9qkJgfrkSj+pGuAn7Ig6+UIYPxV5AvJHbRBedOQc5WbLhWZQXGcJHKEwBdrYJp3mrkVqb9pUA=="}}]}}}],"references":[{"type":"WEB","url":"https://socket.dev/blog/popular-npm-packages-in-the-keyv-and-cacheable-namespaces-compromised-in-active-supply-chain"},{"type":"WEB","url":"https://www.aikido.dev/blog/keyv-and-friends-compromised-in-npm-supply-chain-attack"},{"type":"WEB","url":"https://safedep.io/keyv-npm-supply-chain-compromise/"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-277g-jjx3-xmwj"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.16"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.12"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.17"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.15"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.10"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.11"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.14"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.13"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-plugin-linaria-css-to-undefined/v/0.3.5"}],"database_specific":{"iocs":{"files":[{"note":"Stage 1 loader added to the package tarball and run via the preinstall script 'node setup.mjs'. Downloads a standalone Bun runtime and executes the second stage under it.","paths":["setup.mjs"],"source":"PACKAGE_ARCHIVE"},{"note":"Stage 2 payload: byte-identical, heavily obfuscated ~728 KB Bun-bundle credential stealer, shipped in the tarball as Math_Symbol.js and executed at runtime as math_init.js.","paths":["Math_Symbol.js","math_init.js"],"source":"PACKAGE_ARCHIVE"}]},"malicious-packages-origins":[{"id":"GHSA-277g-jjx3-xmwj","import_time":"2026-08-05T00:10:17.826389223Z","modified_time":"2026-08-04T16:46:16Z","sha256":"16815fdd377119a459007dcd3f2846a700cc47b502c7172639040730ffdd6f75","source":"ghsa-malware","versions":["0.3.17","0.3.16","0.3.15","0.3.14","0.3.13","0.3.12","0.3.11","0.3.10","0.3.9","0.3.8","0.3.7","0.3.6","0.3.5","0.3.4","0.3.3","0.3.2","0.3.1"]},{"id":"IN-MAL-2026-011374","import_time":"2026-08-05T00:44:39.802360192Z","modified_time":"2026-08-05T00:05:22Z","sha256":"3bf0fcda950bbb67ad1e1acb361c3eab6116c59ea21f72badd837053f4eae3a2","source":"amazon-inspector","versions":["0.3.16"]},{"id":"IN-MAL-2026-013499","import_time":"2026-08-05T07:06:50.569626846Z","modified_time":"2026-08-05T06:32:00Z","sha256":"90e5269541a533977b964522e87151d132770cb2a744540d37292c444cd4b789","source":"amazon-inspector","versions":["0.3.8"]},{"id":"IN-MAL-2026-013551","import_time":"2026-08-05T07:06:53.393023912Z","modified_time":"2026-08-05T06:39:37Z","sha256":"a4b283a17cfacffec7597089ff6bde76529e5148350de2c879ba35e2bcfdcce8","source":"amazon-inspector","versions":["0.3.7"]},{"id":"IN-MAL-2026-013530","import_time":"2026-08-05T07:06:52.311678248Z","modified_time":"2026-08-05T06:36:35Z","sha256":"b09344a73008d2199ead0ba0087957c864455307f6f3f2bd4de03535d18e40e4","source":"amazon-inspector","versions":["0.3.12"]},{"id":"IN-MAL-2026-013492","import_time":"2026-08-05T07:06:50.269764986Z","modified_time":"2026-08-05T06:30:59Z","sha256":"c3cc136bf24aae3ac0f5ade93dc603b8f50764d13af00ba3216a48b23e0381c8","source":"amazon-inspector","versions":["0.3.17"]},{"id":"IN-MAL-2026-013616","import_time":"2026-08-05T07:06:56.549612528Z","modified_time":"2026-08-05T06:49:13Z","sha256":"dc61408af4c076ac251ca643a13ebd29fc6ff2b661414e278429f23fd87a14b2","source":"amazon-inspector","versions":["0.3.15"]},{"id":"IN-MAL-2026-013583","import_time":"2026-08-05T07:06:55.035760457Z","modified_time":"2026-08-05T06:44:18Z","sha256":"e5a7917a241ec4bdbaf5e017073cb4d8dbcdd703abb9a96e868103790a123448","source":"amazon-inspector","versions":["0.3.3"]},{"id":"IN-MAL-2026-013665","import_time":"2026-08-05T07:06:58.626810698Z","modified_time":"2026-08-05T06:56:26Z","sha256":"f22d56c6c06a5424dfc384232b4a3dbf52ec511dd7263a86a7eb3b095a63385b","source":"amazon-inspector","versions":["0.3.6"]},{"id":"IN-MAL-2026-013531","import_time":"2026-08-05T07:06:52.365764248Z","modified_time":"2026-08-05T06:36:43Z","sha256":"7cc11e747cbfd4549899ab06c3dd1a9a190a4c838e1776503553176fa56e2d68","source":"amazon-inspector","versions":["0.3.10"]},{"id":"IN-MAL-2026-013800","import_time":"2026-08-05T08:22:07.219386872Z","modified_time":"2026-08-05T07:16:45Z","sha256":"bfa06aa1bfa1dace08fc1b68c01d2d6e7b1ed5d212cbfcb854f7f7a163954e36","source":"amazon-inspector","versions":["0.3.11"]},{"id":"IN-MAL-2026-013789","import_time":"2026-08-05T08:22:06.461350241Z","modified_time":"2026-08-05T07:15:11Z","sha256":"e83114abf494b9146da4f27ee82f22e03dcd6a34d609444f147f66159c9a3a32","source":"amazon-inspector","versions":["0.3.14"]},{"id":"IN-MAL-2026-014089","import_time":"2026-08-05T08:22:28.02700826Z","modified_time":"2026-08-05T07:59:35Z","sha256":"3bb2d7f7e63a226ab89d1c277845c0699817e8966df0340519f8a6021b79e313","source":"amazon-inspector","versions":["0.3.4"]},{"id":"IN-MAL-2026-013790","import_time":"2026-08-05T08:22:06.575910951Z","modified_time":"2026-08-05T07:15:22Z","sha256":"3d42250efef9105d30e8d60e7599429d8ed6a7f9f0005c26f976a4deee52ae32","source":"amazon-inspector","versions":["0.3.13"]},{"id":"IN-MAL-2026-014225","import_time":"2026-08-05T08:22:37.660263379Z","modified_time":"2026-08-05T08:19:29Z","sha256":"63b42395027759375b53d8e4f6d4b2f30d4366b4c3b546022ea2ef357e99fd5c","source":"amazon-inspector","versions":["0.3.1"]},{"id":"IN-MAL-2026-013911","import_time":"2026-08-05T08:22:15.545681775Z","modified_time":"2026-08-05T07:33:08Z","sha256":"63f271da0a69c6ad39749cffc9cf5c3d59d4e71eb8124425cfe3053036514c0b","source":"amazon-inspector","versions":["0.3.9"]},{"id":"IN-MAL-2026-013766","import_time":"2026-08-05T08:22:04.890985523Z","modified_time":"2026-08-05T07:11:48Z","sha256":"986c43bb4406559fe0f283e2c8041333cf07c98d611748c9551f2a961953221b","source":"amazon-inspector","versions":["0.3.2"]},{"id":"IN-MAL-2026-014092","import_time":"2026-08-05T08:22:28.21009437Z","modified_time":"2026-08-05T08:00:00Z","sha256":"a01284dac37fc11def8efa6438d3838c968a2425ff8d311a497b7cca58a3a481","source":"amazon-inspector","versions":["0.3.5"]}]},"credits":[{"name":"Aikido Security","contact":["https://www.aikido.dev"],"type":"FINDER"},{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"},{"name":"Socket Threat Research Team","contact":["https://socket.dev"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0