web-access
Warn
Audited by Socket on Sep 19, 2026
2 alerts found:
Securityx2Securityscripts/cdp-proxy.mjs
MEDIUMSecurityMEDIUM
scripts/cdp-proxy.mjs
代码看起来是一个本地 Chrome 自动化/CDP 代理,没有明显恶意载荷、凭据窃取、反向 shell 或外部数据外传行为。但它提供未认证的高权限浏览器控制接口,并包含任意 JavaScript 执行、任意导航、文件上传和未限制截图写入能力。作为仅供受信任本机使用的开发工具,其行为具有合理用途;在不受信任环境中运行会产生严重安全风险。应增加认证与 CSRF 防护,限制允许的目标 URL、表达式和文件目录,并严格校验 screenshot 路径。
Confidence: 98%Severity: 88%
Securityreferences/cdp-api.md
MEDIUMSecurityMEDIUM
references/cdp-api.md
The fragment documents a powerful browser-control API rather than malware. Its primary security concern is the apparent unauthenticated exposure of arbitrary JavaScript execution, navigation, local-file upload, screenshot writing, and tab control. Restrict the service to a protected loopback interface and add strong authentication and authorization before use in a shared or untrusted environment. No direct malicious behavior is demonstrated by the documentation itself.
Confidence: 97%Severity: 72%
Audit Metadata