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

目标: 1000 元 · 已筹: 1359 元

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

pino-zod

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

Summary

Malicious code in pino-zod (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpino-zod*
npmpino-zod1.0.121
npmpino-zod1.0.122
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T22:04:37Z","published":"2026-06-26T05:11:13Z","schema_version":"1.7.4","id":"MAL-2026-6505","aliases":["GHSA-j7hj-qc4f-x92f"],"summary":"Malicious code in pino-zod (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (92ceffaf94fc190f70c18587857f2f0a674a9699512eec79f5cf738eefaa54ca)\nPackage advertises itself as a pino+zod logging helper but ships content that does not match that purpose: a `dist/discordRelayUpload.js` module containing POST/upload code paths and base64 buffer handling, a `dist/relayServer.js` module, a `dist/secretScan/` tree (agentStartupAudit.js, contentScanner.js) that performs fetches against huggingface.co, a `dist/hfCredentials.js` with base64 decoding, a `dist/deploymentDefaults.js` with multiple base64 buffers, and a `scripts/postinstall-agent.mjs` containing GET/ping/id patterns. The presence of a `postinstall-agent.mjs` under `scripts/` is concerning as a possible install-time agent, and the shipped relay/upload/secret-scan modules suggest behavior far outside the declared logging-library scope. However, without traced execution context confirming whether postinstall-agent.mjs is actually invoked by a lifecycle hook, where the base64 blobs decode to, and whether the Discord/HuggingFace endpoints carry installer data outward, the intent cannot be conclusively classified. Routing to human review for inspection of package.json lifecycle hooks, the contents of deploymentDefaults.js base64 payloads, and the data flow into the Discord upload and HuggingFace fetch paths.\n\n## Source: ghsa-malware (d57b4e49a62a8ca174c6c14820e5b101d042e3aea94438df19f9b12286a7cf30)\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":"pino-zod"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.122","1.0.121"],"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":"adc4f1fb07a18cd4b1d584f2f58c0c4fdaf0676c6bd02703cc9595f44e10def0","tlsh":"ed93b68a69f360324763f2bd5b5b8001b339d1077558ddd4fa9c8258af8d92883f1be9"},{"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-j7hj-qc4f-x92f"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/pino-zod/v/1.0.122"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/pino-zod/v/1.0.121"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"d57b4e49a62a8ca174c6c14820e5b101d042e3aea94438df19f9b12286a7cf30","import_time":"2026-06-26T05:41:02.345091566Z","id":"GHSA-j7hj-qc4f-x92f","modified_time":"2026-06-26T05:12:26Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"651be849896c870c1c75ee04f5456ab7100090b688832af0bc822eaea9290ad3","import_time":"2026-07-09T22:02:30.569670176Z","id":"IN-MAL-2026-009428","modified_time":"2026-07-09T21:54:29Z","versions":["1.0.122"]},{"source":"amazon-inspector","sha256":"92ceffaf94fc190f70c18587857f2f0a674a9699512eec79f5cf738eefaa54ca","import_time":"2026-07-09T22:02:31.962285852Z","id":"IN-MAL-2026-009440","modified_time":"2026-07-09T21:56:06Z","versions":["1.0.121"]}]}}

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