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

# How to Use GitHub security advisory in Notion

Fetch a known vulnerability's affected packages, version ranges, severity, and references from the GitHub Advisory Database. Use it to investigate a CVE or GHSA and identify a documented patched version.

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

## Prompts to try with GitHub security advisory in Notion

- Every Monday at 9am: use GitHub security advisory to look this up and give me the result as a table.
- Pull the latest numbers from GitHub security advisory and tell me what changed since last week.
- Check GitHub security advisory and summarize what you find in three bullet points.
- Pull the newest data from GitHub security advisory and give me the result as a table.
- Check GitHub security advisory every morning and tell me only when something changed.

## How to set up GitHub security advisory in Notion

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

### Use the Spiral skill

1. **Send Notion 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. **Allow custom MCP servers**: A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

2. **Add Spiral to a custom agent**: Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

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

3. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

4. **Run GitHub security advisory 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, 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**: 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/advisory",
    "input": {
      "ghsa_id": "<ghsa_id>"
    }
  }'
```

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

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

## GitHub security advisory tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cve_id |  | — | CVE id, for example CVE-2021-44228. Pattern: ^[Cc][Vv][Ee]-\d{4}-\d{4,19}$. |
| ghsa_id |  | — | GHSA id, for example GHSA-jfh8-c2jp-5v3q. Pattern: ^[Gg][Hh][Ss][Aa](?:-[23456789cfghjmpqrvwxCFGHJMPQRVWX]{4}){3}$. |

## What can you do with GitHub security advisory in Notion?

Produce a recurring change report for selected public projects and packages on GitHub. A scheduled agent can compare saved observations of releases, repository status, issue totals, files, or advisories and report what changed.

### Review a dependency before adoption

Build an adoption brief covering repository status, contribution concentration, license text, issue categories and totals, release history, and reported vulnerability or malware concerns for the exact packages under consideration.

### Prepare a dependency upgrade review

Compare the installed version with published releases, read migration files and known issue reports, and check relevant advisories. Include project status and contribution concentration when deciding how much upstream support to expect.

### Investigate a reported package incident

Read the advisory and affected package ranges, compare release notes and manifests, then inspect related issue categories, reports, and totals. Keep a documented vulnerability fix separate from a malicious-package report.

### Maintain a package security watch

Check a defined package list for malware reports and known advisory changes, then compare repository status, manifests, and published releases with the previous review. Produce a change report with links to the supporting records.

### Write a vulnerability remediation brief

Explain a known CVE using its affected ranges, upstream files, and release notes. Check malicious-package reports separately and identify whether the evidence supports an upgrade or removing the package.

## Overview

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

## GitHub security advisory in other agents

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

## More Notion guides

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

## Questions about GitHub security advisory in Notion

**Can Notion use GitHub security advisory?**

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

**How much does GitHub security advisory cost in Notion?**

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

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

No. Spiral runs GitHub security advisory on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up GitHub security advisory in Notion?**

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

**Does Notion wait while GitHub security advisory runs?**

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

**Can I reuse anything that is public on GitHub?**

Public visibility alone does not grant unrestricted reuse. GitHub says that without a license, default copyright restrictions apply to source code; its Advisory Database has a separate CC BY 4.0 license.

**How current is GitHub's data?**

Freshness depends on the record. Contributor results can be a few hours old because GitHub caches them, while a file selected by branch can change whenever new commits arrive.

**Does a GitHub release history include every version tag?**

No. GitHub excludes Git tags that have no associated release, and its latest-release lookup excludes prereleases and drafts.

**Do GitHub issues include pull requests?**

GitHub's underlying issue responses can contain both, with pull requests identified separately. An issue-only backlog should exclude pull requests before its totals are compared.

**Where do GitHub's malware reports come from?**

GitHub automatically publishes malware advisories from the npm security team and the OpenSSF Malicious Packages repository. These reports concern malicious packages and are separate from ordinary vulnerability advisories.

