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

目标: 1000 元 · 已筹: 1359 元

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

setka-editor

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

Summary

Malicious code in setka-editor (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsetka-editor*
npmsetka-editor999.0.0
npmsetka-editor999.9.9
npmsetka-editor999.99.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-23T07:35:01Z","published":"2026-06-16T02:14:53Z","schema_version":"1.7.4","id":"MAL-2026-5859","aliases":["GHSA-4626-p8q4-554f"],"summary":"Malicious code in setka-editor (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a9dd5cda5d5a0925c139a36f0ea4c69b96052ff203d7dc365ac119408ba76069)\npackage.json registers both `preinstall` and `postinstall` lifecycle hooks that run `node callback.js`, which executes automatically on `npm install`. callback.js collects installer-side identity and environment data — username, uid/gid, homedir, hostname, platform, cwd, local network interfaces, external IP via api.ipify.org, Node version, and CI/secret-presence flags (AWS_ACCESS_KEY_ID, GITHUB_TOKEN, NPM_TOKEN, DOCKER_PASSWORD) — and POSTs the result to a hardcoded Discord webhook (`https://discord.com/api/webhooks/1516163806559076442/...`). A DNS-based exfiltration fallback is also implemented. The package self-identifies as a dependency-confusion PoC and is published at version 999.0.0 to outrank private-registry packages of the same name; any build pipeline that resolves `setka-editor` from the public npm registry will execute the callback and leak the listed data. Regardless of stated research intent, the install-time exfiltration of installer host data and CI secret-presence flags to an attacker-controlled Discord endpoint is a real supply-chain attack against any pipeline that resolves this name.\n\n## Source: ghsa-malware (6fb29ab46c42c9962ff0c7b312d2a096be780a465764991d1861ab79fecf200a)\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":"setka-editor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["999.0.0","999.99.99","999.9.9"],"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"}],"indicators":{"evidence_files":[{"path":"callback.js","sha256":"58f088e7a9bdfcc0fce3475ad08d6b964fe704c4ef93d7a3b094fcd5db998c7c","tlsh":"2e12c6a556b1561005e347a02a1fa416327af1673756deb0bbdc43182fc1b3c93f2eba"},{"path":"package.json","sha256":"d04048417cc50a5cfc305df0200164875ee12d453ebf97529eed394048bde59a","tlsh":"bae0682058155e733cd0ceeb012692592420cd07141c3d0c3b970298935eb775abb6ae"}],"package_integrity":[{"filename":"setka-editor-999.0.0.tgz","hashes":{"sha1":"6effd8fbbd258b71201571fade147b16c5a2a289","sha512_sri":"sha512-nR2hWu01oGWBZYrxY6gvi4ArsN2i/h2GRb3MhrKWnJ5yq3hgSbLl8iVesNf8IoX252LqeLtU4wxbjx0ihxMHag=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/setka-editor/v/999.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/setka-editor/v/999.99.99"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/setka-editor/v/999.9.9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4626-p8q4-554f"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"a9dd5cda5d5a0925c139a36f0ea4c69b96052ff203d7dc365ac119408ba76069","import_time":"2026-06-16T02:23:12.169676039Z","id":"IN-MAL-2026-006740","modified_time":"2026-06-16T02:14:53Z","versions":["999.0.0"]},{"source":"amazon-inspector","sha256":"349eadfbed87fb776d89d65217a281f4d259dcddfbd23a1fa087fc206bb2551a","import_time":"2026-06-22T16:36:58.368377006Z","id":"IN-MAL-2026-007104","modified_time":"2026-06-22T16:26:26Z","versions":["999.99.99"]},{"source":"amazon-inspector","sha256":"f3fb9da9a52ae56ec86c3669e188d366e44f02d4c9b278d84ce6c015d4c3ee2a","import_time":"2026-06-22T16:36:58.44309686Z","id":"IN-MAL-2026-007105","modified_time":"2026-06-22T16:26:37Z","versions":["999.9.9"]},{"source":"ghsa-malware","sha256":"6fb29ab46c42c9962ff0c7b312d2a096be780a465764991d1861ab79fecf200a","import_time":"2026-06-23T07:33:18.907579932Z","id":"GHSA-4626-p8q4-554f","modified_time":"2026-06-23T06:10:52Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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