Skip to content

Get Issues (Nixpkgs) ​

Retrieve a list of tracked CVE issues from nixpkgs security issues.

Data Source

This endpoint returns issues only from nixpkgs security issues, whoever filed them. For vulnerabilities in other ecosystems (npm, PyPI, Debian, etc.), use the OSV endpoint or CVE Matching endpoint.

Endpoint ​

GET /api/v1/issues

Response ​

json
{
  "success": true,
  "count": 88,
  "data": [
    {
      "id": "12345",
      "title": "CVE-2024-XXXX: openssl vulnerability description",
      "url": "https://github.com/NixOS/nixpkgs/issues/12345",
      "package": "openssl",
      "cveIds": ["CVE-2024-XXXX"],
      "severity": "high",
      "cvssScore": 8.1,
      "currentVersion": "3.1.4",
      "fixedVersion": "3.1.5",
      "createdAt": "2024-01-15T10:00:00Z",
      "assignees": ["maintainer1"],
      "dataSource": "nixpkgs-tracker",
      "isTracked": true,
      "difficulty": "easy"
    }
  ],
  "timestamp": "2026-02-10T12:00:00.000Z"
}

Response Fields ​

Issue Object ​

FieldTypeDescription
idstringGitHub issue number
titlestringIssue title, typically includes CVE ID and package
urlstringDirect link to the GitHub issue
packagestringExtracted affected package name
cveIdsstring[]CVE identifiers extracted from title and body
severitystringSeverity level: critical, high, medium, low, or unknown. Enriched from NVD CVSS data when available
cvssScorenumber|undefinedCVSS v3.1 base score (present when severity is enriched from NVD)
currentVersionstringCurrent vulnerable version extracted from title
fixedVersionstringFixed version extracted from body (empty string if unknown)
createdAtstringISO 8601 timestamp
assigneesstring[]GitHub usernames assigned to the issue
dataSourcestringAlways nixpkgs-tracker
isTrackedbooleanAlways true
difficultystringEstimated fix difficulty: easy, medium, or hard

Difficulty Estimation ​

Difficulty is computed from issue characteristics:

DifficultyCriteria
easyUpstream fix available, single package, simple version bump
mediumPatch backporting required, moderate staging coordination
hardVendored dependencies, multiple versions, mass rebuilds

Get Single Issue ​

GET /api/v1/issues/:id

Returns a single issue by GitHub issue number.

Examples ​

bash
# Get all tracked issues
curl "https://api.vulnpatch.dev/api/v1/issues"

# Get a specific issue
curl "https://api.vulnpatch.dev/api/v1/issues/12345"

Code Examples ​

javascript
async function getIssues() {
  const response = await fetch('https://api.vulnpatch.dev/api/v1/issues');
  const { data } = await response.json();

  for (const issue of data) {
    console.log(`[${issue.severity}] ${issue.package}: ${issue.cveIds.join(', ')} (${issue.difficulty})`);
  }
}
python
import requests

response = requests.get('https://api.vulnpatch.dev/api/v1/issues')
data = response.json()['data']

for issue in data:
    cves = ', '.join(issue['cveIds'])
    print(f"[{issue['severity']}] {issue['package']}: {cves} ({issue['difficulty']})")

Caching ​

This endpoint is cached for 5 minutes. The X-Cache header indicates cache status.