# CVE, NVD & CISA KEV Vulnerability Intel Scraper | $0.65/1K (`kaitoeasyapi/cve-nvd-cisa-kev-vulnerability-intel-scraper`) Actor

Cybersecurity Vulnerability & KEV Intelligence Scraper ($0.65–$0.95/1K advisories): search CVEs, CVSS v3.1/v4.0 scores, CISA Known Exploited Vulnerabilities (KEV), affected ecosystems & patched versions.

- **URL**: https://apify.com/kaitoeasyapi/cve-nvd-cisa-kev-vulnerability-intel-scraper.md
- **Developed by:** [Kaito T](https://apify.com/kaitoeasyapi) (community)
- **Categories:** Developer tools, AI, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.65 / 1,000 vulnerability intelligence records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## CVE, CISA KEV & Open Source Vulnerability Scraper

Aggregate **open-source dependency security advisories (OSV)**, **US CISA Known Exploited Vulnerabilities (KEV)**, and **NIST NVD 2.0 CVE records** in normalized JSON for SecOps, SBOM triage, and vulnerability prioritization.

### Supported Security Feeds & Modes

1. **Open-Source Package & Advisory Lookup (`mode: "package_osv"`)**: High-speed vulnerability queries across `npm`, `PyPI`, `Go`, `Maven`, `Cargo`, `NuGet`, and `Packagist`, returning GHSA/OSV/CVE aliases, fixed package versions, CWEs, and CVSS severity vectors.
2. **CISA Known Exploited Vulnerabilities (`mode: "cisa_kev"`)**: Filters authoritative active-exploitation advisories by CVE ID, vendor, product, or keyword, including federal remediation due dates (`kevDueDate`), required actions, and `knownRansomwareCampaignUse` indicators.
3. **NIST NVD 2.0 CVE Search (`mode: "nvd_cve"`)**: Queries CVE 2.0 vulnerability records with rate-limit-compliant pacing (`>= 6.2s` between NVD calls) and automatic failover to CISA KEV / OSV catalogs during upstream maintenance windows.

### Key Features

- **Single-Fetch In-Memory KEV Cross-Tagging**: Every OSV or NVD vulnerability record is automatically cross-checked against the CISA KEV catalog (`inCisaKevCatalog`, `kevDueDate`, `knownRansomwareCampaignUse`) using a single cached feed read per run.
- **Patched Version Extraction**: Surfaces exact `fixedVersions` arrays per affected open-source package so engineering teams can automate upgrade PRs.
- **Pay-Per-Event Pricing**: **$0.65 per 1,000 results** on Gold, Platinum, and Diamond tiers ($0.95/1K on Free tier).

### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `mode` | `string` | `"package_osv"` | `"package_osv"`, `"cisa_kev"`, or `"nvd_cve"`. |
| `queries` | `string[]` | `["lodash", "express"]` | Package names, CVE/GHSA IDs, or vendor/product keywords. |
| `ecosystem` | `string` | `"npm"` | `"npm"`, `"PyPI"`, `"Go"`, `"Maven"`, `"Cargo"`, `"NuGet"`, or `"Packagist"`. |
| `enrichCisaKev` | `boolean` | `true` | Cross-tag results with CISA KEV active exploitation metadata. |
| `maxItems` | `integer` | `25` | Maximum vulnerability records to return. |

### Example Input

```json
{
  "mode": "package_osv",
  "queries": ["lodash", "express"],
  "ecosystem": "npm",
  "enrichCisaKev": true,
  "maxItems": 25
}
```

### Example Output Record

```json
{
  "recordType": "vulnerability_advisory",
  "vulnId": "GHSA-35jh-r3h4-6jhm",
  "cveId": "CVE-2021-23337",
  "aliases": ["CVE-2021-23337"],
  "title": "Command Injection in lodash",
  "description": "Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.",
  "severity": "HIGH",
  "cvssScore": 7.2,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
  "ecosystem": "npm",
  "packageName": "lodash",
  "vendorProject": null,
  "fixedVersions": ["4.17.21"],
  "cweIds": ["CWE-77", "CWE-94"],
  "inCisaKevCatalog": false,
  "kevDueDate": null,
  "knownRansomwareCampaignUse": null,
  "publishedAt": "2021-02-15T13:00:00Z",
  "modifiedAt": "2024-08-03T19:00:00Z",
  "sourceCatalog": "OSV",
  "scrapedAt": "2026-11-22T19:05:00.000Z"
}
```

# Actor input Schema

## `mode` (type: `string`):

Select 'package_osv' for open-source package or GHSA/CVE advisory lookup, 'cisa_kev' for CISA Known Exploited Vulnerabilities, or 'nvd_cve' for NIST NVD 2.0 CVE search.

## `queries` (type: `array`):

Package names (e.g. 'lodash', 'express'), CVE/GHSA identifiers (e.g. 'CVE-2021-44228'), or vendor/product search keywords.

## `ecosystem` (type: `string`):

Target open-source package registry when querying by package name in 'package_osv' mode.

## `enrichCisaKev` (type: `boolean`):

Cross-references every CVE against the CISA Known Exploited Vulnerabilities catalog to attach active exploitation status, remediation due date, and ransomware campaign indicators.

## `maxItems` (type: `integer`):

Maximum number of vulnerability intelligence records to return in this run.

## Actor input object example

```json
{
  "mode": "package_osv",
  "queries": [
    "lodash",
    "express"
  ],
  "ecosystem": "npm",
  "enrichCisaKev": true,
  "maxItems": 25
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "lodash",
        "express"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kaitoeasyapi/cve-nvd-cisa-kev-vulnerability-intel-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "queries": [
        "lodash",
        "express",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kaitoeasyapi/cve-nvd-cisa-kev-vulnerability-intel-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "lodash",
    "express"
  ]
}' |
apify call kaitoeasyapi/cve-nvd-cisa-kev-vulnerability-intel-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kaitoeasyapi/cve-nvd-cisa-kev-vulnerability-intel-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/aUuCpcUYjLfaifKQS/builds/oNbzhBfBJ6sFy29D4/openapi.json
