T05 · Unauthorized Access and Privilege Escalation
Error
- Location
- SKILL.md:12
- Finding
- Broad Full-Access Mode Is Recommended by Default<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:12-17` **Additional Location**: `SKILL.md:51-62`, `references/ppt-playbook.md:6-10` **Vulnerability Type**: Excessive agent permissions **Risk Level**: High ### Vulnerable Code ```bash Run this default flow for any non-trivial task: acpx <agent> sessions new --name task acpx <agent> set-mode -s task full-access acpx <agent> -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
- <![CDATA[ ## Remediation Suggestions - Default to `read-only`, `auto`, or another constrained session mode. - Determine the required tools, paths, and network destinations before elevating permissions. - Require explicit user confirmation before enabling `full-access`. - Restrict writes to a dedicated workspace or output directory where ACPX supports path scoping. - Disable network access unless the task explicitly requires it. - Use a staged workflow: inspect in read-only mode, request narrowly scoped write access, and elevate further only when a verified operation requires it. - Document how to return the session to its original restricted mode after the task. ]]>
