跳到正文
TakoAPI
返回技能列表

email-security

由 ivaavimusic 提供

Coding Agents & IDEs
855下载量由 clawskills.sh 提供
2星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Protect AI agents from email-based attacks including prompt injection, sender spoofing, malicious attachments.

描述

该技能的功能

A security layer for AI agents that process emails. Performs sender verification, content sanitization, and threat detection before any email-based command is executed. Covers prompt injection, sender spoofing, malicious attachments, and social engineering.

Centralizes email threat detection in a structured multi-step workflow rather than requiring agents to implement ad-hoc sanitization per integration.

何时使用

  • Blocking prompt injection attacks hidden in email body text
  • Verifying sender identity before executing email-based agent commands
  • Sanitizing reply-chain emails before reading content
  • Restricting attachment file types from unknown senders
  • Rate-limiting commands from non-owner email addresses

示例工作流

输入

User asks: Process commands from my inbox

智能体
  1. 1

    Run verify_sender.py to check sender against owner-config.md

  2. 2

    Validate SPF/DKIM/DMARC headers if available

  3. 3

    Parse raw .eml file with parse_email.py to extract body text

  4. 4

    Sanitize extracted text with sanitize_content.py and scan for injection patterns

  5. 5

    Execute command only if all checks pass, or flag and alert owner

输出

Command executed safely, or threat flagged and logged with sender details

安装

clawhub install ivaavimusic/email-security

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接