[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [GitHub security advisory search](https://spiral.ai/integrations/n8n/github-security-advisory-search)

# How to Use GitHub security advisory search in n8n

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.

|  |  |
| --- | --- |
| Model | GitHub security advisory search |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with GitHub security advisory search in n8n

- Every morning, use GitHub security advisory search for lodash in npm. Report new advisory records and revisions to affected versions or first patched versions.
- 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 n8n

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

### Use the Spiral skill

1. **Send n8n 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 a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run GitHub security advisory search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds GitHub security advisory search, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
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.

```bash
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: n8n finds GitHub security advisory search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## GitHub security advisory search tools and prices

- [GitHub · Search advisories](https://spiral.ai/tools/alexandria/github-com/repositories/search_advisories) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cwes |  | — | CWE ids such as CWE-79 or 79; matches advisories with any of them. |
| sort | published, updated, epss_percentage, epss_percentile | published | sort |
| type | reviewed, unreviewed, malware | reviewed | reviewed (GitHub-curated, the default), unreviewed (imported from NVD, often without packages) or malware. |
| cursor |  | — | next_cursor from the previous page. Pattern: ^[A-Za-z0-9+/=%_-]+$. |
| cve_id |  | — | CVE id, for example CVE-2021-44228. Pattern: ^[Cc][Vv][Ee]-\d{4}-\d{4,19}$. |
| affects |  | — | Package names or name@version (Maven as group:artifact, Go as module path); matches advisories affecting any of them. |

## What can you do with GitHub security advisory search in n8n?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## GitHub security advisory search in other agents

- [Amp](https://spiral.ai/integrations/amp/github-security-advisory-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/github-security-advisory-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/github-security-advisory-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/github-security-advisory-search)
- [Cline](https://spiral.ai/integrations/cline/github-security-advisory-search)
- [Codex](https://spiral.ai/integrations/codex/github-security-advisory-search)
- [Cursor](https://spiral.ai/integrations/cursor/github-security-advisory-search)
- [Devin](https://spiral.ai/integrations/devin/github-security-advisory-search)
- [dots](https://spiral.ai/integrations/dots/github-security-advisory-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/github-security-advisory-search)
- [Gemini](https://spiral.ai/integrations/gemini/github-security-advisory-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/github-security-advisory-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/github-security-advisory-search)
- [goose](https://spiral.ai/integrations/goose/github-security-advisory-search)
- [Grok](https://spiral.ai/integrations/grok/github-security-advisory-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/github-security-advisory-search)
- [Hermes](https://spiral.ai/integrations/hermes/github-security-advisory-search)
- [Instinct](https://spiral.ai/integrations/instinct/github-security-advisory-search)
- [Manus](https://spiral.ai/integrations/manus/github-security-advisory-search)
- [Muse](https://spiral.ai/integrations/muse/github-security-advisory-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/github-security-advisory-search)
- [Notion](https://spiral.ai/integrations/notion/github-security-advisory-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/github-security-advisory-search)
- [opencode](https://spiral.ai/integrations/opencode/github-security-advisory-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/github-security-advisory-search)
- [Raycast](https://spiral.ai/integrations/raycast/github-security-advisory-search)
- [VS Code](https://spiral.ai/integrations/vscode/github-security-advisory-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/github-security-advisory-search)
- [Zapier](https://spiral.ai/integrations/zapier/github-security-advisory-search)

## More n8n guides

- [GitHub security advisory](https://spiral.ai/integrations/n8n/github-security-advisory)
- [Google Books ISBN lookup](https://spiral.ai/integrations/n8n/google-books-isbn-lookup)
- [GitHub repository security advisories](https://spiral.ai/integrations/n8n/github-repository-security-advisories)
- [Google Cloud SKU catalog status](https://spiral.ai/integrations/n8n/google-cloud-sku-catalog-status)
- [GitHub repository search](https://spiral.ai/integrations/n8n/github-repository-search)
- [Google Cloud SKU group contents](https://spiral.ai/integrations/n8n/google-cloud-sku-group-contents)

## Questions about GitHub security advisory search in n8n

**Can n8n use GitHub security advisory search?**

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

**How much does GitHub security advisory search cost in n8n?**

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

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

You need no Alexandria account. n8n 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 n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while GitHub security advisory search runs?**

GitHub security advisory search runs in the background. n8n 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.

