Security Code Review & White-Box Pentest
A pentest from the outside sees what an attacker sees. A code review sees what an attacker could find given enough time. By combining your source code with a test of the running application, you find vulnerabilities a black-box test structurally misses, in fewer test days.
What is a white-box pentest?
In a white-box pentest, the pentester gets access to the source code, documentation and usually a test account per role. Joost reads the code through an attacker’s eyes: where does user input enter, which checks are skipped, what assumptions does the developer make? Every suspicious spot is then confirmed on the running application, so you only get real, proven findings rather than a theoretical list.
A security code review can also be done on its own, for example for a critical component such as authentication, payments or a new API, or before a customer audit.
What code review finds that a regular pentest misses
- Authorisation flaws in endpoints that aren’t visible in the interface but do exist
- Business logic flaws: race conditions, skippable process steps, price and balance manipulation
- Injection in deep code paths: SQL, template and command injection only reachable under specific conditions
- Insecure deserialisation and vulnerabilities leading to remote code execution
- Cryptographic mistakes: home-grown tokens, predictable reset links, JWT misuse
- Secrets in code: API keys, passwords and tokens in the repository or its history
- Vulnerable dependencies that are actually exploitable in your code
Why OSWE matters
The OSWE certification (Offensive Security Web Expert) is about exactly this: analysing source code, finding vulnerabilities only visible in the code, and writing a working exploit for them. The exam takes 48 hours of finding and exploiting vulnerabilities in unknown applications. Joost holds OSWE and reviews your code himself.
Languages and frameworks
Including PHP (Laravel, Symfony, WordPress), Python (Django, Flask, FastAPI), JavaScript and TypeScript (Node.js, Express, NestJS, Next.js), Java (Spring), C# (.NET) and Go. Using a different stack? Just ask and we’ll check during the scoping call.
How it works
- Scoping call: which repositories, which parts are critical, and what is the threat model?
- Access: read access to the repository (or an export), a test environment and test accounts per role
- Review and test: manual code analysis, supported by targeted tooling, and verification on the running application
- Report: for each finding the exact location in the code, proof, impact and a concrete proposed fix
- Debrief with your developers: technical and practical, so the team understands the root cause
FAQ
Is my source code safe with you?
Yes. Code is stored only on encrypted systems, never shared, and deleted afterwards. I sign an NDA as standard.
Is white-box testing more expensive than black-box?
Usually not. Because I don’t have to guess how the application works, I find more and deeper vulnerabilities in the same time.
How is this different from a SAST tool?
A tool finds patterns and produces many false positives. A manual review understands your application’s logic and delivers only confirmed findings. See also black box, grey box and white box.
See also: web application pentest · API pentest · SaaS pentest
Planning a pentest?
At MonkeysICT, Joost van ‘t Zand (OSCP, OSWE, OSEP) performs every pentest himself, from scoping call to final report. After a short scoping call you receive a fixed price, and you always get a reply within one business day.
Request a free quote or call directly: +31 6 48 34 39 68. Curious what a report looks like? Download the sample report.
