dast-baseline
Skill0 starsChanged 12 days agoMITView on GitHub
Run and interpret dynamic application security testing — OWASP ZAP baseline/full/API scans, nuclei, authenticated scanning, CI integration — with safe scope, and triage findings (headers, cookies, injection, misconfiguration) into fixes. Use when testing a web app or API in staging, adding DAST to a pipeline, or validating fixes for web vulnerabilities.
In this repository273 other files it gives its agents.
- ad-attack-path-analysisSkill
- adcs-security-reviewSkill
- ad-privileged-access-reviewSkill
- dcsync-detectionSkill
- gpo-security-reviewSkill
- kerberos-attack-detectionSkill
- agent-tool-permission-reviewSkill
- ai-incident-responseSkill
- llm-gateway-controlsSkill
- llm-security-evaluationSkill
- mcp-server-security-reviewSkill
- model-artifact-securitySkill
- prompt-injection-reviewSkill
- rag-security-reviewSkill
- api-abuse-detectionSkill
- api-authorization-testingSkill
- api-inventorySkill
- api-schema-securitySkill
- sast-triageSkill
- sca-dependency-riskSkill
- secure-code-reviewSkill
- security-requirementsSkill
- threat-modelingSkill
- asset-criticality-tieringSkill
- asset-inventory-reconciliationSkill
- external-attack-surface-reviewSkill
- shadow-it-discoverySkill
- aws-credential-compromiseSkill
- aws-iam-reviewSkill
- aws-org-guardrailsSkill
- cloudtrail-investigationSkill
- guardduty-triageSkill
- s3-exposure-reviewSkill
- azure-activity-investigationSkill
- azure-rbac-reviewSkill
- conditional-access-reviewSkill
- entra-audit-investigationSkill
- entra-signin-investigationSkill
- backup-assuranceSkill
- critical-service-mappingSkill
- ransomware-recoverySkill
- recovery-exerciseSkill
- cloud-exposure-reviewSkill
- cloud-incident-responseSkill
- cloud-logging-baselineSkill
- cloud-posture-assessmentSkill
- audit-evidence-packageSkill
- continuous-control-monitoringSkill
- control-mappingSkill
- control-testing-samplingSkill
- container-incidentSkill
- dockerfile-hardeningSkill
- image-scanningSkill
- runtime-detection-falcoSkill
- db-audit-loggingSkill
- db-exfiltration-investigationSkill
- db-hardeningSkill
- db-privilege-reviewSkill
- data-classificationSkill
- data-discoverySkill
- The first 60 shown.
The file
Files
DAST Baseline
ZAP scans (Docker)
# Passive baseline: spiders and reports passive findings, no attacks — safe for most environments
docker run --rm -v "$(pwd)":/zap/wrk:rw -t ghcr.io/zaproxy/zaproxy:stable \
zap-baseline.py -t https://staging.example.com -r baseline.html -J baseline.json
# API scan from an OpenAPI definition (active rules — staging only)
docker run --rm -v "$(pwd)":/zap/wrk:rw -t ghcr.io/zaproxy/zaproxy:stable \
zap-api-scan.py -t /zap/wrk/openapi.yaml -f openapi -r api.html
# Full scan (active attacks) — staging only, with approval
docker run --rm -v "$(pwd)":/zap/wrk:rw -t ghcr.io/zaproxy/zaproxy:stable zap-full-scan.py -t https://staging.example.com -r full.htmlTune with a rules file (-c rules.tsv) to set rules to IGNORE/WARN/FAIL for CI gating. Authenticated scans: ZAP context with authentication script / headers (-z "-config replacer.full_list(0).replacement=Bearer <token>") — use a dedicated low-privilege test account.
Triage common findings
| Finding | Real issue? |
Missing Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options | Hardening gaps; prioritize CSP for apps with XSS risk and HSTS for all HTTPS |
Cookie without Secure/HttpOnly/SameSite | Real for session cookies |
| Reflected XSS / SQLi (active) | Verify manually with the request/response evidence; often true when reproducible |
| "Application error disclosure" | Stack traces → fix error handling |
| Vulnerable JS library | Map to SCA process |
| Information disclosure (server banners) | Low |
Safety
Active scans send attack payloads: run only against staging or authorized targets, never production without explicit approval; they can create junk data, trigger emails, lock accounts, or stress services. Exclude logout and destructive endpoints (DELETE, admin actions) from scope.
Related skills
secure-code-review, api-authorization-testing, release-gate, waf-rule-tuning
References
- ZAP Docker packaged scans: https://www.zaproxy.org/docs/docker/
- OWASP Web Security Testing Guide: https://owasp.org/www-project-web-security-testing-guide/
- OWASP Secure Headers Project: https://owasp.org/www-project-secure-headers/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

