Crocusoft | What Is a Pentest (Penetration Test) and When Does Your Website Need One?
Security specialist testing a web application for weaknesses during a pentest
Technology 9 MIN READ 12/1/2026 8:41:10 AM

What Is a Pentest (Penetration Test) and When Does Your Website Need One?

Your site or app is live, users are on it, payments go through. But what would happen if an outsider tried to break in? The most direct way to answer is to try it in a controlled way. That's called a penetration test, or pentest.

In this article we explain what a pentest is, what it checks, when you need one and what to look at when ordering. The core framework comes from the official guidance of the UK's National Cyber Security Centre (NCSC). Exact prices, durations and required standards depend on the project and the sector, so we don't guess them here.

What Is a Pentest (Penetration Test)?

A pentest is when security specialists, with permission, try to get into your system the way a real attacker would. The NCSC describes it as an assurance method: a check that increases confidence in a system's security. The goal is to find weaknesses before an attacker does and to show what needs fixing.

There's one important nuance. The NCSC notes that a pentest should not be your primary way of finding vulnerabilities. The primary route is building the system securely, reviewing code and running automated scans. A pentest is an additional, independent layer on top.

Pentest, Vulnerability Scan and Audit Are Not the Same

CheckWhat it doesWho does it
Vulnerability scanAutomatically looks for known weaknesses with a toolMostly an automated tool
PentestChains weaknesses together to test a real attack scenarioAn experienced security specialist
Security auditAssesses policies, processes and configurations against documentsAn auditor

In short: a scan answers "which doors are open?", while a pentest answers "if I go through an open door, what can I reach?"

What Does a Pentest Check?

The scope depends on the order. Typical targets:

  • Websites and web apps: login forms, sessions, permissions, data entered into form fields. Related: website security.
  • APIs: the services your mobile app or integrations use. See: API security.
  • Mobile apps.
  • Network and infrastructure: servers, open ports, configuration.
  • Authentication and authorization logic: can a user reach someone else's data? To understand the difference, see authentication vs authorization.

When Do You Need a Pentest?

  • Before a new system or a major update. When core features change, new weaknesses can appear.
  • For systems that handle personal or financial data. Online payments, customer accounts, medical or HR data raise the risk.
  • When a customer, partner or regulator asks for it. Some contracts and sector rules may require an independent security check. Verify the exact requirement for your own sector.
  • After a security incident. To confirm the problem is fixed.
  • After a significant infrastructure change: a new server, a move to the cloud, a new integration.

If the system is still a prototype with no real data, a pentest may be premature. Applying the basic security rules first makes more sense.

How Does a Pentest Work?

  1. Defining the scope. The NCSC stresses that scoping must be done properly: what is tested, what isn't, at what times and under which rules. Written permission is obtained at this stage.
  2. Information gathering. The system's outside view, technologies and entry points are studied.
  3. Looking for weaknesses. Automated tools and manual checks are used together.
  4. Exploitation. The real impact of a found weakness is tested: reading data, bypassing permissions and so on. This is done under control and within the agreed framework.
  5. Report. According to the NCSC, the report should give findings with risk levels and resolution advice.
  6. Fixes and retest. Findings are fixed and the important ones are tested again.

What Should a Pentest Report Contain?

A good report doesn't just say "a vulnerability was found." It should include:

  • An explanation of each finding and the steps to reproduce it (so a developer can see and fix the problem).
  • A risk level (such as critical, high, medium, low) and the business impact.
  • A fix recommendation.
  • Which areas were tested and which were not.

The Limits of a Pentest

This part is often forgotten. The NCSC's guidance states that a pentest result is only valid on the day of the test. If code changes the next day, a new package is installed or the configuration shifts, the result can go stale. That's why a pentest doesn't replace continuous security processes: updates, monitoring, code review and automated checks in the CI/CD pipeline should continue. See: CI/CD Pipeline and code review.

A pentest also doesn't mean "the system is protected from attack." It helps you see weaknesses, while protection comes from fixes and continuous security.

What to Look at When Ordering a Pentest

  • The specialist's experience and qualifications. The NCSC recommends using qualified testers. Ask about previous work and references.
  • A written scope and rules. What will be tested, at which hours, with which methods.
  • Impact on Production. Could the test slow down or stop the live system? Where possible it's done in Staging, or at an agreed time.
  • Confidentiality. How will the specialist protect the data they see during the test (NDA, data retention rules)?
  • Report format. Does it include risk levels, fix advice and a retest?
  • Retest after fixes. Is it included in the price, or paid separately?

The Most Common Mistakes

  • Treating a pentest as the only security measure. Proper code, updates, access control and monitoring are the foundation.
  • Setting a narrow scope. Only the main site is tested, while the API and admin panel are left out.
  • Reading the report and not fixing anything. Even the most expensive report is useless if it isn't acted on.
  • Not getting permission for the test. Testing without permission can create legal problems. Also check your hosting or cloud provider's rules.
  • Never repeating it. As the system changes, the check should be repeated.

Frequently Asked Questions

Is a pentest the same as a security scan?
No. A scan mostly looks for known weaknesses with an automated tool. A pentest is a specialist chaining found weaknesses together and testing them like a real attack.

Can a pentest harm the system?
In a well-planned test the risk is reduced, but not zero. That's why scope, timing and methods should be agreed in advance, and Staging used where possible.

How often should a pentest be done?
There's no single answer. It depends on the system's risk, how often it changes and sector requirements. The general logic: before or after major changes, and at set intervals.

Is the system fully secure after a pentest?
No. The result reflects only the state of the system on the day of the test.

Is it needed for a small site too?
Not every site needs a full pentest. For a simple brochure site with no real data or payments, basic security measures are often enough. For systems with customer data and payments, a more serious check makes sense.

Can the company's own team do the pentest?
It can, but an independent outside view is more objective, because the team that built the system may overlook its own weaknesses.

Conclusion

A pentest is a useful tool that checks a system through an attacker's eyes and ends in a concrete list of fixes. But it isn't enough on its own: it creates value together with a secure development process, updates and monitoring. For the bigger security picture, see our articles on cybersecurity strategy and Zero Trust.

If you want to assess your system's security posture, get in touch with the Crocusoft Security team. We can define the scope together and propose a check plan that fits your system.

Source: NCSC (UK), Penetration testing guidance.