← Back to archive

Repo of the Day

AlbusNoir/cti-monitor

Published: Nov 22, 2026

Open repository ↗

A lightweight, automated Cyber Threat Intelligence (CTI) collector and Discord push-notification ticker built with Python, uv, SQLite, and Apprise

Summary

CTI Monitor is a Python-based collector that polls roughly 60 vulnerability feeds, ransomware leak trackers, vendor PSIRTs, threat research blogs, government CERTs, and breaking security news. It enriches CVE-related headlines with CISA KEV and FIRST EPSS data, removes duplicate coverage, tracks meaningful updates, and routes alerts through Apprise to Discord or another supported provider. SQLite retains deduplication state, update history, and feed health across runs.

What it is useful for

It is useful for engineers who need a repeatable security-intelligence feed without manually monitoring many sources.

  • Route security updates to focused channels. Feeds are assigned to channels such as active-exploitation, vendor-psirts-vulns, threat-research, gov-cert-advisories, and firehose.
  • Reduce duplicate alerts. Headline deduplication runs per channel over a rolling 36-hour window. For example, when several outlets cover the same story in firehose, only the first headline posts, while primary-source advisories can still post normally in vendor or active-exploitation channels.
  • Track meaningful changes. A changed headline can generate an updated alert when it is less than 85% similar to the previous title or contains a newly added CVE.
  • Escalate important intelligence. Keyword rules, vendor watchlists, CISA KEV matches, and configurable EPSS thresholds can cross-post relevant headlines into active-exploitation. This includes previously seen articles whose CVE is later added to KEV or updated to confirm exploitation.
  • Monitor collection reliability. The project records HTTP status and consecutive failures, reports a feed after three failures, and can generate a daily health digest.

How engineers can use it

The documented setup targets Ubuntu 24.04 LTS. Install uv, clone the project, and sync its environment:

curl -LsSf https://astral.sh/uv/install.sh | sh
source ~/.local/bin/env
git clone https://github.com/AlbusNoir/cti-monitor.git ~/cti-monitor
cd ~/cti-monitor
uv sync

Create the local notification configuration, restrict access to its credentials, and replace the placeholders with Apprise-formatted Discord webhook URLs:

cp webhooks.example.json webhooks.json
chmod 600 webhooks.json
nano webhooks.json

Seed existing articles before enabling notifications, then inspect feed health:

uv run cti_monitor.py --init
uv run cti_monitor.py --health-report

The README provides cron entries that run the collector every ten minutes and post the health report daily at 13:00 UTC. Adjust the example /home/ubuntu paths for the deployment account.

Source selection and escalation rules live in feeds.json and keywords.json; keyword rules are reloaded on every run. One limitation is that Cloudflare or WAF rules may still block datacenter IP addresses. The documented workaround is to disable the affected feed or route it through a Google News RSS query.