Pass
Audited by Gen Agent Trust Hub on Jun 24, 2026
Risk Level: SAFEDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The send_email function in SKILL.md implements a mechanism to attach local files to outgoing emails. This capability allows the agent to read and transmit data from the local filesystem, which could be misused to exfiltrate sensitive files like credentials.json, .env, or SSH keys if a user or malicious prompt directs the agent to do so.\n- [PROMPT_INJECTION]: The skill retrieves untrusted data from external mail servers through the read_emails and search_emails functions, creating a surface for indirect prompt injection where instructions embedded in email bodies could manipulate the agent's behavior.\n
- Ingestion points: read_emails and search_emails functions in SKILL.md.\n
- Boundary markers: Absent; email subject and body content are returned as raw strings without delimiters or instructions to ignore embedded commands.\n
- Capability inventory: Local file system access (via send_email and get_gmail_service), network egress (via smtplib and googleapiclient), and message state modification (via move_to_label) in SKILL.md.\n
- Sanitization: No validation, escaping, or filtering of the retrieved email content is performed before it is added to the agent's context.
Audit Metadata