An active DAST scan against staging created 12,000 junk records and sent password-reset emails to real customer addresses copied from prod
IntermediateTroubleshootingDAST, runtime detection and compliance scans
Answer
Likely causes → The active scanner submits every form and fuzzes every endpoint. Staging held real PII and had live email delivery.
Diagnose → Match the scan window to the app's write logs and the email provider's send log.
Fix → Stop the scan, purge the generated data, and notify through your privacy process if real customers were emailed. Exclude destructive or side-effect paths (/password-reset, /invite, payment webhooks) in the ZAP context.
Prevent → No production PII in staging. Use a sandbox SMTP (Mailpit or a provider sandbox), give the scanner a dedicated test tenant, and run active scans against ephemeral environments that are destroyed afterwards.
More on DAST, runtime detection and compliance scans
The ZAP baseline scan of your React SPA finishes in 40 seconds with only header warnings and no real findingsIntermediateThe authenticated ZAP full scan only ever tests the login page and `/logout`, and the report shows mostly `302` responsesIntermediate`zap-baseline.py` fails the pipeline with exit code 2 even though the report has no high-risk alertsBeginnerThe DAST job reports nothing, and its log shows mostly `403` and `429` responsesBeginnerNuclei runs in CI against staging and reports nothing for a known exposed `/.git/config`BeginnerFalco pods are in `CrashLoopBackOff` on new nodes after an OS upgrade, logging `Unable to load the driver`Intermediate