feishu-cli-messaging
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
Bashtool and Pythonsubprocessmodules to interact with thefeishu-clibinary. - The
Bashtool is scoped tofeishu-cli,jq, andpython3as defined in the skill's YAML frontmatter. - Python scripts like
fetch_chat_history.pyandstyle_assets.pyusesubprocess.runto execute CLI commands for data retrieval and card linting. - [INDIRECT_PROMPT_INJECTION]: The skill includes functionality to ingest and process untrusted data from Feishu chat sessions, which is a potential injection vector.
- Ingestion points: The
fetch_chat_history.pyscript andmsg historycommand retrieve message content, rich text (post), and interactive cards from external chat participants. - Boundary markers: The fetching script renders chat data into a structured
timeline.txtfile or NDJSON, effectively separating message content from administrative metadata. - Capability inventory: The skill has permissions to read/write local files (via
ReadandWritetools) and execute commands related to messaging operations. - Sanitization: The skill implements data sanitization for event processing, such as filtering
event_idvalues to prevent path traversal when writing files to disk (found inreferences/workflows/event/workflow.md). It also uses standard JSON parsing (json.loads) to handle message payloads.
Audit Metadata