# Debian Linux & Container CVE Security Tracker Scraper (`bifrost-data/debian-security-tracker-scraper`) Actor

Stream and audit official Debian Security Tracker CVE records across Trixie (Debian 13), Bookworm LTS (Debian 12), Bullseye, Forky & Sid — with backported +deb fix versions, urgency triage, no-DSA false-positive filtering, and Debian BTS links in 256 MB RAM.

- **URL**: https://apify.com/bifrost-data/debian-security-tracker-scraper.md
- **Developed by:** [SEOK HOON HONG](https://apify.com/bifrost-data) (community)
- **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 verified debian package cve records

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

## Debian Linux & Container CVE Security Tracker Scraper

Stream, filter, and export authoritative vulnerability triage and backported fix versions directly from the official [Debian Security Tracker](https://security-team.debian.org/security_tracker.html) machine-readable JSON feed (`https://security-tracker.debian.org/tracker/data/json`) — covering **Debian 13 (`trixie` / `stable`)**, **Debian 12 (`bookworm` / `LTS`)**, **Debian 11 (`bullseye`)**, **Debian 14 (`forky` / `testing`)**, and **`sid` (`unstable`)** in **256 MB RAM with zero API keys or proxies**.

### Why Container Security, DevSecOps & SIEM Teams Use This Actor

1. **EliminatesUpstream SemVer & No-DSA Scanner False Positives**: Debian backports security patches into stable packages (`1:9.2p1-2+deb12u3` instead of upstream `9.8p1`) and explicitly flags practical non-issues as `unimportant`, `fixed_version: "0"`, or `nodsa_reason: "ignored"`. This Actor applies the [Debian Security Team's official triage semantics](https://security-team.debian.org/security_tracker.html) out of the box so CISO dashboards and AI security agents only pay for genuine package vulnerabilities.
2. **O(1)-Memory Incremental JSON Stream Engine**: Unlike naive scripts that OOM-crash loading the entire 70 MB Debian Security Tracker feed into memory, this Actor uses an RFC-8259 incremental stream parser that skips non-target source packages with zero object allocation and closes the HTTP connection the instant `max_items` is reached.
3. **Complete Container Base-Image Coverage (`debian:trixie-slim`, `debian:bookworm-slim`, Python/Node/Go official images)**: Audit core runtime packages (`openssl`, `openssh`, `curl`, `systemd`, `zlib`, `glibc`, `nginx`, `linux`, `python3.13`) with per-suite repository versions (`<suite>-security`), `*` urgency no-DSA flags, and direct links to the Debian Security Tracker and Debian Bug Tracking System (BTS).

### Transparent Pay-Per-Event Pricing

- **Verified Debian Package CVE Record (`verified-debian-cve`)**: **$0.0020 per record** (**$2.00 per 1,000 verified `(source_package, CVE)` records**).
- **Zero Waste Guarantee**: `unimportant` non-issues, `nodsa_reason: "ignored"` false positives, `fixed_version: "0"` unaffected entries, `TEMP-*` provisional rows, and client-filtered items cost **$0**.

### Quick Input Examples

#### 1. Audit Unpatched Container Base-Image Packages in Debian 13 (`trixie`) & Debian 12 (`bookworm` LTS)

```json
{
  "packages": ["openssl", "openssh", "curl", "systemd", "zlib", "nginx", "glibc"],
  "target_suites": ["trixie", "bookworm"],
  "status_filter": "open_only",
  "urgencies": ["high", "medium", "low", "not_yet_assigned"],
  "min_cve_year": 2024,
  "exclude_unimportant": true,
  "exclude_nodsa_ignored": true,
  "max_items": 50
}
```

#### 2. Verify Backported `+deb` Fix Versions for Specific High-Impact CVEs

```json
{
  "cve_ids": ["CVE-2024-6387", "CVE-2023-45853"],
  "target_suites": ["trixie", "bookworm", "sid"],
  "status_filter": "all",
  "exclude_unimportant": false,
  "exclude_nodsa_ignored": false,
  "max_items": 20
}
```

# Actor input Schema

## `packages` (type: `array`):

Filter by Debian source packages common in Docker/OCI container base images (e.g., 'openssl', 'openssh', 'curl', 'systemd', 'zlib', 'nginx', 'glibc', 'python3.13', 'linux'). Leave empty to stream across all packages in the Debian archive.

## `target_suites` (type: `array`):

Debian release codenames or aliases: 'trixie' (or 'stable', Debian 13), 'bookworm' (or 'oldstable'/'lts', Debian 12 LTS), 'bullseye' ('oldoldstable', Debian 11), 'forky' ('testing', Debian 14), 'sid' ('unstable').

## `status_filter` (type: `string`):

Choose 'all' for complete audit history (both open unfixed and backported +deb fixes), 'open_only' for currently unpatched container risks, or 'resolved_only' for patched advisories.

## `urgencies` (type: `array`):

Filter by Debian Security Team urgency assessments: 'high', 'medium', 'low', 'not_yet_assigned', 'unimportant', 'end_of_life'. Leave empty for all urgencies.

## `min_cve_year` (type: `integer`):

Only return CVEs from this year onward (e.g., 2025 or 2026). Ignored automatically when exact CVE IDs are provided.

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

Look up exact CVE IDs across Debian packages (e.g., 'CVE-2024-6387', 'CVE-2023-45853'). Overrides Minimum CVE Year.

## `keyword_query` (type: `string`):

Case-insensitive keyword search inside CVE descriptions, package names, or Debian Security Team notes (e.g., 'buffer overflow', 'http2', 'privilege escalation').

## `scope_filter` (type: `string`):

Filter by Debian tracker attack scope ('remote', 'local', or 'all').

## `exclude_unimportant` (type: `boolean`):

Skip CVEs assessed by the Debian Security Team as 'unimportant' (not affecting Debian binary builds in practice) or 'end-of-life' ($0 charge).

## `exclude_nodsa_ignored` (type: `boolean`):

Apply Debian's official stable-tracker false-positive rules: skip entries with fixed_version='0' (never affected) and open issues marked nodsa_reason='ignored' or 'postponed' ($0 charge).

## `include_temp_ids` (type: `boolean`):

Include Debian provisional TEMP-\* vulnerability IDs that do not yet have an assigned MITRE CVE number.

## `max_items` (type: `integer`):

Maximum verified (source_package, CVE) records to emit in this run. Stream closes immediately once reached.

## Actor input object example

```json
{
  "packages": [
    "openssl",
    "openssh",
    "curl",
    "systemd",
    "zlib",
    "nginx"
  ],
  "target_suites": [
    "trixie",
    "bookworm"
  ],
  "status_filter": "all",
  "urgencies": [
    "high",
    "medium",
    "low",
    "not_yet_assigned"
  ],
  "min_cve_year": 2025,
  "cve_ids": [],
  "keyword_query": "",
  "scope_filter": "all",
  "exclude_unimportant": true,
  "exclude_nodsa_ignored": true,
  "include_temp_ids": false,
  "max_items": 25
}
```

# Actor output Schema

## `vulnerabilities` (type: `string`):

Schema-verified (source_package, CVE) records with per-suite fix versions, security repo versions, urgency triage, and false-positive filtering.

## `runMetrics` (type: `string`):

Execution telemetry including O(1) streamed packages, false-positive skips, filtered free items, and validation rate.

# 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 = {
    "packages": [
        "openssl",
        "openssh",
        "curl",
        "systemd",
        "zlib",
        "nginx"
    ],
    "target_suites": [
        "trixie",
        "bookworm"
    ],
    "urgencies": [
        "high",
        "medium",
        "low",
        "not_yet_assigned"
    ],
    "min_cve_year": 2025,
    "max_items": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("bifrost-data/debian-security-tracker-scraper").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 = {
    "packages": [
        "openssl",
        "openssh",
        "curl",
        "systemd",
        "zlib",
        "nginx",
    ],
    "target_suites": [
        "trixie",
        "bookworm",
    ],
    "urgencies": [
        "high",
        "medium",
        "low",
        "not_yet_assigned",
    ],
    "min_cve_year": 2025,
    "max_items": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("bifrost-data/debian-security-tracker-scraper").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 '{
  "packages": [
    "openssl",
    "openssh",
    "curl",
    "systemd",
    "zlib",
    "nginx"
  ],
  "target_suites": [
    "trixie",
    "bookworm"
  ],
  "urgencies": [
    "high",
    "medium",
    "low",
    "not_yet_assigned"
  ],
  "min_cve_year": 2025,
  "max_items": 25
}' |
apify call bifrost-data/debian-security-tracker-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bifrost-data/debian-security-tracker-scraper"
        }
    }
}
```

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/HNQSkiGAajzcmT6IQ/builds/kbf0nQo6OtEUfOaU5/openapi.json
