安全扫描
OpenClaw
安全
medium confidence该技能是一个仅含指令、单一用途的节点,指示代理运行特定的 gog CLI 命令以更新 Gmail 草稿主题——其请求和指令与该目的相称,但省略了关于身份验证和 gog 二进制来源的细节。
评估建议
此技能范围狭窄且内部一致,但在安装前务必:
1. 确认 gog 二进制文件的身份、来源,并信任其发布者;
2. 验证 gog 已安装且已配置正确的 Gmail 账户(它通常会自行完成 OAuth/auth 流程并将凭据存盘);
3. 手动测试示例命令,查看所需权限、凭据及 CLI 行为;
4. 注意:虽然技能未请求 env vars,CLI 仍可能读取本地凭据/配置文件——确保这些内容可被 agent 安全使用。
若无法验证 gog 来源或账户配置,请将该技能视为高风险。...详细分析 ▾
✓ 用途与能力
Name/description match the actual behavior: the 技能.md instructs 运行ning a gog 命令行工具 command to 更新 a GmAIl draft subject. Requiring a gog binary is consistent with using a native 命令行工具 to talk to GmAIl.
ℹ 指令范围
Instructions are narrowly scoped to executing `gog gmAIl drafts 更新 <draftId> --subject ... --json` with a 3-retry loop and JSON 验证. The 技能.md does not instruct the 代理 to read unrelated files or env vars. It does not explAIn how authentication is obtAIned; it implicitly assumes the gog 命令行工具 is already 认证d.
✓ 安装机制
无安装规范、无代码文件(仅指令)——技能本身不会向磁盘写入任何内容,这是风险最低的安装模式。
ℹ 凭证需求
The 技能 requires no 环境 variables and 列出s only the gog binary. That is minimal and proportional — however, real GmAIl 访问 will depend on the gog 命令行工具's own auth/config (not declared here), so the user should 验证 where gog stores 凭证s and which account it uses.
✓ 持久化与权限
The 技能 is not always-enabled and does not 请求 elevated or persistent 平台 privileges. It can be invoked autonomously (平台 default), which is expected for 技能s, but that is not itself a red flag here.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install gmail-draft-update-subject
镜像加速npx clawhub@latest install gmail-draft-update-subject --registry https://cn.longxiaskill.com
技能文档
精益理念(原则) Kaizen(改善):此技能为原子节点,仅允许更新草稿主题,禁止构造复杂多字段字符串。 Standardized Work(Hyojun Sagyo):该节点代表自动化前完成此任务最高效、标准化的路径。 Jidoka(自働化):该节点包含自主缺陷检测。
Gmail Draft Update Subject 此技能允许 agent 使用原生 CLI 更新现有 Gmail 草稿的主题。
认知指令 WHEN [需要设置或更新 Gmail 草稿主题] THEN [执行原生终端命令 gog gmail drafts update --subject "..." --json]
Schema 示例 { "command": "gog gmail drafts update draft_id_123 --subject \"Invoice\" --json" }
Jidoka 验证循环 尝试:执行命令。 评估:检查 JSON 响应,确认主题已更新。 纠正/失败:若失败或参数异常,最多重试 3 次(max_retries=3)。 继续:返回确认信息。
预期输出 返回 JSON 对象,确认草稿已更新。