T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:12- Finding
Broad Full-Access Mode Is Recommended by Default
- Content
View full analysis
sessions new --name task acpx set-mode -s task full-access acpx -s task -f prompt.txt ``` The documented meaning of this mode is: ```text - `full-access`: broader session capability, including easier file edits and broader path/network freedom ``` ### Technical Analysis The default workflow grants an ACPX agent broad filesystem and network access for every non-trivial task. This includes tasks that may only require read access or permission to write a single output file. Granting `full-access` before establishing the minimum capabilities required by the task violates the principle of least privilege. The risk is especially significant because the delegated agent processes prompts and potentially attacker-controlled source files. Prompt injection, malicious project content, or an agent error could cause operations outside the intended workspace. Although the documentation correctly states that `full-access` does not imply root or `sudo`, broad user-level filesystem and network access can still expose credentials, configuration files, source code, and other data accessible to the current account. ### Attack Path 1. A user invokes the Skill for a non-trivial artifact or coding task. 2. The documented default workflow places the delegated agent in `full-access` mode. 3. The agent processes attacker-controlled project content, document text, or embedded instructions. 4. Malicious instructions direct the agent to inspect unrelated files, overwrite accessible resources, or contact an external host. 5. The broad session permissions allow these operations even though they are unnecessary for the original task. ### Impact Assessment A ...[truncated 621 chars]- Remediation
View remediation
