dast-testing

Generates OWASP ZAP and Nuclei DAST scan configurations for CI pipelines.

Updated May 21, 2026
One-click install
npx skills add https://github.com/CagesThrottleUs/private-ai-harness --skill dast-testing-cagesthrottleus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dast-testing
Source: https://github.com/CagesThrottleUs/private-ai-harness/tree/main/skills/dast-testing
Command: npx skills add https://github.com/CagesThrottleUs/private-ai-harness --skill dast-testing-cagesthrottleus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Static analysis alone misses vulnerabilities that only appear in a running application, such as SQL injection, misconfigured CORS headers, and broken authentication. This Skill sets up dynamic application security testing (DAST) so externally-facing services are actively attacked in CI before merge. ## Core Features & Use Cases - ZAP Baseline and API Scans: Generates GitHub Actions or GitLab CI jobs for passive baseline scans on every PR and active OpenAPI-driven API scans after staging deploys. - Nuclei Integration: Adds targeted vulnerability scanning with 7,000+ community templates for CVEs, misconfigurations, and exposed secrets. - SARIF Reporting and Severity Gates: Uploads findings to the GitHub Security tab and fails CI on HIGH or CRITICAL severity, with per-rule overrides in .zap/rules.tsv. - Use Case: Before merging a new REST API, generate a CI workflow that runs a ZAP baseline scan on each pull request and an authenticated API scan against staging, blocking the merge on high-severity findings. ## Quick Start Set up DAST scanning for my service with a ZAP baseline scan on every PR and an API scan against staging using my OpenAPI spec.

Frequently Asked Questions about dast-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add DAST scanning to a GitHub Actions CI pipeline?

Add a ZAP baseline scan job using zaproxy/action-baseline that runs on every pull request, plus a zaproxy/action-api-scan job after staging deploys that targets your OpenAPI spec. Upload results as SARIF to the GitHub Security tab and set fail_action to block on high-severity findings.

What is the difference between SAST and DAST?

SAST reviews source code statically, while DAST attacks the running application to find issues like SQL injection and misconfigured CORS headers that are invisible in code. Both are required because they catch different vulnerability classes.

ZAP vs Nuclei for API vulnerability scanning?

ZAP provides broad active and passive scanning driven by an OpenAPI spec, while Nuclei uses 7,000+ YAML templates for targeted CVE, misconfiguration, and secrets detection with fewer false positives. Running both together covers roughly 70% of the OWASP Top 10.

How do I run ZAP scans against an authenticated application?

Create a dedicated low-privilege test account in staging and pass credentials via CI secrets such as DAST_TEST_TOKEN. Configure ZAP with an Authorization header through environment variables so the scan runs in an authenticated session.

When should I skip DAST scanning?

Skip DAST for internal CLI tools with no HTTP interface and pure background workers with no API surface. DAST is required for any service with external HTTP endpoints, authentication logic, input fields, or file upload handling.

What vulnerabilities can DAST not detect?

DAST cannot catch business logic flaws, insecure design decisions, or authorization errors that require domain context. These gaps require manual review and threat modeling alongside automated scanning.