← All posts

Authenticated DAST: how to test the paths your users actually reach

An unauthenticated scan can tell a team about public routes. It cannot tell the same story about the workflows that sit behind login, tenant boundaries, roles, or API credentials. Authenticated DAST is the practice of testing authorized in-session application paths with the authentication method and scope defined before the assessment starts.

That distinction matters. Authentication is not a token pasted in after a scan has already explored the public surface. It is part of the assessment contract: which project owns the target, which paths are authorized, which credentials are appropriate for the test, and what evidence the reviewer needs if the scan finds a problem.

What authenticated DAST should answer

An authenticated assessment should help a team answer focused questions:

  • Can an authorized user reach a route or object they should not be able to reach?
  • Does the application enforce authorization after a user has signed in?
  • Does an API treat a bearer token, session cookie, or custom header consistently across protected routes?
  • Can a reviewer inspect the request and response that support a finding before engineering spends time on it?

It should not expand into testing every host, route, or credential the scanner happens to discover. Scope remains a decision made by the team that owns the project.

Start with authorization and scope

Before configuring authentication, put the target in the project that owns it. This establishes the boundary for the assessment and keeps the resulting findings, HTTP records, and scan history together.

A useful scope review covers the application host, approved API hosts, allowed paths, known exclusions, and whether the assessment will use a staging or production-like environment. The goal is not to make scope paperwork-heavy. The goal is to prevent a discovered URL or redirect from silently becoming a new testing target.

Choose the authentication method that represents the workflow

Eresus Workbench supports the common methods teams use when setting up authorized assessments:

MethodWhen it fitsWhat to confirm first
CookieA browser session or server-managed login flowThe session belongs to a test account and stays inside the approved scope.
BasicA service endpoint protected by HTTP Basic authenticationThe credential is dedicated to the assessment and has only the intended access.
BearerAn API or service that accepts an access tokenThe token covers the approved API surface and its expiry will not invalidate the run.
Custom headersA gateway, internal service, or application-specific authorization patternHeader names and values are approved, documented, and not copied into unrelated systems.

The “best” method is the one that represents the workflow a legitimate user or integration follows. A public route can be assessed without a session; an account settings workflow should not be judged only from the public landing page.

Keep evidence with the finding

Authenticated testing creates more context, not less. When a result needs review, the question is usually not just “did the scanner flag this?” It is “what was the request, what did the application return, and can we reproduce the condition safely?”

That is why the assessment should preserve the HTTP records attached to the finding. If an out-of-band interaction occurs, the related OAST callback matters too. A reviewer can inspect the evidence in the same project rather than reconstructing the test from a detached export.

This is also how a team separates a useful finding from noise. Severity and confidence are inputs to prioritization, but the captured record gives engineering the detail needed to understand the route, parameters, response behavior, and remediation target.

A practical review path

  1. Confirm that the application and account are authorized for the assessment.
  2. Create or select the project that owns the target.
  3. Configure the authorized target, profile, modules, and authentication method.
  4. Run the assessment within the approved scope.
  5. Review findings alongside their HTTP records and OAST callbacks.
  6. Export SARIF or CSV when the result must enter a ticketing or CI workflow.
  7. Retest the stored evidence after remediation changes the route.

The retest is important. It closes the loop with the same project context instead of assuming that a code change resolved the observed behavior.

Common mistakes to avoid

Treating an authentication token as an all-access credential. Use a dedicated account or token with the minimum approved access for the assessment. A broader credential does not make the result more useful if it exceeds the agreed test boundary.

Testing only the login page. Authentication is valuable because it exposes the workflows behind login. Confirm that the assessment includes the protected routes that matter to the application owner.

Ignoring authorization after login. Authentication proves identity; authorization determines what that identity can do. The important review questions are often about roles, tenants, object ownership, and endpoint-specific permissions.

Exporting a result without its proof. A report is useful for workflow integration, but reviewers still need the record that explains the finding. Keep the request, response, and callback evidence accessible in the project.

Continue the assessment

Read the authenticated scanning documentation for the product workflow, review findings and evidence, or request an Eresus Guard workspace for an authorized evaluation.