feishu-cli-write
Pass
Audited by Gen Agent Trust Hub on Apr 3, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes content provided by the user or generated from dialogue to create or update Feishu documents. Malicious instructions embedded in this untrusted content could potentially influence the agent's behavior during the document generation process.
- Ingestion points: Document titles and content collected from user requests (SKILL.md).
- Boundary markers: Absent. There are no explicit delimiters or instructions for the agent to ignore embedded commands within the content being processed.
- Capability inventory: The skill uses
feishu-clito create documents (doc create), import content (doc import), modify permissions (perm add), and transfer ownership (perm transfer-owner). - Sanitization: Absent. The content is written directly to temporary Markdown files without validation or escaping.
- [PRIVILEGE_ESCALATION]: The skill automates high-privilege administrative tasks on cloud documents. Specifically, it instructs the agent to grant
full_accesspermissions and transfer document ownership (feishu-cli perm transfer-owner). If an agent applies these instructions to the wrong document or uses the provided placeholder email (user@example.com) literally, it could result in unauthorized access or loss of control over sensitive information. - [DATA_EXPOSURE_AND_EXFILTRATION]: The skill uses the
/tmpdirectory (e.g.,/tmp/feishu_write_<timestamp>.md) as an intermediate storage location for Markdown content. In shared or multi-user environments, files written to/tmpmay have insecure default permissions, potentially exposing sensitive document content to other processes or users on the system.
Audit Metadata