Skip to content

feat(lab5): ZAP baseline + auth + Semgrep + correlation - #5

Merged
Maflock merged 1 commit into
mainfrom
feature/lab5
Jun 26, 2026
Merged

feat(lab5): ZAP baseline + auth + Semgrep + correlation#5
Maflock merged 1 commit into
mainfrom
feature/lab5

Conversation

@Maflock

@Maflock Maflock commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Goal

Run DAST (ZAP, both unauthenticated and authenticated) against the running Juice Shop, then run SAST (Semgrep) against its source code, and correlate at least one vulnerability that appears in both reports.

Changes

  • Added submissions/lab5.md

Testing

zap-baseline.py -t http://juice-shop:3000 -r baseline-report.html -J baseline-report.json
# Result: 10 alert types β€” 0 High, 2 Medium, 5 Low, 3 Informational.


zap.sh -cmd -autorun /zap/wrk/scripts/zap-auth.yaml -port 8090
# Result: 12 alert types β€” 1 High, 4 Medium, 3 Low, 4 Informational.


semgrep --config=p/owasp-top-ten --config=p/javascript --config=p/secrets \
  labs/lab5/semgrep/juice-shop --json -o labs/lab5/results/semgrep.json \
  --severity ERROR --severity WARNING --exclude='**/test/**' --exclude='**/node_modules/**'
# Result: 22 findings β€”  10 WARNING and 12 ERROR.

Artifacts & Screenshots

  • submissions/lab5.md

Checklist

  • Title is clear (feat(lab5): ZAP baseline + auth + Semgrep + correlation)
  • No secrets/large temp files committed
  • submissions/lab5.md exists
  • Task 1 β€” ZAP baseline + auth + 10-20Γ— ratio analysis
  • Task 2 β€” Semgrep top-10 + triage shortcut
  • Bonus β€” Correlation table with 1+ confirmed cross-tool finding

@Maflock
Maflock merged commit a0a6fd6 into main Jun 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant