跳转到正文
报告库
用途分类 / 其他用途

Gws Docs Skill 安全审计

作者说它能做什么(原文)

Read and write Google Docs.

第三方安全检查结论

发现安全风险

已检查文件
1
发现的风险
1
会不会运行危险命令?检查是否下载程序后直接运行、让他人远程控制电脑,或藏起要运行的命令。未发现风险
会不会泄露文件和密钥?检查是否发送含密码或密钥的文件,以及代码里是否直接写了密钥。未发现风险
会不会删除文件或一直在后台运行?检查是否大范围删除文件、改写磁盘,或设置自动启动。发现 1 项风险
中风险

缺少安全前置文件时会执行生成器并在本地创建文件

原文依据:1 处
发现了什么

技能明确要求在共享技能文件缺失时运行 `gws generate-skills`。提供的材料没有说明生成器会写入哪些路径、是否覆盖现有文件,或生成内容是否会引入新的指令。

为什么需要注意

执行后可能在本地持久创建或更新技能文件,并使后续代理遵循本次审计范围之外的认证与安全指令。现有文件是否会被覆盖无法从材料判断。

这是生效中的条件指令:当共享前置文件缺失时,技能要求运行生成命令来“创建它”。因此,使用该技能可能在本地写入文件;但现有来源没有说明具体写入路径、是否会覆盖文件或生成内容,因此不能据此断言发生了覆盖或引入恶意指令。用户可要求作者列明生成文件及覆盖策略,并在只读环境中先检查命令行为。

SKILL.md:16来自说明文档打开原文件
> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
会不会绕过安全保护?检查是否跳过网站安全验证、开放过多文件权限,或取消操作前的确认。未发现风险
会不会误导 AI 或隐藏内容?检查工作说明是否要求 AI 忽略你的指令、干扰检查结果,或夹带看不见的文字。未发现风险
会不会偷偷改推广链接或收款方?检查是否强制替换推广链接或收款对象,同时要求隐瞒更改。未发现风险

Skill 逻辑拆解

3 个说明模块

该技能是 Google Docs 命令行接口说明,公开的方法包括读取文档、创建空白文档,以及批量修改文档。批量修改会先验证全部请求,任一请求无效时整体不应用。

查看原文
SKILL.md:32来自说明文档打开原文件
  - `batchUpdate` — Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.  - `create` — Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.  - `get` — Gets the latest version of the specified document.

实际调用前,技能要求先查看命令帮助和方法模式,再据此构造参数及 JSON;这有助于确认接口要求,但并未规定如何选择或核验目标文档。

查看原文
SKILL.md:38来自说明文档打开原文件
Before calling any API method, inspect it:```bash# Browse resources and methodsgws docs --help# Inspect a method's required params, types, and defaultsgws schema docs.<resource>.<method>```Use `gws schema` output to build your `--params` and `--json` flags.

认证、全局参数和安全规则不在所提供的技能中,而是交由相邻的共享技能文件定义。因此,仅凭本次材料无法核验令牌权限、账号选择或安全限制。

查看原文
SKILL.md:16来自说明文档打开原文件
> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
从这里开始 · 工作说明SKILL.md
gws-docs
连线表示工作说明包含的模块,不是实际运行顺序。点击模块可查看原文。
文件与检查记录1 个文件

检查范围与遗漏

逐文件查看涉及的内容

下方列出本次涉及的原文范围;纳入检查不代表已查清所有问题。

  • SKILL.md已纳入全文

这份报告只针对上方版本。我们看了拿到的代码和说明文件,没有实际运行 Skill,也没有检查它另外安装的软件包。因此,这不是“保证安全”的承诺;换了版本或使用环境,结果也可能不同。

  • SKILL.md工作说明

代码和说明中提到的操作

运行命令
SKILL.md:18来自说明文档打开原文件
```bashgws docs <resource> <method> [flags]
SKILL.md:40来自说明文档打开原文件
```bash# Browse resources and methods
连接外部网站
SKILL.md:32来自说明文档打开原文件
  - `batchUpdate` — Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.  - `create` — Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.
读取了多少行
50
文件校验值(用于核对版本)
5c3f4d854af7d428f681d7c2d3f37da99d859b932acd85f73c55d2fda6526615