T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:23- Finding
Delegated agents are instructed to bypass permission and sandbox controls
- Content
View full analysis
. Commit and push.'" bash pty:true workdir:/tmp/issue-99 background:true command:"pnpm install && codex --yolo 'Fix issue #99 from the approved ticket summary. Implement only the in-scope edits and commit after review.'" ``` ### Technical Analysis The Skill repeatedly recommends `--permission-mode bypassPermissions` for Claude Code and `--yolo` for Codex. The document explicitly describes `--yolo` as disabling both the sandbox and approval requirements. These modes remove controls intended to constrain delegated agents and require confirmation for security-sensitive operations. Coding agents process task prompts and repository content, both of which may be attacker-controlled. Repository instructions, issue descriptions, source comments, test fixtures, or malicious dependency scripts can therefore influence an agent operating with unrestricted access. This does not automatically grant root privileges. The resulting authority is generally limited to the operating-system acco ...[truncated 1619 chars]- Remediation
View remediation
