Platform

Platform overview How it works Authorization testing Evidence & reports Private scanning Integrations

Solutions

Security agencies Product teams Regulated industries Partner programme

Learn

Blog Knowledge hub Compare

Resources

Pricing Documentation Help centre FAQ Security & data What we haven’t proved

Company

About Contact Careers Sign in to the platform Start a $199 pilot →

Home / Help centre / Targets & repositories

Targets & repositories

What's the difference between a white-box and a black-box target?

Quick answer

A white-box target reads your source code from an HTTPS Git repository and tests the running app, so findings can point to a file and line. A black-box target tests only the live URL, needs no code, and requires proof that you own it.

The short version

Both types test your running application. The difference is what Cyberlop can see. White-box means it can read your code as well. Black-box means it sees only what a visitor could reach at the URL.

How it works in Cyberlop

You choose the type with the two cards under Scan type when you create a target.

White-boxBlack-box
NeedsA Git repository URL over HTTPS and a branchOnly the Main URL
SeesSource code and the running appThe running app only
Ownership proofNo ownership cardRequired: DNS TXT record or Cyberlop staff approval
Finding locationFile and line of codeThe endpoint
Private codeNeeds a read-only Git tokenNot applicable

With white-box, the scan reads the repository first and builds a picture of the app's frameworks, entry points and data flows. Later steps then test the live app with that knowledge. Because of this, a white-box finding can name the file and line to fix.

With black-box, the repository fields turn grey, and the help text reads "Not used for black-box scans." You can run black-box where you cannot share code, such as a hosted product you are authorised to test.

What to do next

Pick white-box when you own the code and want the most detail. Pick black-box when you have only a URL. You cannot switch a target between types later, because targets are immutable. Create another target if you want both views of one app. Read how to create a black-box target or how to connect a repository. Cyberlop also offers grey-box testing; ask us through /contact.

Full tutorial

White-box vs black-box scans: how to choose a scan type in Cyberlop

Step-by-step, with annotated screenshots.

Updated · Back to the help centre

Still stuck?

Tell us what you see on screen and an engineer will help you sort it out.