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

目标: 1000 元 · 已筹: 1359 元

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

cors-version

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

Summary

Malicious code in cors-version (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
332
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmcors-version*
npmcors-version1.0.0
npmcors-version1.0.1
npmcors-version1.0.2
npmcors-version1.0.3
npmcors-version1.0.4
npmcors-version1.0.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12026","published":"2026-08-04T17:06:48Z","modified":"2026-08-05T09:30:29.408489706Z","aliases":["GHSA-2hwp-7m6r-hgjg"],"summary":"Malicious code in cors-version (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (90e391c8883796e10e6d74a96311f18f2a083b2745a6bd6cae8a3d7acc61d277)\nThe CommonJS entry src/index.cjs exports getPlugin(), which performs an HTTPS GET to the hardcoded host astonishing-torrone-ffb31e.netlify.app with TLS verification disabled (rejectUnauthorized: false) and passes the response body directly to new Function(..., require)(require), executing the retrieved JavaScript inside the caller's Node.js process with full require access. The package advertises itself as a zero-dependency SVG utility library and its ESM sibling src/index.mjs does not expose getPlugin, so the remote loader is only present in the CJS build and is unrelated to any declared functionality. Any consumer that imports the package and invokes getPlugin() — or downstream tooling that resolves plugin factories by name — will fetch and run attacker-controlled JavaScript, and the disabled TLS check additionally exposes the fetch to MITM substitution.\n\n## Source: ghsa-malware (baf0c037ff57009bf7a5c8368b01bd5ed8bbb35a99ee3b1e02187b33982677ef)\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":"cors-version","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.2","1.0.3","1.0.5","1.0.4","1.0.1","1.0.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"}],"indicators":{"evidence_files":[{"path":"src/index.cjs","sha256":"007c5b5ee5dce319907fb7747fb9f621311d18c58d8081384d7a5d6c42308fbc","tlsh":"130274287cf364920b63709d45cb909c74b6e507305bda50ea6c49012fa87aca1f7bfd"},{"path":"package.json","sha256":"b32a6a947872f9da2cc8363eace61a5e5907e98c5755e5cc8e3c823b4ec72f7a","tlsh":"c3117200d2662e0310c9eaa16c6d4696a131880749947d22378f4a7c0fdca7f21fe2bd"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2hwp-7m6r-hgjg"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cors-version/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cors-version/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cors-version/v/1.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cors-version/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cors-version/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cors-version/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-2hwp-7m6r-hgjg","import_time":"2026-08-05T00:10:17.83351947Z","modified_time":"2026-08-04T17:06:48Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"baf0c037ff57009bf7a5c8368b01bd5ed8bbb35a99ee3b1e02187b33982677ef","source":"ghsa-malware"},{"id":"IN-MAL-2026-013610","import_time":"2026-08-05T07:06:56.34150934Z","modified_time":"2026-08-05T06:48:15Z","sha256":"31cc14c2580d133bdc90be1d3db60bb01486f84be98c52aca1277d3507118cd0","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-013606","import_time":"2026-08-05T07:06:56.115721206Z","modified_time":"2026-08-05T06:47:43Z","sha256":"f448733f684dccf061914e14adb09c6f7e9a9abee3b5cc805cdff2812514c5f3","source":"amazon-inspector","versions":["1.0.3"]},{"id":"IN-MAL-2026-014229","import_time":"2026-08-05T08:22:37.870455271Z","modified_time":"2026-08-05T08:20:02Z","sha256":"4d9c1bd40ad471426faff5570e1d85dfacd8b352f367688ad3267a0670821e77","source":"amazon-inspector","versions":["1.0.5"]},{"id":"IN-MAL-2026-014235","import_time":"2026-08-05T08:22:38.136719982Z","modified_time":"2026-08-05T08:20:54Z","sha256":"90e391c8883796e10e6d74a96311f18f2a083b2745a6bd6cae8a3d7acc61d277","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-014258","import_time":"2026-08-05T09:27:48.684967751Z","modified_time":"2026-08-05T08:24:14Z","sha256":"4f714cdd3b6cd8a7a8adb8dffbb6b1d636fb7e94b8ca889e4db1c13076983092","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-014259","import_time":"2026-08-05T09:27:48.889816382Z","modified_time":"2026-08-05T08:24:25Z","sha256":"7619862f9b5f1ee394774e9b1c1256f80c3d2e9dbab0532dcad20778f68e59cc","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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