T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:19- Finding
Overprivileged Tool Declaration for a Diagram-Generation Skill
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This diagram skill is not clearly malicious, but it asks for broad read, write, and command execution authority without enough scope or consistency for a simple diagram generator.
Review this skill before installing in an environment that grants tools from metadata. It should be safe only if your agent keeps command execution and file read/write access under explicit user control, or if those tool permissions are removed or tightly scoped to user-selected diagram files and trusted renderer commands.
SKILL.md:19Overprivileged Tool Declaration for a Diagram-Generation Skill
The activation guidance is so broad that the skill could be invoked for generic project management, planning, tracking, or collaboration requests that do not actually require diagram generation. Over-broad routing increases the chance that the agent will hand unrelated user content to an exec-capable skill, expanding exposure of sensitive context and potentially enabling unnecessary tool use.
The description explicitly states '支持中文交互,无需复杂配置即开即用', presenting Chinese interaction as a default behavior rather than an option selected by the user. The file does not clearly offer a language choice or explain a justified locale restriction, which can violate language/locale policy expectations.
The skill is described throughout the manifest as generating Mermaid, PlantUML, or ASCII diagrams, but the output example shows a grading/scorecard JSON with fields like overall_grade, total_score, and security/style comments. This is not merely incomplete documentation; it actively describes a different kind of result than diagram generation.
One section classifies the skill as 'MD+execute()', implying command execution capability, while a later dependency section classifies it as pure 'MD' driven only by natural language. These are conflicting descriptions of what the skill actually does and materially affect user expectations about behavior and risk.
The FAQ states that no additional software is required because the skill is based on Mermaid, PlantUML, and ASCII, yet other sections mention execute() classification, command execution, API use, and environment configuration. That documentation creates a direct contradiction about operational requirements and execution model.