T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/enable-perm-tool.js:43- Finding
Unrestricted Enablement of Feishu Permission Management Across All Accounts
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a real Feishu permission helper, but it persistently enables document permission management for every configured Feishu account without account selection or confirmation.
Review this before installing if you have multiple Feishu accounts or sensitive documents. Prefer enabling permission management only for the specific account that needs it, confirm the Feishu app scopes, and keep a backup of ~/.openclaw/openclaw.json before running the helper.
scripts/enable-perm-tool.js:43Unrestricted Enablement of Feishu Permission Management Across All Accounts
The README promotes a tool that can add, view, and remove collaborators on Feishu documents without any warning, approval guidance, or mention of the security sensitivity of changing access controls. Because this skill directly affects document permissions, normalizing one-click permission changes increases the risk of accidental over-sharing or unauthorized access changes, especially if invoked by users who do not understand the implications.
The skill documentation states that installation will automatically modify the local OpenClaw configuration and restart the Gateway, but it does not present this as a clear warning before the user installs or enables the skill. Silent or under-emphasized configuration changes and service restarts can surprise users, disrupt running workflows, and expand the agent's effective permissions without informed consent.
The usage section instructs users to speak to the bot in Chinese and provides only Chinese command examples, with no indication that other languages are supported or that Chinese is a required locale. This can constitute a language/locale policy issue because the skill appears to impose a specific language without user opt-in or justification.
The description advertises a one-click capability to enable permission management for Feishu documents and spreadsheets without stating narrow activation conditions or user-confirmation requirements. Because this skill manages collaborator permissions, broad triggering increases the chance of unintended invocation that could modify access control on sensitive resources.
All invocation examples instruct the user to speak to the bot in Chinese, and the document does not mention support for other languages or that the skill is intentionally limited to a Chinese-language Feishu environment. That can be a natural-language policy issue when a specific language is effectively imposed without opt-in or justification.
The file's comments and all user-facing console messages are written in Chinese, indicating the skill is designed to operate in a single language without any visible opt-in or fallback. Under the policy, forcing a specific language without user choice is a natural-language locale violation.