main logo icon

API Penetration Testing

Stingrai, a CREST-accredited firm, tests REST, GraphQL, gRPC and SOAP APIs for broken object level authorization, authentication and business logic flaws across every role and tenant. Findings are mapped to the OWASP API Security Top 10 (2023), with published pricing for one web application and associated APIs.

API Penetration Testing
ellipse

Our Approach to API Penetration Testing

ellipse

Step 1

Scoping and API Inventory

Stingrai confirms the APIs in scope from OpenAPI or Swagger definitions, GraphQL schemas, Postman collections, protobuf files or WSDLs, along with the roles, tenants and environments to test. Undocumented and older API versions found during testing are reported as inventory findings.

Benefits of API Penetration Testing

APIs carry the data and business logic behind every web and mobile application, and their most damaging flaws are authorization flaws that look like valid requests. An API penetration test proves which requests return data or actions the caller should never reach.

Stingrai tests the API directly, outside the user interface, across every role and tenant in scope, and delivers a report with reproducible evidence, severity ratings and remediation guidance for each finding.

An API penetration test significantly reduces the risk of:

check icon

Customer records exposed through broken object level authorization (BOLA)

check icon

Account takeover through weak token handling, password reset or OAuth flows

check icon

Cross-tenant data access in multi-tenant SaaS APIs

check icon

Privilege escalation to admin functions through broken function level authorization

check icon

Mass assignment, abuse of sensitive business flows and unrestricted resource consumption

API Penetration Testing Approaches

Black Box

Black Box

Testing starts from the API as an outside caller sees it, with no credentials and no documentation beyond what is public. It shows what an anonymous client can enumerate, call and extract, including endpoints and versions the documentation never listed.

Grey Box

Grey Box

Test accounts for every role and tenant, plus the API definition, so every object and function can be requested as every caller. This is where BOLA, broken object property level authorization and broken function level authorization are found, and it is the core of a Stingrai API engagement.

White Box

White Box

Source code and gateway configuration are added, so authorization checks, input handling and rate limits are traced to the code that enforces them. Findings point to the exact handler or policy to change.

OWASP API Security Top 10 (2023) Coverage

Authorization and Authentication (API1 to API5)

Authorization and Authentication (API1 to API5)

  • check icon

    API1 Broken Object Level Authorization: object IDs requested across every role and tenant.

  • check icon

    API2 Broken Authentication: token issuance, validation, expiry, reset and recovery flows.

  • check icon

    API3 Broken Object Property Level Authorization: excessive data exposure and mass assignment.

  • check icon

    API4 Unrestricted Resource Consumption: rate limits, pagination, batching and costly operations.

  • check icon

    API5 Broken Function Level Authorization: admin and internal functions called by lower roles.

Business Flows, Configuration and Inventory (API6 to API10)

Business Flows, Configuration and Inventory (API6 to API10)

  • check icon

    API6 Unrestricted Access to Sensitive Business Flows: purchase, signup, booking and referral abuse at scale.

  • check icon

    API7 Server Side Request Forgery: URL fetchers, webhooks and imports reaching internal services.

  • check icon

    API8 Security Misconfiguration: CORS, verbose errors, HTTP methods, TLS and gateway settings.

  • check icon

    API9 Improper Inventory Management: undocumented, deprecated and non-production API versions.

  • check icon

    API10 Unsafe Consumption of APIs: trust placed in third-party API responses and redirects.

What Stingrai tests in an API

Coverage spans REST, GraphQL, gRPC and SOAP APIs, whether they sit behind a web application, a mobile app or partner integrations. Exact coverage is confirmed at scoping and stated in the report.

REST and JSON APIs

  • Every documented and discovered endpoint and method
  • Object identifiers in paths, queries and bodies
  • Mass assignment on create and update calls
  • Pagination, filtering and bulk endpoints

GraphQL

  • Introspection and field suggestion exposure
  • Authorization on every query, mutation and nested resolver
  • Query depth, aliasing and batching abuse
  • Subscriptions and persisted queries

