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.mddefines commands likemail triage,mail message, andmail threadthat ingest data from the Feishu API. - Boundary markers:
SKILL.md(Rule 6) andworkflow.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-cliandjq. - Evidence:
allowed-toolsincludesBash(feishu-cli:*)andBash(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