External and internal pentesting

How an AI pentest works.

You authorise the scope. Agents run the tests and publish automatically verified results. Your team fixes the issues, then requests retests.

01 From scoping to remediation

Stay in control at every step.

  1. 01

    You authorise testing.

    We agree targets, access, exclusions and schedule. You establish control of the scope and authorise the launch.

    To prepare the mission

    The infrastructure, networks, Active Directory domains, applications or APIs to test, accounts and useful documentation. External domains are verified by DNS TXT or an HTTPS file. For internal testing, the site mandate defines authorised networks and services.

  2. 02

    Agents test the scope.

    They explore workflows and look for exploitable scenarios. You follow their activity in the console and can stop the mission.

    To understand access

    Dedicated account credentials are encrypted at rest. They are shared in plain text with agents and the AI model during testing, with your explicit consent. Providers and processing locations are specified before launch.

  3. 03

    You receive the report.

    Findings and evidence are evaluated automatically. Published vulnerabilities include impact, severity and a remediation recommendation.

    To understand coverage

    The report describes the scope actually tested, reviewed surfaces, limitations and points to follow up. Cookies and secrets are masked in retained evidence.

  4. 04

    You have fixes verified.

    After deploying your fixes, request your two included retest batches within 60 days of the report.

    To distinguish retests

    A retest checks remediated findings. It is separate from a new full pentest.

02 Private networks and services

Test from your internal network too.

Install the relay using the command from your console. Define authorised networks, Active Directory systems, applications and services; agents test them from inside your network.

The relay must remain available during the mission. It never extends the authorised scope.

Prepare an internal scan
Fig. 2

Your SpectrAI console Scope, launch, monitoring and report

Client’s local network · authorised scope

SpectrAI relay Installed with the command from your console

  • Internal applications
  • Private services
  • Test environments
The console drives the scan and the relay reaches the authorised services inside your network. No need to expose your services to the Internet.

03 Mission boundaries

Understand the limits too.

What allows a vulnerability to be published?

Its impact must be demonstrated and its evidence verified automatically. Several reports may describe the same vulnerability. An unproven hypothesis is not published as a confirmed vulnerability.

Are the tests destructive?

Proofs stop at the minimum needed to demonstrate impact within the authorised scope. In the sample report, the agent runs an identity command. Scoping defines exclusions and precautions specific to your application.

What remains outside the scope?

Unauthorised targets and operations, along with agreed exclusions. Source-code review, social engineering and physical testing are not included. The mandate specifies the infrastructure, networks, Active Directory systems, applications and APIs to test.

Prepare access to your API.

Gather authorised URLs, accounts for each role, test objects and excluded operations before scoping.

Prepare an authenticated API pentest

How do you scope an external penetration test from an asset inventory?

An inventory records what is visible on the internet. The engagement scope names the assets their owner has authorised for testing, the agreed window and the exclusions. Consider three decisions for a fictional organisation.

Public portal operated by your team
Record the exact hostname, owner and proposed window in the scope. Specify whether the engagement covers the public portal or also an area that requires an account.
Newly discovered staging application
Ask the product team to confirm who owns it and how it is used. Keep the asset pending until the owner authorises testing.
Provider-hosted service
Distinguish your application from the shared infrastructure. Record the boundary agreed with the provider and the assets to exclude.

Review these assets in the SpectrASM sample inventory

See how the report documents scope and limitations

Prepare access and evidence for a network or Active Directory pentest

One domain can host several customer workspaces. Before asking for a quote, specify which workspaces and roles may be used for testing and who may receive the report. Define the scope of a SaaS pentest.

Before your proposal

Examine the path through to the retest.

Use these resources with your technical team and report recipient to agree expected evidence before ordering.

  1. Write expected permissions

    The API matrix names accounts, objects, and allowed or denied actions.

    Adapt the scoping kit

  2. Connect findings to evidence

    The local lab exercises 8 cases, with 4 violations before the fix and 8 expectations met afterwards.

    Examine requests and responses

  3. Check the expected deliverable

    The report worksheet helps its recipient review scope, prerequisites, impact, remediation and limitations.

    Read the report worksheet

  4. Define remediation evidence

    Specify the fixed version and findings to exercise again. A blocked verification remains a limitation to document.

    Prepare the retest

The lab uses a fictional application and data. Its responses are reproducible, but represent neither a customer case nor a SpectrAI performance measurement. This API example does not describe the product’s full infrastructure, network, AD and internal scope.

Examine the results in the report.

Open a finding, its reproducible evidence and the remediation recommendations.