T01 · Skill Instruction Hijacking
- Location
SKILL.md:213- Finding
Mandatory Third-Party Branding in Externally Published Pull Requests
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly a runbook for coding agents, but it normalizes unsandboxed autonomous execution, automatic commits/pushes, mutable installs, and fixed third-party PR attribution.
Review this skill carefully before installing. Use sandboxed/manual-approval modes by default, avoid --yolo except in an isolated disposable environment, inspect dependency installs before running them, and remove or override the fixed PR attribution before publishing anything under your account.
SKILL.md:213Mandatory Third-Party Branding in Externally Published Pull Requests
SKILL.md:44Unsandboxed Autonomous Agent Execution with Approval Bypass
SKILL.md:125Unpinned Global and Project Dependency Installation
Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
Model: gpt-5.2-codex is the default (set in ~/.codex/config.toml)
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
tmux -S "$SOCKET" kill-server git worktree remove /tmp/issue-78 git worktree remove /tmp/issue-99
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
tmux -S "$SOCKET" kill-server git worktree remove /tmp/issue-78 git worktree remove /tmp/issue-99
**Why worktrees?** Each Codex works in isolated branch, no conflicts. Can run 5+ parallel fixes!
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
# Create temp space for chats/scratch work
SCRATCH=$(mktemp -d)
# Start agent in target directory ("little box" - only sees relevant files)
The skill explicitly instructs operators to use dangerous execution modes such as --full-auto and --yolo, including a mode that bypasses approvals and sandboxing. Although one line notes that --yolo is dangerous, the guidance still normalizes risky autonomous execution for general building tasks without requiring explicit user confirmation, scope restriction, or safer defaults at the point of use.
--full-auto allows the agent to auto-approve changes in the workspace, reducing human review over code and command execution. Even if sandboxed, normalizing autonomous write behavior for build tasks can still lead to unintended modifications, dependency changes, or unsafe generated code being accepted without review.
# --full-auto: sandboxed but auto-approves in workspace
bash workdir:~/project background:true command:"codex exec --full-auto \"Build a snake game with dark theme\""
# --yolo: NO sandbox, NO approvals (fastest, most dangerous)
The --yolo example authorizes operation with no sandbox and no approvals, enabling the coding agent to make arbitrary filesystem or command changes autonomously. In a skill that is meant to be reused operationally, this materially increases the chance of destructive changes, secret exposure, or unintended command execution in the target repo or environment.
# --full-auto: sandboxed but auto-approves in workspace
bash workdir:~/project background:true command:"codex exec --full-auto \"Build a snake game with dark theme\""
# --yolo: NO sandbox, NO approvals (fastest, most dangerous)
bash workdir:~/project background:true command:"codex --yolo \"Build a snake game with dark theme\""
# Note: --yolo is a shortcut for --dangerously-bypass-approvals-and-sandbox
The rules section reinforces --full-auto for building as normative behavior, which institutionalizes autonomous approval rather than presenting it as an exceptional mode. This increases operational risk because consumers of the skill may follow the rule without understanding the trust boundary or validating generated changes.
1. **Respect tool choice** — if user asks for Codex, use Codex. NEVER offer to build it yourself!
2. **Be patient** — don't kill sessions because they're "slow"
3. **Monitor with process:log** — check progress without interfering
4. **--full-auto for building** — auto-approves changes
5. **vanilla for reviewing** — no special flags needed
6. **Parallel is OK** — run many Codex processes at once for batch work
7. **NEVER start Codex in ~/clawd/** — it'll read your soul docs and get weird ideas about the org chart! Use the target project dir or /tmp for blank slate chats
No suspicious patterns detected.