~/swagasecurity›izanagi▌
SWAGA SECURITY // SECURITY SCANNER

Izanagi

Finds IDOR, BOLA and broken access control - #1 in the OWASP API Top-10. It takes an API description and two accounts and shows the victim's data in the response for every finding.

clickable demo
~/projects›shop-api›inventory▌--:--:--
/shop-api
┌┐└┘
API map
PROJECT APIendpoints20checked18from traffic15need producer1findings5▾ /orders5checked 5/5findings 2GET/POST/DELETE/{id}GET/{id}1 ⚠PATCH/{id}/status1 ⚠▾ /admin3checked 2/3findings 2GET/export1 ⚠POST/refundsGET/users1 ⚠▾ /users4checked 4/4findings 1GET/{id}1 ⚠PUT/{id}≠GET/{id}/addresses⇢GET/me
▇ has a finding▇ checked and clean▇ not checked yet
┌┐└┘
inventory · 20
methodpathstateauthfindings
GET/orders/{id}activebearer1
GET/ordersactivebearer-
POST/ordersactivebearer-
PATCH/orders/{id}/statusactivebearer1
DELETE/orders/{id}activebearer-
GET/users/{id}activebearer1
GET/users/meactivebearer-
PUT/users/{id}≠activebearer-
GET/users/{id}/addressesactivebearer-
GET/cartactivebearer-
POST/cart/itemsactivebearer-
DELETE/cart/items/{item_id}activebearer-
GET/admin/usersactivebearer1
GET/admin/exportactiveanonymous1
POST/admin/refundscandidatebearer-
GET/productsactiveanonymous-
GET/products/{id}activeanonymous-
POST/auth/loginactiveanonymous-
POST/auth/refreshactivebearer-
GET/v1/orders/{id}gonebearer-
The Izanagi interface with demo data: a fictional shop, not customer data
7
products and testbeds checked
2 CVE
reproduced on real products
IDOR/BOLA/BAC
access-logic classes
read-only
default mode
// feature overview
┌┐└┘
Spec discovery

Parses OpenAPI and fills in missing responses with safe probes to the live API.

┌┐└┘
Attack methodology

IDOR in path, query and body, method probing on 401 and 403, admin endpoints with low privileges, mass assignment.

┌┐└┘
Chain execution

Substitutes variables and keeps state between steps, so for IDOR it picks a specific victim.

┌┐└┘
Verdict

Vulnerable, clean or repair - from the actual data in the response, not a guess.

┌┐└┘
Finding classification

Every finding is checked against the project's history: new, known or no longer detected.

// documentation · first scan
┌┐└┘
quick start
$ # bring the stack up in containers
$ cp .env.example .env   # your model's key and address
$ docker compose up -d --build

  UI              http://localhost:3000
  API             http://localhost:8081
  chain-processor http://localhost:8080

Everything runs in containers. Any model works: cloud over API or local. VAmPI, a deliberately vulnerable API, comes up as the default target.

  1. 01Create a projectTarget, base URL, stack.
  2. 02Set up sign-inTwo accounts: attacker and victim.
  3. 03Load OpenAPI and discoveryDiscovery enriches the spec with real responses.
  4. 04Start a scanPick vulnerability classes, the engine takes it from there.
  5. 05Review findingsEach one gets a “new” or “known” badge and proof in the response.
// confirmed findings
┌┐└┘
[CRITICAL]Firefly III

GET /users/{id} doesn't check ownership (CVE-2023-0298): the response holds another account's email and data.

[HIGH]Grafana

DELETE /snapshots/{key} doesn't check the organization (CVE-2024-1313): the victim's control GET returns 404.

[CRITICAL]MedClinic

GET /api/records/1 returns another patient's medical record (training testbed).

[HIGH]OWASP crAPI

Admin functions and another car's location on a training marketplace.

[MEDIUM]VAmPI

Another user's book and profile on a training API.

On real products - a reproduction of known CVEs. Training testbeds are vulnerable on purpose, so there are more findings there.

// backlog and roadmap
[IN PROGRESS] in progress[SHIPPED] in production
[IN PROGRESS]Jira integration

A finding opens a ticket on its own, with a link to the chain and the proof.

[IN PROGRESS]SARIF export

GitHub Code Scanning, GitLab and other systems pick the findings up.

[IN PROGRESS]Kubernetes packaging

A Helm chart: the whole stack in the customer's cluster with one command.

[IN PROGRESS]Dashboards

Findings by severity, trends between runs, token spend.

[SHIPPED]Scanner core

Chain generation, verdict and repair, any model over API.

Try Izanagi on your own API
A demo on examples, access to the cloud scanner, or a pilot in your environment.
Request a demo