Chrome WebGPU 释放后使用(CWE-416)
本工具包用于围绕 CVE-2026-5281 进行安全研究和防御性验证。 已修补的 Chrome 版本:146.0.7680.178 可能存在漏洞的版本:低于 146.0.7680.178 的任何版本
在此文件夹中:
cd CVE-2026-5281
显示帮助:
python cve_2026_5281_scanner.py --help
python cve_2026_5281_scanner.py --local
JSON 输出版本:
python cve_2026_5281_scanner.py --local --json
您将看到的内容:
运行:
python cve_2026_5281_scanner.py --fleet ".\sample_fleet.csv"
所需 CSV 格式:
host,product,version
PC-01,Google Chrome,146.0.7680.165
PC-02,Google Chrome,146.0.7680.200
JSON 输出版本:
python cve_2026_5281_scanner.py --fleet ".\sample_fleet.csv" --json
单个文件:
python cve_2026_5281_scanner.py --triage ".\sample.log"
文件夹扫描:
python cve_2026_5281_scanner.py --triage "C:\path\to\logs"
显示帮助:
python cve_2026_5281_exploit.py --help
将所有 PoC 工件生成到测试文件夹中:
python cve_2026_5281_exploit.py --generate-all --output ".\_poc_output"
仅生成一种类型的工件:
python cve_2026_5281_exploit.py --html-payload --output ".\_poc_output"
python cve_2026_5281_exploit.py --detection-script --output ".\_poc_output"
python cve_2026_5281_exploit.py --server-config --output ".\_poc_output"
python cve_2026_5281_exploit.py --staged-payload --output ".\_poc_output"
python cve_2026_5281_scanner.py --local --json
如果存在漏洞,请将 Chrome 升级到 146.0.7680.178 或更高版本。
重新运行扫描器以确认已修补状态。
使用此部分生成可复现的证据,以证明您的验证是完整且可辩护的。
python cve_2026_5281_exploit.py --generate-all --output ".\poc_fixed"
python -m http.server 8080 -d ".\poc_fixed"
运行自动化浏览器测试并保存结构化输出:
python cve_2026_5281_automated_test.py --url "http://localhost:8080/exploit.html" --timeout 20 --out-json ".\evidence\vulnerable_run.json"
同时将控制台输出保存到文本日志中,供扫描器评估使用:
python cve_2026_5281_automated_test.py --url "http://localhost:8080/exploit.html" --timeout 20 *> ".\evidence\vulnerable_run.log"
升级浏览器后,重复运行并保存输出:
python cve_2026_5281_automated_test.py --url "http://localhost:8080/exploit.html" --timeout 20 --out-json ".\evidence\patched_run.json"
python cve_2026_5281_automated_test.py --url "http://localhost:8080/exploit.html" --timeout 20 *> ".\evidence\patched_run.log"
python cve_2026_5281_scanner.py --assess-claim --vuln-log ".\evidence\vulnerable_run.log" --patched-log ".\evidence\patched_run.log" --vuln-version "146.0.7680.165" --patched-version "146.0.7680.178" --json
预期评估行为:
--local --json 的本地版本审计输出.\evidence\vulnerable_run.json).\evidence\patched_run.json).log 文件)仅可在您拥有或获得明确授权测试的系统及环境中使用。