API security testing from code and OpenAPI specs: find shadow APIs and broken authorization, and rank each flaw by the data it exposes.
From code and specs · Optional live check on staging

API security from the code
Endpoints, methods, parameters, request bodies and response shapes, extracted from code and specs, including routes your spec forgot.
Detectors cover broken object-level and function-level authorization, unauthenticated endpoints, data exposure, mass assignment and more, each mapped to its OWASP API Security Top 10 category.
Fields are tagged as personal, payment, health, credential or cryptographic data, and severity reflects who can reach them.
Discovery

Inventory drift

Authorization

Sensitive data

Configuration and GraphQL

Live probing

Find injection and other code flaws in the handler behind each endpoint, with deterministic detection and AI that validates, explains and proposes the fix.
Test the running endpoints, and re-test just the ones whose code changed on each pull request.
An AI agent plans and runs attacks against your authorized web apps and APIs, and proves which findings are exploitable, with a proof you can re-run.
Built for authorization flaws
Per-language ownership and role checks, plus authorization profiling, turn an endpoint list into BOLA and BFLA findings you can act on.
AI SAST findings in the handler, DAST findings on the running endpoint and API flaws meet in the Risk Graph, with sensitivity tags attached.
In CI on every pull request, as a pre-commit gate, or as discovery alone to feed DAST. The scanner runs anywhere, including air-gapped environments.

FAQs
API security testing finds flaws in the endpoints applications expose, such as broken authorization, missing authentication and excessive data exposure. It can be done from code and specs, before deployment, or against the running API. Xygeni API Security works from code and OpenAPI specs, with optional live probing, and Xygeni DAST tests the running API.
It is static, with an optional live check. It discovers endpoints and detects flaws in source code and OpenAPI or Swagger specs, then can send one non-destructive request per candidate endpoint to confirm or refute authentication findings. Full runtime testing of the API is done by Xygeni DAST and AI Pentesting, which use the same endpoint inventory.
It finds endpoints that load an object by an ID taken from the request, then checks the handler code for an ownership check. Per-language analysis looks for ownership checks, repository scoping and identity binding, and authorization profiling resolves rules declared centrally in your framework configuration. You can add your own ownership-check names to reduce noise further.
Compare what your code serves with what your spec documents. Xygeni API Security does this automatically: it discovers endpoints from source code and flags those missing from your OpenAPI or Swagger spec as shadow APIs, and spec operations with no handler as orphans. A discovery mode builds the catalog without running detectors.
API Security discovers endpoints in popular web frameworks across the main server-side languages, such as Spring Boot, ASP.NET Core, Django, Express and Laravel. Any API with an OpenAPI 3.x or Swagger 2.x spec is covered through the spec, and GraphQL-specific checks are included. See the supported frameworks in the Xygeni documentation.
Yes. A gateway enforces authentication at the edge, but it can’t see a missing ownership check inside a handler or a response that returns too many fields. Xygeni finds those in code before deployment. Live probing even shows where your gateway already compensates, by marking unauthenticated-endpoint findings as refuted with a 401 or 403.
Get started