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 sensitive-data exposure with malicious and malformed input?

Answer

Frame the release decision around evidence that malformed export parameters cannot be used to widen the set of records returned beyond what the requesting user is entitled to, since a boundary or off-by-one bug in pagination or date-range handling is exactly what turns a normal export into a bulk data leak. Focus on sensitive-data exposure with malicious and malformed input. Use 'every record in the response is one the requester is authorized to see, regardless of how the request parameters were malformed' as the oracle. Cover invalid date ranges, negative or oversized page sizes, and boundary values on any parameter that limits result scope. Keep every malformed-parameter case and the resulting record set logged so a scope-widening bug can be reproduced exactly. Release only when boundary and malformed-input tests against the export endpoint confirm the returned set never exceeds the requester's entitlement.

Strong answer includes

  • explicit risk and test oracle for sensitive-data exposure
  • tests boundary and malformed parameters on scope-limiting fields
  • checks every returned record against requester entitlement
  • measurable evidence and residual-risk statement

Practical example

Before releasing an export feature, the team required proof that a malformed export request (invalid date range, negative page size) couldn't be used to pull more records than the requesting user was entitled to, since a similar off-by-one bug had once let an export return another department's salary data. Evidence came from tests exercising boundary and malformed inputs against the export endpoint directly.

#security#accessibility#sensitive-data-exposure

Sources

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