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

目标: 1000 元 · 已筹: 1359 元

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

eslint-config-compact-base

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

Summary

Malicious code in eslint-config-compact-base (npm)

凭据/密钥窃取
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0archived——VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmeslint-config-compact-base*
npmeslint-config-compact-base1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17157","published":"2026-09-24T13:17:49Z","modified":"2026-10-12T13:49:15.919496329Z","aliases":["GHSA-gx7g-jjf6-c7jg"],"summary":"Malicious code in eslint-config-compact-base (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dbc01e3a8316b2d4e11b34a9c8cbe1cf5bd2af83a6a70052e40a22b54f13f78b)\nindex.js executes on module load and collects host reconnaissance data — os.platform(), os.hostname(), os.userInfo().username, architecture, Node version, current working directory — together with CI-context environment variables including CI, RUNNER_NAME, and GITHUB_REPOSITORY. The collected values are serialized as query-string parameters and sent via https.get to the hardcoded endpoint https://cbrsuo9293.execute-api.us-east-1.amazonaws.com/c. The behavior fires unconditionally on require(), so any build, install, or CI job that pulls in this ESLint config beacons its host identity and repository name to the attacker-controlled AWS API Gateway. This network activity has no relationship to the package's advertised purpose as an ESLint configuration.\n\n## Source: ghsa-malware (bb38df9decede154ba66b91613d2ab06bd1f94793f78fb7519da2a334a0a46be)\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":"eslint-config-compact-base","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["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"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"a87b6a34e6c9edb4a7c0223eaa3687f6d253b2e3bf68aa3548b60f362d200f51","tlsh":"7101f8f2aa9c483a21d63200c40f000aead7d63309c8f2b05a2a926c6f3493613b1378"}],"package_integrity":[{"filename":"eslint-config-compact-base-1.0.0.tgz","hashes":{"sha1":"c518a6545d4699ac8e9c12aa4611bd46000c4123","sha512_sri":"sha512-28zvkl5Nc4U5PXk/dU2XKYSi0mtCVV03MOS05Uf2ueKRhXm4KPccfYqCRL48CCGuw32bqbcSQJIL12Nvr43Iuw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/eslint-config-compact-base/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gx7g-jjf6-c7jg"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020511","import_time":"2026-09-24T13:18:04.716839408Z","modified_time":"2026-09-24T13:17:49Z","sha256":"dbc01e3a8316b2d4e11b34a9c8cbe1cf5bd2af83a6a70052e40a22b54f13f78b","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-gx7g-jjf6-c7jg","import_time":"2026-10-12T13:47:27.086488936Z","modified_time":"2026-10-12T13:01:52Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"bb38df9decede154ba66b91613d2ab06bd1f94793f78fb7519da2a334a0a46be","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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