> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Malware advisories

> Malicious-package advisories from the GitHub Advisory Database (type malware), newest first by default: the package and ecosystem, the malicious version range, CWE-506 style weaknesses, references (often the OpenSSF malicious-packages report) and publication dates. Filter by ecosystem, package names and a publication date range; one cursor page of up to 100. OSV.dev and NVD have no malware browsing, so this is the feed to check a dependency list or watch an ecosystem for newly flagged packages. CC BY 4.0, attribute GitHub.

## Request contract

* **Method and path:** POST /apis/v1/github/repositories/malware-advisories
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/github/repositories/malware-advisories`

[Complete OpenAPI definition](https://aisa.one/docs/openapi-public/github.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "github.repositories.malware-advisories",
  "method": "POST",
  "path": "/apis/v1/github/repositories/malware-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",
              "ecosystem": "npm",
              "per_page": 3
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "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"
                ]
              }
            },
            "ecosystem": {
              "description": "Package ecosystem. pip is PyPI, rust is crates.io, composer is Packagist, actions is GitHub Actions.\n\nProvider reference: allowed values [\"rubygems\", \"npm\", \"pip\", \"maven\", \"nuget\", \"composer\", \"go\", \"rust\", \"erlang\", \"actions\", \"pub\", \"other\", \"swift\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "rubygems",
                  "npm",
                  "pip",
                  "maven",
                  "nuget",
                  "composer",
                  "go",
                  "rust",
                  "erlang",
                  "actions",
                  "pub",
                  "other",
                  "swift"
                ]
              }
            },
            "packages": {
              "description": "Package names (or name@version) to check; matches any of them.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "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
              }
            },
            "published": {
              "description": "Publication date: YYYY-MM-DD, >=YYYY-MM-DD (also >, <, <=) or YYYY-MM-DD..YYYY-MM-DD. Pattern: ^(?:(?:[<>]=?)?\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{2}-\\d{2}\\.\\.\\d{4}-\\d{2}-\\d{2})$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "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.


## OpenAPI

````yaml openapi-public/github.json POST /apis/v1/github/repositories/malware-advisories
openapi: 3.1.0
info:
  description: ''
  title: GitHub
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    github:
      description: ''
      title: GitHub
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 73828e8d56ce13a665df0455fed65723eef8eca8b9daaf3df1dc8393b54fda3a
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/github/profiles/{handle}
    - /apis/v1/github/profiles/{handle}/activity
    - /apis/v1/github/profiles/{handle}/contributions
    - /apis/v1/github/profiles/{handle}/followers
    - /apis/v1/github/profiles/{handle}/following
    - /apis/v1/github/profiles/{handle}/pull-requests
    - /apis/v1/github/profiles/{handle}/repositories
    - /apis/v1/github/repositories
    - /apis/v1/github/repositories/advisory
    - /apis/v1/github/repositories/contributors
    - /apis/v1/github/repositories/file
    - /apis/v1/github/repositories/issue-counts
    - /apis/v1/github/repositories/issues
    - /apis/v1/github/repositories/labels
    - /apis/v1/github/repositories/latest-release
    - /apis/v1/github/repositories/malware-advisories
    - /apis/v1/github/repositories/releases
    - /apis/v1/github/repositories/repo
    - /apis/v1/github/repositories/repo-advisories
    - /apis/v1/github/repositories/search-advisories
    - /apis/v1/github/repositories/search-repos
    - /apis/v1/github/trending/developers
    - /apis/v1/github/trending/repositories
  x-aisa-document:
    composer_version: '31'
    facts_hash: 73828e8d56ce13a665df0455fed65723eef8eca8b9daaf3df1dc8393b54fda3a
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:a055d89f62349e434a949353c82c3e802d4c1431c066f986216eec578e7f054b
    document_hash: sha256:0014d1824663f07a4243d1903cd5129063a4673a5eb1bec96605e5d18d3f74b4
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: github
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/github/repositories/malware-advisories:
    post:
      tags:
        - GitHub
      summary: Malware advisories
      description: >-
        Malicious-package advisories from the GitHub Advisory Database (type
        malware), newest first by default: the package and ecosystem, the
        malicious version range, CWE-506 style weaknesses, references (often the
        OpenSSF malicious-packages report) and publication dates. Filter by
        ecosystem, package names and a publication date range; one cursor page
        of up to 100. OSV.dev and NVD have no malware browsing, so this is the
        feed to check a dependency list or watch an ecosystem for newly flagged
        packages. CC BY 4.0, attribute GitHub.
      operationId: github.repositories.malware-advisories
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  direction: asc
                  ecosystem: npm
                  per_page: 3
            schema:
              additionalProperties: true
              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


                    Provider reference: allowed values ["asc", "desc"]; default
                    "desc".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - asc
                      - desc
                ecosystem:
                  description: >-
                    Package ecosystem. pip is PyPI, rust is crates.io, composer
                    is Packagist, actions is GitHub Actions.


                    Provider reference: allowed values ["rubygems", "npm",
                    "pip", "maven", "nuget", "composer", "go", "rust", "erlang",
                    "actions", "pub", "other", "swift"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - rubygems
                      - npm
                      - pip
                      - maven
                      - nuget
                      - composer
                      - go
                      - rust
                      - erlang
                      - actions
                      - pub
                      - other
                      - swift
                packages:
                  description: >-
                    Package names (or name@version) to check; matches any of
                    them.
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                per_page:
                  default: 30
                  description: |-
                    per_page

                    Provider reference: minimum 1; maximum 100; default 30.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100
                    min: 1
                published:
                  description: >-
                    Publication date: YYYY-MM-DD, >=YYYY-MM-DD (also >, <, <=)
                    or YYYY-MM-DD..YYYY-MM-DD. Pattern:
                    ^(?:(?:[<>]=?)?\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2}\.\.\d{4}-\d{2}-\d{2})$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-23T21:10:24+00:00.
                  summary: Official provider example
                  value:
                    advisories:
                      - credits: []
                        cve_id: null
                        cvss_v3: null
                        cvss_v4: null
                        cwes:
                          - cwe_id: CWE-506
                            name: Embedded Malicious Code
                        epss: null
                        ghsa_id: GHSA-5qp4-hqhx-c3q8
                        github_reviewed_at: null
                        html_url: https://github.com/advisories/GHSA-5qp4-hqhx-c3q8
                        identifiers:
                          - type: GHSA
                            value: GHSA-5qp4-hqhx-c3q8
                        nvd_published_at: null
                        packages:
                          - ecosystem: npm
                            first_patched_version: null
                            name: opsie
                            vulnerable_functions: []
                            vulnerable_version_range: '>= 0'
                        published_at: '2022-05-09T21:16:00Z'
                        repository_advisory_url: null
                        severity: critical
                        source_code_location: null
                        summary: Malware in opsie
                        type: malware
                        updated_at: '2022-05-09T21:16:01Z'
                        withdrawn_at: null
                      - credits: []
                        cve_id: null
                        cvss_v3: null
                        cvss_v4: null
                        cwes:
                          - cwe_id: CWE-506
                            name: Embedded Malicious Code
                        epss: null
                        ghsa_id: GHSA-4hcg-qwff-c8g3
                        github_reviewed_at: null
                        html_url: https://github.com/advisories/GHSA-4hcg-qwff-c8g3
                        identifiers:
                          - type: GHSA
                            value: GHSA-4hcg-qwff-c8g3
                        nvd_published_at: null
                        packages:
                          - ecosystem: npm
                            first_patched_version: null
                            name: jquerry
                            vulnerable_functions: []
                            vulnerable_version_range: '>= 0'
                        published_at: '2022-05-11T16:45:06Z'
                        repository_advisory_url: null
                        severity: critical
                        source_code_location: null
                        summary: Malware in jquerry
                        type: malware
                        updated_at: '2022-05-11T16:45:07Z'
                        withdrawn_at: null
                      - credits: []
                        cve_id: null
                        cvss_v3: null
                        cvss_v4: null
                        cwes:
                          - cwe_id: CWE-506
                            name: Embedded Malicious Code
                        epss: null
                        ghsa_id: GHSA-2f9c-72r6-fg7g
                        github_reviewed_at: null
                        html_url: https://github.com/advisories/GHSA-2f9c-72r6-fg7g
                        identifiers:
                          - type: GHSA
                            value: GHSA-2f9c-72r6-fg7g
                        nvd_published_at: null
                        packages:
                          - ecosystem: npm
                            first_patched_version: null
                            name: personal-colorss
                            vulnerable_functions: []
                            vulnerable_version_range: '>= 0'
                        published_at: '2022-05-13T17:03:32Z'
                        repository_advisory_url: null
                        severity: critical
                        source_code_location: null
                        summary: Malware in personal-colorss
                        type: malware
                        updated_at: '2022-05-13T17:03:32Z'
                        withdrawn_at: null
                    attribution: >-
                      GitHub Advisory Database (https://github.com/advisories),
                      licensed CC BY 4.0
                    count: 3
                    filter:
                      affects: []
                      cve_id: null
                      cwes: []
                      direction: asc
                      ecosystem: npm
                      is_withdrawn: null
                      modified: null
                      published: null
                      severity: null
                      sort: published
                      type: malware
                      updated: null
                    license: CC-BY-4.0
                    next_cursor: Y3Vyc29yOnYyOpK0MjAyMi0wNS0xM1QxNzowMzozMlrOAAEx6Q%3D%3D
                    observed_at_ms: 1792789824000
                    per_page: 3
                    source_url: >-
                      https://github.com/advisories?query=type%3Amalware%20ecosystem%3Anpm%20sort%3Apublished-asc
                    upstream_requests: 1
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Malicious-package advisories from the GitHub Advisory Database (type
            malware), newest first by default: the package and ecosystem, the
            malicious version range, CWE-506 style weaknesses, references (often
            the OpenSSF malicious-packages report) and publication dates. Filter
            by ecosystem, package names and a publication date range; one cursor
            page of up to 100. OSV.dev and NVD have no malware browsing, so this
            is the feed to check a dependency list or watch an ecosystem for
            newly flagged packages. CC BY 4.0, attribute GitHub.


            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[] |  |

            | `epss` | object | FIRST EPSS score GitHub attaches to the CVE;
            null when the advisory has no scored CVE. |

            | `ghsa_id` | string | GitHub Security Advisory id,
            GHSA-xxxx-xxxx-xxxx. |

            | `github_reviewed_at` | string |  |

            | `html_url` | string | https://github.com/advisories/{ghsa_id} |

            | `identifiers` | object[] |  |

            | `nvd_published_at` | string |  |

            | `packages` | object[] | Affected packages with version ranges.
            Unreviewed advisories often have none. |

            | `published_at` | string | RFC 3339 UTC |

            | `repository_advisory_url` | string | API URL of the repository
            advisory this was published from, when there is one. |

            | `severity` | string | critical, high, medium, low or unknown. |

            | `source_code_location` | string |  |

            | `summary` | string |  |

            | `type` | string | reviewed: curated by GitHub with package ranges;
            unreviewed: imported from NVD, often without packages; malware: a
            malicious package. |

            | `updated_at` | string | RFC 3339 UTC |

            | `withdrawn_at` | string | Set when GitHub withdrew the advisory. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.