curl --request POST \
--url https://api.aisa.one/apis/v1/github/repositories/repo-advisories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"repo": "openai/codex"
}
'import requests
url = "https://api.aisa.one/apis/v1/github/repositories/repo-advisories"
payload = { "repo": "openai/codex" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({repo: 'openai/codex'})
};
fetch('https://api.aisa.one/apis/v1/github/repositories/repo-advisories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/github/repositories/repo-advisories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'repo' => 'openai/codex'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/github/repositories/repo-advisories"
payload := strings.NewReader("{\n \"repo\": \"openai/codex\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/github/repositories/repo-advisories")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"repo\": \"openai/codex\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/github/repositories/repo-advisories")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"repo\": \"openai/codex\"\n}"
response = http.request(request)
puts response.read_body{
"advisories": [
{
"credits": [],
"cve_id": "CVE-2025-59532",
"cvss_v3": null,
"cvss_v4": {
"score": 8.6,
"vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
},
"cwes": [],
"description": "Due to a bug in the sandbox configuration logic, Codex CLI could treat a model-generated `cwd` as the sandbox’s writable root, including paths outside of the folder where the user started their session.\r\n\r\nThis logic bypassed the intended workspace boundary and enables arbitrary file writes and command execution where the Codex process has permissions - this did not impact the network-disabled sandbox restriction.\r\n\r\n**Remediation**\r\nWe released a patch in Codex CLI **0.39.0** that canonicalizes and validates that the boundary used for sandbox policy is based on where the user started the session, and not the one generated by the model. Users running 0.38.0 or earlier should update immediately via their package manager or by reinstalling the latest Codex CLI to ensure sandbox boundaries are enforced.\r\n\r\nIf using the Codex IDE extension, users should immediately update to **0.4.12** for a fix of the sandbox issue.\r\n\r\nThank you to Tzanko Matev (Codetracer) for reporting the issue!",
"ghsa_id": "GHSA-w5fx-fh39-j5rw",
"html_url": "https://github.com/openai/codex/security/advisories/GHSA-w5fx-fh39-j5rw",
"identifiers": [
{
"type": "GHSA",
"value": "GHSA-w5fx-fh39-j5rw"
},
{
"type": "CVE",
"value": "CVE-2025-59532"
}
],
"packages": [
{
"ecosystem": "npm",
"first_patched_version": "0.39.0",
"name": "@openai/codex",
"vulnerable_functions": [],
"vulnerable_version_range": "0.2.0 <= 0.38.0"
},
{
"ecosystem": "vs code",
"first_patched_version": "0.4.12",
"name": "Codex IDE Extension",
"vulnerable_functions": [],
"vulnerable_version_range": "<= 0.4.11"
}
],
"published_at": "2025-09-19T00:24:10Z",
"publisher": "fouad-openai",
"severity": "high",
"state": "published",
"summary": "Sandbox bypass due to bug in path configuration logic",
"updated_at": "2025-09-22T20:07:26Z",
"withdrawn_at": null
}
],
"attribution": "GitHub Advisory Database (https://github.com/advisories), licensed CC BY 4.0",
"count": 1,
"ghsa_id": null,
"license": "CC-BY-4.0",
"next_cursor": null,
"observed_at_ms": 1792789824000,
"repo": "openai/codex",
"source_url": "https://github.com/openai/codex/security/advisories?state=published",
"upstream_requests": 1
}Repo advisories
Published security advisories of one GitHub repository (its Security > Advisories tab) by owner/name or URL, or one of them by GHSA id or github.com///security/advisories/GHSA-… URL: summary, markdown description, severity, CVSS v3/v4, CWEs, affected packages with vulnerable ranges and patched versions (including ecosystems the global database does not cover), credits, publisher and dates. Cursor-paged, newest published first by default. Covers maintainer-published advisories that never reach OSV.dev or the global database. An unknown repository or advisory is not_found.
curl --request POST \
--url https://api.aisa.one/apis/v1/github/repositories/repo-advisories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"repo": "openai/codex"
}
'import requests
url = "https://api.aisa.one/apis/v1/github/repositories/repo-advisories"
payload = { "repo": "openai/codex" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({repo: 'openai/codex'})
};
fetch('https://api.aisa.one/apis/v1/github/repositories/repo-advisories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/github/repositories/repo-advisories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'repo' => 'openai/codex'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/github/repositories/repo-advisories"
payload := strings.NewReader("{\n \"repo\": \"openai/codex\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/github/repositories/repo-advisories")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"repo\": \"openai/codex\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/github/repositories/repo-advisories")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"repo\": \"openai/codex\"\n}"
response = http.request(request)
puts response.read_body{
"advisories": [
{
"credits": [],
"cve_id": "CVE-2025-59532",
"cvss_v3": null,
"cvss_v4": {
"score": 8.6,
"vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
},
"cwes": [],
"description": "Due to a bug in the sandbox configuration logic, Codex CLI could treat a model-generated `cwd` as the sandbox’s writable root, including paths outside of the folder where the user started their session.\r\n\r\nThis logic bypassed the intended workspace boundary and enables arbitrary file writes and command execution where the Codex process has permissions - this did not impact the network-disabled sandbox restriction.\r\n\r\n**Remediation**\r\nWe released a patch in Codex CLI **0.39.0** that canonicalizes and validates that the boundary used for sandbox policy is based on where the user started the session, and not the one generated by the model. Users running 0.38.0 or earlier should update immediately via their package manager or by reinstalling the latest Codex CLI to ensure sandbox boundaries are enforced.\r\n\r\nIf using the Codex IDE extension, users should immediately update to **0.4.12** for a fix of the sandbox issue.\r\n\r\nThank you to Tzanko Matev (Codetracer) for reporting the issue!",
"ghsa_id": "GHSA-w5fx-fh39-j5rw",
"html_url": "https://github.com/openai/codex/security/advisories/GHSA-w5fx-fh39-j5rw",
"identifiers": [
{
"type": "GHSA",
"value": "GHSA-w5fx-fh39-j5rw"
},
{
"type": "CVE",
"value": "CVE-2025-59532"
}
],
"packages": [
{
"ecosystem": "npm",
"first_patched_version": "0.39.0",
"name": "@openai/codex",
"vulnerable_functions": [],
"vulnerable_version_range": "0.2.0 <= 0.38.0"
},
{
"ecosystem": "vs code",
"first_patched_version": "0.4.12",
"name": "Codex IDE Extension",
"vulnerable_functions": [],
"vulnerable_version_range": "<= 0.4.11"
}
],
"published_at": "2025-09-19T00:24:10Z",
"publisher": "fouad-openai",
"severity": "high",
"state": "published",
"summary": "Sandbox bypass due to bug in path configuration logic",
"updated_at": "2025-09-22T20:07:26Z",
"withdrawn_at": null
}
],
"attribution": "GitHub Advisory Database (https://github.com/advisories), licensed CC BY 4.0",
"count": 1,
"ghsa_id": null,
"license": "CC-BY-4.0",
"next_cursor": null,
"observed_at_ms": 1792789824000,
"repo": "openai/codex",
"source_url": "https://github.com/openai/codex/security/advisories?state=published",
"upstream_requests": 1
}Request contract
- Method and path: POST /apis/v1/github/repositories/repo-advisories
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/github/repositories/repo-advisories
{
"operationId": "github.repositories.repo-advisories",
"method": "POST",
"path": "/apis/v1/github/repositories/repo-advisories",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"direction": "asc",
"per_page": 3,
"repo": "openai/codex",
"sort": "published"
}
}
},
"schema": {
"additionalProperties": true,
"allOf": [
{
"anyOf": [
{
"properties": {
"repo": {}
},
"required": [
"repo"
]
},
{
"properties": {
"url": {}
},
"required": [
"url"
]
}
]
}
],
"properties": {
"cursor": {
"description": "next_cursor from the previous page. Pattern: ^[A-Za-z0-9+/=%_-]+$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"direction": {
"default": "desc",
"description": "direction\n\nProvider reference: allowed values [\"asc\", \"desc\"]; default \"desc\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"asc",
"desc"
]
}
},
"ghsa_id": {
"description": "GHSA id, for example GHSA-jfh8-c2jp-5v3q. Pattern: ^[Gg][Hh][Ss][Aa](?:-[23456789cfghjmpqrvwxCFGHJMPQRVWX]{4}){3}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"per_page": {
"default": 30,
"description": "per_page\n\nProvider reference: minimum 1; maximum 100; default 30.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100,
"min": 1
}
},
"repo": {
"description": "Repository as owner/name. Provide exactly one of repo or url. Pattern: ^@?/?[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?/[A-Za-z0-9._-]{1,100}(?:\\.git)?/?$.",
"type": "string"
},
"sort": {
"default": "published",
"description": "sort\n\nProvider reference: allowed values [\"published\", \"updated\", \"created\"]; default \"published\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"published",
"updated",
"created"
]
}
},
"url": {
"description": "github.com repository URL, its /security/advisories page, or one advisory's URL (which selects that advisory). Pattern: ^(?:https?://)?(?:www\\.)?github\\.com/[A-Za-z0-9-]{1,39}/[A-Za-z0-9._-]{1,100}(?:[/?#].*)?$.",
"type": "string"
}
},
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
- Option 1
- Option 2
github.com repository URL, its /security/advisories page, or one advisory's URL (which selects that advisory). Pattern: ^(?:https?://)?(?:www.)?github.com/[A-Za-z0-9-]{1,39}/[A-Za-z0-9._-]{1,100}(?:[/?#].*)?$.
Response
Published security advisories of one GitHub repository (its Security > Advisories tab) by owner/name or URL, or one of them by GHSA id or github.com/{owner}/{name}/security/advisories/GHSA-... URL: summary, markdown description, severity, CVSS v3/v4, CWEs, affected packages with vulnerable ranges and patched versions (including ecosystems the global database does not cover), credits, publisher and dates. Cursor-paged, newest published first by default. Covers maintainer-published advisories that never reach OSV.dev or the global database. An unknown repository or advisory is not_found.
The response contains the tool result directly.
The provider identifies advisories as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
credits | object[] | |
cve_id | string | |
cvss_v3 | object | CVSS v3 base score and vector; null when GitHub has no v3 score. |
cvss_v4 | object | CVSS v4 base score and vector; null when GitHub has no v4 score. |
cwes | object[] | |
description | string | Markdown advisory text. |
ghsa_id | string | |
html_url | string | https://github.com/{owner}/{name}/security/advisories/{ghsa_id} |
identifiers | object[] | |
packages | object[] | |
published_at | string | |
publisher | string | Login of the maintainer who published it. |
severity | string | |
state | string | published or withdrawn for public advisories. |
summary | string | |
updated_at | string | |
withdrawn_at | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.