feishu-cli-auth

Pass

Audited by Gen Agent Trust Hub on Apr 3, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses the Bash tool to execute the feishu-cli utility for authentication tasks, including checking token status, initiating logins, and processing authorization callbacks. It manages user input (the callback URL) by instructing the agent to wrap arguments in double quotes, which mitigates simple command injection attempts.
  • [SAFE]: The skill interacts with sensitive authentication data located at ~/.feishu-cli/token.json and through the FEISHU_USER_ACCESS_TOKEN environment variable. This access is limited to the skill's primary purpose of managing Feishu authentication and does not involve unauthorized data exfiltration.
  • [COMMAND_EXECUTION]: An indirect prompt injection surface exists where the agent processes a user-provided callback URL at runtime in SKILL.md. Evidence chain: 1. Ingestion point: User-provided URL in Step 2 of the login flow; 2. Boundary markers: No explicit delimiters in prose, but the command structure uses quotes; 3. Capability inventory: Bash tool execution of the feishu-cli binary; 4. Sanitization: The instructions tell the agent to wrap the variable in double quotes to prevent shell breakage.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 3, 2026, 08:31 AM