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

Recipe Create Gmail Filter Skill 安全审计

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

Create a Gmail filter to automatically label, star, or categorize incoming messages.

第三方安全检查结论

发现安全风险

已检查文件
1
发现的风险
1
会不会运行危险命令?检查是否下载程序后直接运行、让他人远程控制电脑,或藏起要运行的命令。未发现风险
会不会泄露文件和密钥?检查是否发送含密码或密钥的文件,以及代码里是否直接写了密钥。未发现风险
会不会删除文件或一直在后台运行?检查是否大范围删除文件、改写磁盘,或设置自动启动。未发现风险
会不会绕过安全保护?检查是否跳过网站安全验证、开放过多文件权限,或取消操作前的确认。未发现风险
会不会误导 AI 或隐藏内容?检查工作说明是否要求 AI 忽略你的指令、干扰检查结果,或夹带看不见的文字。未发现风险
会不会偷偷改推广链接或收款方?检查是否强制替换推广链接或收款对象,同时要求隐瞒更改。发现 1 项风险
中风险

示例过滤器会将匹配邮件移出收件箱,超出所述的标签、加星或分类行为

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

过滤器操作不仅添加标签,还删除 `INBOX` 标签,也就是自动归档来自匹配发件人的新邮件。技能简介没有说明这一步会让邮件离开收件箱。

为什么需要注意

用户可能看不到收件箱中的收据、付款通知或其他重要邮件,从而错过退款期限、付款异常或需要处理的通知。邮件通常仍保留在账户中,但可见性会降低。

技能声明的用途是给来信加标签、加星或分类,但实际创建过滤器的命令同时把 `INBOX` 加入 `removeLabelIds`。用户若直接采用该示例,来自 `receipts@example.com` 的匹配邮件会被移除收件箱(归档),可能降低可见性并导致漏看。用户可要求作者明确披露归档行为,并在不希望归档时限制操作不得移除 `INBOX`。

SKILL.md:3来自说明文档打开原文件
name: recipe-create-gmail-filterdescription: "Create a Gmail filter to automatically label, star, or categorize incoming messages."metadata:
查看另外 1 个位置
SKILL.md:26来自说明文档打开原文件
2. Create a new label: `gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}'`3. Create a filter: `gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'`4. Verify filter: `gws gmail users settings filters list --params '{"userId": "me"}' --format table`

Skill 逻辑拆解

1 个说明模块

该技能要求加载 `gws-gmail`,并通过 `gws` 命令操作当前登录用户(`userId: "me"`)的 Gmail 设置。

查看原文
SKILL.md:18来自说明文档打开原文件
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`
SKILL.md:24来自说明文档打开原文件
1. List existing labels: `gws gmail users labels list --params '{"userId": "me"}' --format table`2. Create a new label: `gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}'`

流程会创建名为 “Receipts” 的永久 Gmail 标签,然后创建并列出过滤器进行验证。过滤器中的 `LABEL_ID` 是占位符,必须替换为实际标签 ID。

查看原文
SKILL.md:25来自说明文档打开原文件
1. List existing labels: `gws gmail users labels list --params '{"userId": "me"}' --format table`2. Create a new label: `gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}'`3. Create a filter: `gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'`
SKILL.md:26来自说明文档打开原文件
2. Create a new label: `gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}'`3. Create a filter: `gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'`4. Verify filter: `gws gmail users settings filters list --params '{"userId": "me"}' --format table`
SKILL.md:27来自说明文档打开原文件
3. Create a filter: `gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'`4. Verify filter: `gws gmail users settings filters list --params '{"userId": "me"}' --format table`
从这里开始 · 工作说明SKILL.md
recipe-create-gmail-filter
连线表示工作说明包含的模块,不是实际运行顺序。点击模块可查看原文。
文件与检查记录1 个文件

检查范围与遗漏

逐文件查看涉及的内容

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

  • SKILL.md已纳入全文

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

  • SKILL.md工作说明
读取了多少行
29
文件校验值(用于核对版本)
d32fe46464372c6a5f6f5e55cc6a2ed81c10f9b6c17894665ec8f863bfeb378a