What is Penetration test?
A penetration test is an authorised, manual attempt to break into an app, API or network the way a real attacker would, within a written scope, to find and prove security flaws.
A penetration test (often shortened to pentest) is a security engineer trying to break into your system on purpose, with your written permission. The goal is not a list of theoretical issues. It is proof: this flaw exists, here is how an attacker would use it, and here is how to fix it.
Why it matters
Automated tools are good at known patterns, such as an outdated library or a missing header. They are poor at the flaws that hurt SaaS products most: one customer reading another customer’s data, a normal user reaching an admin function, or a checkout flow that can be replayed for free. Those need a person who understands what the app is supposed to do. Enterprise buyers know this, which is why security questionnaires ask for a recent independent test.
How it works
- Scope. You and the tester agree in writing which systems, accounts and environments are in scope, the test window and an emergency contact. Nothing outside that scope is touched.
- Reconnaissance. The tester maps pages, API endpoints, roles and integrations.
- Testing. Manual testing of authentication, sessions, access control, input handling and business logic, often guided by the OWASP Top 10.
- Report. Findings ranked by risk, each with reproduction steps and a fix.
- Fix and retest. Your team fixes the issues and the tester confirms they are closed.
Typical cost and time
| Scope | Time | Market range |
|---|---|---|
| One web app, a few roles | 1–2 weeks | roughly $5,000–$10,000 |
| Several apps, API and cloud | 2–4 weeks | roughly $10,000–$30,000 |
Independent specialists can cost much less for a tightly scoped test. Ironward’s web app pentest starts at $500 and a web, API and cloud test at $1,200; see pricing.
Common mistakes
- Buying a scan with a pentest label. Ask how many tester-days are in the quote and who does the work.
- Testing only one role. Most serious SaaS flaws sit between roles and between tenants.
- No retest. A report with unfixed findings does not help you or your buyer.
- Vague scope. If it is not written down, it may not be tested, and it may not be authorised.
A penetration test is different from a vulnerability scan, and the term VAPT usually means both together. To see what a test includes, read about our web app and API penetration testing, or our guide to what a penetration test costs in 2026.
Quick answers
How long does a penetration test take?
A test of one web app usually takes one to two weeks, plus a few days for the report. Several apps, an API and a cloud review together can take three weeks or more.
Is a penetration test legal?
Yes, when the owner of the system has authorised it in writing and the tester stays inside the agreed scope. Testing without permission is illegal in most countries.
How often should we get a penetration test?
At least once a year, and after major changes such as a new login system, a new public API or a large AI feature.