中风险
配方会立即以用户身份发布未经确认的组织通知
原文依据:3 处发现了什么
步骤直接调用 Gmail 和 Chat 的发送操作,没有要求先展示草稿、确认收件人和空间,或在两次发送之间核对结果。模板内容还明确声称存在需要审阅的“政策变更”。
为什么需要注意
如果代理在已认证的工作账户中照原样或使用错误参数执行,可能向错误的邮件地址或 Chat 空间传播不准确的政策通知,造成混淆、信誉损害,并留下难以撤回的组织通信记录。
这是面向执行的发送配方,而不只是安全警告或测试:步骤要求通过 Gmail 向团队地址发邮件,并向 Google Chat 空间发消息。所示流程没有先展示草稿、核实实际收件人/空间或取得逐次确认;若代理把占位符替换为真实目标并执行,内容会以用户已授权的 Google 身份对外发布,并可能让同事误以为确有政策变更。不过,发送本身符合该技能明示用途,源码也不能证明命令已经执行;用户可要求仅生成草稿,并在发送前确认目标和正文。
1. Send email: `gws gmail +send --to team@company.com --subject 'Important Update' --body 'Please review the attached policy changes.'`2. Post in Chat: `gws chat +send --space spaces/TEAM_SPACE --text '📢 Important Update: Please check your email for policy changes.'`查看另外 2 个位置
name: recipe-send-team-announcementdescription: "Send a team announcement via both Gmail and a Google Chat space."metadata:1. Send email: `gws gmail +send --to team@company.com --subject 'Important Update' --body 'Please review the attached policy changes.'`2. Post in Chat: `gws chat +send --space spaces/TEAM_SPACE --text '📢 Important Update: Please check your email for policy changes.'`