T01 · Skill Instruction Hijacking
- Location
SKILL.md:311- Finding
Instructions Explicitly Recommend Bypassing Harness Safety Enforcement
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is an agent-orchestration guide, but it recommends bypassing trust and approval safeguards for child coding agents.
Review carefully before installing. This skill is useful only if you intentionally want Herdr to drive child coding agents with broad automation. Avoid using the provided pre-trust and auto-approval recipes on untrusted repositories, and do not bypass classifier or trust prompts unless you have explicitly approved the exact directory and permissions involved.
SKILL.md:311Instructions Explicitly Recommend Bypassing Harness Safety Enforcement
SKILL.md:81Claude Workspace Trust Is Pre-Approved Without an Interactive Trust Decision
SKILL.md:114Antigravity Trust Configuration Is Persistently Modified to Suppress the Trust Dialog
SKILL.md:66Default Launch Recipes Enable Automatic Approval and Edit Acceptance
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.
P=$(herdr pane split --current --cwd "$D" --no-focus --env CLAUDE_CONFIG_DIR="$CFG"
| jq -r .result.pane.pane_id)
herdr agent start cl1 --kind claude --pane "$P" --timeout 90000 -- --model claude-opus-5
herdr agent read cl1 --source detection --lines 40 # ALWAYS, before the first prompt
herdr agent prompt cl1 "Carry out $D/brief.md." --wait --timeout 1800000 &
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.
P=$(herdr tab create --workspace "$WS" --cwd "$D" --label ag1 --no-focus \
| jq -r .result.root_pane.pane_id) # one TAB per agent, never N panes in one tab
herdr agent start ag1 --kind agy --pane "$P" --timeout 120000 \
-- --model gemini-3.7-flash-medium --effort medium --mode accept-edits
herdr agent read ag1 --source detection --lines 15 # read the banner, not the status
herdr agent prompt ag1 "Carry out $D/brief.md. Write your report to $D/report.md." \
--wait --timeout 1800000 & # then poll for the file, not the state
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.
wait on the report file, never a settled state. A first prompt
can be swallowed entirely with `agent_prompt_stalled` and no trace in the composer;
re-prompt, never `send-keys`. No session ref until the first prompt. Integration
install target is `antigravity-cli`; `~/.gemini/config` must exist (or
`ANTIGRAVITY_CLI_CONFIG_DIR`).
Integrations for all three are session-restore only - they never improve state
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.
herdr agent start ag1 --kind agy --pane "$P" --timeout 120000
-- --model gemini-3.7-flash-medium --effort medium --mode accept-edits
herdr agent read ag1 --source detection --lines 15 # read the banner, not the status
herdr agent prompt ag1 "Carry out $D/brief.md. Write your report to $D/report.md."
--wait --timeout 1800000 & # then poll for the file, not the state
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.
## Drive
- **Wait on the artifact, not the state.** End every non-trivial brief with "write
your full report to `<path>` and reply with only the path", and poll for the file.
`idle` arrives on interrupted turns, on fleet parents that dispatched children, and
for the whole life of a claude background MCP task (invariant 4) - a watcher on
Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation source, and
configuration files.
"Object" form shall mean any form resulting from mechanical transformation or
Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation source, and
configuration files.
"Object" form shall mean any form resulting from mechanical transformation or
Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation source, and
configuration files.
"Object" form shall mean any form resulting from mechanical transformation or
Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation source, and
configuration files.
"Object" form shall mean any form resulting from mechanical transformation or
No suspicious patterns detected.