T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:71- Finding
Overly Broad File, Network, and Inter-Agent Permissions
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 71-75
Vulnerability Type: Excessive permissions and violation of least privilege
Risk Level: HighVulnerable Configuration
yaml permissions: files: [read, write] network: [api] commands: [] mcp: [sessions_send, subagents]Technical Analysis
The Skill requests unrestricted file read and write access, generic API network access, and the ability to send data to other sessions or delegate work to subagents. No path restrictions, API endpoint allowlist, permitted HTTP methods, data-classification controls, or per-operation approval requirements are defined.
These privileges are broader than necessary for many of the Skill's declared governance and report-generation activities. Although command execution is disabled, the combination of file reads, outbound API access, and inter-agent messaging creates a potential data-access and exfiltration channel.
A malicious user task, prompt injection embedded in business data, or compromised dependent Skill could cause the agent to read unrelated files and then disclose their contents through an API call,
sessions_send, or a delegated subagent. File write access could also be used to overwrite or poison unrelated project records.Attack Path
- An attacker supplies a crafted task or places malicious instructions in data processed by the CEO Skill.
- The Skill or one of its delegated agents interprets those instructions as part of the requested workflow.
- The agent uses unrestricted file-read permission to access files outside the legitimate strategy or audit scope.
- Sensitive content is transmitted through the unspecified API capability,
sessions_send, or a subagent. - Alternatively, unrestricted write access is used to modify unrelated reports, configuration, or persistent knowledge records.
- The resulting inter-agent delegation and audit output may make the unauthorized operation appear to be a legitimate CEO w ...[truncated 628 chars]
- Remediation
View remediation
Remediation Suggestions
- Restrict file reads and writes to dedicated directories, such as a Skill-specific report or audit workspace.
- Separate read and write permissions and grant write access only when the requested workflow requires persistence.
- Deny access to credentials, environment files, source-control metadata, user home directories, and unrelated project paths.
- Replace generic API access with an explicit allowlist of trusted domains, endpoints, protocols, and HTTP methods.
- Block the transmission of secrets and sensitive data using outbound data-loss-prevention controls.
- Require explicit user or policy approval before sending sensitive context through
sessions_sendor delegating it to subagents. - Pass only the minimum task-specific context to each dependent agent.
- Record destination, data classification, purpose, and authorization for every outbound API or inter-agent message.
- Enforce these restrictions in the runtime sandbox rather than relying only on natural-language instructions.
