feishu-cli-search
Warn
Audited by Gen Agent Trust Hub on Apr 3, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses unvalidated user input to construct shell commands during the authentication callback process. The instruction to execute
feishu-cli auth callback "<用户提供的回调URL>" --state "<步骤A输出的state>"allows a malicious user to inject shell metacharacters (e.g., semicolons, backticks) into the URL or state parameters, potentially leading to arbitrary code execution on the host system. Similarly, search terms provided to thefeishu-cli searchcommands are interpolated into the shell without specified sanitization. - [PROMPT_INJECTION]: The skill retrieves and displays content from external Feishu sources (documents and messages) which may contain adversarial instructions, posing a risk of indirect prompt injection.
- Ingestion points: External data enters the agent context through search results for documents, messages, and applications.
- Boundary markers: The skill lacks delimiters or explicit instructions to the agent to ignore embedded commands within the search output.
- Capability inventory: The agent is configured with access to the
Bashtool viaallowed-tools. - Sanitization: There is no evidence of sanitization, filtering, or validation of the search results before they are presented to or processed by the agent.
Audit Metadata