Short answer
A regular QA tester checks the basics as part of functional testing: that data can’t be fetched without logging in or with someone else’s ID, that roles see only what they should, that the session ends on logout, that error messages don’t show technical details. They can’t replace a penetration test, where a security specialist tries to break into the app by chaining weaknesses. A pentest is needed before launching an app with personal, financial or medical data, when a client, tender or regulation requires it, after a major architecture change, and periodically, usually once a year.
What a QA tester checks and what a security specialist checks
| area | QA tester in functional testing | penetration test |
|---|---|---|
| data access | someone else’s ID in the URL, a role without permissions | bypassing permissions with various techniques, chaining weaknesses |
| login and session | logout, session expiry, password reset | session hijacking, attacks on tokens, brute-forcing passwords |
| input data | field validation, long text, special characters | code injection (SQL, scripts), attacks on parsers |
| errors | no stack traces or server names in responses | hunting for infrastructure details through every channel |
| configuration | visible symptoms, e.g. staging open to the public | headers, encryption, services on the server, the cloud |
| dependencies | none | known library vulnerabilities and exploiting them |
The left column is part of regular testing and worth checking in every release, for example through negative API test scenarios and data separation in SaaS. The right column is a separate specialism.
When a penetration test is needed
- before launching an app that processes personal, financial or medical data;
- when a client, tender or regulation requires it, e.g. the PCI DSS standard for processing payment cards or industry rules;
- after a major change: a new architecture, a new login method, a new payment integration;
- periodically, usually once a year;
- after a security incident.
What else to check in a financial app besides security, I describe in the guide how to test a fintech app.
What to have between pentests
- automated dependency scanning in CI (e.g. Dependabot, npm audit, OWASP Dependency-Check);
- scanning of configuration and headers;
- code review with a list of typical mistakes, e.g. based on the OWASP Top 10;
- basic data access tests in the regression suite.
These don’t replace a pentest, but they mean the pentest finds the hard things rather than the obvious ones.
How to prepare for a pentest
- Scope: URLs, apps, APIs, and what’s out of scope.
- An environment similar to production, with test data.
- Accounts for each role.
- API documentation, e.g. OpenAPI.
- A time window and a contact person on your side.
- Permission from the infrastructure owner, including the cloud or hosting provider, if it requires it.
- A plan for the findings: who fixes them, by when, and when the retest happens.
How I can help
I don’t do security testing or penetration tests. As part of functional testing I check the basics from the left column of the table, and in a QA audit I can point out whether and when it’s worth commissioning a pentest from a security specialist, and help prepare the environment and test accounts. Describe your project in the contact form.