Black-Box vs White-Box vs Grey-Box Penetration Testing
Black-box, white-box and grey-box penetration testing compared: what testers know in each, coverage and cost trade-offs, and how to pick the right one.
You share accounts, architecture notes and read-only access to your source code. Our testers use the code to find the riskiest paths and prove each flaw against the running system, and AI drafts the report for their review. You get the deepest coverage for the time spent.
AI-powered, expert-verified
On a white-box test, testers follow the code to the riskiest paths while AI scans the running app and triages what it flags. AI drafts each write-up, proof of concept and fix, and a tester reviews every draft.
Verified under the Cyber Verification Programs for Anthropic Claude and OpenAI Codex Self-hosted open-source AI modelsSee the AI engine
Everything a developer on your team would know about the system in scope, with read access only.
Testers only need to read. Remove or rotate live secrets before you share code.
It goes deepest in the time available. The cost is the trust and setup that code access needs.
Choose it when the system is critical and you can share code.
Payments, refunds, sign-in, permissions and anything that decides who sees what. A missed flaw here costs the most.
New code has never faced an attacker. Testing it with the code open finds flaws before your users do.
Grey-box tests found little, and you want to know whether the app is solid or the flaws are just hard to reach.
Background jobs, webhooks, queues and feature flags do real work but are hard to reach from the outside.
Can’t share code? Grey-box testing gets you most of the way. See grey-box penetration testing
The more the tester knows, the deeper they get in the same time. What changes is what you share and what is simulated.
Read about the other two approaches
Outside-in, with zero inside knowledge
Test as real users, one account per role
Five stages, from code access to verified fixes.
We agree the systems and repositories in scope, the roles to test, and how read-only code access is granted and later removed.
Testers read your architecture notes and the code that handles sign-in, permissions, input and money, and list the riskiest paths.
Each suspicious path is attacked on the running app with real requests, so every finding is proven, not theoretical.
AI drafts the write-up and a tester reviews it. Each finding points to the code behind it, with a CVSS 3.1 vector, proof of concept and fix, in your dashboard and a branded PDF.
When a fix ships, testers check the change in the code and replay the attack against the running app.
See how findings, CVSS 3.1 scores and fixes look in the final PDF.
View sample report (PDF)Black-box, white-box and grey-box penetration testing compared: what testers know in each, coverage and cost trade-offs, and how to pick the right one.
Types of penetration testing explained: web, API, mobile, network, cloud and social engineering tests, what each one finds, and which to buy first.
Penetration testing methodology phases explained by working pentesters: what happens in each of the 5 steps, what you should receive and the red flags to catch.
It is a penetration test where the testers get full context: accounts for each role, architecture notes, configuration and read-only access to your source code. They use the code to find the riskiest paths, then attack the running system to prove what is really exploitable.
No. A secure code review reads code to find weaknesses. A white-box pentest uses the code as a map, then proves each issue against the running app with real requests. You get fewer theoretical findings and more proven ones, but not a line-by-line audit of every file.
Usually through read-only access to the repositories in scope, or a code archive. We agree the method, the scope and when access ends in writing before testing starts. Remove or rotate any live secrets in the code before you share it.
White-box covers what a signed-in user can do, as grey-box does, and goes further. It does not show what an outsider can discover with no help, so you may want to pair it with an outside-in recon pass or a black-box test of your internet-facing hosts.
Testers read the code and prove each flaw on the running app themselves. AI drafts the report: the write-up, proof-of-concept steps and the fix for each finding, which a tester reviews and edits. Every reported finding is verified by a pentester. Engagement data such as findings and report content may be processed by Anthropic Claude and OpenAI Codex under their API terms (not used to train their models), or by our self-hosted open-source models.
For critical code, usually yes. Time that would go on guessing how the system works goes on testing it instead, so you get deeper coverage for the same effort. For a simple marketing site or brochure app, grey-box or black-box is usually enough.
Most attack paths cross more than one target. Test them together under one scope and one report.
Hands-on testing of your web apps for broken access control, injection, session flaws and business-logic abuse.
Every endpoint tested for object and function level authorization, token handling, data exposure and rate limits.
One place for every finding: status, CVSS 3.1, proof of concept, comments, retests and one-click PDF reports.