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

Gws Forms Skill 安全审计

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

Read and write Google Forms.

第三方安全检查结论

发现安全风险

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

缺少共享前置文件时,Skill 指示运行生成命令并在工作区外的相邻位置创建文件

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

实时指令要求先读取 `../gws-shared/SKILL.md`;如果不存在,就运行 `gws generate-skills`。这会让一个仅为使用 Forms 的请求触发未展示其写入范围和内容的文件生成操作。提供的来源不包含生成器实现或生成结果,因此无法核实它会创建或覆盖哪些文件。

为什么需要注意

执行条件满足时,用户的文件系统可能出现持久变更;若目标位置已有相关文件,是否覆盖也无法从所给证据判断。

这段证据能说明什么

这是会执行的前置指令:共享文件缺失时运行生成命令,可能产生文件写入。但来源没有生成器实现,也未说明写入路径、是否覆盖现有文件;因此无法证实它会写到工作区外的相邻位置或损坏文件。用户可要求作者列明生成文件的准确路径与覆盖规则,并在受限目录中运行。

这项判断针对展示的代码和适用条件,不表示风险已经实际发生。
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.
会不会绕过安全保护?检查是否跳过网站安全验证、开放过多文件权限,或取消操作前的确认。发现 1 项风险
中风险

认证和安全规则由未提供、可能动态生成的外部 Skill 决定

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

该文件把认证、全局参数和安全规则委托给相邻的 `gws-shared` Skill,但该来源未随审计材料提供,并允许现场生成。由于本 Skill 具备表单写入和发布设置修改能力,外部规则可能决定使用哪些凭据、授权范围以及何时允许变更,但这些控制无法在本次材料中审查。

为什么需要注意

如果外部文件要求过宽授权或包含不安全指令,代理可能在用户无法从本 Skill 预见的条件下使用账户权限或修改表单可见性。现有证据不能证明该外部文件确实有恶意内容。

这段证据能说明什么

该 Skill 明确依赖未提供的共享文件来规定认证、全局参数和安全规则,而当前材料无法审查这些控制。它也列出了修改表单和发布设置的能力,因此共享规则可能影响凭据使用及变更授权;但没有证据表明规则不安全或会绕过授权。用户可在使用写入功能前要求提供并审计共享 Skill,且限制账号权限。

这项判断针对展示的代码和适用条件,不表示风险已经实际发生。
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.
查看另外 1 个位置
SKILL.md:26来自说明文档打开原文件
  - `batchUpdate` — Change the form with a batch of updates.  - `create` — Create a new form using the title given in the provided form message in the request. *Important:* Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.  - `get` — Get a form.  - `setPublishSettings` — Updates the publish settings of a form. Legacy forms aren't supported because they don't have the `publish_settings` field.  - `responses` — Operations on the 'responses' resource
会不会误导 AI 或隐藏内容?检查工作说明是否要求 AI 忽略你的指令、干扰检查结果,或夹带看不见的文字。未发现风险
会不会偷偷改推广链接或收款方?检查是否强制替换推广链接或收款对象,同时要求隐瞒更改。未发现风险

Skill 逻辑拆解

2 个说明模块

该 Skill 是 Google Forms 的命令行接口说明,声明可读取和写入表单,并要求使用本机的 `gws` 可执行文件。

查看原文
SKILL.md:3来自说明文档打开原文件
name: gws-formsdescription: "Read and write Google Forms."metadata:
SKILL.md:8来自说明文档打开原文件
    category: "productivity"    requires:      bins:        - gws    cliHelp: "gws forms --help"---
SKILL.md:18来自说明文档打开原文件
```bashgws forms <resource> <method> [flags]```

它列出的接口不仅能读取表单,还能批量修改表单及更改发布设置;是否实际执行这些操作取决于代理选择的方法和参数。

查看原文
SKILL.md:26来自说明文档打开原文件
  - `batchUpdate` — Change the form with a batch of updates.  - `create` — Create a new form using the title given in the provided form message in the request. *Important:* Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.  - `get` — Get a form.  - `setPublishSettings` — Updates the publish settings of a form. Legacy forms aren't supported because they don't have the `publish_settings` field.  - `responses` — Operations on the 'responses' resource  - `watches` — Operations on the 'watches' resource

该 Skill 要求在调用接口前查看命令帮助和方法架构,以据此构造参数及 JSON 请求体。

查看原文
SKILL.md:35来自说明文档打开原文件
Before calling any API method, inspect it:```bash# Browse resources and methodsgws forms --help# Inspect a method's required params, types, and defaultsgws schema forms.<resource>.<method>```Use `gws schema` output to build your `--params` and `--json` flags.
从这里开始 · 工作说明SKILL.md
gws-forms
连线表示工作说明包含的模块,不是实际运行顺序。点击模块可查看原文。
文件与检查记录1 个文件

检查范围与遗漏

逐文件查看涉及的内容

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

  • SKILL.md已纳入全文

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

  • SKILL.md工作说明

代码和说明中提到的操作

运行命令
SKILL.md:18来自说明文档打开原文件
```bashgws forms <resource> <method> [flags]
SKILL.md:37来自说明文档打开原文件
```bash# Browse resources and methods
读取了多少行
47
文件校验值(用于核对版本)
81216b3ec83c91d2212e7d860030a267358d5de76c2036c2990f45cd94dd1d26