Back to skill

Security audit

Feishu Cli Board

Security checks for vulnerabilities and agentic risk

Overview

This Feishu whiteboard skill is mostly coherent, but its broad triggers can cause remote document or whiteboard changes from ordinary drawing or visualization requests.

Install only if you want ordinary diagram requests routed to Feishu whiteboard operations. Use a narrowly scoped Feishu app, confirm the target document or whiteboard before running creation commands, and avoid using broad workspace credentials for casual visualization tasks.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (4)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 20)May include surrounding context.

md
## 前置条件

- **认证**:需要有效的 App Access Token(环境变量 `FEISHU_APP_ID` + `FEISHU_APP_SECRET`,或 `~/.feishu-cli/config.yaml`)
- **权限**:应用需开通 `board:whiteboard`(画板读写)和 `docx:document`(文档中添加画板)
- **验证**:`feishu-cli auth status` 确认认证状态正常

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill advertises broad trigger phrases such as “画个图”, “画板”, and “可视化”, which can overlap with many ordinary user requests and cause the agent to invoke this skill unexpectedly. Because the skill is user-invocable and can create or modify Feishu documents/whiteboards through Bash-backed CLI commands, over-broad routing expands the chance of unintended external side effects.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 13)May include surrounding context.

md
适合需要精排的架构图和看板。
argument-hint: "[whiteboard_id]"
user-invocable: true
allowed-tools: Bash, Read, Write
---

# 飞书画板操作技能

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 13)May include surrounding context.

md
适合需要精排的架构图和看板。
argument-hint: "[whiteboard_id]"
user-invocable: true
allowed-tools: Bash, Read, Write
---

# 飞书画板操作技能

Static analysis

No suspicious patterns detected.