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

目标: 1000 元 · 已筹: 1359 元

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

forge-jsxy

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

Summary

Malicious code in forge-jsxy (npm)

凭据/密钥窃取远程访问后门安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
7
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmforge-jsxy*
npmforge-jsxy1.0.103
npmforge-jsxy1.0.104
npmforge-jsxy1.0.105
npmforge-jsxy1.0.107
npmforge-jsxy1.0.108
npmforge-jsxy1.0.120
npmforge-jsxy1.0.121
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-08T19:35:38Z","published":"2026-05-06T00:00:00Z","schema_version":"1.7.4","id":"MAL-2026-3609","aliases":["GHSA-hm2h-78wx-fpxp"],"summary":"Malicious code in forge-jsxy (npm)","details":"forge-jsxy is a malicious npm package part of the same campaign as forge-jsx. It typosquats the name by appending a 'y' and carries an identical fake description ('Node.js integration layer for Autodesk Forge') to impersonate a legitimate Autodesk Forge SDK. The package is a fully-formed RAT deployed from its first published version.\n\nInstalling the package on any non-CI machine triggers a multi-stage postinstall chain (postinstall-clipboard-event.mjs, postinstall-bootstrap.mjs, postinstall-agent.mjs) that silently deploys a persistent background agent. The agent captures all keystrokes via native hooks (uiohook-napi), monitors clipboard contents, recursively scans the filesystem for .env files and shell history, steals HuggingFace credentials, and opens a WebSocket-based remote filesystem backdoor for full file browsing and exfiltration. Screenshots are captured and exfiltrated via Discord webhooks. The C2 relay URL is AES-256-GCM encrypted inside the package bundle to hide it from static analysis. Persistence is established across reboots via systemd (Linux), LaunchAgent (macOS), and Task Scheduler (Windows). CI environments (GitHub Actions, GitLab CI, Travis, CircleCI, Jenkins, TeamCity) are detected and skipped to avoid sandbox exposure.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0a0645a2d255ab04d1ce2754b77998d817d9066f86928a293eca787893e60bc3)\nPackage ships a postinstall script (scripts/postinstall-agent.mjs) and bundled runtime modules (dist/discordRelayUpload.js, dist/relayServer.js, dist/secretScan/agentStartupAudit.js, dist/hfCredentials.js, dist/deploymentDefaults.js) that include patterns commonly seen in both legitimate integrations and supply-chain attacks: base64-encoded blobs decoded via Buffer.from(..., 'base64'), HTTP POSTs, ping/network probes, and outbound fetches to huggingface.co. The naming and module shape (Discord relay upload, HuggingFace credentials, secret-scan agent startup audit, encode-deployment script, deployment defaults) is consistent with a legitimate developer-tool package that integrates with HuggingFace and Discord, but the combination of a postinstall agent script, base64-decoded deployment defaults, hardcoded credentials module, and a 'discordRelayUpload' path that performs POST requests warrants manual inspection. Without traced-code corroboration of the actual data flows (what is read from the installer's environment, where decoded blobs end up, whether postinstall-agent.mjs auto-fetches or executes remote content), the patterns alone do not establish installer-side harm versus a legitimate integration. Reviewer should specifically verify: (1) whether scripts/postinstall-agent.mjs reaches network destinations or executes fetched bytes at install, (2) what dist/deploymentDefaults.js's base64 blobs decode to and how they are used, (3) whether dist/discordRelayUpload.js POSTs caller-supplied data to a hardcoded Discord webhook (silent-relay shape) or only to user-configured destinations, (4) what dist/hfCredentials.js reads and where it sends it.\n\n## Source: ghsa-malware (e049a1e1f4b2c3aa9f933a69305352f1351bd540dfc6535da1321e962d0888cc)\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":"forge-jsxy"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.105","1.0.108","1.0.121","1.0.103","1.0.120","1.0.104","1.0.107"],"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"}],"indicators":{"evidence_files":[{"path":"dist/deploymentDefaults.js","sha256":"cbf70b0d8654138a0b4dfcb152824c85fecab500e1a5fade53c2049da4c0dc48","tlsh":"e1f16549b8e7b0100663b5f8861bc8973bdcad07260ed444b35e93956f1f831a3b76e6"},{"path":"dist/discordRelayUpload.js","sha256":"debe8ff010dd0e4bec0af85cbd8708ba345158fc103b9fe68eb12b4d68539c19","tlsh":"d4e296fab5f724311162b6698b5bd0057328b147741eeca47a8ca29c9f9c025c2f7fc6"},{"path":"dist/hfCredentials.js","sha256":"bf0091702bbc62eff2319360ab7103a33fee8f5bfad4e63aa359175285de7f49","tlsh":"cae184062ef6902001779079912be01576b0703f6ae1d5f2f69ddec9af12c768ae3dc1"},{"path":"dist/relayServer.js","sha256":"2002240f5c0a01bb1e345e4d7d205189cdef066edf46362a090b70ade0c2bbac","tlsh":"ae83a48a69f360324763f2bd5b5b8001b339d1077598ddd4fa5c8258af8d92883f1be9"},{"path":"dist/secretScan/agentStartupAudit.js","sha256":"e1d23190204d3943d8bd834f737c4d96eff9fd20c5614a627001c58f69282734","tlsh":"7ae2fa9a69f73432826371be6a4f9005f560b42b3648e4a47a1cc1d9bf454b893f7fc8"},{"path":"dist/secretScan/contentScanner.js","sha256":"5f983523fea613c052e726cf94f86c894e72c34261a538e6e6f3999cd76191a5","tlsh":"7212824a6af320514d2330fe1b8b8500b97aa847351cdd28be9c83906f5597c9af7bdc"},{"path":"scripts/encode-deployment.mjs","sha256":"36c301a61abec8b3658aa278f9cdcdfa0edf6409f4eec68449724d68ef222ea8","tlsh":"34b1b70368e9947041fee3d25953b90b7afdf7153302acc5766e46b90b6bc31026be0a"},{"path":"scripts/postinstall-agent.mjs","sha256":"a16612c8c3d480e13f244ee603ad0083c6dcfc9eae173dae0d6299a60cc1ec38","tlsh":"2892e88ce6e71a760a91e79d791f150667a0d1070648e4b4f0dd82987f2d03d83f7abe"}]}}}],"references":[{"type":"REPORT","url":"https://safedep.io/malicious-forge-jsx-npm-rat/"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hm2h-78wx-fpxp"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/forge-jsxy/v/1.0.105"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/forge-jsxy/v/1.0.108"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/forge-jsxy/v/1.0.121"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/forge-jsxy/v/1.0.103"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/forge-jsxy/v/1.0.120"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/forge-jsxy/v/1.0.104"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/forge-jsxy/v/1.0.107"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"SafeDep","type":"FINDER","contact":["https://safedep.io"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"e049a1e1f4b2c3aa9f933a69305352f1351bd540dfc6535da1321e962d0888cc","import_time":"2026-06-11T15:26:36.952343893Z","id":"GHSA-hm2h-78wx-fpxp","modified_time":"2026-06-11T14:42:49Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"94a63dfac6221da359a58832e0c4f37a4a6cae71e4f7dd5c5e8008f07cb061ea","import_time":"2026-07-08T19:33:42.608905892Z","id":"IN-MAL-2026-008187","modified_time":"2026-07-08T19:21:14Z","versions":["1.0.105"]},{"source":"amazon-inspector","sha256":"b6907024c1f7f5d8bff12bc6eabad66ae016c1da4d6cb61c854275d977b80a0c","import_time":"2026-07-08T19:33:42.844891966Z","id":"IN-MAL-2026-008189","modified_time":"2026-07-08T19:21:29Z","versions":["1.0.108"]},{"source":"amazon-inspector","sha256":"c9a97dbde2ea3236f1d96eb9df36963b0121a35519161c4933b77127620ee0fb","import_time":"2026-07-08T19:33:42.94454837Z","id":"IN-MAL-2026-008190","modified_time":"2026-07-08T19:21:37Z","versions":["1.0.121"]},{"source":"amazon-inspector","sha256":"0a0645a2d255ab04d1ce2754b77998d817d9066f86928a293eca787893e60bc3","import_time":"2026-07-08T19:33:42.754668703Z","id":"IN-MAL-2026-008188","modified_time":"2026-07-08T19:21:21Z","versions":["1.0.103"]},{"source":"amazon-inspector","sha256":"37a3a03b3312a9d82add7c4afcd3bc5056dd25920f0bdd108769c337cf95fb2c","import_time":"2026-07-08T19:33:43.118391577Z","id":"IN-MAL-2026-008192","modified_time":"2026-07-08T19:21:52Z","versions":["1.0.120"]},{"source":"amazon-inspector","sha256":"43e56f8b38500fe99531c4a75213ff02d0606ecab91be3e4b7ed1f94def855b6","import_time":"2026-07-08T19:33:42.25058098Z","id":"IN-MAL-2026-008183","modified_time":"2026-07-08T19:20:38Z","versions":["1.0.104"]},{"source":"amazon-inspector","sha256":"8305010123bbf90cd4f9d1d2905ca8344d16bd4af1dcb2bc3a13e323eca1fe93","import_time":"2026-07-08T19:33:43.036586539Z","id":"IN-MAL-2026-008191","modified_time":"2026-07-08T19:21:44Z","versions":["1.0.107"]}]}}

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