Skip to main content
command CX Codex

update-threat-db — Claude Code command: threat DB updates

The update-threat-db command delegates threat database changes to AgentSec and checks the resulting feed, catalogue, and compatibility data.

CC-BY-SA-4.0 ★ 6,529 updated 2026-10-22

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/update-threat-db.md
Open on GitHub

What update-threat-db does

update-threat-db routes threat evidence and database maintenance to the AgentSec checkout. It resolves that checkout from AGENTSEC_REPO or ../agentsec-triage, verifies the required files, and runs .claude/commands/update-threat-db.md there. AgentSec handles source review, detector coverage, regression checks, and generated artifacts.

Once that workflow passes, the command copies the generated feed into the guide with scripts/sync_security_feed.py --write, repeats the check mode, and runs the listed feed tests. It also refreshes the landing catalogue. The legacy examples/commands/resources/threat-db.yaml remains a consumer for /security-check and /security-audit. The process stops when the AgentSec checkout or its required files cannot be found; cloning, pulling, and publishing need explicit authorization.

What it helps with

  • delegate threat database updates to AgentSec
  • sync the security feed into the guide
  • refresh the landing search catalogue
  • keep /security-check and /security-audit compatible
  • run feed and catalogue validation

Example prompts for the agent

  • Run update-threat-db and route the threat database update through AgentSec.
  • Check the guide and landing after synchronizing the security feed.
  • Run the update without cloning or publishing repositories unless authorization is explicit.

How to install update-threat-db

Manually: put the files in place

.claude/commands/update-threat-db.md

Call it with /update-threat-db. For all projects use ~/.claude/commands/

Questions about update-threat-db

How do I install update-threat-db in Claude Code?

Place the command file at .claude/commands/update-threat-db.md.

What does update-threat-db do?

It delegates threat database work to AgentSec, synchronizes the generated feed with the guide and landing, and runs the available validation steps.

What does update-threat-db need to run?

AgentSec must be reachable through AGENTSEC_REPO or ../agentsec-triage and contain AGENTS.md, .claude/commands/update-threat-db.md, data/intelligence/sources.yaml, data/intelligence/events.yaml, and data/threat-db.yaml.

Similar slash commands

All slash commands for Security →

From the same set45

The whole set →
sync sync verifies data consistency between the documentation repository and its landing site. Audits release numbers, template files, and quiz assets. CX Codex +1 ★ 6,529repo stars update-threat-db update-threat-db — a skill for Claude Code and Codex that refreshes threat intelligence and IOC feeds via AgentSec Triage. Synchronizes security advisories for coding agents and MCP tools. CX Codex +1 ★ 6,529repo stars source-command-sync source-command-sync runs a sync check between the guide repository and its landing page, then shows which counters drifted. Handy when the site is generated from repo data. CX Codex +1 ★ 6,529repo stars guide-reviewer guide-reviewer audits technical documentation drafts for factual errors, marketing buzzwords, and AI phrasing patterns before committing. CX Codex ★ 6,529repo stars remove-worktree remove-worktree deletes a worktree by branch name: the directory, the git entry and the local branch. Useful when merged branches leave copies behind. CX Codex +1 ★ 6,529repo stars clean-worktrees clean-worktrees cleans up Git worktrees for branches already merged into main. Useful after landing pull requests to reclaim disk space without prompt fatigue. CX Codex +1 ★ 6,529repo stars park park stores the active session in a Markdown file so work can resume after a restart. It is made for Claude Code and Codex workflows. CX Codex +1 ★ 6,529repo stars worktree Creates a separate git worktree folder for feature or fix branches. Useful when you need to work on multiple tasks in parallel without conflicts in your main branch. CX Codex +1 ★ 6,529repo stars

Project sponsors

Companies that keep this analytics open