# CISA KEV + EPSS Priority Monitor (`b2btoolstudio/cisa-nvd-kev-priority-monitor`) Actor

Joins the official CISA Known Exploited Vulnerabilities (KEV) catalog with FIRST.org EPSS exploitation probability scores to compute a deterministic Patch Urgency Score (0-100), overdue days, and remediation metadata.

- **URL**: https://apify.com/b2btoolstudio/cisa-nvd-kev-priority-monitor.md
- **Developed by:** [B2B Tool Studio](https://apify.com/b2btoolstudio) (community)
- **Categories:** Developer tools, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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

## CISA KEV + EPSS Priority Monitor

**Prioritize CISA Known Exploited Vulnerabilities (KEV) by joining FIRST.org EPSS exploitation probabilities, ransomware campaign flags, CISA remediation due-date tracking, and drop-in Jira & Slack SecOps payloads.**

> **Current Scope Note:** This build evaluates the **250 most recently added KEV entries** before ranking. Full-catalog ranking and change history are scheduled in the upcoming Phase 5 update.

Built by [B2B Tool Studio](https://b2btoolstudio.com) for SOC teams, AppSec/VulnMgmt pipelines, MSPs, and autonomous SecOps AI agents. Zero LLM dependencies, 100% deterministic.

***

### Why Use This Instead of Raw CISA JSON?

- **Live KEV + FIRST.org EPSS Join:** Fetches the official CISA KEV catalog and batches CVE queries against `api.first.org/data/v1/epss` automatically.
- **Deterministic Patch Urgency Score (0–100):** Combines KEV inclusion (`35 pts`), EPSS probability (`0–30 pts`), EPSS percentile (`0–5 pts`), known ransomware campaign use (`+15 pts`), and SLA due/overdue window (`0–15 pts`).
- **SLA Countdown & Filtering:** Filter by `vendorFilter`, `productFilter`, `ransomwareOnly`, `overdueOnly`, `addedWithinDays`, `minEpss`, `dueDateWindowDays`, and `minUrgencyScore`.
- **Drop-In Jira & Slack Payloads:** Every item includes `jiraTicketSummary`, `jiraTicketDescription`, `slackAlertText`, `daysUntilDue`, `slaStatus`, and `nvdUrl` ready for n8n/Make/GitHub Actions.
- **Spend-Cap Safe:** Honors Apify's `maxTotalChargeUsd` budget limit before pushing dataset items.

***

### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `limit` | `integer` | `10` | Max prioritized KEV items to return (`1`–`1000`). |
| `ransomwareOnly` | `boolean` | `false` | Keep only CVEs with known ransomware campaign use. |
| `overdueOnly` | `boolean` | `false` | Keep only CVEs past their CISA remediation due date. |
| `addedWithinDays` | `integer` | `null` | Keep only CVEs added to KEV within the last N days. |
| `minEpss` | `number` | `0` | Minimum FIRST.org EPSS probability (`0`–`1`). |
| `vendorFilter` | `string` | `""` | Substring filter on vendor/project (`Microsoft`, `Cisco`, `Fortinet`). |
| `productFilter` | `string` | `""` | Substring filter on product (`Windows`, `IOS`, `Chrome`). |
| `dueDateWindowDays` | `integer` | `null` | Include CVEs due within N days (or already overdue). |
| `minUrgencyScore` | `number` | `0` | Minimum Patch Urgency Score (`0`–`100`). |
| `sortBy` | `string` | `"urgencyScore"` | `"urgencyScore"`, `"epssScore"`, `"dueDate"`, or `"dateAdded"`. |

***

### Example Output (Live Capture)

```json
{
  "cveId": "CVE-2024-27199",
  "vendorProject": "JetBrains",
  "product": "TeamCity",
  "vulnerabilityName": "JetBrains TeamCity Relative Path Traversal Vulnerability",
  "urgencyScore": 100,
  "urgencyTier": "CRITICAL",
  "epssScore": 0.99991,
  "epssPercentile": 0.99985,
  "epssDate": "2026-11-24",
  "knownRansomwareCampaignUse": "Known",
  "dateAdded": "2026-04-20",
  "dueDate": "2026-05-04",
  "overdueDays": 205,
  "daysUntilDue": -205,
  "slaStatus": "OVERDUE",
  "isOverdue": true,
  "cwes": ["CWE-23"],
  "nvdUrl": "https://nvd.nist.gov/vuln/detail/CVE-2024-27199",
  "jiraTicketSummary": "[CRITICAL] CVE-2024-27199 - JetBrains TeamCity (Urgency 100/100)",
  "slackAlertText": ":rotating_light: *CRITICAL* | `CVE-2024-27199` (JetBrains TeamCity) — Score 100/100 | EPSS 100.0% | Due 2026-05-04 (OVERDUE)"
}
```

***

### AI Agent & MCP Integration

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server", "--actors", "b2btoolstudio/cisa-nvd-kev-priority-monitor"],
      "env": { "APIFY_TOKEN": "your_apify_token" }
    }
  }
}
```

#### Node.js / Python Usage

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('b2btoolstudio/cisa-nvd-kev-priority-monitor').call(
  { addedWithinDays: 14, minUrgencyScore: 70, limit: 25 },
  { maxTotalChargeUsd: 0.25 }
);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

***

### Transparent Pay-Per-Event Pricing

| Event | Price (USD) | Notes |
| :--- | :---: | :--- |
| Actor start (`apify-actor-start`) | `$0.00005` | Waives first 5 seconds of compute |
| Dataset result (`apify-default-dataset-item`) | `$0.002` | Charged per prioritized vulnerability |

Typical daily 25-CVE triage run: **`~$0.05` total**.

***

### FAQ

**How is `daysUntilDue` signed?**\
Positive means days remaining until CISA's deadline; negative means days overdue (`slaStatus: "OVERDUE"`).

**Need a direct REST API or Remote MCP without an Apify account?**\
Try the live browser tool and direct API at [b2btoolstudio.com](https://b2btoolstudio.com) (`support@b2btoolstudio.com`).

# Actor input Schema

## `limit` (type: `integer`):

Maximum number of prioritized KEV items to return.

## `ransomwareOnly` (type: `boolean`):

If true, only return vulnerabilities known to be used in ransomware campaigns.

## `overdueOnly` (type: `boolean`):

If true, only return KEV vulnerabilities whose CISA remediation due date has already passed.

## `addedWithinDays` (type: `integer`):

Only return KEV entries added to the catalog within the last N days (e.g., 7 or 30).

## `minEpss` (type: `number`):

Filter out vulnerabilities below this FIRST.org EPSS probability (e.g., 0.5 for >= 50%).

## `vendorFilter` (type: `string`):

Optional case-insensitive substring filter on vendor/project name (e.g. 'Microsoft', 'Cisco', 'Fortinet').

## `productFilter` (type: `string`):

Optional case-insensitive substring filter on product name (e.g. 'Windows', 'Chrome', 'IOS').

## `dueDateWindowDays` (type: `integer`):

Optional filter: include only vulnerabilities due within N days from today (including already overdue). Leave empty for all.

## `minUrgencyScore` (type: `number`):

Filter out vulnerabilities below this Patch Urgency Score (0-100).

## `sortBy` (type: `string`):

Field to sort prioritized vulnerabilities by (descending for scores/dates, ascending for dueDate).

## Actor input object example

```json
{
  "limit": 10,
  "ransomwareOnly": false,
  "overdueOnly": false,
  "minEpss": 0,
  "minUrgencyScore": 0,
  "sortBy": "urgencyScore"
}
```

# Actor output Schema

## `results` (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 = {
    "limit": 10,
    "ransomwareOnly": false,
    "minUrgencyScore": 0,
    "sortBy": "urgencyScore"
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2btoolstudio/cisa-nvd-kev-priority-monitor").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 = {
    "limit": 10,
    "ransomwareOnly": False,
    "minUrgencyScore": 0,
    "sortBy": "urgencyScore",
}

# Run the Actor and wait for it to finish
run = client.actor("b2btoolstudio/cisa-nvd-kev-priority-monitor").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 '{
  "limit": 10,
  "ransomwareOnly": false,
  "minUrgencyScore": 0,
  "sortBy": "urgencyScore"
}' |
apify call b2btoolstudio/cisa-nvd-kev-priority-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,b2btoolstudio/cisa-nvd-kev-priority-monitor"
        }
    }
}
```

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/yv85W2e3N4dtDzQKL/builds/Okao9GHlEVV0LLlWt/openapi.json
