# CVE Risk Prioritizer (`colt2822/cve-risk-prioritizer`) Actor

Rank a list of CVEs (or text containing them) by real exploitation evidence: CISA KEV status, known ransomware use and EPSS. Transparent rule-based tiers P0-P4.

- **URL**: https://apify.com/colt2822/cve-risk-prioritizer.md
- **Developed by:** [Colton Mcclain](https://apify.com/colt2822) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 cve prioritizeds

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 Risk Prioritizer

**Which of these CVEs should we patch first? Ranked by exploitation evidence, with the reason for every tier.**

### What problem does it solve?

Scanners return hundreds of CVEs. CVSS alone does not tell you what attackers are actually using.

### What it does

- Checks each CVE against the live CISA KEV catalog and the FIRST.org EPSS API.
- Assigns a tier by fixed, documented rules: P0 KEV with known ransomware use; P1 in KEV; P2 EPSS >= 0.10; P3 EPSS >= 0.01; P4 lower; NO_SIGNAL if neither source knows it.
- Thresholds are inputs; every row states its reasons. Sorted most urgent first.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Actor start (once per run, per GB of memory, minimum one) | $0.0050 |
| CVE prioritized (per CVE analysed) | $0.0040 |

You pay only for the events above plus nothing else from ELYRAON; Apify platform usage is covered by the event prices. The start event is charged on every run, including a run rejected for invalid input (nothing else is charged in that case). If you set a maximum charge per run, the Actor stops when it is reached and reports `PARTIAL_MAX_CHARGE` in the OUTPUT record, so you are never silently billed beyond your cap and never told a partial result is complete.

### Input

| Field | Title | Required | Description |
|---|---|---|---|
| `cve_ids` | CVE IDs | no | CVE identifiers. Up to 1,000. Use this OR Text. |
| `text` | Text containing CVE IDs | no | Paste a scanner report or advisory; CVE IDs are extracted. Use instead of CVE IDs. |
| `epss_high` | EPSS high threshold | no | Non-KEV CVEs at/above this EPSS are tier P2. |
| `epss_elevated` | EPSS elevated threshold | no | Non-KEV CVEs at/above this EPSS (and below high) are tier P3. |

Example input:

```json
{
  "cve_ids": [
    "CVE-2021-44228",
    "CVE-2019-0708"
  ]
}
```

### Output

Results go to the run's default dataset (download as JSON, CSV or Excel). Each item:

| Field | Type | Description |
|---|---|---|
| `cve_id` | string | CVE identifier. |
| `tier` | string | P0, P1, P2, P3, P4 or NO_SIGNAL. |
| `tier_meaning` | string | Plain-language tier. |
| `reasons` | array | Why it got this tier. |
| `in_kev` | boolean | Listed in CISA KEV. |
| `epss` | number | EPSS probability. |
| `kev_due_date` | string | CISA due date if in KEV. |

Example item:

```json
{
  "cve_id": "CVE-2021-44228",
  "tier": "P0",
  "reasons": [
    "In CISA KEV",
    "CISA marks known ransomware campaign use"
  ]
}
```

The key-value store holds `OUTPUT` (run summary: status, counts, warnings, limitations, version, source commit) and `REPORT.md` (readable summary). `OUTPUT.status` is `SUCCEEDED`, `PARTIAL_MAX_CHARGE`, `PARTIAL_RESULT_LIMIT` or `FAILED` (with a structured `error` code/message/field). Invalid or empty input fails the run immediately with an explanation and returns no results.

### Use from code

```bash
curl -X POST "https://api.apify.com/v2/acts/colt2822~cve-risk-prioritizer/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" -d '{"cve_ids": ["CVE-2021-44228", "CVE-2019-0708"]}'
```

```python
from apify_client import ApifyClient
run = ApifyClient("$APIFY_TOKEN").actor("colt2822/cve-risk-prioritizer").call(run_input={"cve_ids": ["CVE-2021-44228", "CVE-2019-0708"]})
```

This Actor can also be called by AI agents through the Apify MCP server (https://mcp.apify.com), which exposes Actors as tools.

### Limitations

- Exploitation evidence only: CVSS severity, your asset exposure and business impact are NOT considered.
- NO_SIGNAL does not mean safe (new CVEs may lack EPSS).
- Rule-based, no AI model. Attribution: EPSS by FIRST.org.

### Support

Questions or problems: https://elyraon.com.co/contact/ (ELYRAON). Source revision: `a4e348f`. Actor version 1.0.

# Actor input Schema

## `cve_ids` (type: `array`):

CVE identifiers. Up to 1,000. Use this OR Text.

## `text` (type: `string`):

Paste a scanner report or advisory; CVE IDs are extracted. Use instead of CVE IDs.

## `epss_high` (type: `number`):

Non-KEV CVEs at/above this EPSS are tier P2.

## `epss_elevated` (type: `number`):

Non-KEV CVEs at/above this EPSS (and below high) are tier P3.

## Actor input object example

```json
{
  "cve_ids": [
    "CVE-2021-44228",
    "CVE-2023-34362",
    "CVE-2019-0708"
  ],
  "epss_high": 0.1,
  "epss_elevated": 0.01
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

## `report` (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 = {
    "cve_ids": [
        "CVE-2021-44228",
        "CVE-2023-34362",
        "CVE-2019-0708"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("colt2822/cve-risk-prioritizer").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 = { "cve_ids": [
        "CVE-2021-44228",
        "CVE-2023-34362",
        "CVE-2019-0708",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("colt2822/cve-risk-prioritizer").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 '{
  "cve_ids": [
    "CVE-2021-44228",
    "CVE-2023-34362",
    "CVE-2019-0708"
  ]
}' |
apify call colt2822/cve-risk-prioritizer --silent --output-dataset

```

## MCP server setup

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

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/mEs37cw9BhCbE5P5D/builds/PSsxQrr4xoynJtPdT/openapi.json
