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

目标: 1000 元 · 已筹: 1359 元

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

sodel-pych

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

Summary

Malicious code in sodel-pych (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
92
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsodel-pych*
npmsodel-pych1.0.121
npmsodel-pych1.0.122
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T22:04:38Z","published":"2026-06-17T13:04:18Z","schema_version":"1.7.4","id":"MAL-2026-6062","aliases":["GHSA-4cgm-w872-8q5g"],"summary":"Malicious code in sodel-pych (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c7d67bcaf42f4ef050a6b824dfbc2f711d6820f7b3b1140d211110f390e512fa)\nThe package ships several files whose names and contents suggest a non-trivial install-time and runtime footprint: a postinstall script (scripts/postinstall-agent.mjs) that performs network I/O including a ping/GET against an identifier-bearing endpoint, a relay server (dist/relayServer.js) with multiple ping invocations, a Discord relay upload module (dist/discordRelayUpload.js) combining base64 decoding with POST calls, a Hugging Face credentials module (dist/hfCredentials.js) using base64-decoded values, and a secret-scan startup audit (dist/secretScan/agentStartupAudit.js) that fetches huggingface.co endpoints. The combination of a postinstall agent, a Discord upload path, base64-encoded data in deployment defaults, and credential/secret handling is consistent with either (a) a legitimate ML/agent tooling package that talks to Hugging Face and uses Discord for notifications, or (b) a credential-relay/exfiltration tool. The evidence available here is keyword-level pattern matches without traced execution paths, so intent cannot be determined from this data alone. A human reviewer should inspect scripts/postinstall-agent.mjs to confirm what runs on `npm install`, dist/discordRelayUpload.js to confirm whether installer-side data is shipped to Discord, and dist/hfCredentials.js to confirm whose credentials are read.\n\n## Source: ghsa-malware (95b8b8f54c9c2a4fa965e4a7fe7ea9c8f8ef1b5bcdd4cc1da7354d0ce2e8842f)\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":"sodel-pych"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.121","1.0.122"],"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"}],"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":"024421a8440c0be2c52b262254c782b5d2d20b857ad7fe0943f2f637ef011013","tlsh":"0793b68a69f360324763f2bd5b5b8001b339d1077558ddd4fa9c8258af8d92883f1be9"},{"path":"dist/secretScan/agentStartupAudit.js","sha256":"185e5a9b6387d3791464f4ade86a394af49115e826ddc1cd5e206e573b0ef7eb","tlsh":"b6e2fb9a69f32432826371be5a4f5005f660b4272148e8e47a5cc299ff454b8d3f7fd8"},{"path":"dist/secretScan/contentScanner.js","sha256":"5f983523fea613c052e726cf94f86c894e72c34261a538e6e6f3999cd76191a5","tlsh":"7212824a6af320514d2330fe1b8b8500b97aa847351cdd28be9c83906f5597c9af7bdc"},{"path":"scripts/encode-deployment.mjs","sha256":"36c301a61abec8b3658aa278f9cdcdfa0edf6409f4eec68449724d68ef222ea8","tlsh":"34b1b70368e9947041fee3d25953b90b7afdf7153302acc5766e46b90b6bc31026be0a"},{"path":"scripts/postinstall-agent.mjs","sha256":"f637df68b8c097e238ae81473a6a5c3f4ace636044356f7dbb01fef6ca5f579c","tlsh":"1d92d88ce6e71a7606a1e79d7a1f150267a0d1070648e4b4f0dd82887f2d13d83b7ebe"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4cgm-w872-8q5g"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sodel-pych/v/1.0.121"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sodel-pych/v/1.0.122"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"95b8b8f54c9c2a4fa965e4a7fe7ea9c8f8ef1b5bcdd4cc1da7354d0ce2e8842f","import_time":"2026-06-17T13:31:49.218315759Z","id":"GHSA-4cgm-w872-8q5g","modified_time":"2026-06-17T13:04:19Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"c7d67bcaf42f4ef050a6b824dfbc2f711d6820f7b3b1140d211110f390e512fa","import_time":"2026-07-09T22:02:32.028873871Z","id":"IN-MAL-2026-009441","modified_time":"2026-07-09T21:56:14Z","versions":["1.0.121"]},{"source":"amazon-inspector","sha256":"e4271fff06c918ff0843a3ecbe8b91ef905d89625bde23a47c44d0ca6f3a829d","import_time":"2026-07-09T22:02:32.096371311Z","id":"IN-MAL-2026-009442","modified_time":"2026-07-09T21:56:26Z","versions":["1.0.122"]}]}}

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