# Start a pentest

> Targets, focus instructions, access to signed-in areas, schedules, and starting from Assets or an earlier scan.

Source: https://scansuite.eu/documentation/ai-pentest/start-a-pentest
Last reviewed: 2026-11-26

> **ScanSuite AI:** This page describes ScanSuite AI. ScanSuite Teams has no AI Pentest.

Start an AI Pentest from **Scanners → AI Pentest**. The page has four parts: the targets, an optional focus, when to run, and access to signed-in areas of a web application. Starting a scan needs a role that may run scans in the team (Operator or above).

## Targets

Type one target per line in **URLs, or domains, hosts, IPs and networks**:

| Example | What it starts |
|---|---|
| https://shop.example.com | A web application. The test stays on that origin (scheme, host and port). |
| example.com, app.example.com | A domain or host. It is mapped with OSINT first; every web application found on it is tested on its own. |
| 10.0.0.5, 10.0.0.10-10.0.0.40, 10.0.0.0/24 | An address, a range or a network. Service discovery comes first; then each host is assessed on its own. |

- **One kind per scan.** A scan is either a web scan (URLs) or an infrastructure scan (everything else). A list with both starts one scan of each kind: the button then reads *Start 2 AI Pentests*, and the summary under the box says what will start.
- **The team's targets decide.** URLs are checked against the team's web target rules and the rest against its infrastructure target rules (Teams → Scanning). A target the team does not allow is refused before anything starts, with the reason.
- **Network size.** A scan covers at most 1024 addresses unless the *Largest network per scan* safeguard says otherwise.
- **The ScanSuite server itself** as a target gets a warning, not a refusal.
- With a product chosen in **Product / Eng ID**, the download button beside the box fills it with that product's targets.

## Focus (optional)

Up to 4000 characters saying what to look at first, or what to leave alone. The agents plan the rest. Before the run starts, a model reads the text and turns what it says plainly into rules every agent must follow; the harness then refuses any tool call that breaks one. The scan page shows them under **Your instructions as rules**.

| You write | What happens |
|---|---|
| Prioritise the admin API and the login flow. | Guidance: the lead plans around it. |
| Do not test /admin. | A rule: requests to /admin are refused. |
| Send at most 2 requests per second. | A rule: a rate limit for the run. |
| Do not submit the contact form. | A rule: that form is left alone. |
| Only SQL injection. | A rule: other weakness classes are no longer required or tested. |

Instructions can only narrow what the safeguards allow, never widen it. You can add rules while the run is going: see [Following a run](https://scansuite.eu/documentation/ai-pentest/following-a-run).

## When

**Frequency** is Once, Daily, Weekly or Monthly, with a date and a time. **Run or save**: Run now starts it at once; Save scan keeps it as a schedule. Product / Eng ID chooses the product the findings and hosts belong to. Saved runs are under *AI Pentest schedules* at the top of the page, past runs under *Your AI Pentest runs*.

## Access (web apps)

- **Cookies** and a **Custom header** (for example `Authorization: Bearer …`) give the agents a signed-in session to start from.
- Credentials of the product marked **Use in AI Pentest and AI scans** on the Credentials tab are tried as well, at login forms and on services that take credentials.
- The agents may register test accounts of their own on a sign-up form, so they can compare what two users see.

The runner reads cookies, headers and credentials only when the run starts; the queued scan holds no secret. Agents refer to a password by a placeholder, and the harness puts the real value into the request, so the model never sees it. Each identity the agents use (your session, an anonymous one, the accounts they open) is kept apart, which is how access control between users is tested.

## Other ways to start one

- **Assets:** select hosts, then the Scan action. The form opens with the product and the hosts filled in.
- **Scan History:** *Scan again with changes* opens the form filled from an earlier run; change what you need and start it.
- **A pipeline or a script:** see [Pipelines and API](https://scansuite.eu/documentation/ai-pentest/pipelines-and-api).

## Before the run starts

The runner refuses to start, with the reason in the scan log, when a safeguard the installation requires has no value (Production asks for a run window and a contact), when a network is larger than allowed, or when the time is outside the run window. See [Safeguards](https://scansuite.eu/documentation/ai-pentest/safeguards).
