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

Gws Tasks Skill 安全审计

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

Google Tasks: Manage task lists and tasks.

第三方安全检查结论

先别安装或运行

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

删除任务列表或已分配任务会连带删除 Docs 或 Chat Spaces 中的原始任务

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

该 Skill 暴露的删除方法并不总是只影响 Google Tasks 中当前看到的对象。删除含有已分配任务的列表,或直接删除已分配任务,会同时删除分配界面中的原始任务。

为什么需要注意

用户可能在以为只清理一个任务列表或副本时,永久丢失 Docs 或 Chat Spaces 中关联的原始任务,影响其他参与者依赖的工作记录。

源码明确说明:删除包含已分配任务的任务列表,或删除已分配任务,会同时删除 Docs、Chat Spaces 等分配界面中的原始任务。因此,当用户授权这类删除操作时,影响可能超出 Google Tasks 当前对象。用户可要求执行前列出关联任务及受影响界面,并对删除操作进行逐次确认。

SKILL.md:26来自说明文档打开原文件
  - `delete` — Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.  - `get` — Returns the authenticated user's specified task list.
查看另外 1 个位置
SKILL.md:36来自说明文档打开原文件
  - `clear` — Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.  - `delete` — Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there.  - `get` — Returns the specified task.
中风险

缺少共享规则时会执行生成命令并创建相邻 Skill 文件

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

这是一个生效的前置指令:若共享 Skill 缺失,代理应运行 `gws generate-skills` 创建它。提供的源码没有展示该生成器还会写入哪些内容,也没有要求执行前预览或确认。

为什么需要注意

调用 Skill 可能在原任务之外修改本地 Skill 文件;新生成的认证与安全指令还会影响代理后续如何操作 Google 账户。

这段证据能说明什么

这是生效的条件指令:相邻共享 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.
会不会绕过安全保护?检查是否跳过网站安全验证、开放过多文件权限,或取消操作前的确认。未发现风险
会不会误导 AI 或隐藏内容?检查工作说明是否要求 AI 忽略你的指令、干扰检查结果,或夹带看不见的文字。未发现风险
会不会偷偷改推广链接或收款方?检查是否强制替换推广链接或收款对象,同时要求隐瞒更改。未发现风险

Skill 逻辑拆解

2 个说明模块

该 Skill 是 Google Tasks 命令行接口的说明文档,要求代理使用 `gws tasks` 操作任务列表和任务,并在调用 API 前查看方法参数。

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

身份验证、全局参数和安全规则不在所提供源码中;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.

文档明确列出读取、创建、更新、移动、清理和删除操作,但没有看到自动选择或执行任何具体操作的工作流。

查看原文
SKILL.md:24来自说明文档打开原文件
### tasklists  - `delete` — Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.  - `get` — Returns the authenticated user's specified task list.  - `insert` — Creates a new task list and adds it to the authenticated user's task lists. A user can have up to 2000 lists at a time.  - `list` — Returns all the authenticated user's task lists. A user can have up to 2000 lists at a time.  - `patch` — Updates the authenticated user's specified task list. This method supports patch semantics.  - `update` — Updates the authenticated user's specified task list.
SKILL.md:35来自说明文档打开原文件
  - `clear` — Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.  - `delete` — Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there.  - `get` — Returns the specified task.  - `insert` — Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted from Tasks Public API; they can only be created by assigning them from Docs or Chat Spaces. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.  - `list` — Returns all tasks in the specified task list. Doesn't return assigned tasks by default (from Docs, Chat Spaces). A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.  - `move` — Moves the specified task to another position in the destination task list. If the destination list is not specified, the task is moved within its current list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task.  - `patch` — Updates the specified task. This method supports patch semantics.  - `update` — Updates the specified task.
从这里开始 · 工作说明SKILL.md
gws-tasks
连线表示工作说明包含的模块,不是实际运行顺序。点击模块可查看原文。
文件与检查记录1 个文件

检查范围与遗漏

逐文件查看涉及的内容

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

  • SKILL.md已纳入全文

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

  • SKILL.md工作说明

代码和说明中提到的操作

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