Skip to content

FIRST EPSS (Exploit Prediction Scoring System) Executor

Category: Threat Intelligence Script: first_epss.py Integration: REST API (public) Faraday Plugin: Raw JSON Website: https://www.first.org/epss/

Description

Looks up the Exploit Prediction Scoring System (EPSS) score of a list of CVEs on the public FIRST EPSS API and imports one Faraday vulnerability per scored CVE. The severity reflects the probability that the CVE will be exploited in the next 30 days.

Prerequisites

  • Network access to https://api.first.org (no account or API key needed)
  • A list of CVE IDs to look up

Configuration

Environment Variables (Setup)

Variable Required Description
EPSS_HOST No EPSS API URL, useful for a mirror (default: https://api.first.org)

Execution Arguments

Parameter Type Mandatory Description
EPSS_CVES string Yes Comma-separated CVE IDs to look up (e.g., CVE-2024-1234, CVE-2023-5678)
EPSS_MIN_PROBABILITY string No Skip CVEs whose EPSS probability is below this value, from 0.0 to 1.0 (default: no filter)

YAML Configuration Example

executors:
  first_epss:
    repo_executor: first_epss.py
    max_size: 65536
    varenvs: {}
    params:
      EPSS_CVES:
        mandatory: true
        type: string
        base: string
      EPSS_MIN_PROBABILITY:
        mandatory: false
        type: string
        base: string

How It Works

  1. Cleans the EPSS_CVES list: trims spaces, removes duplicates and drops entries that are not valid CVE IDs
  2. Queries /data/v1/epss in batches of up to 100 CVEs
  3. Drops scores below EPSS_MIN_PROBABILITY, if set
  4. Creates one vulnerability per scored CVE with the EPSS probability, percentile and scoring date. Severity depends on the probability:
    • >= 0.9: critical
    • >= 0.5: high
    • >= 0.1: medium
    • >= 0.01: low
    • below 0.01: info

Notes

  • All vulnerabilities are placed under a single host with IP 0.0.0.0 and hostname first-epss, because EPSS scores belong to CVEs rather than hosts.
  • CVEs that FIRST has not scored yet (common for very recent CVEs) are skipped.
  • The executor fails if EPSS_CVES contains no valid CVE ID.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor.