feishu-cli-mail

Pass

Audited by Gen Agent Trust Hub on Nov 20, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data (email bodies, subjects, and sender information) which is a known attack surface for indirect prompt injection.
  • Ingestion points: references/workflows/mail/workflow.md defines commands like mail triage, mail message, and mail thread that ingest data from the Feishu API.
  • Boundary markers: SKILL.md (Rule 6) and workflow.md (Boundary section) both contain explicit instructions to the AI to treat email content as data only and to ignore any instructions embedded within them.
  • Capability inventory: The skill possesses powerful capabilities including sending emails, deleting mail threads, creating auto-reply/forward rules, and sharing content to IM chats. A successful injection could theoretically trigger unauthorized communications or data deletion.
  • Sanitization: The skill contains specific rules to prevent command injection via attachments, rejecting executable extensions (e.g., .sh, .exe, .js) and blocking access to sensitive directories like ~/.ssh.
  • [COMMAND_EXECUTION]: The skill relies on executing shell-based commands via feishu-cli and jq.
  • Evidence: allowed-tools includes Bash(feishu-cli:*) and Bash(jq:*).
  • The skill uses a fallback mechanism feishu-cli api ... to perform arbitrary API calls for unsupported features, which is a powerful vector but scoped to the authorized Feishu environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 20, 2026, 05:40 AM