Security testing basics for QA
Nobody expects penetration testing from a manual QA. But basic security checks are part of a manual tester's daily work, and in insurance/banking that isn't a nice-to-have — it's a requirement.
Framing the QA role correctly matters: I catch and document the signal of a weakness; exploiting it and analysing it deeply is the security team's job. Stating that boundary openly in an interview signals maturity.
The most common problem classes a manual tester can check (aligned with the classic OWASP list): broken authentication and authorisation, IDOR, injection (SQL/XSS), sensitive data exposure and weak session management.
| Problem class | What to try | What to report if you see it |
|---|---|---|
| Broken access control / IDOR | Swap the ID in the URL or API request for someone else's: /policy/10231 → /policy/10232 | Another customer's policy/document opens or can be edited |
| Role-based authorisation | Open an admin URL with a regular account; call a UI-hidden action directly via the API | The action is only hidden in the UI while the backend doesn't check permissions |
| Authentication | Repeated wrong-password attempts; Back button after logout; a request with an old/expired token | No lockout, pages still open after logout, expired tokens accepted |
| Injection (SQL / XSS) | Enter test payloads in text fields and watch the result | A 500 error, a database error message on screen, a script executing |
| Sensitive data exposure | Inspect response bodies in DevTools Network; check URL parameters; open PDF/export files | Full card numbers, national IDs or password hashes in a response; a token or personal data in a URL |
| Session management | Wait for session timeout; log in from two devices; change the password and check the old session | Sessions never expire; the old session still works after a password change |
Ethical and legal boundaries — these are mandatory knowledge:
- Security checks are run only on test environments and only on authorised systems
- Security testing on production is not done without written permission — in many jurisdictions this carries legal liability
- Never play with real customer data; use test accounts and masked data
- A discovered weakness is not discussed in an open channel (general chat, screen share) — report it to the security team or lead through a restricted channel
- A bug report may contain the payload, but must not include real exploitation steps or extracted data
Mentioning these rules in an interview is a strong signal: it shows you understand the responsibility, not just the technique.
The highest-value and easiest check is IDOR: change the ID in a URL or API request by one and see whether another customer's data opens. On an insurance portal this is the most serious problem findable in a single step. When answering "how would you test this form?", always include IDOR in your security section — most candidates forget it.
📚 Sources and documentation
- OWASP Top 10officialowasp.org
- OWASP Web Security Testing Guideofficialowasp.org
The step-by-step reference for how each security check is actually performed.