Web and API penetration testing

If you own a web app or API, this guide will help you define a penetration test that answers a concrete security question. You’ll learn what Pentoma Web can verify, how to prepare your target and test accounts, and how to turn the report into work your engineers can act on.

What a penetration test covers

A web and API penetration test examines a running system within agreed boundaries. Start with an asset and a question about access or exposure. For a billing service, that might be whether a user can read information belonging to another account. The result depends on the hosts, routes, and identities available during the test, so write down those boundaries before interpreting the findings.

Pentoma Web runs a fixed baseline on every test. It checks security headers, session-cookie settings, common sensitive paths, robots.txt entries, and endpoints listed in an exposed OpenAPI specification. A baseline gives you a repeatable starting point. Authenticated coverage adds an account context to the assessment, and comparing identities lets the engine check certain permission boundaries.

Exposure and access
Confirmed by the engineThe engine can confirm missing headers, wildcard CORS, exposed paths, error disclosure, and access without authentication. Cross-tenant reads and role escalation require multiple identities. SQL injection confirmation requires authorized active testing.
Session-cookie flags
Reported, not confirmedThe baseline can surface a missing flag as an observation. Review the setting with the team that owns session handling.
Browser-only flows and unsupported classes
Not covered todayJavaScript-rendered flows, automated MFA login, and classes such as XSS, CSRF, and SSRF need separate coverage.

How the test works

Agree on what the test should answer before it starts. A public API and a logged-in dashboard may sit on different origins even if they belong to the same product. List each host you authorize and clarify what a normal user, an administrator, or a user in a separate tenant should be allowed to see.

  1. You define the boundaries

    Name the in-scope hosts, authorized identities, excluded paths, and request rate. State what each test identity should be allowed to read.

  2. Pentoma proposes the plan

    Review the agent’s proposed test plan. If you authorize active testing, verify the target and approve the signed rules of engagement before the test runs.

  3. Pentoma checks and rates the findings

    The engine runs the baseline and checks supported findings. AI triage assigns severity, explains impact and root cause, and proposes a fix.

  4. SEWORKS reviews compliance reports

    For a compliance engagement, SEWORKS reviews and signs the report so you can hand it to your auditor.

What the verdict tells you

Confirmed means the engine checked the target and observed evidence supporting the finding. Suspected means a signal needs more evidence. Refuted means the engine’s recheck did not reproduce the reported behavior. Keep the distinction when you turn findings into tickets. Severity estimates the impact of the issue, while the verdict tells you how much the evidence supports it.

The Northmere exhibit shows response sizes from a fictional authorized test. The difference persisted on recheck, supporting a SQL injection finding. The evidence records response metadata, and the test read no database rows. When you read a real report, look for a clear connection between the observed behavior, the verdict, and the stated impact.

How to read the report

You receive one PDF for the engagement. Start with the scope and coverage, then use the findings index to locate the highest-impact confirmed issues. Open the relevant finding and read its evidence, root cause, impact, and proposed fix together. In the sample below, the finding points to unsafe query construction and gives the engineering team a specific change to review.

When you hand off a finding, include the report reference and assign it to the owner of the affected control. Turn the expected behavior into an acceptance check for the fix. For an authorization issue, describe which identity should be permitted and which should be denied, so the developer can verify both outcomes.

PENTOMAWEB & API PENTEST

SQL injection in public invoice lookup

An unauthenticated attacker controls the query that serves every organization's invoices.

HOW TO FIX

Use a parameterized statement on both public lookup endpoints.

  • SOC 2 CC7.1
  • ISO 27001:2022 A.8.8
  • PCI DSS v4.0.1 11.4
PNTM-2026-1109-NM01Page 5 of 32
Sample data. Northmere is a fictional company on a Pentoma testbed.

What to prepare

For authenticated testing, Pentoma uses session cookies or headers. The Chrome extension supports session capture. Work with whoever manages identity and access so the accounts reflect your actual permission model. Two accounts with the same rights in the same tenant will tell you little about cross-tenant isolation.

  • A list of approved origins and the application owner for each
  • Test sessions with the roles and tenant labels needed for access comparisons
  • A request rate and any paths the test needs to exclude
  • Target verification and organizational approval if you want active testing
  • A contact who can review firewall or bot protection blocks

Where coverage ends

Pentoma Web tests the available HTTP surface. A browser interaction that depends on JavaScript needs a separate testing method. The engine’s cross-tenant and role comparisons use read requests, so they do not establish the safety of actions like approvals or record changes. If a documented workflow is important, call it out during scoping and arrange coverage for it separately.

If a firewall or bot protection blocks access, the report states partial coverage. Compare that coverage with the original scope before treating the findings list as a summary of the whole application. A repeatable baseline is useful for recurring checks, while a penetration test needs an explicit scope and evidence tied to the behavior being assessed.

Questions

Can we include more than one host?

Yes. Name each in-scope origin explicitly, including a separate API host if you want it tested.

Can one account test tenant isolation?

You need separate identities to compare access across tenants. Prepare test accounts that represent the tenants or roles you want compared.

What changes when we authorize active testing?

Pentoma Web can use a data-free check for SQL injection on a verified target with signed rules of engagement and organizational approval. Active testing is off by default.

What if bot protection blocks the test?

Pentoma reports the block and flags partial coverage. Work with the team that owns the protection rules to review the reported coverage and access requirements.

Is a suspected finding worth investigating?

It can be, especially on a sensitive route. Use the stated impact and available evidence to decide who should investigate it and what would resolve the uncertainty.

How do we use the report in an audit?

Review the scope and coverage with your audit team. For a compliance engagement, SEWORKS reviews and signs the report so you can share it with your auditor.

Find out what’s exploitable in your web app or API

Explore Pentoma Web
Request a pentest