扫描报告
20 /100
auto-free-banana
Google Flow UI客户端 - 通过Chrome CDP自动化在labs.google/fx生成图像
Google Flow UI自动化工具,通过Chrome CDP实现图像生成。代码结构清晰,凭证管理规范,无恶意行为迹象。主要风险来自CDP Runtime.evaluate的固有灵活性,但与声明的UI自动化目的相符。
可以安装
可用。确认执行环境为Chrome CDP沙箱内,风险可控。
安全发现 2 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 低危 | CDP Runtime.evaluate固有灵活性 代码执行 | scripts/flow-webapi/client.ts:120 |
| 提示 | OAuth token本地存储 凭证窃取 | scripts/flow-webapi/utils/cookie-file.ts:27 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | WRITE | ✓ 一致 | SKILL.md: Cookie文件读写 |
| 网络访问 | READ | READ | ✓ 一致 | SKILL.md: labs.google/fx |
| 命令执行 | WRITE | WRITE | ✓ 一致 | SKILL.md: Bun/npx执行、Chrome启动 |
| 浏览器 | READ | READ | ✓ 一致 | SKILL.md: Chrome CDP UI自动化 |
| 环境变量 | READ | READ | ✓ 一致 | SKILL.md: FLOW_WEB_PROXY等环境变量 |
6 项发现
中危 外部 URL 外部 URL
https://labs.google/fx/ SKILL.md:162 中危 外部 URL 外部 URL
https://labs.google/fx/zh/tools/flow scripts/flow-webapi/client.ts:83 中危 外部 URL 外部 URL
https://labs.google/fx/zh/tools/flow/project/$ scripts/flow-webapi/client.ts:174 中危 外部 URL 外部 URL
https://labs.google/fx/api/auth/session scripts/flow-webapi/utils/get-auth-token.ts:15 中危 外部 URL 外部 URL
https://labs.google/ scripts/flow-webapi/utils/load-browser-cookies.ts:342 中危 外部 URL 外部 URL
https://accounts.google.com/ scripts/flow-webapi/utils/load-browser-cookies.ts:342 目录结构
15 文件 · 58.4 KB · 1811 行 TypeScript 14f · 1529L
Markdown 1f · 282L
├─
▾
scripts
│ ├─
▾
flow-webapi
│ │ ├─
▾
types
│ │ │ ├─
index.ts
TypeScript
│ │ │ └─
project.ts
TypeScript
│ │ ├─
▾
utils
│ │ │ ├─
cookie-file.ts
TypeScript
│ │ │ ├─
get-auth-token.ts
⚠
TypeScript
│ │ │ ├─
http.ts
TypeScript
│ │ │ ├─
index.ts
TypeScript
│ │ │ ├─
load-browser-cookies.ts
TypeScript
│ │ │ ├─
logger.ts
TypeScript
│ │ │ └─
paths.ts
TypeScript
│ │ ├─
client.ts
TypeScript
│ │ ├─
constants.ts
TypeScript
│ │ ├─
exceptions.ts
TypeScript
│ │ └─
index.ts
TypeScript
│ └─
main.ts
TypeScript
└─
SKILL.md
Markdown
安全亮点
✓ 文档与代码行为高度一致,无阴影功能
✓ 网络请求仅限Google官方域名(labs.google/fx, accounts.google.com)
✓ 凭证存储本地化,无外传机制
✓ 使用Bun原生fetch,无第三方HTTP库
✓ consent机制要求用户明确同意
✓ 无base64编码执行、eval滥用
✓ 无远程脚本下载/执行
✓ WSL路径转换使用wslpath而非字符串拼接