T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:11- Finding
Excessive Filesystem and Command-Execution Permissions
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:11-15
Vulnerability Type: Excessive tool permissions and violation of least privilege
Risk Level: HighVulnerable Code
yaml tools: - read - exec - glob - grepRelated capability claims also appear at
SKILL.md:271-274andSKILL.md:298-301, where the skill advertises generic file processing and system-command execution.Technical Analysis
The skill's documented purpose is to manage Jira resources such as issues, epics, boards, sprints, transitions, and users. That purpose does not inherently require unrestricted local command execution, filesystem discovery, or arbitrary file reads.
Granting
exec,read,glob, andgrepexpands the skill's authority beyond its legitimate Jira integration requirements. In particular:globcan discover files outside the task's intended scope.grepcan search local files for credentials, tokens, configuration values, or other sensitive content.readcan expose discovered files to the agent or subsequent tool calls.execcan run operating-system commands with the privileges of the hosting agent.
The risk is increased when Jira content or user input is untrusted. A malicious issue description, comment, or task instruction could attempt to persuade the agent to invoke these tools. Although no explicit malicious command is embedded in the audited file, the declared permissions create a dangerous execution surface and violate least-privilege principles.
The document also describes the skill as a pure Markdown skill near the end of the file, which is inconsistent with its declaration of command-execution capability.
Attack Path
- An attacker places malicious instructions in a Jira issue, comment, description, or other content processed by the skill.
- A user asks the agent to retrieve or process that Jira content.
- The malicious content instructs the agent to inspect the l ...[truncated 1208 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove
exec,read,glob, andgrepfrom the tool declaration when they are not strictly required for Jira operations. - Replace generic system tools with narrowly scoped Jira API tools that expose only the required issue, project, sprint, board, and transition operations.
- If local file access is essential, restrict it to an explicit workspace directory and deny access to home directories, credential stores, environment files, SSH directories, and operating-system configuration.
- If command execution is unavoidable, use a fixed allowlist of commands and arguments rather than passing natural-language or user-controlled values to a shell.
- Require explicit user confirmation before any filesystem access or command execution unrelated to a direct Jira API request.
- Treat all Jira fields, comments, attachments, and descriptions as untrusted data. They must never be interpreted as agent instructions.
- Run the skill under a dedicated low-privilege account in a sandbox with a read-only filesystem wherever possible.
- Ensure the declared capability classification accurately reflects whether executable tools are available.
- Remove
