Aggregates free threat-intel feeds (abuse.ch, Spamhaus DROP, OpenPhish, ET) into deduplicated, scored, aged-out blocklists: text, CSV, STIX 2.1 and a GitLab Pages dashboard.
tiagg pulls indicators of compromise from free public threat-intel feeds, normalises and deduplicates
them, scores each one by how many independent sources vouch for it and how recently, ages out the ones
nobody reports any more, and publishes the result as ready-to-use blocklists (plain text, CSV, JSON and a
STIX 2.1 bundle) plus a static dashboard on GitLab Pages.
Live dashboard and blocklists: https://threat-intel-aggregator-40c101.gitlab.io. A scheduled pipeline refreshes them every day; the first live run pulled about 2,700 indicators from five feeds.
It is plain Python with no runtime dependencies, and every test runs offline against recorded feed samples.
$ tiagg run --dashboard
[ok ] urlhaus 6 records 5 unique 5 new
[ok ] threatfox 9 records 7 unique 6 new
[ok ] feodo 4 records 3 unique 2 new
[ok ] spamhaus_drop 4 records 2 unique 2 new
[ok ] spamhaus_dropv6 1 records 1 unique 1 new
[ok ] openphish 4 records 4 unique 3 new
[ok ] et_compromised 7 records 3 unique 2 new
19 active / 21 tracked (cidr 3, domain 1, ipv4 5, ipv6 1, md5 1, sha256 1, url 7); 21 new, 0 expired -> public
$ tiagg lookup 198[.]51[.]100[.]23:443
198.51.100.23 (ipv4)
first seen 2026-11-19T07:00:00Z, last seen 2026-11-25T12:00:00Z
- et_compromised: confidence 60, listed
- feodo: confidence 95, listed
- threatfox: confidence 90, listed
malware: Cobalt Strike, QakBot
threats: botnet_cc
tags: CobaltStrike, c2
AS64500 EXAMPLE-HOSTING-AS NL
(Output above is from the bundled sample data, which uses documentation IP ranges and reserved domains.)
| Feed | What it lists | Weight | Licence / terms |
|---|---|---|---|
| abuse.ch URLhaus (recent CSV) | Malware distribution URLs | 80 (x0.6 if offline) | CC0 |
| abuse.ch ThreatFox (recent JSON) | C2 IP:port, domains, URLs, file hashes | 90 x ThreatFox confidence_level | CC0 |
| abuse.ch Feodo Tracker | Botnet C2 servers (QakBot, Emotet, Pikabot...) | 95 (x0.75 if offline) | CC0 |
| Spamhaus DROP v4 / v6 | Hijacked netblocks you should never route | 95 | Spamhaus DROP terms |
| OpenPhish community | Phishing URLs | 70 | Non-commercial |
| Emerging Threats compromised IPs | Known compromised hosts | 60 | ET Open |
Feeds live in config/feeds.toml. Adding one is a TOML block: a name, URL, one of the
built-in parsers (urlhaus_csv, threatfox_json, feodo_json, spamhaus_drop, plain, plain_url) and a
weight.
abuse.ch key. URLhaus and ThreatFox now answer 410 Gone to anonymous downloads. Get a free Auth-Key at
https://auth.abuse.ch/ and add it as a masked CI/CD variable named ABUSECH_AUTH_KEY; it is sent as the
Auth-Key header. Until then those two feeds are marked requires_auth and are skipped (shown as "Needs key"
on the dashboard) rather than counted as failures. Feodo Tracker still works without a key.
fetch ──> parse ──> normalise ──> filter ──> merge into state ──> enrich ──> score + age out ──> export
(per feed) refang, bogons, dedupe by offline noisy-OR, txt / csv / json
classify, allowlist, (type, value), ASN + half-life decay, STIX 2.1
canonicalise doc ranges keep first seen country expiry dashboard
Normalise. Every value is refanged (hxxp, [.], [://]...), classified (IPv4, IPv6, CIDR, domain, URL,
MD5, SHA-1, SHA-256) and put in canonical form so the same IOC from different feeds collapses into one record:
lower-case hosts, IDN to punycode, default ports and URL fragments dropped, CIDRs reduced to their network
address, ip:port split so the port is kept as context. In the sample data one phishing URL arrives as
HTTPS://Secure-Login.Phish.TEST:443/...#frag, hxxps://secure-login[.]phish[.]test/... and plain text, and ends
up as one indicator with three sources.
Filter. Some things must never reach a blocklist, whatever a feed says: private, loopback, link-local, multicast and other special-purpose ranges (RFC 6890), CIDRs broader than /8, documentation ranges, and anything on the allowlist (big shared platforms and public DNS resolvers). Suppressed entries are counted per feed and shown on the dashboard instead of silently disappearing. URLs on allowlisted hosts are kept, because blocking one malicious URL on a shared host is fine; blocking the host is not.
Score. Each source contributes its weight times the record's own signal (ThreatFox confidence level,
online/offline status). Sources are combined with a noisy-OR, 1 - Π(1 - cᵢ), so independent corroboration
raises the score: one feed at 60 gives 60, add a second at 95 and it becomes 98. Indicators at or above
min_score (50) go into the blocklists; the rest stay on a watch list in the CSV and JSON.
Age out. State is kept between runs (state/state.json, which the Pages job republishes and the next
scheduled run downloads). When a source stops listing an indicator, that source's contribution decays with a
per-type half-life, and once no source has listed it for longer than the type's maximum age it is dropped:
| Type | Half-life | Dropped after |
|---|---|---|
| IP address | 7 days | 30 days |
| CIDR | 30 days | 60 days |
| URL | 14 days | 60 days |
| Domain | 21 days | 90 days |
| File hash | 180 days | 365 days |
A feed that fails to download is not treated as having delisted everything: its indicators keep their previous standing until the feed comes back. First-seen dates survive across runs.
Enrich. IP indicators get an ASN, AS name and country from an offline range table in the
iptoasn.com TSV format (--asn-db, gzip is fine). Nothing is looked up per indicator over
the network. Feodo Tracker's own ASN data is used when present.
| File | Contents |
|---|---|
blocklists/firewall.txt | IPv4/IPv6 addresses and CIDRs, numerically sorted, ready for a firewall or ipset |
blocklists/ip.txt, cidr.txt, domains.txt, urls.txt | One type per file (DNS RPZ, proxy, EDR...) |
blocklists/sha256.txt, sha1.txt, md5.txt | File hashes |
active.csv, indicators.csv | Blocklisted indicators, and everything tracked including the watch list, with score, sources, first/last seen, malware, tags, ports, ASN and country. Cells that start with =, +, - or @ are prefixed with ' so feed text cannot inject spreadsheet formulas |
indicators.json | The same as JSON |
stix2.json | STIX 2.1 bundle: an indicator per active IOC (pattern, valid_from/valid_until from the ageing policy, confidence, source references), malware families and indicates relationships. IDs are UUIDv5, so the same indicator keeps the same STIX ID on every run and a TAXII consumer can update rather than duplicate |
feeds.json, history.json, state.json | Per-feed health for the run, run-over-run counts, and the full state |
index.html | The dashboard (with --dashboard) |