Spiral gives your agent every tool with one account. Browse the tools →

Instinct · E-commerce

How to Use GitHub security advisory search in Instinct

Returns matching records from the GitHub Advisory Database, including vulnerability descriptions, severity, affected versions, and available fixes. Use it to investigate a package or CVE across projects.

Prompts to try with GitHub security advisory search in Instinct

Copy an example into Instinct, or ask in your own words.

Every morning, use GitHub security advisory search for lodash in npm. Report new advisory records and revisions to affected versions or first patched versions.

GitHub security advisory searchInstinct
Try asking
  • Every Monday at 9am: use GitHub security advisory search to look this up and give me the result as a table.

  • Pull the latest numbers from GitHub security advisory search and tell me what changed since last week.

  • Check GitHub security advisory search and summarize what you find in three bullet points.

  • Pull the newest data from GitHub security advisory search and give me the result as a table.

How to set up GitHub security advisory search in Instinct

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Instinct this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create an API key

    In the console, open API keys and create a key for Instinct. Copy it.

  2. Send Instinct this message

    Instinct reads Spiral's skill and asks for your API key.

    set up https://spiral.ai/SKILL.md
  3. Give Instinct the key

    When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run GitHub security advisory search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "github-com/repositories/search_advisories",
        "input": {
          "cwes": [
            "<cwes>"
          ]
        }
      }'

Then paste one of the prompts above: Instinct finds GitHub security advisory search on Spiral, shows the price and runs it.

GitHub security advisory search providers and prices

Spiral runs GitHub security advisory search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
GitHub · Search advisories
github-com/repositories/search_advisories

Settings you can ask for

Ask Instinct for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortpublished, updated, epss_percentage, or epss_percentilepublished

sort

Typereviewed, unreviewed, or malwarereviewed

reviewed (GitHub-curated, the default), unreviewed (imported from NVD, often without packages) or malware.

Per page1 to 10030

per_page

Severityunknown, low, medium, high, or critical

severity

Directionasc or descdesc

direction

Ecosystemrubygems, npm, pip, maven, nuget, composer, go, rust and 5 more

Package ecosystem. pip is PyPI, rust is crates.io, composer is Packagist, actions is GitHub Actions.

Is withdrawnon or off

true: only withdrawn advisories; false: only active ones.

Every API field of GitHub · Search advisories is on its tool page: open its card above.

What can you do with GitHub security advisory search in Instinct?

Produce a recurring brief on selected GitHub projects or organizations. A scheduled agent can compare retrieved records over time and summarize changes in public project data or security disclosures.

Build a dependency shortlist

Find candidate organizations, inspect their public profiles, compare repositories, and read both project disclosures and package advisories before choosing a dependency.

Prepare a migration decision

Compare replacement projects, identify their publishing organizations, and summarize known vulnerabilities and available fixes alongside repository activity.

Review a vendor's public software

Locate a vendor's GitHub organization, document its public profile and repositories, and examine disclosures for the projects and packages under consideration.

Write a project research brief

Resolve an organization's GitHub account, describe its public projects, and explain relevant repository disclosures and package vulnerabilities with links to the records.

Plan a dependency update

Compare an installed package version with advisory version ranges, then summarize available fixes and the upstream project's published explanation.

Follow public vulnerability disclosures

Check selected repositories and packages repeatedly, comparing advisory identifiers, affected versions, and fix information to identify additions or revisions.

Questions about GitHub security advisory search in Instinct

Can Instinct use GitHub security advisory search?

Yes. Add Spiral to Instinct as an MCP server, and Instinct can find and run GitHub security advisory search like any built-in tool.

How much does GitHub security advisory search cost in Instinct?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Instinct plan is separate.

Do I need an Alexandria account to use GitHub security advisory search in Instinct?

You need no Alexandria account. Instinct uses one Spiral API key for every tool, and Spiral runs GitHub security advisory search on its own Alexandria account.

How long does it take to set up GitHub security advisory search in Instinct?

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

Does Instinct wait while GitHub security advisory search runs?

GitHub security advisory search runs in the background. Instinct starts the run, checks on it and gives you the json when it's ready.

Are forks included in GitHub repository searches?

Forks are excluded by default. GitHub supports including forks alongside original repositories or searching only forks.

Which security disclosures are public?

Anyone can read a published advisory on a public repository. Unpublished advisory discussions require access to that disclosure.

What does GitHub-reviewed mean?

GitHub checks reviewed advisories for validity and maps them to packages in supported ecosystems. Unreviewed advisories are imported automatically from the National Vulnerability Database feed.

How quickly do repository disclosures reach the Advisory Database?

GitHub says the review and publication process can take up to 72 hours. A repository's published advisory can therefore appear before its reviewed database record.

Can I reuse GitHub Advisory Database records?

The Advisory Database uses CC BY 4.0. Reuse requires appropriate credit, a license link, and an indication of changes; GitHub's API terms also prohibit collecting data for spam or selling users' personal information.

Get started

Start using GitHub security advisory search in Instinct

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Instinct:

Set up Instinct

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options