SKILL.md
Agent Tool Risk
Use this skill for MCP, plugins, hooks, sub-agents, tool permissions, prompt flows, automation loops, and model-visible logs.
Workflow
- Inventory the agent/tool surface: trigger, command, permissions, inputs, outputs, and persistence.
- Classify risk:
- prompt injection or untrusted content - excessive agency or destructive authority - secret exposure - data exfiltration through logs or MCP - command injection - stale or misleading model-visible memory
- Confirm high-risk operations have human approval or guard hooks.
- Ensure hidden logs are not loaded as default model context.
- Ensure model-visible logs contain only durable, necessary retry context.
- Update
docs/harness/AGENTSECURITY.md,docs/harness/SECURITYPOLICY.md, anddocs/harness/SUBAGENT_PROTOCOL.mdif behavior changes.
Required Output
Return tool surface, risk class, mitigations, required approvals, logging impact, and remaining risks.
Blockers
- Secrets written to repo, hidden logs, or model-visible memory.
- Mutating cloud or git actions without explicit approval.
- Hooks that execute untrusted user content as shell commands.
- MCP credentials committed or printed.