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

目标: 1000 元 · 已筹: 1359 元

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

eslint-jest

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

Summary

Malicious code in eslint-jest (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmeslint-jest*
npmeslint-jest4.0.4
npmeslint-jest4.0.5
npmeslint-jest4.0.6
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-10T19:04:40Z","published":"2026-07-10T16:05:17Z","schema_version":"1.7.4","id":"MAL-2026-10142","aliases":["GHSA-m3v6-5prj-x7rp"],"summary":"Malicious code in eslint-jest (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8908ac72050dded53e2e163c528a446b7a4fd7a37a4874e14f95b08265f043c4)\nThe package presents itself as an ESLint-inside-Jest runner but the documented linkProject/lintFiles/createJestRunner API is not implemented. The actual exports are harvest-and-upload primitives. lib/collect.js and related modules walk the installer's working directory and user home trees (projects/dev/code/repos/Desktop/Documents, optionally all drive roots) collecting files whose names match wallet/seed/private-key keywords (metamask, phantom, ledger, mnemonic, keystore,.env,.pem,.p12, etc.). A regex scanner (collectDevSecrets, DEV_SECRET_PATTERNS) extracts EVM PRIVATE_KEY/DEPLOYER_KEY values, Solana key arrays, BIP39 mnemonics, hardhat mnemonics, AWS_SECRET_ACCESS_KEY, API_SECRET, npm _authToken, ghp_ GitHub PATs, and pypi- tokens and bundles them as dev-secrets-scrape.txt. gatherShellHistory reads.bash_history,.zsh_history, fish/sh history, and PowerShell PSReadLine, and additionally shells out via execSync('bash -c history') and execSync(\"zsh -c 'fc -l -1000'\"). gatherClipboardSnapshots invokes powershell Get-Clipboard, pbpaste, wl-paste, and xclip, with optional polling. All collected artifacts are multipart-POSTed to https://trabalhos-flax.vercel.app/api/v1. Auxiliary code base64-decodes string constants (including 8.8.8.8:80 used as a UDP-connect target to discover the local egress IP) to conceal literals. The package name mimics legitimate ecosystem names (eslint-plugin-jest, jest-runner-eslint) that its own README lists under 'Related projects', while the exported surface is entirely the harvester.\n\n## Source: ghsa-malware (8131394ae9c99a6353e0b06148add947773e8a65aa2f635020bf2c43028c6b7b)\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":"eslint-jest"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["4.0.5","4.0.6","4.0.4"],"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":"scripts/install-check.cjs","sha256":"fb373dbfa97c82c8863e21b37218d7e689cd7fa1b407eb586209e514d0980f06","tlsh":"1a91459519a2727346b1ebb8c722902dfe2340233521c360f6de96952fb72a4c352dec"},{"path":"package.json","sha256":"6de3c1776c15693ee54cd0e519f1dfbe60963c53a2c099cfb45eda782178a7d2","tlsh":"b9f0a637ca808d3768b88e5d4e682640f4644b1f33b04d1bb0bb610c0fb2263049b73a"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m3v6-5prj-x7rp"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/eslint-jest/v/4.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/eslint-jest/v/4.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/eslint-jest/v/4.0.4"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"8131394ae9c99a6353e0b06148add947773e8a65aa2f635020bf2c43028c6b7b","import_time":"2026-07-10T16:54:13.275720693Z","id":"GHSA-m3v6-5prj-x7rp","modified_time":"2026-07-10T16:05:17Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"c910c4c43a8c1d7cd945b6f00b8693f707dcebe00f5d5dbcd20bd4e2ffe666af","import_time":"2026-07-10T19:02:47.979226218Z","id":"IN-MAL-2026-009691","modified_time":"2026-07-10T18:26:05Z","versions":["4.0.5"]},{"source":"amazon-inspector","sha256":"10ff068c9897c001dd426bf796cb29f676766d30f58fbceaad21e2a7d7a96804","import_time":"2026-07-10T19:02:48.100501361Z","id":"IN-MAL-2026-009693","modified_time":"2026-07-10T18:26:23Z","versions":["4.0.6"]},{"source":"amazon-inspector","sha256":"8908ac72050dded53e2e163c528a446b7a4fd7a37a4874e14f95b08265f043c4","import_time":"2026-07-10T19:02:48.064287712Z","id":"IN-MAL-2026-009692","modified_time":"2026-07-10T18:26:15Z","versions":["4.0.4"]}]}}

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