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

目标: 1000 元 · 已筹: 1359 元

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

@antv/g-plugin-canvas-path-generator

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

Summary

Malicious code in @antv/g-plugin-canvas-path-generator (npm)

凭据/密钥窃取远程访问后门文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
61,623
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@antv/g-plugin-canvas-path-generator2.2.26
npm@antv/g-plugin-canvas-path-generator2.3.26
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-19T17:52:41Z","published":"2026-05-19T00:00:00Z","schema_version":"1.7.4","id":"MAL-2026-3935","aliases":["GHSA-6h8x-6x3x-f6mf"],"summary":"Malicious code in @antv/g-plugin-canvas-path-generator (npm)","details":"Part of the **Mini Shai-Hulud** supply chain attack campaign in which a threat actor compromised the npm account `atool` and published 631 malicious versions across 314 npm packages in an automated 22-minute burst. Each malicious version injects a `preinstall` hook that executes a 498KB obfuscated Bun script, using the GitHub API as a covert exfiltration channel. Credentials are committed to attacker-controlled repositories following Dune-themed naming patterns (e.g., `harkonnen-melange-742`). Stolen data includes AWS keys, GitHub PATs, npm tokens, GCP service accounts, Azure credentials, Kubernetes service account tokens, SSH keys, Docker auth configs, database connection strings, Stripe keys, and Slack tokens. Malicious versions also establish persistence via CI/CD workflow injection (a GitHub Actions workflow named `Run Copilot` dumps all secrets via `toJSON(secrets)`), AI agent session hooks, and a system daemon named `kitty-monitor`.\n\nThis specific package (`@antv/g-plugin-canvas-path-generator`) was modified to include a malicious `preinstall` hook executing the obfuscated Bun payload.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (341c00b8bee0f5806326f3e44c8e719802055c5dbe01013fa1858b2aff799f83)\nThe package @antv/g-plugin-canvas-path-generator was found to contain malicious code.\n\n## Source: ghsa-malware (54ce94e486a744c0f9ed57859c006d336c4e4265006bf1d8c09968d9db3a7648)\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\n## Source: google-open-source-security (847ef6b381d410bf176f7414a6f0fbbcf46a5f39b6d9011e126b279bd2d781df)\nThis package was compromised as part of the ongoing \"Mini Shai-Hulud is back\" worm by the TeamPCP threat actor.\n\nThe package will steal credentials and then propogate it to every package it has access to. The package also attempts to remain persistent.\n","affected":[{"package":{"ecosystem":"npm","name":"@antv/g-plugin-canvas-path-generator"},"versions":["2.2.26","2.3.26"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"references":[{"type":"REPORT","url":"https://safedep.io/mini-shai-hulud-strikes-again-314-npm-packages-compromised/"},{"type":"ARTICLE","url":"https://socket.dev/blog/antv-packages-compromised"},{"type":"ARTICLE","url":"https://safedep.io/mini-shai-hulud-strikes-again-314-npm-packages-compromised/"},{"type":"ARTICLE","url":"https://opensourcemalware.com/blog/teampcp-compromises-npm-maintainer-with-over-540-packages"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6h8x-6x3x-f6mf"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]},{"name":"SafeDep","type":"FINDER","contact":["https://safedep.io"]}],"database_specific":{"malicious-packages-origins":[{"source":"google-open-source-security","sha256":"847ef6b381d410bf176f7414a6f0fbbcf46a5f39b6d9011e126b279bd2d781df","import_time":"2026-05-19T05:55:55.089101Z","modified_time":"2026-05-19T05:36:35Z","versions":["2.2.26","2.3.26"]},{"source":"ghsa-malware","sha256":"54ce94e486a744c0f9ed57859c006d336c4e4265006bf1d8c09968d9db3a7648","import_time":"2026-05-19T11:23:21.207278717Z","id":"GHSA-6h8x-6x3x-f6mf","modified_time":"2026-05-19T09:31:23Z","versions":["2.3.26","2.2.26"]},{"source":"amazon-inspector","sha256":"341c00b8bee0f5806326f3e44c8e719802055c5dbe01013fa1858b2aff799f83","import_time":"2026-05-19T17:50:26.680941307Z","modified_time":"2026-05-19T16:47:48Z","versions":["2.2.26","2.3.26"]}]}}

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