gRPC and SOAP

  • Service and method enumeration from protobuf definitions or reflection
  • Message-level authorization on each call
  • WSDL operations and XML parsing, including XXE
  • WS-Security and SOAP header handling

Authentication and tokens

  • JWT signature, algorithm and claim validation
  • OAuth 2.0 and OpenID Connect flows and scopes
  • API keys, refresh tokens and token revocation
  • Password reset, MFA and account recovery endpoints

Authorization across every role and tenant

  • BOLA: every object requested by every role
  • BFLA: admin and internal functions called by lower roles
  • Tenant isolation in multi-tenant APIs
  • Field-level access on reads and writes

Business logic, input and configuration

  • Sensitive business flows abused at scale
  • Injection, SSRF and unsafe deserialization
  • Rate limiting and resource consumption
  • CORS, error handling, versioning and gateway policy

Methodology and standards

Stingrai starts black-box, as an outside caller, to find what is reachable without credentials and which undocumented endpoints and versions are exposed. Testing then moves to grey-box with the API definition and a test account for every role and tenant, so every object and function is requested as every caller.

That authorization matrix is the center of the engagement. BOLA, broken object property level authorization and broken function level authorization are the most damaging API findings and the ones automated scanners miss, because the responses look valid.

On the Autonomous Pentest, Snipe works through the matrix on its own. On the Hybrid Pentest, human penetration testers test alongside Snipe throughout, chaining findings and testing the business flows that need human context.

What you receive

Evidence for customers and auditors, priorities for leadership and fix-ready detail for engineering.

For engineering

Findings in the PTaaS portal

Each finding is posted as soon as it is confirmed, with the request and response that prove it, the affected endpoint, severity and remediation guidance.

For leadership

Executive summary

A plain-language view of risk, the data and functions exposed and the fixes to prioritize first.

For security teams

Full technical report

Methodology, coverage and every finding mapped to the OWASP API Security Top 10 (2023), delivered as a redactable PDF.

For engineering

Retesting included

Fixed findings are retested on request, and their status is updated in the portal and the report.

For customers and auditors

Attestation letter

Issued with Hybrid and human-led engagements, stating scope and testing dates. The Autonomous Pentest delivers the Pentest Report.

For the project team

Integrations and direct chat

Jira, Slack and GitHub integration, and direct chat with the assigned penetration testers on Hybrid and human-led tests.

Sample Pentest Report

Explore how we structure executive summaries, prioritized findings, evidence, reproduction steps, and remediation guidance, tailored to SOC 2, ISO 27001, PCI DSS, and HIPAA compliance.

PDF, 4 MB. No email address required.

Timeline

Typical durations. The schedule for each engagement is fixed in writing at scoping.

ScopingPricing within 24 hours
Submit the Get a Quote form and receive pricing within 24 hours, or book a 30-minute discovery call to review the API definition, roles and tenants first.
Autonomous PentestSame-day results
Snipe tests the web application and associated APIs on its own and posts confirmed findings the same day.
Hybrid and human-led testingTypically 3 to 9 testing days
Driven by endpoint count, the number of roles and tenants, and the protocols in scope. A focused API with a few roles sits at the low end; a multi-tenant API with several hundred endpoints at the high end.
FindingsAs they are confirmed
Every finding reaches the PTaaS portal when it is confirmed, so remediation starts during the test.
ReportAt the close of testing
The executive summary and full technical report are issued when the testing window closes.
RetestOn request, included
Once fixes are deployed, a retest is requested from the portal and the status of every finding is updated.

Pricing

Two published packages cover one web application and associated APIs. The Autonomous Pentest is Snipe, Stingrai's autonomous AI agent, on its own: US$3,000 one-time or US$650 per month. The Hybrid Pentest pairs Snipe with human penetration testers: US$6,800 one-time or US$1,275 per month.

Autonomous Pentest

AI Agents

