> For the complete documentation index, see [llms.txt](https://docs.nullify.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nullify.ai/capabilities/pentests/preparing-for-an-engagement.md). Agents can also search and read this documentation through its [MCP server](https://docs.nullify.ai/~gitbook/mcp).

# Preparing for an Engagement

One application is one target URL. Each service behind it, including downstream services, is a separate web service.

## Checklist

|   | Item                                             | Required             |
| - | ------------------------------------------------ | -------------------- |
| 1 | Target base URL, including the API path prefix   | Yes                  |
| 2 | API specification served by the test environment | Strongly recommended |
| 3 | Test identities                                  | Strongly recommended |
| 4 | Test records for those identities                | Strongly recommended |
| 5 | Nullify outgoing IP addresses allowlisted        | Yes                  |
| 6 | Rate limits relaxed for those IPs                | Recommended          |
| 7 | Repository and path per service                  | Recommended          |
| 8 | Authorization and test window                    | Yes                  |

## 1. Target

The full base URL of the API, including any path prefix: `https://api.staging.example.com/api/v2`, not `https://api.staging.example.com`. For GraphQL, the endpoint URL. In the dashboard the target takes the host, port and protocol; give the path prefix to your Nullify contact.

Use a disposable staging or QA environment. The pentester sends real attack traffic and may create, modify, or delete data. An administrator must set the target's **Target classification** to **Confirmed non-production** in the dashboard; an assessment request for a target that is unknown or production is refused.

If the service is not reachable from the internet, see [Running in Private Networks](https://docs.nullify.ai/capabilities/pentests/private-networks.md).

## 2. API specification

Serve the specification from the test environment under the base URL at one of `/openapi.json`, `/openapi.yaml`, `/swagger.json`, `/swagger.yaml`, `/api-docs`, `/v3/api-docs`, `/api/openapi.json`, `/docs/openapi.json`, or enable GraphQL introspection. To supply a specification file instead, send it to your Nullify contact; from CLI version 0.29.0 the CLI no longer takes one.

OpenAPI 3.x or Swagger 2.0, JSON or YAML.

## 3. Identities

Provide:

* One identity per role or permission level in the application, with a sentence on what it may and may not do in the credential's description
* For a role that owns records, two identities with distinct credential names and separate records
* For a multi-tenant application, an identity in a second tenant

Two authenticated identities is the minimum for cross-identity authorization testing.

For each identity:

* Username and password, and the login URL for form logins

Use dedicated test accounts valid for the whole engagement window, with multi-factor authentication off or a TOTP secret you can give Nullify.

Configure username and password (with an optional TOTP secret), API-key or bearer-token, and OAuth 2.0 client-credential logins in the dashboard; depending on your workspace, the credential dialog also offers HTTP basic and OpenID Connect. Give a non-standard login form, or a second factor other than TOTP, to your Nullify contact before the engagement.

<figure><picture><source srcset="https://3946391995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FId2OtLCL6O6V3XSRYxtr%2Fuploads%2Fgit-blob-3b113ab5e26e55ece7fe49e186e01de6514b0cbf%2Fadd-credential-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://3946391995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FId2OtLCL6O6V3XSRYxtr%2Fuploads%2Fgit-blob-9e29ec30eaedd71a3594d9818355b6b6a077a23e%2Fadd-credential.png?alt=media" alt="Add credential dialog"></picture><figcaption><p>Leave Login URL blank for HTTP Basic.</p></figcaption></figure>

Validate each credential in the dashboard before the engagement, where available: select **Test sign-in** on each credential in the onboarding Assessment step. Where the button is unavailable, Nullify runs the sign-in checks during your evaluation. Review any result that is not successful with Nullify before starting.

A credential with **Use in scans** switched off never logs in, in a pentest or in exploit validation. A run whose mapped credentials are all switched off stops rather than testing unauthenticated; unlink them from the application to test without logging in.

## 4. Records

Each identity needs records of the kinds the API serves, so that access can be compared across identities. Unlock any account state that endpoints depend on, such as verified contact details or completed onboarding.

## 5. Outgoing IP addresses

The dashboard lists Nullify's outgoing IP addresses, with a **Copy** button, in the Assessment step of onboarding and on each target's validation page. Allowlist them by IP address on any WAF, API gateway, or secure web gateway in front of the target, and in security groups.

Where enabled, Nullify can prepare the allowlist change as a pull request. If a GitHub.com repository you selected manages an existing WAF or IP allowlist, Nullify drafts a change that adds only its scanner IP addresses and removes earlier ones it no longer uses. Select **Preview changes** in the onboarding Assessment step, or **Review changes** under **Settings → Connectors → Setup proposals**, then **Create draft pull request**, and merge and apply it yourself. Nullify never creates an allowlist, so if none is found, allow the addresses by hand. See [Setup proposals](https://docs.nullify.ai/connectors/aws/configuration.md#setup-proposals) for permissions and expiry.

If out-of-band checks are in scope, also allow the outbound callback domains your Nullify contact gives you.

## 6. Rate limits

Relax or exempt rate limits and bot mitigation for the Nullify outgoing IP addresses during the test window.

## 7. Repositories

Give your Nullify contact the repository and repository path for each service behind the target, including downstream services, and which test credentials belong to each.

## 8. Authorization and test window

Agree with your Nullify contact before the run:

* Written authorization covering the permitted targets and actions; give any exclusions to your Nullify contact before the run
* Start and end of the test window, with timezone
* A named contact on your side for the duration of the run

A run can be stopped at any time from the dashboard.

## Preflight

Validate each credential before requesting the assessment. Nullify reviews the target and credentials before the run starts and contacts you if anything blocks it.

## Confirm the testing boundary

Record allowed targets, path scope, excluded operations, test identities, and whether any mutation testing is authorized before starting. Provide disposable accounts and data for approved write tests. Do not infer permission to modify production data from the presence of administrator credentials.

An administrator authorizes mutation testing per application in the dashboard: on **Applications**, open the application's actions, select **Run mutation testing**, read the warning, tick the acknowledgment and select **Enable mutation testing**. Writes run only on targets confirmed as non-production; an assessment on any other target stays read-only. **Disable mutation testing** in the same dialog stops new mutations but does not undo requests already sent.

[Exploit Validation](https://docs.nullify.ai/capabilities/pentests/exploit-validation.md) is read-only unless write risk is [accepted](https://docs.nullify.ai/capabilities/pentests/exploit-validation.md#accepting-write-risk-on-a-target) for a specific target you have confirmed as non-production, either by an administrator on your side in the dashboard or by Nullify staff recording your written approval. Include that decision in the written authorization. Production targets are never attacked.

Review [supported targets](https://docs.nullify.ai/capabilities/pentests/supported-targets.md), [private connectivity](https://docs.nullify.ai/capabilities/pentests/private-networks.md), and the [readiness and scan-state guide](https://docs.nullify.ai/capabilities/pentests/engagement-workflow.md#readiness-budgets-and-scan-states). A discovered route or successful login does not establish complete authorization coverage; inspect the final stage and identity coverage with the findings.
