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

目标: 1000 元 · 已筹: 1359 元

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

gpu-accelerator

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

Summary

Malicious code in gpu-accelerator (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
12
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmgpu-accelerator*
npmgpu-accelerator1.4.2
npmgpu-accelerator1.4.3
npmgpu-accelerator1.4.4
npmgpu-accelerator1.4.5
npmgpu-accelerator1.4.6
npmgpu-accelerator1.4.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-15T08:52:55Z","published":"2026-06-17T04:26:18Z","schema_version":"1.7.4","id":"MAL-2026-5980","aliases":["GHSA-qc67-wjjh-qpcv"],"summary":"Malicious code in gpu-accelerator (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ab0d6b253674f5eef505fbffb76003d2071569fd9d8abdf8993197738bb27759)\nThe package advertises itself as a PostCSS plugin for CSS hardware-acceleration hints, but its only legitimate behavior is a 3-line walkDecls that adds `will-change: transform`. When the plugin factory in lib/index.js is invoked (which happens automatically when a developer wires the plugin into their PostCSS pipeline), it reads assets/driver-shim.bin (a 55,928-byte comma-separated integer list), XOR-decodes every byte with 0xA5 to recover ~56 KB of JavaScript source, and executes that source via `vm.Script(...).runInContext(...)` with `require`, `process`, `console`, and `Buffer` exposed in the context — granting the decoded code full Node privileges including filesystem and network access. Decoding confirms the bytes are JavaScript source (recurring `function` and `require` tokens, quoted module names). Before decoding, lib/index.js:18-21 checks `process.env.CI || process.env.CONTINUOUS_INTEGRATION` and `!process.stdout.isTTY` and returns early in those cases — a deliberate sandbox-evasion gate that keeps the payload dormant on CI runners and automated scanners while firing on interactive developer workstations. The combination of (a) a cover-story package whose advertised purpose is unrelated to its actual code, (b) an XOR-obfuscated executable blob shipped as a.bin asset, (c) vm.Script execution of that blob with full Node capabilities, and (d) a CI/headless evasion gate is the canonical supply-chain attack fingerprint.\n\n## Source: ghsa-malware (ca121b8cab724cae30a7c0328dabe455c693b793c1679934c2edc027b50d3534)\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":{"ecosystem":"npm","name":"gpu-accelerator"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.4.4","1.4.6","1.4.2","1.4.7","1.4.5","1.4.3"],"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"}],"indicators":{"evidence_files":[{"path":"lib/index.js","sha256":"d0cb1d7fc7655a0d06d668210b0cf15fe78a9937cd789ed68494e3e4c079cd01","tlsh":"522111855bfaa040135764e9a13b440275aec4533006c9e4faec82e55fc7a78cbd3eec"}],"package_integrity":[{"filename":"gpu-accelerator-1.4.4.tgz","hashes":{"sha1":"2c80b9e994face45d955b9e593aa99d1c568bf97","sha512_sri":"sha512-FoCQuqBxhbsNDqm4cbeIDTvbSuG15xzhxxTvMlXwzYL0k0iT6fBDttOeVsKJcvdj3xQbPOZinBP+vjFWBcnaqA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/gpu-accelerator/v/1.4.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gpu-accelerator/v/1.4.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gpu-accelerator/v/1.4.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gpu-accelerator/v/1.4.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gpu-accelerator/v/1.4.5"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qc67-wjjh-qpcv"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gpu-accelerator/v/1.4.3"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"66902224a57ea11ec1dfb7f05ba35202d6ab70c39d101d35b68dbe5e2b3e2f5f","import_time":"2026-06-17T05:45:42.620767696Z","id":"IN-MAL-2026-006890","modified_time":"2026-06-17T04:26:28Z","versions":["1.4.4"]},{"source":"amazon-inspector","sha256":"86fe9c9369454bfb2bba18da9d8b21dee61004bd897a8cf62c0d1661bc5a2e2f","import_time":"2026-06-17T05:45:42.328507803Z","id":"IN-MAL-2026-006886","modified_time":"2026-06-17T04:26:18Z","versions":["1.4.6"]},{"source":"amazon-inspector","sha256":"9c838fde05746cf2beec757a3c2b29e9736abdca2665e639a5ae5e5870ce269d","import_time":"2026-06-17T05:45:42.514692376Z","id":"IN-MAL-2026-006888","modified_time":"2026-06-17T04:26:23Z","versions":["1.4.2"]},{"source":"amazon-inspector","sha256":"ab0d6b253674f5eef505fbffb76003d2071569fd9d8abdf8993197738bb27759","import_time":"2026-06-17T05:45:42.444485259Z","id":"IN-MAL-2026-006887","modified_time":"2026-06-17T04:26:22Z","versions":["1.4.7"]},{"source":"amazon-inspector","sha256":"cdf785e83cbfda56c6dd7bf4bfe31861d94a60757517f009215101e85b7de0c4","import_time":"2026-06-17T05:45:42.579522449Z","id":"IN-MAL-2026-006889","modified_time":"2026-06-17T04:26:23Z","versions":["1.4.5"]},{"source":"ghsa-malware","sha256":"ca121b8cab724cae30a7c0328dabe455c693b793c1679934c2edc027b50d3534","import_time":"2026-07-15T05:00:56.811731658Z","id":"GHSA-qc67-wjjh-qpcv","modified_time":"2026-07-15T03:35:58Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"7cb5234c33f14e30bee250399f352582bde70ee5f940f5763424139c19cdf707","import_time":"2026-07-15T08:51:05.285726697Z","id":"IN-MAL-2026-010636","modified_time":"2026-07-15T08:07:04Z","versions":["1.4.3"]}]}}

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