# CVE Watch: New Vulnerabilities for Your Products (`lightdata-tools/cve-watch`) Actor

- **URL**: https://apify.com/lightdata-tools/cve-watch.md
- **Developed by:** [LightData Tools](https://apify.com/lightdata-tools) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 new cve returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Watch: New Vulnerabilities for Your Products

**A daily list of new serious CVEs for the products you run, with Slack alerts.**

### What it does

Looks up new vulnerabilities in the official NIST National Vulnerability Database for every product on your list. It remembers what it already showed you, so each run only returns new CVEs above your severity level.

### Who it is for

- Small security and IT teams without a paid scanner
- MSPs watching client software stacks
- Developers who want a CVE feed for their dependencies

### Output

Each result row has: product, cve_id, severity, cvss_score, cvss_vector, published, description, affected_hint, direct_match, exploited_in_wild (CISA known-exploited list), cisa_due_date, url.
A free summary row comes first. Download as JSON, CSV, Excel or HTML from the Output tab. `OUTPUT.csv` and `OUTPUT.json` are also saved in the run's key-value store.

### Input

products (list), strictMatch, minSeverity (default HIGH), lookbackDays (first run, default 14), stateName, nvdApiKey (free, optional), webhookUrl.

### Example

Open the Input tab, keep the prefilled values, press Start. Results appear in under a minute.

### Pricing and cost

$1.50 per 1,000 CVEs returned. Because only new items return, most daily runs cost cents.

### Limits you should know

NVD assigns scores with a delay, so brand-new CVEs may be unscored for a few days and will not pass a severity filter until scored. Strict matching keeps CVEs where the product is in the affected list or the first 300 characters of the description. Official NVD API 2.0 only.

### Data sources

Official public APIs only. No logins, no bypassing of any protection.

### Use cases

- DevOps and security teams: get new HIGH and CRITICAL CVEs for the products you run.
- Agencies and MSPs: one daily feed for all client stacks.
- Send new CVEs to Slack or Discord with the webhook input.
- Run daily on an Apify schedule; only new CVEs since the last run are returned.

### Automate it (API, n8n, Make, Zapier)

Run it from any tool that can call a URL. Replace `YOUR_TOKEN` with your Apify API token (Console > Settings > API & Integrations).

```bash
curl -X POST "https://api.apify.com/v2/acts/lightdata-tools~cve-watch/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"products":["openssl","nginx"],"minSeverity":"HIGH"}'
```

- **n8n**: add an "HTTP Request" node, method POST, the URL above, JSON body as shown. Or use the official Apify node and pick this Actor.
- **Make**: use the Apify app "Run an Actor" module (or HTTP "Make a request") with the same input.
- **Zapier**: use the Apify integration "Run Actor", or "Webhooks by Zapier" with a POST to the URL above.
- **Schedules**: in Apify Console, Schedules, create a daily or weekly run with your input.

# Actor input Schema

## `products` (type: `array`):

Product or vendor keywords, one per line, e.g. openssl, nginx 1.25, wordpress

## `strictMatch` (type: `boolean`):

Only CVEs where the product is in the affected list or the first lines of the description. Turn off for broad keyword search.

## `minSeverity` (type: `string`):

Only report CVEs at or above this CVSS severity (LOW, MEDIUM, HIGH, CRITICAL).

## `lookbackDays` (type: `integer`):

Later runs only return CVEs not seen before.

## `stateName` (type: `string`):

Runs with the same name share the list of already-seen CVEs.

## `nvdApiKey` (type: `string`):

Free from nvd.nist.gov. Makes large watch lists faster.

## `webhookUrl` (type: `string`):

Slack or Discord compatible incoming webhook. Only called when new CVEs are found.

## Actor input object example

```json
{
  "products": [
    "openssl"
  ],
  "strictMatch": true,
  "minSeverity": "HIGH",
  "lookbackDays": 14,
  "stateName": "default"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `csv` (type: `string`):

No description

## `json` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("lightdata-tools/cve-watch").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("lightdata-tools/cve-watch").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 '{}' |
apify call lightdata-tools/cve-watch --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lightdata-tools/cve-watch"
        }
    }
}
```

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/QkvAGCQYJi3kgidD6/builds/WBmvTnjX5OWLK19Ed/openapi.json
