Security harness skill¶
The agent runbook is the trace-fix skill (.agents/skills/trace-fix/SKILL.md,
installed by trace install-skill); the plugin bundle also carries a short
trace-security-harness runbook for harnesses that load plugins. The phases,
each backed by MCP tools and CLI equivalents:
- Ingest —
trace_findings/trace findings; pick a task viatrace_harness_task. - Diagnose —
trace_explain <id>plustrace_attack_path; read the static evidence, runtime evidence, and APM hops. Never guess the fix. - Plan — minimal invariant patch per category (BOLA: tenant-scoped lookup + 403; BFLA: role gate; SSRF: block internal destinations).
- Patch — small, idiomatic edit; keep behavior otherwise identical.
- Verify — restart the target, then
trace verify <id>must reportFIXED(a live probe reached the target and the exploit is dead).STILL_PRESENTmeans return to diagnosis;INCONCLUSIVEis never a pass. On failure roll back (SafePatcherkeeps timestamped backups under.trace/backups/).
trace-fix goes deeper on every phase: triage, prioritization, per-language
remediation playbooks and the security guide. See agent skills.