[Integrations](https://spiral.ai/integrations) › [Amp](https://spiral.ai/integrations/amp) › [GitHub malware advisories](https://spiral.ai/integrations/amp/github-malware-advisories)

# How to Use GitHub malware advisories in Amp

Fetch malicious-package advisories with affected packages, version ranges, references, and publication dates. Use them to check reported package threats; GitHub treats malware separately from ordinary vulnerabilities.

|  |  |
| --- | --- |
| Model | GitHub malware advisories |
| 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 malware advisories in Amp

- Use GitHub malware advisories to check npm packages express, lodash, and axios, then compare any reported affected ranges with this project's lockfile.
- Use GitHub malware advisories to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from GitHub malware advisories and tell me what changed since last week.
- Check GitHub malware advisories and summarize what you find in three bullet points.
- Pull the newest data from GitHub malware advisories and give me the result as a table.

## How to set up GitHub malware advisories in Amp

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

### Use Spiral's MCP server

1. **Add the server**: No header and no client ID or secret: Amp registers itself with Spiral.

```bash
amp mcp add spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `amp`. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
amp mcp doctor
```

### Use the Spiral skill

1. **Send Amp 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 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 malware advisories**: 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/malware_advisories",
    "input": {
      "cursor": "<cursor>"
    }
  }'
```

Then paste one of the prompts above: Amp finds GitHub malware advisories on Spiral, shows the price and runs it.

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

## GitHub malware advisories tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | next_cursor from the previous page. Pattern: ^[A-Za-z0-9+/=%_-]+$. |
| packages |  | — | Package names (or name@version) to check; matches any of them. |
| per_page | 1 to 100 | 30 | per_page |
| direction | asc, desc | desc | direction |
| ecosystem | rubygems, npm, pip, maven, nuget, composer, go, rust, erlang, actions, pub, other, swift | — | Package ecosystem. pip is PyPI, rust is crates.io, composer is Packagist, actions is GitHub Actions. |

## What can you do with GitHub malware advisories in Amp?

Build a dependency review beside the code using GitHub files, release notes, issue evidence, and package advisories. A coding agent can compare those records with the project's manifests and turn the findings into proposed changes.

### 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 Amp guides](https://spiral.ai/integrations/amp)

## GitHub malware advisories in other agents

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

## More Amp guides

- [GitHub latest release](https://spiral.ai/integrations/amp/github-latest-release)
- [GitHub public account profile](https://spiral.ai/integrations/amp/github-public-account-profile)
- [GitHub account search](https://spiral.ai/integrations/amp/github-account-search)
- [GitHub release history](https://spiral.ai/integrations/amp/github-release-history)
- [Flipp retailer flyer items](https://spiral.ai/integrations/amp/flipp-retailer-flyer-items)
- [GitHub repository contributors](https://spiral.ai/integrations/amp/github-repository-contributors)

## Questions about GitHub malware advisories in Amp

**Can Amp use GitHub malware advisories?**

Yes. Add Spiral to Amp as an MCP server, and Amp can find and run GitHub malware advisories like any built-in tool.

**How much does GitHub malware advisories cost in Amp?**

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

**Do I need an Alexandria account to use GitHub malware advisories in Amp?**

No. Spiral runs GitHub malware advisories 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 malware advisories in Amp?**

About two minutes: add the server, then sign in, then check it.

**Does Amp wait while GitHub malware advisories runs?**

GitHub malware advisories runs in the background. Amp 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.