$3,000
/assessment

Fully autonomous web application pentest powered by Snipe.

Deliverables
Pentest Report
Scope & Depth
One web application and associated APIs
Cadence
One-time autonomous testing by Snipe
  • Up to 200 API endpoints or dynamic pages
  • Up to 3 user roles for authenticated testing
  • Same-day results
  • OWASP Top 10
  • Business logic & authorization flaws
  • Black, white, or grey-box testing
  • Automated retests
  • AutoFix PRs

Testing a standalone API, several APIs or a larger API estate? Submit the Get a Quote form and receive pricing within 24 hours, or read the API penetration testing cost guide.

Compliance evidence

One report and its retest results produce evidence for several programs at once.

SOC 2
Evidence for the separate evaluations described in CC4.1, and supporting evidence for vulnerability identification under CC7.1 alongside scan output.
PCI DSS v4.0.1
Requirement 11.4: application-layer penetration testing, including the APIs that handle cardholder data, at least every 12 months and after significant change.
ISO/IEC 27001:2022
Evidence for Annex A 8.8, management of technical vulnerabilities, and 8.29, security testing in development and acceptance.
HIPAA Security Rule
Evidence for the risk analysis at 45 CFR 164.308(a)(1)(ii)(A) and the periodic technical evaluation at 164.308(a)(8), for APIs that carry ePHI.
Customer security reviews
A dated report and, on Hybrid and human-led engagements, an attestation letter for enterprise security questionnaires and partner API programs.

Why Stingrai

check icon

CREST-Accredited Firm

Stingrai Inc. is a CREST-accredited penetration testing provider, founded in Toronto in 2021 with an office in London. The accreditation is held by the company itself, not only by individual testers.

check icon

Named Penetration Testers

Hybrid and human-led engagements are staffed by two named penetration testers from a team holding OSCE³, OSWE, OSEP, CREST CRT and CISSP certifications. Every report is reviewed by the team lead and an engagement partner.

check icon

Published Research

Stingrai's researchers have published 18 CVEs, and team members appear in the Halls of Fame of Apple, Google, Facebook and the US Department of Defense.

check icon

Snipe and Penetration Testers

Snipe, Stingrai's autonomous AI agent, was trained on more than 6,000 HackerOne disclosure reports and works through the authorization matrix for every role and tenant. On Hybrid engagements, penetration testers work alongside it throughout the test.

check icon

Findings as They Are Confirmed

Every finding reaches the PTaaS portal as soon as it is confirmed, with the request and response that prove it and remediation guidance, so engineering starts fixing before the report is issued.

check icon

Rated 5.0 on Clutch

Stingrai holds a 5.0 rating across 20 verified Clutch reviews and 4.9 on G2, from clients ranging from startups to enterprises in healthcare, financial services and SaaS.

Trusted by Industry Leaders

quote icon

Stingrai uncovered vulnerabilities our vulnerability program had missed and helped us harden critical systems with practical guidance. We were impressed with their personalized, transparent approach and delivery against our timelines.

— Manager, IT, 30 Forensic Engineering

quote icon

The team spent time and effort to understand the business cases and uncover vulnerabilities unique to our business. Testing was completed within the promised timeline and within the budget which is very competitive compared to the market.

— CTO, NetNow Financial Inc.

Frequently asked questions about API penetration testing

Discovery of documented and undocumented endpoints and versions, authentication and token handling, authorization for every object and function across every role and tenant, mass assignment and excessive data exposure, business flow abuse, injection and SSRF, rate limiting and resource consumption, and gateway configuration. Every finding is mapped to the OWASP API Security Top 10 (2023) and confirmed with request and response evidence. Denial-of-service and destructive testing are excluded unless agreed in writing.

Prove Every API Authorization Flaw With a Working Request

Stingrai's API penetration tests request every object and function as every role and tenant in scope, and report only what is confirmed with request and response evidence. Every finding includes remediation guidance, and retesting is included.