OWASP ZAP (Medium / Verify) · ZAP-40035

OWASP ZAP-40035 (Hidden File Finder) for Next.js App Router

Triage and verify ZAP rule 40035 (Hidden File Finder) inside Next.js App Router pipelines without flooding SARIF 2.1.0 reports with header noise.

Primary AegisSec skill
zap-active-daemon-triage ->
Companion: zap-baseline-passive
Coverage ledger tracking key
zap:40035::context:nextjs
ZAP plugin 40035 (Medium / Verify)
Risk boundary
// Raw ZAP alert 40035 on Next.js App Router
// Treat alert as needs_validation or Hardening Note until HTTP pair or handler code confirms risk.
Hardened guard
// Clean triage policy (Medium / Verify)
// 1. Route header-only gaps to hardening-notes.md
// 2. Verify substantive exploit alerts via zap_to_findings + finding-verifier.

Verification steps

  1. 01Check alert 40035 against rules.tsv and Next.js App Router staging routes.
  2. 02Inspect the actual server handler or SPA router to rule out soft-404 phantoms.
  3. 03Export confirmed or valid leads cleanly into findings.json and SARIF 2.1.0.