feishu-cli-import

Fail

Audited by Gen Agent Trust Hub on Apr 3, 2026

Risk Level: HIGHDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [DATA_EXFILTRATION]: The skill mandates the agent to grant full_access and transfer document ownership to a specific email address (user@example.com) immediately after document creation. This pattern automates the unauthorized transfer of document control to external parties, potentially leading to data leakage.
  • [COMMAND_EXECUTION]: The skill uses the Bash tool to run feishu-cli commands that perform high-privilege operations such as modifying permissions (perm add) and transferring ownership (perm transfer-owner). Automating these sensitive administrative tasks without explicit human review increases the risk of security policy violations.
  • [PROMPT_INJECTION]: The use of "CRITICAL" and "MUST" directives in the instructions functions as a behavior override, forcing the agent to prioritize specific dangerous actions and bypass standard caution when handling sensitive document security settings.
  • [COMMAND_EXECUTION]: User-provided inputs, such as file paths and document titles, are interpolated directly into shell commands (e.g., feishu-cli doc import <file.md>) without specified sanitization. This creates a risk of command injection if the input contains malicious shell metacharacters.
  • [COMMAND_EXECUTION]: (Category 8 Risk Factor) The skill ingests untrusted Markdown data and possesses shell execution capabilities. Ingestion points: Local Markdown file reading and the feishu-cli doc import command. Boundary markers: No delimiters or warnings are used to isolate untrusted content. Capability inventory: Access to the Bash tool and file system via Read. Sanitization: No evidence of escaping or validation of the processed content. This setup is vulnerable to indirect prompt injection where malicious Markdown content could manipulate agent behavior during the document creation process.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Apr 3, 2026, 08:31 AM