T05 · Unauthorized Access and Privilege Escalation
- Location
references/agent-usage.md:8- Finding
Unrestricted Autonomous Agent Loop Disables Permission Controls
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly documentation for PRD planning, but it also recommends an unattended coding-agent loop that disables permission checks and can modify code repeatedly without review.
Install only if you want PRD templates and are prepared to ignore or rewrite the unattended agent-loop guidance. Do not run the documented --dangerously-skip-permissions loop on untrusted repositories or PRDs; use bounded, reviewed agent runs with normal permission prompts and inspect diffs before commits.
references/agent-usage.md:8Unrestricted Autonomous Agent Loop Disables Permission Controls
Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
while :; do
claude --print --dangerously-skip-permissions \
"Read prd.json, find first story where passes=false, implement it, run checks, update passes=true if successful"
done
The document explicitly states the skill only edits PRDs, but the described workflows instruct agents to implement stories, run checks, commit changes, manipulate branches, and update repository files. This mismatch can mislead users and downstream safety controls about the true capability and scope of the skill, increasing the chance that broad code modification is performed without informed consent.
The unattended loop repeatedly invokes an autonomous coding agent with --dangerously-skip-permissions, enabling ongoing file edits and command execution without interactive approval or bounded review points. In this skill context, that is especially risky because the same document instructs the agent to implement code, run checks, commit changes, and continue until completion, which can amplify mistakes or unsafe actions across the repository.
No suspicious patterns detected.