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

目标: 1000 元 · 已筹: 1359 元

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

websight2-p2p

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

Summary

Malicious code in websight2-p2p (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
7
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmwebsight2-p2p*
npmwebsight2-p2p1.0.0
npmwebsight2-p2p1.0.1
npmwebsight2-p2p1.0.2
npmwebsight2-p2p1.0.3
npmwebsight2-p2p1.0.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10698","published":"2026-07-16T08:13:03Z","modified":"2026-08-05T06:02:58.129067750Z","aliases":["GHSA-jqc8-qp8m-m77v"],"summary":"Malicious code in websight2-p2p (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (68f0d3e266200dd193458cccca682b6fddefd14883c02bd4bfd6f98f722690cb)\nThe package ships a single file, index.html, which is declared as the package `main`. On render, index.html fetches https://bitbucket.org/p2p-alt-public/p2p-emis/raw/main/GameWebSight with a cache-busting query string and injects the response into the page via `document.open(); document.write(html);`, executing whatever HTML/JS the remote returns. The URL is pinned to the mutable `main` branch with no commit SHA and no integrity/hash verification, so the repository owner (or anyone with write access to that Bitbucket repo) can change the executed payload at any time. The package has no npm lifecycle scripts and the `main` is HTML rather than JS, so `npm install` and `require()` are themselves inert — the fetch-and-execute path only fires when the HTML is opened in a browser, which is the package's advertised use. Author metadata is empty (`\"author\": \"\"`, empty keywords, generic ISC license, one-line description), which is unusual for a loader that proxies arbitrary remote code into a browser context.\n\n## Source: ghsa-malware (e0f4f7e738f3c8d0c67360c47bcd6bcbb6e66c15539d05ff1c5db4133b402b98)\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":"websight2-p2p","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.0","1.0.3","1.0.2","1.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"},{"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.html","sha256":"c391366239baf3b331169b52abbcca515c471d50680c45f1f6d883a1df2559f4","tlsh":"d2f02e75843a0e108ab02d7995a6f2edfb65252574439f40f5cc03571d52d27cd42bcc"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jqc8-qp8m-m77v"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/websight2-p2p/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/websight2-p2p/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/websight2-p2p/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/websight2-p2p/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/websight2-p2p/v/1.0.4"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-jqc8-qp8m-m77v","import_time":"2026-07-16T09:01:59.998439832Z","modified_time":"2026-07-16T08:13:04Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e0f4f7e738f3c8d0c67360c47bcd6bcbb6e66c15539d05ff1c5db4133b402b98","source":"ghsa-malware"},{"id":"IN-MAL-2026-011283","import_time":"2026-08-04T22:30:08.87475803Z","modified_time":"2026-08-04T21:59:01Z","sha256":"4d19478f56568d1f2f3ac49016c5369f5690d7246d32b605fef3c7e04dc0aa6b","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-013257","import_time":"2026-08-05T06:00:59.039649919Z","modified_time":"2026-08-05T05:56:55Z","sha256":"2a6b5620a4cf74d4c7df002a25e1b2dcebc5afbf86d0fdaaeed53dff34e6f65a","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-012937","import_time":"2026-08-05T06:00:21.875499871Z","modified_time":"2026-08-05T05:10:42Z","sha256":"68f0d3e266200dd193458cccca682b6fddefd14883c02bd4bfd6f98f722690cb","source":"amazon-inspector","versions":["1.0.3"]},{"id":"IN-MAL-2026-012939","import_time":"2026-08-05T06:00:22.106784156Z","modified_time":"2026-08-05T05:10:57Z","sha256":"83069a7f75950a596fe4450a9e25d8f1bd93ab0232fd44324ad54f0ed4a11b57","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-012935","import_time":"2026-08-05T06:00:21.656645074Z","modified_time":"2026-08-05T05:10:28Z","sha256":"b7809e2c8748776300f4e1b18c5d20b71aee53f4e62d06f61570b2226b5cd44b","source":"amazon-inspector","versions":["1.0.4"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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