Zap triage

From nwiizo/workspace_2026 · View interactive version

Zap triage is an AI agent skill from the GitHub repository nwiizo/workspace_2026. Turn OWASP ZAP JSON reports into code-level remediation work for any authorized web application without launching unscoped scans.

How to use this skill

Skill file

ZAP Triage

Use this skill after an authorized OWASP ZAP scan has produced JSON output. It is intentionally generic: it can be used with Rust, Rails, Django, Node, Go, Java, or any other web stack as long as the report and source code are available.

Safety Boundary

Workflow

  1. Confirm the ZAP report path, application root, target URL, and scan authorization scope.
  2. Prefer a compact summary. If only raw JSON exists, summarize alert, risk, route, parameter, evidence, and instance count.
  3. Group findings by route, risk, parameter, and likely code owner.
  4. Map each High and Medium finding to source files, handler/controller/action names, and line numbers when possible.
  5. For each finding, identify the vulnerable implementation pattern:
  1. Propose the smallest safe remediation:
  1. Classify each item as:
  1. Recommend the smallest verification command for each confirmed item.
  2. When implementation is requested, keep patches finding-scoped and preserve unrelated behavior.

Output

Return a compact triage report:

# ZAP triage

## Confirmed

| Risk | Alert | Route | Source | Recommended fix |
| --- | --- | --- | --- | --- |

## Fix Pattern

| Pattern | Vulnerable code shape | Safer code shape |
| --- | --- | --- |

## Needs Manual Check

| Risk | Alert | Why | Next command |
| --- | --- | --- | --- |

## Scan Notes

- Scope:
- Report:
- Exclusions or skipped rules:
- Residual risk:
- Follow-up scan:

Reusable Prompt

Use this prompt shape when invoking the skill manually:

Use zap-triage.
Report: <path-to-zap-json-or-summary>
Application root: <path>
Target URL: <authorized-url>
Task: map High and Medium findings to source code and propose minimal remediations.
Do not run active scans unless I explicitly ask.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.