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

目标: 1000 元 · 已筹: 1359 元

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

@zaip-ai/cli

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

Summary

Malicious code in @zaip-ai/cli (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
612
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@zaip-ai/cli6.4.0
npm@zaip-ai/cli6.5.0
npm@zaip-ai/cli7.0.0
npm@zaip-ai/cli7.1.0
npm@zaip-ai/cli7.2.0
npm@zaip-ai/cli7.3.0
npm@zaip-ai/cli7.4.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18364","published":"2026-10-28T20:37:17Z","modified":"2026-10-29T14:15:54.854456336Z","aliases":["GHSA-ffq4-h5jm-8pqr"],"summary":"Malicious code in @zaip-ai/cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0e44ea3cafd9835a85d3305b6aa9ed2f5400546938c6430c19a30cbdc5398936)\n@zaip-ai/cli@7.2.0 is a CLI package whose shipped files trigger keyword co-occurrence patterns (curl/wget/ping tokens, Buffer.from base64 decoding) without evidence of installer-side harm. The curl references in dist/services/codex-pre-tool-hook-template.test.js and dist/services/codex-pre-tool-policy-template.js appear inside test fixtures and policy templates that enumerate example command strings (including explicit placeholder hosts such as evil.test and example.com) used by a pre-tool hook/policy mechanism — the strings are policy data, not executed commands against those hosts. Buffer.from(..., 'base64').toString(...) usage in dist/services/global-codex-config.js and in a release-preparation script is ordinary base64 decoding of configuration/release data, with no eval, Function constructor, or dynamic code execution of the decoded bytes. The ping/POST/GET tokens in templates/.agents/tools/runtime/api-mcp-runtime.mjs come from an MCP runtime template describing HTTP method handling. No lifecycle scripts fetch remote code, no installer secret paths (~/.aws, ~/.ssh, ~/.npmrc, browser stores) are read, no hardcoded attacker C2 endpoint is bound to a network call, and no obfuscated destination is present.\n\n## Source: ghsa-malware (6871bd0117df69d113dc6e42ef94d417f866e24b30e2b2b0484a2cb934473443)\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":{"name":"@zaip-ai/cli","ecosystem":"npm"},"versions":["7.3.0","7.0.0","7.1.0","7.4.0","6.5.0","7.2.0","6.4.0"],"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/services/codex-pre-tool-hook-template.test.js","sha256":"23b1d4fb425490ecea41d4238d287699f8a12753a6567ab1bc4add46a0fb20f2","tlsh":"e4826513992f1d3544b2d1c9ff3790912154e0076945fc9c7aac96ac8f8f32e82b698e"},{"path":"dist/services/codex-pre-tool-policy-template.js","sha256":"6356d1673000e431ead352a980114fd3b0b0bbd4e0dddfebb51463971c25025f","tlsh":"eff1f812ae719fb40bdb46e9697200509fb14082261a7c16e25dcf38eb8f566c7b1ec7"},{"path":"dist/services/global-codex-config-migration.test.js","sha256":"27b4b5a54f929fa7e2fa6753eb68e43cf9fb13d444d8869458d87eabb4735207","tlsh":"ad82426348bfe4759ef2061c86775403db56830f2215e1907dade40daf8e24ec5b2be6"},{"path":"dist/services/global-codex-config.js","sha256":"ffa5c279450e07a29fd9548ddcdee3cb1627e483e77b49a278b96f63644c5d05","tlsh":"e962b7a605ff2821477391bd871f5012aa3a4a43310cd854fdace714bf8666cd2e2fd9"},{"path":"templates/.agents/skills/zaip-skill-github-deploy/scripts/consumer-release-preparation.mjs","sha256":"4b5f17e65570c0b44a4cd72aab5dc2662cd564a81c1a40f84d86829cbbea62a3","tlsh":"0662758154b989214aa3f27474579076b3a7801736ccec70b37e87501fef05997babac"},{"path":"templates/.agents/tools/cloud-runner.mjs","sha256":"5ee3db73d6d36c37b47c8f9466437aeba270961b4b5433a049115edebae1dbb2","tlsh":"bcd2b58520e7560106b354a9697be128b2b842036c48d895bb9cd7c22fdd0b9e37ff8d"},{"path":"templates/.agents/tools/runtime/api-mcp-runtime.mjs","sha256":"af7571c7e50d5d7e0fa79babc9b7abe5bd8be6f4389d7995e59d960da113ab31","tlsh":"3bf19448acf7145282a7907524efb017a23884173469dde4ba5c42e4bfce86c9bb7f49"}],"package_integrity":[{"filename":"cli-6.4.0.tgz","hashes":{"sha1":"ff93654416e37c1fbd06b380328d5c33345434c2","sha512_sri":"sha512-LEFXI6WcFRx52T9ehaZm4/B+QGWWSAYuvkWK6Ar9Ck463Z9M0C69ouW3gN911MVSXVEPS1IebXh5aftD+ODDZQ=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-ffq4-h5jm-8pqr"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zaip-ai/cli/v/6.4.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zaip-ai/cli/v/7.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zaip-ai/cli/v/6.5.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zaip-ai/cli/v/7.4.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zaip-ai/cli/v/7.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zaip-ai/cli/v/7.3.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zaip-ai/cli/v/7.2.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-ffq4-h5jm-8pqr","import_time":"2026-10-28T21:18:08.32481556Z","modified_time":"2026-10-28T20:40:54Z","sha256":"6871bd0117df69d113dc6e42ef94d417f866e24b30e2b2b0484a2cb934473443","source":"ghsa-malware","versions":["7.3.0","7.0.0","7.1.0","7.4.0","6.5.0","7.2.0","6.4.0"]},{"id":"IN-MAL-2026-022117","import_time":"2026-10-29T14:14:27.308583951Z","modified_time":"2026-10-29T13:51:03Z","sha256":"2712209fc8f6891e225ed01848b4321decb7f98d2d8bc79d0f6b10dc9766b1d7","source":"amazon-inspector","versions":["6.4.0"]},{"id":"IN-MAL-2026-022110","import_time":"2026-10-29T14:14:26.681900363Z","modified_time":"2026-10-29T13:50:08Z","sha256":"45f0458bd561ea88b54454f9ac2ff941f3e98ffb3ad715498aa75a0fb01e5534","source":"amazon-inspector","versions":["7.0.0"]},{"id":"IN-MAL-2026-022111","import_time":"2026-10-29T14:14:26.794916322Z","modified_time":"2026-10-29T13:50:15Z","sha256":"861d3d7318c6bfadb53b44631e8cd6f7d0d934c5fb74928a0a37b1285889303f","source":"amazon-inspector","versions":["6.5.0"]},{"id":"IN-MAL-2026-022106","import_time":"2026-10-29T14:14:26.379084377Z","modified_time":"2026-10-29T13:49:32Z","sha256":"9fb7dac2e2cca3fc9e84a9bda29e04ab16211e5d8be08c8a497ed1f44db0ad81","source":"amazon-inspector","versions":["7.4.0"]},{"id":"IN-MAL-2026-022104","import_time":"2026-10-29T14:14:26.210470347Z","modified_time":"2026-10-29T13:49:18Z","sha256":"dbf61a4e849158426533ddce967b531d2d266d337a1a8ef7d4985ad14d68487e","source":"amazon-inspector","versions":["7.1.0"]},{"id":"IN-MAL-2026-022105","import_time":"2026-10-29T14:14:26.299408292Z","modified_time":"2026-10-29T13:49:25Z","sha256":"e24938121e390afa724553ee07a42e21d35a7b50b2ae87aea5840cf10a98217c","source":"amazon-inspector","versions":["7.3.0"]},{"id":"IN-MAL-2026-022155","import_time":"2026-10-29T14:14:30.529235941Z","modified_time":"2026-10-29T13:55:55Z","sha256":"0e44ea3cafd9835a85d3305b6aa9ed2f5400546938c6430c19a30cbdc5398936","source":"amazon-inspector","versions":["7.2.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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