[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [CVE.org CNA directory](https://spiral.ai/integrations/opencode/cve-org-cna-directory)

# How to Use CVE.org CNA directory in opencode

Find a CVE Numbering Authority's organization, scope, and public reporting links. Use it to identify the right vulnerability reporting destination or understand the organization behind a CVE assignment.

|  |  |
| --- | --- |
| Model | CVE.org CNA directory |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with CVE.org CNA directory in opencode

- Use CVE.org CNA directory to find Apache's scope and public reporting links. Add a concise reference to our security reporting documentation.
- Use CVE.org CNA directory to identify Jenkins and Apache. Prepare a JSON reference containing their organization names, scopes, and public reporting links for our security tooling.
- Use CVE.org CNA directory to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from CVE.org CNA directory and tell me what changed since last week.
- Check CVE.org CNA directory and summarize what you find in three bullet points.

## How to set up CVE.org CNA directory in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 CVE.org CNA directory**: 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": "cve-org/vulnerabilities/cna_lookup",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: opencode finds CVE.org CNA directory on Spiral, shows the price and runs it.

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

## CVE.org CNA directory tools and prices

- [CVE Program (CVE.org) CVE Services · Cna lookup](https://spiral.ai/tools/alexandria/cve-org/vulnerabilities/cna_lookup) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A https://www.cve.org/PartnerInformation/ListofPartners/partner/<short name> URL. Pattern: ^https?://. |
| limit | 1 to 50 | — | Results, default 10. |
| query |  | — | Words that must all appear in the CNA short name, organization name or scope, e.g. jenkins or 'red hat'. |
| country |  | — | Country as cve.org writes it (USA, China, Germany ...). |
| short_name |  | — | Exact CNA short name (case-insensitive), e.g. apache or a record's assigner_short_name. Unknown names are not_found. |

## What can you do with CVE.org CNA directory in opencode?

Build a review queue that connects CVE evidence to the project's dependencies. A coding agent can inspect affected products and versions, identify recent record changes, and resolve assigning organizations.

### Prepare a daily vulnerability brief

Discover newly published and revised CVEs, investigate selected records, and identify the assigning organizations through the CNA directory.

### Review supplier vulnerability evidence

Collect recent CVE changes relevant to Apache or another supplier, inspect affected products and references, and check the assigning CNA's scope.

### Investigate advisory corrections

Use updated CVEs to build a review queue, examine their current records, and locate the CNA's public reporting instructions when a correction needs investigation.

### Audit CVE assignment provenance

Sample recently changed CVEs, read their assignment metadata, and resolve CNA short names into organizations and scopes for an evidence report.

### Build a vulnerability reporting directory

Find the CNA scopes and public reporting links for projects such as Apache and Jenkins, then prepare a product-specific reporting reference.

## Overview

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

## CVE.org CNA directory in other agents

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

## More opencode guides

- [CISA KEV vulnerability search](https://spiral.ai/integrations/opencode/cisa-kev-vulnerability-search)
- [CVE.org recent CVE changes](https://spiral.ai/integrations/opencode/cve-org-recent-cve-changes)
- [CISA KEV recent additions](https://spiral.ai/integrations/opencode/cisa-kev-recent-additions)
- [CVE.org vulnerability record](https://spiral.ai/integrations/opencode/cve-org-vulnerability-record)
- [CISA KEV CVE lookup](https://spiral.ai/integrations/opencode/cisa-kev-cve-lookup)
- [ChatGPT and Codex changelog](https://spiral.ai/integrations/opencode/chatgpt-and-codex-changelog)

## Questions about CVE.org CNA directory in opencode

**Can opencode use CVE.org CNA directory?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CVE.org CNA directory like any built-in tool.

**How much does CVE.org CNA directory cost in opencode?**

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

**Do I need an Alexandria account to use CVE.org CNA directory in opencode?**

No. Spiral runs CVE.org CNA directory on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up CVE.org CNA directory in opencode?**

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

**Does opencode wait while CVE.org CNA directory runs?**

CVE.org CNA directory runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does CVE include unpublished vulnerability details?**

The CVE Program catalogs publicly disclosed vulnerabilities. An identifier marked RESERVED can exist before its vulnerability details are published.

**How quickly does CVE.org information change?**

The official CVE repository updates about every seven minutes. CNA organization information follows a different schedule: the organization guide says website updates occur on Tuesdays.

**How much recent change history does the source retain?**

The official repository's deltaLog.json normally keeps a rolling 30 days of record modification history. That window describes the change log, not the age of vulnerabilities in the CVE catalog.

**What information identifies an affected vulnerability?**

CVE JSON records include the CVE identifier, affected products and versions, and public references. Those references provide the supporting reports and advisories for further investigation.

**How do I choose the right CNA for a product?**

Choose a CNA whose published scope includes the affected product. CVE.org partner profiles provide reporting instructions, including disclosure policy and contact links.

