TorusGuard Exploit Check — Bounded Exploitability Confirmation
Objective
Confirm whether candidate findings are practically exploitable using safe, single-step sentinel canaries without data loss or weaponized execution.
Authorization Gate Check
Before dispatching any exploitability probe:
- Verify target route is explicitly authorized in
.torusguard/config/scope.json. - Verify authorization TTL has not expired.
- Assert probe passes
.torusguard/scripts/safety_gate.py.
Bounded Probe Strategies
- SQLi: Mathematical identity canary (
' OR 1=1--) asserting differential response without altering data. - XSS: Inert HTML marker tag (
<tg-canary-tag>) checking unescaped reflection in DOM. - IDOR: Cross-tenant GET using secondary tenant session; assert 403 vs leak.
- Auth: Omit auth header on protected route; assert 401.
Execution Steps
- Verify Scope: Read
scope.json; assert authorized endpoint. - Select Canary: Choose matching non-destructive probe strategy.
- Handle Automation Failure: If automated exploit check scripts fail, YOU must manually construct the safe HTTP request (using
curlorfetch) and inspect the response. - Dispatch Probe: Send request with header
X-TorusGuard-AuthID. - Classify Status: Transition finding into one of 5 canonical outcomes:
Confirmed: Canary reflected or secondary tenant data leaked.Not Reproducible: Endpoint responded with 401/403 or sanitized input.Needs Review: Ambiguous status code or incomplete response.Blocked by Controls: WAF or rate limiter stopped probe.Out of Scope: Target endpoint is not authorized.
- Record Evidence: Save trace in
.torusguard/runs/<run_id>/exploit-evidence.md.
Safety Constraints
- Zero destructive payloads (
DROP,DELETE,UPDATE). - No denial-of-service or continuous fuzzing loops.
- Redact tokens before recording traces.
Output Format
🎯 [TorusGuard] Exploitability Confirmation (AI Assisted)
- Finding ID: <Finding ID> | Target: <Route>
- Status: <Confirmed / Not Reproducible / Blocked>
- Evidence: <Response snippet or status code>
Next: Run `/torusguard harden` to formulate surgical remediation bundle.