T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:18- Finding
Excessive Tool Permissions Beyond the Skill's Mapping Purpose
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly a map-development guide, but it asks for broad command, file, write, and browser authority without tight limits, so users should review it before installing.
Install only if you are comfortable granting the agent broad local and browser capabilities for this skill. Prefer a revised version that limits activation to AMap JSAPI work, removes generic webhook/system/file/command claims, and restricts any file writes, commands, and network access to explicit user-approved map-development tasks.
SKILL.md:18Excessive Tool Permissions Beyond the Skill's Mapping Purpose
The skill’s documented scope expands from a narrowly described AMap JSAPI helper into broad automation features such as file processing, API integration, information retrieval, and system command execution. This creates a capability mismatch that can cause an agent to invoke the skill for unrelated high-risk tasks, increasing the chance of arbitrary local actions or sensitive data handling under an innocuous map-tool label.
The description states '支持中文交互' as a default capability, and the document does not offer an explicit language or locale choice for users. This can violate language/locale policy when a skill appears to force a specific language without user opt-in.
The trigger condition '需要API集成、接口对接、Webhook配置、系统连接时使用' is so broad that it can match many unrelated integration tasks. In the presence of exec/read/write/browser capabilities, this overbroad routing increases the likelihood that the skill is invoked outside its intended map-specific context, exposing unnecessary powerful tools to arbitrary requests.
The skill declares command execution in an 'MD+execute' workflow even though its stated purpose is providing map-development guidance. Unnecessary exec capability increases the attack surface because an agent may create and run shell commands during ordinary use, enabling filesystem inspection, network probing, or unintended side effects if prompts are manipulated.
The skill advertises generic file read/write support despite being framed as a map JSAPI assistant. This broadens the skill into a general-purpose local file manipulation tool, which can lead to unauthorized reading of workspace content or modification of project files when the agent selects the skill based on its overly broad description.
No suspicious patterns detected.