Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Security & accessibilitySeniorOccasionalRelease decision

What evidence would you require to make a release decision about input handling after authentication state changes?

Answer

Frame the release decision around evidence that input validation is enforced identically no matter when in the session lifecycle a request arrives, since a re-authenticated or step-up session is exactly where a client-only validation path tends to get skipped. Focus on input handling after authentication state changes. Use 'server-side validation holds regardless of authentication state' as the oracle, not whatever the client happened to render for that state. Cover step-up authentication challenges, session re-establishment after timeout, and privilege changes mid-session as the specific transitions to test input handling across. Keep data and dependencies controlled enough to reproduce the exact state transition that triggered the gap. Release only once automated tests confirm every state transition still enforces full server-side validation, not just the initial login path.

Strong answer includes

  • explicit risk and test oracle for input handling
  • tests server-side validation across authentication-state transitions
  • covers step-up authentication and session re-establishment specifically
  • measurable evidence and residual-risk statement

Practical example

Before releasing a profile-update feature, the team required evidence that input validation rules were still enforced immediately after a step-up authentication challenge, not just on the initial login, because a previous incident let a re-authenticated session skip client-side validation entirely. The release was approved once automated tests confirmed server-side validation held regardless of when in the session the request was made.

#security#accessibility#input-handling

Sources

OWASP Web Security Testing GuideOWASP · Web application security test coverageOWASP API Security Top 10 — 2023OWASP · Authorization, authentication, resource consumption and API-specific risks