feishu-cli-msg
Warn
Audited by Gen Agent Trust Hub on Apr 3, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill instructions include specific shell commands to extract a user access token from a sensitive local file located at
~/.feishu-cli/token.json. This file contains cleartext credentials that provide full programmatic access to the user's Feishu account.\n- [COMMAND_EXECUTION]: The skill relies heavily on theBashtool to executefeishu-clicommands and uses a Python one-liner (python3 -c) to parse JSON credential files at runtime.\n- [DATA_EXFILTRATION]: Extracted authentication tokens are passed as command-line arguments to network-connected tools. While this is functional for the skill's purpose, handling raw tokens in the shell increases the risk of credential exposure in process logs or via command injection.\n- [PROMPT_INJECTION]: The skill processes untrusted external data by fetching chat messages and search results, presenting a risk of indirect prompt injection.\n - Ingestion points:
feishu-cli msg list,msg history, andsearch messages(SKILL.md).\n - Boundary markers: Absent; there are no instructions to the agent to treat external message content as untrusted or to ignore embedded commands.\n
- Capability inventory:
Bash(shell access),Write(file system access),feishu-cli(message and chat management).\n - Sanitization: Absent; the skill retrieves and processes raw message content without validation or filtering.
Audit Metadata