Best practices for deploying DAST
Best practices for deploying Snyk API and Web DAST scanning
Last updated
Was this helpful?
Best practices for deploying Snyk API and Web DAST scanning
Learn how to optimize your dynamic application security testing (DAST) deployment and avoid common pitfalls.
DAST simulates real-world attacks on your web applications and APIs to identify security vulnerabilities. DAST provides valuable security insights, but it performs invasive scans that can affect application performance and behavior.
During a scan, Snyk API & Web:
Crawls your application URLs
Interacts with application elements (filling forms, clicking buttons)
Performs extensive security tests to identify vulnerabilities
Following these best practices helps you deploy DAST safely and effectively.
Run scans against development or staging environments, not production systems.
Avoid scanning production back offices where administrators manage content, users, permissions, or transactions. DAST scans can:
Delete users or create unwanted records
Degrade application performance due to high request volume
Inject test data that becomes visible to users and potential attackers
When testing for cross-site scripting or SQL injection vulnerabilities, the scanner attempts to inject data into your application. If a vulnerability exists, this test data can appear in your production environment.
Use production-like test environments that include web servers and databases you can restore if needed.
Avoid using real data for security testing.
Using production data in test environments can:
Expose sensitive information in scan results
Violate data privacy regulations
Create data leakage risks
Create dedicated test data in a controlled, isolated environment using a separate test organization or user account. This approach supports thorough testing without putting sensitive information at risk.
Many applications restrict access to authenticated users only. Configure authentication so Snyk can scan deeper into your application scope and identify more vulnerabilities.
Use dedicated test credentials to prevent mixing test activities with real user data.
To learn more about authentication configuration, visit Configure authentication.
During scans, Snyk interacts with every discovered element, including forms and buttons. These interactions can:
Send email messages
Create support tickets
Make expensive API calls
Generate garbage content
Configure your reject list to exclude URLs and features that trigger unwanted actions. In your target settings, add patterns for:
Email notification endpoints
Ticketing system integrations
Payment processing endpoints
External API calls
For more information, visit Use seeds and reject lists.
Last updated
Was this helpful?
Was this helpful?

