feishu-doc
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
feishu_doc.pyusessubprocess.runto invoke thefeishu-docxCLI for exporting and importing document content. - Evidence: Found in
cmd_read,cmd_export_wiki, andcmd_import_wechatwithinfeishu_doc.py. - Observation: The implementation uses argument lists rather than shell strings, which is a secure practice to prevent shell injection.
- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion of untrusted data from external Feishu documents and chat rooms, which could contain instructions intended to influence the agent's behavior.
- Ingestion points:
feishu_doc.pyfetches external data viacmd_read,cmd_list_blocks, andcmd_read_chat. - Boundary markers: Absent. Data is passed directly to the agent's context without clear delimiters or warnings to ignore embedded instructions.
- Capability inventory:
feishu_doc.pycontains capabilities for shell command execution (viafeishu-docx), writing/overwriting documents, deleting content, and modifying sharing permissions (e.g.,cmd_permissionfor making documents public). - Sanitization: Absent. The skill does not perform validation or escaping of the content fetched from Feishu APIs before presenting it to the agent.
Audit Metadata