Security testing basics every QA engineer can apply
By Denis Bojkovski, Test Automation Architect · Published November 25, 2026
Where QA fits
Security testing or OWASP was mentioned in 6 of the 86 full descriptions on QAAnywhere on 25 November 2026. Functional testers are not penetration testers, but they know the roles, the data and the business rules, which is what finding broken access control requires. It is ranked first in the OWASP Top 10 of 2021, and it is hard for scanners to detect, because a scanner does not know who ought to see an invoice.
Permission before anything
Test only systems you are authorised to test, in environments agreed for it, within written limits. Do not try these checks on a product you merely use. Get agreement on test accounts, times and whom to tell. Automated scanners generate heavy traffic and can damage data; never start one without asking.
Access control, the highest value
Create two customers and an administrator. For every request, repeat it as:
- the other customer;
- somebody not signed in;
- a user whose access was just removed;
- a lower role calling an administrator's endpoint directly.
Expect a refusal from the server every time. A hidden button is not protection.
[Test]
public async Task Customer_cannot_read_another_customers_invoice()
{
var response = await bob.GetAsync(quot;/invoices/{aliceInvoiceId}");
Assert.That((int)response.StatusCode, Is.EqualTo(403).Or.EqualTo(404));
}
This belongs in the regression suite, for each resource. Include lists, exports, file downloads, and search: developers often protect the record and forget the export.
Input
Type text containing markup and check that it is shown as text everywhere it appears: page, email, PDF, administrator screen. Try quotes, very long values, unusual characters and negative amounts. You are looking for errors, altered layouts and messages that reveal internal details. If something looks exploitable, stop, record exactly what you did, and report it privately.
Trusting the browser
Change values the client sends: price, quantity, user identifier, role, step number. Skip a step in a wizard. Submit a coupon twice at the same moment. Business rules enforced only on the page are not enforced.
Sessions
- Does signing out invalidate the session on the server, or only clear the page?
- Does a password change end other sessions?
- Are session cookies marked
HttpOnly,Secureand with a suitableSameSite? - Is there a limit on repeated sign-in attempts?
- Do sign-in and reset messages reveal which emails are registered?
Data exposure
Read API responses, not only screens. Pages often receive far more than they display: internal notes, other people's emails, flags. Check logs, URLs and analytics events for tokens and personal data. URLs end up in history and in logs.
Dependencies
Ask whether the pipeline checks libraries for known vulnerabilities, and who acts on the result. You do not have to run it. You can ensure that it is somebody's job.
Reporting privately
Use the security process, not a public ticket or a busy channel. Give the minimum proof: "Bob's token returned Alice's invoice 1042", without copying the invoice. State the roles, the request, the impact, and whether you changed any data. Do not explore further to make it more dramatic.
Next steps
The OWASP Web Security Testing Guide is free, and deliberately vulnerable training applications such as OWASP Juice Shop let you practise legally on your own computer. For the API side, see API tests in C#.