Exposure-to-Patch Alerts Kit

Match what you run against the Agent Field Kit advisory feed each time you run it, and see which items affect you. Keep one CSV of what you run, where, at which version and whether it is internet-exposed.

One-time · 14-day refund · instant download

Free CLI: AFK Guard finds leaked secrets and checks MCP configs. pip install afk-guard

Python script / CSV / Docs (ZIP + PDF)

Keep one CSV of what you run, where, at which version and whether it is internet-exposed. exposure_patch.py matches it against the Agent Field Kit advisories feed and known-bad releases and tells you plainly: you run the affected version, you are patched, or check this one by hand. Exposed assets are blocking, internal ones are warnings, malicious packages and platform incidents are blocking either way. Optional webhook alerts, an optional one-request header check of hosts you own, a manifest guide and a patch runbook. Plugs into the Agent Cyber Defense Dashboard.

What's inside

Verify it works

  1. python3 exposure_patch.py --selftest prints selftest ok. It checks every version rule against a snapshot of the feed (sample_headlines.json), the sample manifest results, and the probe against a local mock host (and that a host marked owned=no is never contacted).
  2. python3 exposure_patch.py --manifest exposure_manifest.csv --feed sample_headlines.json lists the Sample data assets running affected versions and exits 1.
  3. Drop --feed to use the live public feed.
  4. Replace the sample manifest with your own (see 01) and schedule it (see 02).
  5. Dashboard: add --afk-json and save to results/exposure-patch.json. Python 3.9+, no installs. Read-only unless you pass --webhook-url (one POST to your own webhook) or --probe (one GET per owned host).

Preview

First part of the main document, shown as-is:

01 Build your exposure manifest

The fastest way to shorten the time between "a fix is out" and "we are fixed" is to know, before the advisory lands, what you run and where. This kit keeps that list in one CSV and checks it against the Agent Field Kit advisories feed every time you run it.

Columns in exposure_manifest.csv

Column Meaning
asset What it is: "MCP server", "marketing site", "model gateway"
url Public URL if it has one (used only by the optional probe)
internet_exposed yes if anyone on the internet can reach it. Vulnerable versions on exposed assets are blocking; internal ones are warnings. Malicious packages and platform incidents are blocking either way
owned yes only if you own or are authorized to test the host. The probe skips everything else
component Feed-style id: package:npm/next, package:pypi/litellm, runtime:nodejs, bot:openclaw, platform:railway
version Exact version you run. Leave blank only if unknown (you will get a "check" item)
owner Who upgrades it

One row per component per asset. The sample file is labeled Sample data; replace it.

Filling it quickly

How matching works

For every advisory in the feed, the script compares your component ids with the advisory's component list, then applies the version rule in fixed_versions.csv: - bad: that exact release is known bad (also cross-checked against bad_versions.csv). - fixed with a branch: below the fix on the same major line means affected; a branch with no listed fix gives a "check" item. - any: applies regardless of version (malicious packages, platform incidents, issues with no fixed release yet). A component named in an advisory with no rule in the file gives a "check" item, so a newer feed is never silently ignored. The script also prints feed items that have no rules yet.

fixed_versions.csv is written from each advisory's title and first step. It is a convenience, not the authority: confirm the affected range on the linked source before you close an item.

$29 · one-time · 14-day refund

← All kits