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 the Bash tool to execute feishu-cli commands 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, and search 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
Risk Level
MEDIUM
Analyzed
Apr 3, 2026, 08:31 AM