T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:19- Finding
Excessive Tool Permissions Violate Least-Privilege Boundaries
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This Discord skill needs Review because it asks for broad local file and command execution access beyond its stated Discord bot purpose.
Install only if you can constrain it to explicit Discord bot tasks. Use a narrowly scoped Discord token, avoid sending sensitive content, require confirmation before posting messages or changing files, and do not run the agent or commands with administrator privileges for this skill.
SKILL.md:19Excessive Tool Permissions Violate Least-Privilege Boundaries
Advertising command execution for a Discord Bot API skill is unjustified and materially increases risk. In a skill that already has exec available, broad command language can normalize shell execution for unrelated tasks, creating a path to arbitrary code execution, host inspection, or destructive actions.
The description does not clearly warn users that the skill may send messages externally or interact with third-party APIs, both of which can affect privacy and data handling. Without explicit notice, users may provide sensitive content assuming local-only processing.
The activation guidance is broad enough to match routine productivity and workflow requests, increasing the chance the skill is invoked outside its intended scope. Because the skill exposes read/write/exec tools and external messaging potential, over-triggering raises the likelihood of unnecessary sensitive actions.
The documentation references execute-class capability without a clear warning about command execution risk. In an agent setting, failing to disclose shell or command behavior can mislead users and reviewers, increasing the chance of unsafe execution on the host environment.
The skill is presented as a Discord Bot API workflow helper, but later expands into generic file processing and system command execution. This scope creep is dangerous because it can cause an agent or user to authorize much broader actions than expected, enabling data access or code execution outside the stated Discord use case.
The capability text describes unrelated generic automation functions despite the skill being framed as Discord-specific. This mismatch weakens user understanding and agent policy enforcement, making overbroad tool use more likely in contexts where only messaging or bot API actions were expected.
Claiming arbitrary file read/parse/write capability is not justified by the declared Discord workflow purpose. In an agent environment with read/write tools, this can lead to unintended access, modification, or exfiltration of local files unrelated to Discord operations.
The file forces a mixed-language presentation across display name, summary, and description, combining Chinese and English instructions without stating that users may choose their preferred language. This may violate language/locale policy expectations when a skill imposes a locale style without opt-in or justification.
No suspicious patterns detected.