alexlinos/threat-feed-me
About
On-prem threat intelligence aggregator: normalize, dedupe, and score threat feeds into confidence tiers served as URLs your firewall polls.
Security & PrivacyWhat you can do
- Feed Aggregation: Pull from multiple sources (OSINT, commercial, custom including HoneyDB honeypot telemetry: the community network and, if you run sensors, your own honeypots voting as a source)
- Runtime feed management: Add, remove, enable/disable, and mix-and-match feeds from the dashboard, including your own custom URL or local-file feeds
- Force refresh, scheduling & retention: Refresh all feeds (or one) on demand, set the default refresh interval for feeds that don't set their own (60 minutes out of the box), and set how long an IP is kept after it drops out of every feed (default 14 days; 0 = keep forever), all from the dashboard's System view, no restart needed
- Deduplication: Merge duplicate IPs across feeds with source tracking
Measured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +3
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
Threat Feed Me!
The open-source MineMeld replacement. An on-prem threat-intelligence aggregator that pulls 22 free, keyless feeds and removes the duplicates, like MineMeld did, then goes a step further: it notices when feeds are just republishing each other, so copies don't add up to fake agreement and your strictest list stays small and trustworthy. It serves the result the way your security stack consumes it: block-list URLs for firewalls and DNS filters, TAXII 2.1 for SIEMs, and direct publishing to CrowdSec bouncers and UniFi gateways. One container, no accounts, no API keys. Feed it threats. It's always hungry.
- Real agreement, not just a pile of feeds. Public feeds copy each other, so "five feeds list this IP" can mean one source republished five times. Feeds that copy each other count once, two unrelated feeds agreeing still moves an IP up, and a feed that gets things wrong loses weight when you flag its mistakes (how).
- Served every way you need it. Plain-text URLs any firewall can poll (FortiGate, Palo Alto EDL, pfSense, OPNsense, Sophos, SonicWall, Check Point, Cisco), domain lists for the DNS filter, CSV/JSON, and a read-only TAXII 2.1 server of STIX 2.1 Indicators.
- Pushes where polling can't. Publishes your chosen tier to CrowdSec (every bouncer you run enforces it) and to UniFi gateways, and pulls CrowdSec's own detections back in as votes.
- Safe by default. A poisoned upstream can't make your firewall block its own network: private, reserved and known-good infrastructure is filtered out of every list, and whitelists apply everywhere, per tier or per feed.
- Knows when something's wrong. Per-feed health, uniqueness and overlap, "last polled by FortiGate" beside every URL, and nothing phones home.
New in 2.7: application allow-lists. A built-in catalog of Microsoft 365
(all four clouds), AWS, Azure, Google, Google Cloud, GitHub, Cloudflare,
Fastly, Zoom, Atlassian, Okta, Stripe, Oracle Cloud and DigitalOcean lists,
each linked to the vendor's own documentation and switched on one at a time,
served strictly as the vendor publishes them. A firewall URL builder under every
list: pick FortiGate, Palo Alto, Sophos, pfSense and more, and copy the exact
URL. And ?family=4|6 on every list for firewalls that take one IP version.
Live daily cloud IP churn and public feed health/overlap telemetry are also
published on Threat Feed Me Radar.
Coming from 2.4 or earlier? See Upgrading first: High gets
smaller on purpose.
Coming from MineMeld?
Palo Alto Networks retired MineMeld (the hosted version reached end of life on 1 August 2021) and archived the open-source project in March 2023. Threat Feed Me covers the job most MineMeld deployments did, aggregate public intel and hand it to firewalls and SIEMs, with less to maintain:
| MineMeld | Threat Feed Me |
|---|---|
| Miners, one per feed | 22 curated feeds built in, plus any URL or uploaded list you add from the dashboard |
| Aggregator processors (dedupe, merge) | Removes duplicates, then spots feeds that copy each other and counts them once, sorting what's left into High / Medium / Everything |
| Whitelist miners | Whitelist by IP, CIDR, domain or *.wildcard, scoped globally, per feed or per tier |
| EDL feed outputs (PAN-OS) | /feeds/{high,medium,all}.txt and /feeds/domains/...: plain one-per-line lists that PAN-OS External Dynamic Lists and every other firewall accept |
| TAXII miners (TAXII 1.x feeds) | TAXII 2.1 collections as feeds: MISP, OpenCTI or any TAXII 2.1 server |
| TAXII DataFeed output (TAXII 1.1 / STIX 1.x) | TAXII 2.1 / STIX 2.1, read-only, six collections |
| Office 365 / AWS / Azure / GCP miners (allow-lists) | Application lists: a built-in catalog (Microsoft 365 in all four clouds, AWS, Azure, Google, GitHub, Cloudflare, Fastly, Zoom, Atlassian, Okta, Stripe, Oracle Cloud, DigitalOcean) you switch on per list, plus lists you point at any URL; per service, all regions |
| Node graph you wire and maintain | Nothing to wire: add a feed, it votes |
What it doesn't do (yet): per-region cloud allow-lists, arbitrary processing graphs, TAXII 1.x, writes over TAXII, syslog-driven lists, or pushing PAN-OS Dynamic Address Groups. The migration guide goes through every common MineMeld use. If you need a full threat-intel platform with case management, look at OpenCTI or MISP; Threat Feed Me is the lightweight piece that turns public intel into lists your devices enforce.
Deploy
Designed to run on a small on-prem box or VM with no tuning and no API keys.
Fastest: run the published image (nothing to clone or build):
docker run -d --name threat-feed-me --restart unless-stopped -p 8080:8080 \
-v threatfeedme-data:/app/data alexlinos/threat-feed-me:latest
# then open the dashboard at http://<this-server-ip>:8080
Or with docker compose (clone first, giving you config.yaml to edit):
git clone https://github.com/alexlinos/threat-feed-me.git
cd threat-feed-me
docker compose pull # use the published image ...
docker compose up -d # ... or `up -d --build` to build from source instead
Then open the dashboard. A fresh install opens on the set-up guide: copy the Medium URL into your firewall's threat-feed setting (FortiGate, Sophos, SonicWall, Palo Alto, Cisco, pfSense, ...) and the checklist ticks itself off as your firewall starts polling. The walkthrough below shows every screen.
That's it. On first start it fetches 22 free, keyless threat feeds (16 IP feeds and 6 domain feeds: OpenPhish, Phishing Army, HaGeZi TIF, Phishunt, the DRB-Ra C2 list, and CyberHost), removes duplicates, sorts them into the three lists, and starts serving them. It refreshes each feed on its own schedule (OpenPhish every 15 minutes, DShield every 30, most feeds hourly, Talos daily), no cron, no maintenance. Everything stays on-prem; feeds are pulled inbound only.
No accounts or keys required for the default feeds.
The dashboard shows the exact URLs to paste, per confidence tier, with a Copy button, firewall-specific instructions, and proof that your firewall is actually polling each one.
Add your own feeds, upload a custom list, whitelist false positives, or force a refresh, all from the dashboard, no config editing.
A few feeds ship disabled; switch them on from the dashboard:
- Need a free key: AlienVault OTX, the two HoneyDB feeds, and the
abuse.ch URLhaus export (URLhaus retired its keyless download; a free
Auth-Key from auth.abuse.ch goes in as
URLHAUS_AUTH_KEY). - Covered by a feed that is already on: CERT.PL, HaGeZi fake, PhishTank online-valid, and the auth-walled abuse.ch ThreatFox export (the keyless ThreatFox IOC mirror ships enabled).
- Niche or very large: joewein (spam domains), ThreatView domains.
- A sample: the custom honeypot list.
Feeds that need credentials have a Set key button. It asks for each one (HoneyDB takes an id and a key), stores them server-side in the data volume's
.env, applies them at once, and never shows or logs them.- Need a free key: AlienVault OTX, the two HoneyDB feeds, and the
abuse.ch URLhaus export (URLhaus retired its keyless download; a free
Auth-Key from auth.abuse.ch goes in as
To protect the dashboard on an untrusted network, set a username and password
under System → Dashboard sign-in (stored as a salted hash; changing it needs
the current password). Or set DASHBOARD_USER and DASHBOARD_PASSWORD in the
environment, e.g. a .env file next to docker-compose.yml; setting both turns
auth on and wins over the page. Locked out? Run
docker exec threat-feed-me python -m threatfeedme.main --reset-dashboard-auth. Feed URLs stay open so firewalls can poll them. With auth off and the
host check off (both are the defaults), the app logs a warning on every start:
a malicious web page opened on your network could drive the dashboard through
DNS rebinding. Turning on either one closes that.
HTTPS
Setting both TFM_TLS_CERT and TFM_TLS_KEY (paths to PEM files inside
the container, e.g. mounted from ./certs) serves the dashboard and the list
URLs over HTTPS on the same port. Setting only one of them refuses to start,
with a clear error. The app never generates certificates (no ACME, no
self-signed), so make one with:
openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 825 -subj "/CN=your.host.name"
In docker-compose.yml, add these to the threat-feed-me service:
volumes:
- ./certs:/certs:ro
environment:
- TFM_TLS_CERT=/certs/cert.pem
- TFM_TLS_KEY=/certs/key.pem
Rotating a certificate means restarting the container. The "starting" holding
page shown during a long first start is plain HTTP. For auto-renewed public
certificates, put a reverse proxy in front instead. Caddy is the simplest. A
Caddyfile with:
feeds.example.org {
reverse_proxy threat-feed-me:8080
}
and a sidecar service in the same compose file:
caddy:
image: caddy:2
ports: ["80:80", "443:443"]
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy-data:/data
Caddy passes the Host header through to the container by default, which the
host check needs (see SECURITY.md). With Caddy in front, stop
publishing port 8080 on the host so the dashboard is only reachable through it.
(caddy-data also needs declaring under the compose file's top-level volumes:.)
Walkthrough
The dashboard is one page with six views in the left rail (Guide, Lists, Apps, Feeds, Connect, System), plus the Indicators page. Press / anywhere to look up an IP or domain.
1. Guide (first run). Until a firewall has polled one of your IP lists, the
dashboard opens here. The left side is the one URL most people need (the
Medium IP list) with a Copy button; the right side is a checklist that answers
itself from what the server can see: feeds fetched, a firewall pulling the IP
list, a DNS filter pulling the domain list. Name this server is optional:
if you'll reach the box by a DNS name (say threatfeedme.lan), add it and the
server checks whether the name resolves, and to this machine. Saving a name
never blocks anything; the host check stays off until you switch it on.
Click I'm set up when you're done, and the Lists view becomes the default
(the guide stays one click away).

2. Lists. Six cards, one per URL: High, Medium and Everything, for IPs and for domains. Each shows how many entries it serves right now, the URL with a Copy button, CSV and JSON variants, and the last poll (polled 3m ago by FortiGate). A mistyped URL fails silently on most firewalls; not polled yet is how you find out. The line under the title is the ops pulse: last refresh, what arrived in 24 hours, your overrides, and push status for CrowdSec and UniFi when they're configured. The top bar says how many feeds are healthy and names the first one that isn't.
3. Apps (Applications). Allow-lists, kept apart from the block lists. Pick a vendor on
the left (Microsoft 365, AWS, Azure, Google, GitHub, Cloudflare, Fastly, Zoom,
Atlassian, Okta, Stripe, Oracle Cloud, DigitalOcean), read what
the list is for and follow the link to the vendor's own guidance, then switch
on the lists you need; nothing is downloaded until you do. Each list gets its
own URL and a URL builder that shapes it for your firewall. You can also add
a list from any URL of your own. A refresh that would change a list by more
than half is held, and waits here for you to approve or discard it. The
catalog itself is fetched from the project's GitHub; app_catalog.enabled: false in config.yaml switches that off.
4. Feeds. Every source in one table, IP feeds and domain feeds grouped apart, with problems floated to the top. Per feed: entries, the share nobody else reports (unique), how often it saw a threat first, what's new in 24 hours, health, and false-positive flags. Add a URL feed or upload a list at the bottom; the overlap map, country heatmap and problem-TLD panel sit under Insights.

5. Connect. Step-by-step placement for every supported firewall and DNS filter, the TAXII 2.1 discovery URL for your SIEM, and the CrowdSec and UniFi panels (both push after every refresh, because neither can poll).
6. System. Refresh interval and retention, database size, backups (with Back up now), vote grace, the predictor's state, a Recalculate now button, and Dashboard hostnames: the names the dashboard has been reached by, the names you've saved, and the switch that locks it to them (see Upgrading).

Indicators is the searchable, paginated corpus with per-indicator tier,
score, votes and sources, and the whitelist (by IP, CIDR, domain or
*.wildcard, everywhere or per tier).
Features
- Feed Aggregation: Pull from multiple sources (OSINT, commercial, custom including HoneyDB honeypot telemetry: the community network and, if you run sensors, your own honeypots voting as a source)
- Two indicator kinds, never mixed: IP/CIDR feeds for the packet
filter and domain feeds for the DNS filter (FortiGate DNS filter, Pi-hole,
AdGuard Home, pfBlockerNG DNSBL, Unbound). Feeds declare their kind;
domains are never sniffed out of IP feeds, an IP URL never contains a
domain, and both kinds get their own tier boundaries (a domain vote
distribution would otherwise set the IP tier lines, or vice versa).
Domain safety floor: special-use TLDs (
.test,.local, ...) are rejected and a curated core of OS-update/CDN/mail infrastructure (plus your ownsafety.known_good_domains) can never be blocked, subdomains included. - Runtime feed management: Add, remove, enable/disable, and mix-and-match feeds from the dashboard, including your own custom URL or local-file feeds
- Force refresh, scheduling & retention: Refresh all feeds (or one) on
demand, set the default refresh interval for feeds that don't set their own (60 minutes out of the box), and set how long
an IP is kept after it drops out of every feed (default 14 days;
0= keep forever), all from the dashboard's System view, no restart needed - Deduplication: Merge duplicate IPs across feeds with source tracking
- Confidence Scoring: High/Medium/Low tiers based on:
- Effective independent votes: sources are discounted by their measured overlap so echoing feeds count as one witness, and tier boundaries are found from the live vote distribution rather than fixed thresholds. Full algorithm: How confidence tiering works.
- Feed reputation, equal for every feed by default and earned from there: flagging false positives automatically lowers the offending feed's weight
- Age decay
- Whitelist Management: Override false positives, globally (all feeds) or
scoped to a single feed (ignore one noisy source while trusting the rest).
Accepts IPs, CIDRs (suppress a whole network), exact domains, and wildcards
(
*.example.comcovers the domain and every subdomain). The whitelist dialog shows which feed(s) reported the IP, and a reason (false positive / risk accepted / internal asset). Flagging a false positive lowers that feed's reputation, so a noisy feed's indicators score lower — and a feed flagged past the degraded threshold also loses its authoritative force-HIGH privilege for domains until the flags are cleared (self-heals when the whitelist entry is removed). Click a feed's ⚠ N FP badge to review what it was penalized for and forgive individual flags or all of them; the whitelist entries stay in place, only the blame is withdrawn. - Votes that expire: a feed's vote on an indicator lasts while
it lists it and for 3 days after (
scoring.vote_grace_days), so a feed that dropped an IP long ago stops corroborating it - TAXII 2.1 in both directions: a server with the same six lists as STIX 2.1 Indicators for SIEMs and TIPs (Sentinel, QRadar, Splunk, MISP, OpenCTI), and TAXII 2.1 collections as feeds, so a MISP, OpenCTI or ISAC collection votes like any other source; see TAXII 2.1
- CrowdSec, both directions: publish a tier to your CrowdSec bouncers, and pull your CrowdSec detections, the community blocklist and Console lists back in as votes; see CrowdSec
- UniFi push: UDM gateways can't poll a URL, so the lists are pushed into UniFi network lists after every refresh
- Multi-format export: text, CSV and JSON;
?limit=Nreturns only the N strongest entries, for firewalls that limit list size;?hosts=1and?family=4|6shape a list for one firewall; ETags so unchanged lists cost a 304. The dashboard's URL builder composes these for your firewall. - Application allow-lists: vendor ranges and domains (Microsoft 365, AWS, Azure, Google, GitHub, Cloudflare, Fastly, Zoom, Atlassian, Okta, Stripe, Oracle Cloud, DigitalOcean) from a built-in catalog, or any URL you point a list at, served at their own URLs and kept out of threat scoring; every refresh passes prefix floors, a special-use check and a change guard that holds big swings for your approval
- Operations dashboard: a guided first-run set-up, feed health with inline errors, uniqueness and overlap per feed, "last polled by …" beside every URL, a System view (DB size, backups, predictor, hostnames), and an ops pulse line; works on a phone, needs nothing from the internet to render
- Hardened: SSRF guard pinned to the connected address, an opt-in
Host-header allowlist against DNS rebinding (
TFM_ALLOWED_HOSTS), capped request bodies, CSRF on every mutating call, write-only credentials, non-root image with an SBOM; see SECURITY.md - Containerized: one multi-arch Docker image (amd64/arm64) for any on-prem box
Architecture
┌─────────────────────────────────────────────────────────────┐
│ Threat Feed Me! │
├─────────────────────────────────────────────────────────────┤
│ Feed Ingestion Layer (free, keyless defaults) │
│ ├── Talos (Snort.org IP block list, via scraper) │
│ ├── DShield/SANS + Spamhaus DROP (netblock feeds) │
│ ├── Emerging Threats (compromised + block IPs) │
│ ├── Blocklist.de, CINS Army, GreenSnow, BBcan177 │
│ ├── DataPlane, BruteForceBlocker, Turris, BinaryDefense │
│ ├── abuse.ch ThreatFox mirror (botnet C2 IOCs) │
│ ├── AbuseIPDB top-reported (community abuse reports) │
│ ├── Domains: OpenPhish, PhishingArmy, HaGeZi, │
│ │ Phishunt, DRB-Ra C2, CyberHost │
│ ├── Optional: OTX, HoneyDB, CERT.PL, ThreatView, joewein │
│ └── Custom Feeds (user-defined, e.g. local honeypot) │
├─────────────────────────────────────────────────────────────┤
│ Processing Engine │
│ ├── Normalization (common schema; domains IDNA-normalized)│
│ ├── Deduplication (value-based with source tracking) │
│ ├── Confidence Scoring (multi-factor, per-kind tiers) │
│ └── Whitelist + Safety Filtering (per kind) │
├─────────────────────────────────────────────────────────────┤
│ Output Tiers (per kind: /feeds/* and /feeds/domains/*) │
│ ├── High: >2 independent votes (or a primary curator) │
│ ├── Medium: >1 independent vote (overlap-discounted) │
│ └── Everything: all deduped indicators (incl. custom) │
├─────────────────────────────────────────────────────────────┤
│ Delivery │
│ ├── Pull: firewall/DNS URLs (txt, csv, json), TAXII 2.1 │
│ └── Push: CrowdSec LAPI decisions, UniFi network lists │
├─────────────────────────────────────────────────────────────┤
│ Storage │
│ ├── SQLite (indicators, sources, scores, whitelist, ...) │
│ └── churn log in its own SQLite file (predictor history) │
└─────────────────────────────────────────────────────────────┘
How confidence tiering works
(The "effective votes" algorithm; set scoring.tiering.method: legacy in
config.yaml for the old fixed thresholds.)
The one-sentence version. An IP is dangerous only if independent sources agree on it, so we count effective votes, not raw sources, and draw the High/Medium/Low lines from the shape of the vote distribution so the tiers stay meaningful as the feed roster changes.
The problem, in plain terms. Treat every feed as an independent witness and you get fooled. Public feeds aren't independent: Emerging Threats bundles Spamhaus DROP and DShield into its own list, BBcan177 republishes other lists, and the community feeds share reporters. So the same dataset echoed by three feeds looks like three-way corroboration, and every redundant feed you add inflates the counts until "High confidence" holds more IPs than Medium. That's a lie in your blocklist.
The fix, as four questions. Instead of trusting the raw count, each IP goes through four checks:
- Is this a real agreement? (overlap discount): We measure how much
each pair of feeds overlaps. Two feeds that are 90% the same list are one
witness, not two. Their votes get heavily discounted; near-disjoint feeds
keep full weight. So
spamhaus_drop + et_block + bbcan177agreeing on a DROP range is worth ~1.1 votes, not 3. - Is the witness reliable? (reputation weight): Every feed starts at full weight (1.0). Flag a false positive from the dashboard and that feed's weight drops automatically, so its IPs score lower. The penalty lasts as long as your whitelist entry does: remove the entry, or clear the flag in the feed's ⚠ FP dialog, and the weight comes back. It doesn't fade on a timer.
- Is the sighting fresh? (recency weight): A scan from three days ago
matters less than one from an hour ago. The recency part of the score
halves every 72 hours (
scoring.decay_half_life_hours). - Does the witness still say so? (current listings): A feed
votes for an IP while it lists it, and for
scoring.vote_grace_days(default 3) after it drops it. Most feeds publish short windows (HoneyDB 24 hours, AbuseIPDB 3 days), so two feeds seeing an IP a few days apart is real corroboration and the grace keeps it; what goes is the two-week tail where a feed that dropped an IP long ago still counted. The grace also stops fast-rotating feeds from flapping an IP on and off your firewall. Upgrading from 2.4.x shrinks High noticeably (on one production install IP High fell from 36.8k to about 11k at rollout).
An optional nudge from a small model. If you run the offline predictor
(scripts/predictor.sh), a small model trained only on your own install's
churn log predicts which IPs that dropped off a fast-rotating feed are likely
to come back, and nudges their score up slightly (it carries roughly a tenth of the score).
It never moves an IP between High, Medium and Everything: the tiers are the
vote math above. It decides which IPs make the cut when a firewall takes only
the top entries (?limit=N, the UniFi list cap). Without a trained model file
it does nothing. A retrain replaces the model only if it scores at least 0.70
on data it didn't train on (AUC: 0.5 is a coin flip, 1.0 is perfect); a weaker
one is discarded and the current model stays.
Where the tier lines come from. After those weights, every IP has one number: its effective votes (how many genuinely independent, reputable, fresh witnesses it has). We then look at the shape of all those numbers, find the natural gaps in the crowd, and draw the cut lines there:
- Medium: more than one real, independent vote (corroborated by something non-redundant).
- High: more than two independent votes, plus at least one curated
threat-intel feed (
require_threat_intel). The cleanest list. For domains, where blocklists aggregate each other so heavily that corroboration collapses toward one witness, a primary curator (authoritative_domain_feeds: URLhaus (keyed opt-in), CERT.PL) also puts a domain in High on its own word, and loses that privilege if its false-positive rate degrades.
A fresh or tiny database falls back to exactly these floors.
Why the lines stay put. Recomputing tier boundaries every hour would silently re-bucket live firewall IPs as feeds age in and out (e.g. AbuseIPDB's 3-day list cycling), churn you'd see as noise in your blocklist. So the boundaries are held stable and only redrawn when the vote distribution actually moves: any decile drifts past a threshold, or a feed is added, removed, or resized. Stable week-to-week, responsive when the threat landscape genuinely changes.
What you'll observe. Twin feeds stop double-counting; adding a redundant
feed changes almost nothing; adding a genuinely novel source moves tiers.
Each indicator's vote count is stored in the effective_votes column, so you
can inspect why an IP landed where it did.
Run from source (without Docker)
For development, or to run without containers. The Docker paths under Deploy are the quick way; this is the manual alternative.
# Clone and setup
git clone https://github.com/alexlinos/threat-feed-me.git
cd threat-feed-me
# Install the package (and its dependencies)
pip install -e .
# Start the dashboard AND fetch feeds in the background (one command):
# the Web UI comes up immediately, and feeds refresh behind it.
python -m threatfeedme.main --serve
For remote access, the container binds 0.0.0.0 via DASHBOARD_HOST
set in the Dockerfile (ENV DASHBOARD_HOST=0.0.0.0). Source runs stay
localhost-only unless dashboard.host is set in config.yaml. DASHBOARD_PORT
overrides the port the same way (default 8080). The health check follows
DASHBOARD_PORT; the port mapping in docker-compose.yml assumes 8080, so
change that too if you change the port inside the container.
For one-shot pipeline runs (fetch, score, export, stats) use
python -m threatfeedme.main --fetch|--export|--fullinstead.
Using the feeds in your firewall
Start the dashboard (python -m threatfeedme.main --serve or via Docker) and open it in a
browser. Each confidence tier is published as a live URL you can paste directly
into your firewall's external threat-feed / block-list setting:
http://<server>:8080/feeds/high.txt # independent sources agree (strictest)
http://<server>:8080/feeds/medium.txt # corroborated, includes high (recommended)
http://<server>:8080/feeds/all.txt # everything with any evidence (low.txt is an alias)
http://<server>:8080/feeds/domains/high.txt # same tiers, malicious DOMAINS
http://<server>:8080/feeds/domains/medium.txt # for your DNS filter
http://<server>:8080/feeds/domains/all.txt
Feeds are cumulative: each tier's URL includes every tier above it, so a
firewall polling one URL gets all indicators at or above that confidence.
Each URL returns plain text, one entry per line, generated live with the
whitelist applied. .csv and .json variants are also available for SIEM
use. IP URLs never contain a domain and domain URLs never contain an IP — an
address-type feed import fed the wrong kind errors out on most firewalls.
The on-disk exports split the same way (*_confidence_ips.* /
*_confidence_domains.*).
Where each list belongs. Many malicious sites sit behind a CDN, on addresses shared with thousands of unrelated sites. Whether a block list can take those sites down with it depends on how the firewall uses the list, not on the brand:
| How the list is used | The firewall blocks by | Can it hit a shared CDN address? | Examples |
|---|---|---|---|
| IP list in a firewall rule | Address | Only if a shared address is on the list. Cloudflare's published proxy ranges are refused from every IP list. | FortiGate IP Address threat feed, PAN-OS External Dynamic List (IP), pfSense and OPNsense URL table aliases, Sophos third-party threat feed (IPv4) |
| IP list in a DNS filter | The address a DNS answer contains | The same, and it drops the lookup of every name that resolves to a listed address. | FortiGate external IP block list in a DNS Filter profile |
| Domain list in a DNS filter or another name-based feature | Name | No | FortiGate Domain Name threat feed (DNS Filter), PAN-OS External Dynamic List (Domain), Sophos third-party threat feed (domains), Pi-hole, AdGuard Home |
| Domain or FQDN object in a firewall rule | The addresses the name resolves to | Yes | FortiGate FQDN address, PAN-OS FQDN address object, pfSense and OPNsense host aliases, Sophos FQDN host, MikroTik address-list DNS name, Cisco ASA and Secure Firewall FQDN object |
So give the domain URLs to a feature that blocks by name, and never load
them into address or FQDN objects that a rule resolves into IPs: each vendor
in the last row documents that those are enforced by resolved address. The
examples follow the vendors' own documentation, listed in the
2.7.4 release notes;
behaviour can differ by version, so check the page for yours. Other CDNs'
ranges are not shipped: add any you never want blocked under
safety.known_good, and prefer High or Medium for blocking. The UniFi push
writes IP lists only, for the same reason (see
UniFi).
List size limits. Many firewalls limit how many entries one list can hold
(a mid-range FortiGate takes about 131,000 per connector; PAN-OS limits depend
on the model). ?hosts=1 serves single addresses only, leaving out network
entries, for consumers that reject CIDR lines (Sophos). ?family=4 or
?family=6 serves one IP version, for consumers that take no IPv6 (Sophos
again) or keep the two apart (pfBlockerNG). Add ?limit=N to any URL to get only the N strongest entries,
e.g. /feeds/all.txt?limit=100000, so the list fits instead of being cut off
wherever the firewall stops reading. Lists carry an ETag, so a firewall re-polling
an unchanged list gets a cheap 304 Not Modified, and every .txt URL sends an
X-Entry-Count header with the list's size before ?limit. Each URL on the dashboard
shows when it was last polled and by what, so you can confirm your firewall is
really pulling it. The options combine, e.g. /feeds/medium.txt?hosts=1&family=4
for a Sophos third-party feed.
Application list URLs. /lists/<name>.txt (also .csv, .json) serves
an application list exactly as stored, which can mix IPs, networks, domains,
wildcards and URLs. These options shape one list for one kind of firewall
object, combine freely, and apply before ?limit=N. They only choose which
of the vendor's own entries are served: nothing is converted (no domain is
ever resolved into IP ranges) or rewritten, because vendors move addresses
behind their names and a derived list goes stale without anyone noticing.
| Option | Values | Effect |
|---|---|---|
kind |
ip, domain, url |
only that kind of entry (an IP-address feed fails its whole import on a hostname) |
family |
4, 6 |
drop IP entries of the other version; domains and URLs are untouched |
hosts |
1 |
drop networks wider than one address; /32 and /128 entries are served bare |
wildcards |
keep, drop |
drop leaves *.example.com entries out (default keep) |
For example /lists/github-hooks.txt?kind=ip&family=4&hosts=1. Unlike the
threat-list URLs, an unknown option here is a 400, so a misspelt option can
never quietly serve a different list. Every format carries an ETag and
X-Entry-Count.
Syncing lists into firewall objects. Some firewalls can't turn a URL into objects a rule can use (Sophos, SonicWall): there, a script on your side creates address objects through the firewall's own API. Two read-only documents exist for that script:
/lists/index.jsonlists every served list with itsversion,checksum, entry counts per kind andchanged_at. Compare the checksum with the one you last applied; if it is the same, there is nothing to do./lists/<name>.jsonis one list as one consistent document:version,checksum,entries, and the same entries split intoipv4,ipv6,domainsandurls, the way firewall object models keep them apart. It takes the options above;versionandchecksumalways describe the whole list.
checksum is the SHA-256 of /lists/<name>.txt with no options. version
goes up only when the list's content changes. Like the list URLs, both are
unauthenticated, so anyone who can reach the server can see which lists are
switched on, including the names of your own lists (never their source URLs).
- FortiGate: Security Fabric → External Connectors → Create New → IP Address Threat Feed (domain URLs as a Domain Name threat feed, used in a DNS Filter profile)
- UniFi (UDM / UDM Pro / UDM SE): UniFi can't poll a URL — use the built-in push integration instead: it maintains IP network lists on the gateway after every refresh, managed from the dashboard. For domains, use the gateway's own DNS filtering.
- Sophos Firewall (SFOS 21.0+): Active threat response → Third-party threat feeds → Add (type IPv4, action Block). SFOS
"doesn't support IP address ranges, IPv6 addresses, network addresses, wildcard domains" (SFOS 21.5 help, Configure third-party
threat feeds), so give it the list URL with
?hosts=1: that serves single addresses only, with network entries left out (never expanded). On small XGS models (87/88/107, which poll only every 24 h, 7 d or 30 d), add?limit=Nto the URL so the list fits what the box can take. If you turn on Validate server certificate for an HTTPS URL with a private certificate, upload that CA first under Certificates → Certificate authorities. - SonicWall (SonicOS 7): Object → Match Objects → Dynamic External Object (HTTPS URL)
- Palo Alto: Objects → External Dynamic Lists → IP List (domain URLs as a Domain List); the lists are EDL-native, so a MineMeld EDL output maps one-to-one
- Cisco Secure Firewall (FMC): Objects → Object Management → Security Intelligence → Network Lists and Feeds
- Check Point (R81+): Security Policies → Threat Prevention → Custom Policy Tools → Indicators → External IOC Feed
- pfSense (pfBlockerNG): Firewall → pfBlockerNG → IPv4 → add the URL as a source
- OPNsense: Firewall → Aliases → URL Table (IPs)
UniFi (UDM / UDM Pro / UDM SE)
UniFi OS has no external-blocklist subscription, so threat-feed-me pushes
instead of serving: after every refresh (and within seconds of any whitelist
change) it maintains IP lists threatfeedme-<tier>-1..N on the gateway
through the local API (chunked, because UniFi lists cap out around ~10k
members). It pushes IP addresses only, never domains (see below).
Everything is managed from the dashboard's UniFi integration panel:
- On the UDM, create a dedicated local admin restricted to the Network app (Admins & Users → Add Admin → Restrict to local access only).
- In the dashboard panel: enter the gateway address (e.g.
https://192.168.1.1), pick the IP tier (high recommended for a home gateway), click Set credentials (stored write-only in the data volume's.env, never displayed again), then Test connection — it logs in and reads the gateway's lists without changing anything. - Toggle Enabled on and click Save & push now (afterwards, every refresh re-pushes automatically).
- The lists block nothing until you create policies referencing them
(one-time step). On current UniFi Network (zone-based firewall):
Settings → Policy Table → Create Policy — External → Internal,
action Block, Source = a
threatfeedme-*list, plus a second policy Internet/Internal → External with Destination = the same list (the egress side catches an infected host beaconing out to a C2). Older firmware: Settings → Firewall & Security → Firewall Rules, same pair. A policy can reference exactly ONE list (every firmware), which is why list counts are fixed per tier — High = 1 list, Medium = 4, Everything = 10, unused ones pre-created empty — so the policy set you build once stays complete as the corpus grows. Enable logging on the policies to see hits in the System Log / Flows. Membership updates itself every refresh.
Prefer files? The same settings live under integrations.unifi in
config.yaml (the dashboard's values take precedence), credentials as
UNIFI_USER / UNIFI_PASSWORD env vars, and
python -m threatfeedme.main --push-unifi does a one-shot push.
Lists shrink to empty rather than being deleted when the set contracts (a list referenced by a policy can't be deleted, and an empty list matches nothing). IPv6 indicators are skipped (UniFi address lists are v4-only).
Domains are not pushed. Earlier versions could also push a domain tier
into a Domain-type list. That was retired, because a domain list in a
firewall policy is not a DNS filter: the gateway blocks the addresses the
listed names resolve to. Many malicious sites sit on shared hosting (a CDN
proxy, a static-site host, a website builder), so one listed name blocked an
address that thousands of unrelated sites use. It took down a code host, a
CDN and a static-site host on real networks, and checking each name's
addresses before the push did not fix it: the set of shared hosts has no
end, and the gateway went on blocking an address after the name had left the
list. To block domains on a UniFi network, use the gateway's own DNS
filtering (Content Filtering, Ad Blocking), or run a Pi-hole or AdGuard Home
that polls /feeds/domains/medium.txt. Both block by name.
If the domain push was on, the next push replaces each
threatfeedme-dom-* list on the gateway with one reserved name,
threatfeedme-empty.invalid, which can never resolve and so blocks nothing
(the gateway refuses an empty domain list, and a list a policy references
cannot be deleted). Then delete your domain Block policy and the list in the
UniFi console. If sites on shared hosting stay unreachable, restart the
gateway: it can keep blocking addresses it learned from the old list.
Shared CDN addresses are never served. Cloudflare's published proxy
ranges are part of the safety floor (safety.protect_known_good), so an
address inside them is dropped from every IP list and push at every tier.
Add other networks, as single addresses or CIDR ranges, under
safety.known_good.
CrowdSec
Threat Feed Me talks to your own CrowdSec Local API, in both directions, from the dashboard's CrowdSec integration panel:
- Publish: after every refresh, the tier you choose (Medium by default)
is written into the LAPI as ban decisions, so every CrowdSec bouncer you
already run (nginx, Traefik, HAProxy, Cloudflare, iptables/nftables, ...)
enforces it with no per-device setup. Each publish replaces the previous one
with no enforcement gap. Decisions last 24 hours (configurable) and are
refreshed well before that, so if Threat Feed Me stops, its bans lapse
instead of staying forever. On the CrowdSec host:
cscli machines add threatfeedme --password '<password>' -f /dev/null, then enter that login under Set credentials. - Pull:
cscli bouncers add threatfeedme, enter the key, and enable any of these feeds. Each votes as its own witness:crowdsec_local(your engine's detections and manual bans: a sensor you run),crowdsec_community(the community blocklist, for enrolled engines) andcrowdsec_lists(blocklists subscribed in the Console). Decisions Threat Feed Me published are never read back as votes. - Console lists without an engine: create a Raw IP List integration in
the CrowdSec Console, put its id in the panel and its username and password
under the
crowdsec_consolefeed's Set key.
The LAPI URL and credentials are bound together: change the URL and the saved
credentials are cleared. Don't publish into a honeypot's CrowdSec; a
honeypot needs attackers to reach it. Pull from it instead.
python -m threatfeedme.main --push-crowdsec publishes once from the CLI.
TAXII 2.1 for SIEMs and TIPs
http://<server>:8080/taxii2/ is a read-only TAXII 2.1 server. It has six
collections, one per feed URL (High, Medium and Everything, for IPs and for
domains), with the same content and whitelist rules as the matching .txt
list. Each indicator is a STIX 2.1 Indicator with its pattern, a 0-100
confidence, a description naming the feeds that reported it, tier and source
labels, and a valid_until a week past its last sighting so your SIEM expires
what stops being reported. IDs are stable across polls, so indicators update
in place. added_after and paging are supported. Point Microsoft Sentinel's
Threat Intelligence - TAXII connector, QRadar, Splunk, MISP or OpenCTI at the
discovery URL; the dashboard's Connect view shows it with a Copy button. Like the feed
URLs, it's unauthenticated by design, so restrict who can reach the port.
Reading a TAXII 2.1 collection as a feed. Add a feed with format TAXII 2.1
collection and paste the collection URL (…/collections/<id>/). Tick needs a
key if the server wants one, then use the feed's Set key to paste the
whole Authorization value: Bearer <token> for OpenCTI, the API key for
MISP, or Basic <base64 of user:password>. The key goes only to that server.
What is read, on purpose:
- Indicators only. Bare observables in a collection are usually context (a victim, an analyst's host, a sinkhole), so they never become blocks.
- Only patterns that name a value outright:
[ipv4-addr:value = '…'], domains, URLs (the host is kept),ISSUBSETCIDRs, OR lists, and MISP'sdst_ref.type … AND dst_ref.value …shape. A pattern that makes the value conditional, such as an IP and a port, or anything withWITHIN,FOLLOWEDBYorNOT, is skipped and counted, never widened into a full block. - Current indicators only. Revoked ones, ones past
valid_until, and ones typedbenigndrop out, so an indicator leaves the feed when its source withdraws it. Every refresh reads the whole collection; a read cut short fails the refresh instead of recording mass removals. - One kind per feed. A collection that mixes IPs and domains is added twice, once as an IP feed and once as a domain feed.
A threat-feed-me can read another one's TAXII server this way, which is how the round trip is tested.
Custom lists
Add your own feeds from the dashboard: a remote URL feed, or upload a list
(one IP/CIDR — or domain — per line; pick the kind in the form). Uploads are
stored server-side under data/uploads/, capped at 5 MB, text-only, validated
to contain at least one entry of the declared kind, and the storage path is
boundary-checked so a filename can never escape that directory. Domain feeds
accept plain domain-per-line lists, hosts-file format (0.0.0.0 evil.example),
and URL lists (the host is kept); unicode domains are IDNA-normalized so both
spellings dedupe to one indicator.
A key for your own feed must come from a variable named TFM_FEED_<NAME>
(uppercase letters, digits and underscores, e.g. TFM_FEED_ACME), set in the
environment or the data volume's .env. Other names are refused, so a feed can
never be pointed at a dashboard or UniFi credential (see credentials.py).
Restore defaults: the dashboard's Restore default feeds button re-adds the
curated feeds from config.yaml that are missing, without touching feeds you've
customized.
Merged indicators
The dashboard's Indicators page shows the deduplicated result across all feeds (searchable and paginated). You can:
- Add an IP or CIDR manually (recorded under a
manualsource) - Remove an IP, which globally whitelists it so a feed refresh won't bring it back, and drops it from the served feeds immediately
Feed endpoints are unauthenticated by design (a firewall polling a block list
can't present credentials); the dashboard/API can be protected with optional
Basic auth (set a sign-in under System, or DASHBOARD_USER and
DASHBOARD_PASSWORD; auth_required: true in config also forces it, and fails
closed if no sign-in is set).
Backups
The database is backed up automatically (online, WAL-safe) on the schedule set
in config.yaml under database.backup (default: every 24h, keep 7, to a
backups/ folder beside the database, i.e. data/backups/ on the same
persistent volume). The dashboard's System view shows the last backup and has
a Back up now button. Trigger one on demand with
POST /api/backup or python -m threatfeedme.main --backup. Each backup is two
files: threat_feeds-<time>.db (everything that matters for serving) and
threat_feeds-<time>.churn.db (the churn log the optional predictor learns
from).
Restore:
- Stop the container.
- In
data/, deletethreatfeedme.db-wal,threatfeedme.db-shm,threatfeedme-churn.db-walandthreatfeedme-churn.db-shm, if they exist. The database runs in WAL mode. An old-walfile that is left beside a restored file is replayed onto it, which corrupts the restore. - Copy a backup's
threat_feeds-<time>.dboverdata/threatfeedme.db, and its matchingthreat_feeds-<time>.churn.dboverdata/threatfeedme-churn.db. Use the two files taken at the same time. Restoring only the.dbis allowed; the current churn file is kept as it is. - Start the container.
Backups do not include data/uploads/ (uploaded custom lists) or data/.env
(saved API keys and integration logins). Keep your own copy of those.
Rolling back to a 2.4.9 or later image is safe. It ignores the churn file and
the source_left table, and the transitions it records in the database are
merged back into the churn file when you upgrade again. Do not roll back to a
2.4.2-2.4.8 image: its presence snapshots cannot be merged that way.
Small-box deployments (Synology, QNAP, Raspberry Pi)
The container is built to fit NAS-class hosts with 1-2 GB of RAM:
- The heavy paths, tier-file exports, the dashboard's counts, and the rescore after each refresh, stream rows instead of materializing the whole indicator table, so peak memory stays low even at 150k+ indicators (a tier export peaks at a few MB instead of hundreds).
- Whitelist changes rebuild the export files in the background; the dashboard responds immediately and the live feed URLs reflect the change instantly either way.
- Cap the container so a burst can never starve the NAS; uncomment
mem_limit: 1gindocker-compose.yml(or set a memory limit in the Synology Container Manager UI). Measured: about 550 MB peak memory during a refresh at about 600k indicators, somem_limit: 1gis comfortable up to roughly that size. The offline predictor job (scripts/predictor.sh) runs in its own container and needs a larger cap, set withTFM_MEM(default 3g). - If you don't consume the CSV/JSON exports, set
output.formats: [text]inconfig.yaml, which cuts export work by two thirds. - Retention defaults to 14 days (it gives the optional predictor the history
it learns from); lower
retention.max_age_days(dashboard System view) to 7 if disk or memory is tight and you don't run the predictor.
Synology NAS (Container Manager) & Portainer
Use docker-compose.synology.yml in Container Manager → Project → Create or Portainer → Stacks (it omits build: . and binds /volume1/docker/threat-feed-me/data and /volume1/docker/threat-feed-me/output directly so updates and Recreate → Re-pull image never recreate your database or wipe .env):
- Create
/volume1/docker/threat-feed-me/dataand/volume1/docker/threat-feed-me/outputin File Station (or swap those host paths / named volumes for your Portainer host). - Match
user: "1026:100"indocker-compose.synology.ymlto your host user (id <user>) or grant Read/Write access on both folders. - Set
TFM_DATA_DIR=/app/data(orTFM_DB_PATH/TFM_ENV_FILEif you store the SQLite database or.envelsewhere) andTZ/DASHBOARD_PORTdirectly in the compose environment instead of mounting a customconfig.yaml.
Upgrading
Running the published image? Pull the new one:
docker compose pull && docker compose up -d
Building from source? Rebuild in place:
git pull
docker compose up -d --build
That's the whole procedure: your data survives updates. The database
lives on the threatfeedme-data volume, so whitelist entries, false-positive
feedback, scores, feed history, and accumulated indicators (e.g. the rolling
multi-day union of DShield netblocks) all carry over. Never delete the volume
to upgrade.
Changes to the shipped default feeds are merged into your database automatically on startup:
- New default feeds are added.
- Feed plumbing follows the ship; your preferences don't move. When a shipped default's mechanics change (upstream URL moved, a scraper was added, auth changed), the fix is applied to your row; that's how feed bug fixes reach you. A feed's weight is never touched by an update. Its on/off switch and refresh interval follow a new shipped default only if you never changed them (so a feed retired upstream switches off by itself); ones you changed stay yours. A feed you re-added or overrode from the dashboard is yours entirely and is never auto-updated.
- Between releases (2.6+), the same rules apply to the project's feed catalog, which the app checks once a day, so feed fixes don't wait for a new image. New feeds it adds show up in the top bar as new feeds available and wait under Feeds for you to Add or Dismiss them; turn on Auto-add new catalog feeds (System) to skip the review. The top bar also says when a newer release exists; updating stays your call.
- Feeds you deleted stay deleted. An update never resurrects them; the dashboard's Restore default feeds button brings them back explicitly.
Upgrading to 2.7.7 (from 2.7.5 or 2.7.6). What you will notice:
- IPv6 from plain-text feeds is off unless you ask for it. 2.7.6 read
IPv6 addresses out of every IP feed; if you ran it, those rows age out.
Turn it on per feed with the include IPv6 box on Add feed and
Upload list, or for every feed with
feeds_settings.ingest_ipv6: true. A firewall that takes one family per list should poll with?family=4. TAXII and CrowdSec feeds read IPv6 either way. - Whitelisting one address also removes any listed range that contains it (since 2.7.6). A whitelisted host inside a listed /16 takes the whole /16 off the served lists and the pushes, the same rule the never-block list follows.
- AWS application lists gain their IPv4 ranges. Every AWS list in the catalog was IPv6-only until now. A list you have switched on will hold its next refresh for you to approve, because it grows past the change threshold; approve it on the Applications page.
- Pushes leave out shared vendor addresses. The UniFi and CrowdSec
pushes refuse any address or range inside a vendor's own shared front
ends: public DNS resolvers and Cloudflare (built in), and Google's own
services, Microsoft 365, CloudFront and GitHub's web, API and Pages
ranges (fetched once a day from this project's published catalog; see
PRIVACY.md). Rentable cloud compute stays blockable. The status line of
each integration says how many addresses a push left out and for which
vendor, and whether the vendor ranges have been fetched yet. The list
URLs are not affected. Settings are under
safety.ownership_guardinconfig.yaml(extra_ranges,allow_ranges,allow_vendors,remote_enabled: falsefor an air-gapped install). - Recurrence predictor, if you run it: run
scripts/predictor.sh bothright after upgrading. 2.7.6 changed how some features are computed, and the existing model keeps scoring with the old meaning until it is retrained.
Upgrading to 2.7.5 with the UniFi push on. What you will notice:
- The domain push is gone. If you had a Domains tier set, the next push
replaces the
threatfeedme-dom-*list on the gateway with one reserved name that blocks nothing, and the panel says so. The IP push is unchanged. See UniFi for why, and for what to use for domains. - Clean up on the gateway. Delete the domain Block policy and the list in the UniFi console. If sites on shared hosting (GitHub Pages, sites behind Cloudflare) stay unreachable afterwards, restart the gateway.
- The server no longer looks up any domain. The address check that 2.7.3 and 2.7.4 ran before a domain push, and its public-resolver option, are removed with it.
- Cloudflare's published ranges are refused from every IP list
(
safety.protect_known_good, on by default; since 2.7.3).
Upgrading to 2.5 ("Flytrap"). What you will notice:
High gets smaller, on purpose. A feed's vote now expires 3 days after the feed drops an indicator, where before it lasted until the indicator aged out. On one production install IP High fell from about 36.8k to 11k. The indicators that left were mostly corroborated only by feeds that stopped listing them days earlier. Set
scoring.votes_require_current_listing: falseto keep the old behaviour.Retention default is now 14 days (was 7). If you never changed Keep entries for, your install moves to 14 on upgrade: an IP no feed lists any more stays in the Everything lists for up to 14 days instead of 7 (on one production install that was about 18% more IPs in Everything; High, Medium and the domain lists were unaffected). It gives the predictor the history it learns from. Want the old behaviour? Set 7 under System → Keep entries for.
Dashboard hostnames (off until you switch it on). A Host-header allowlist can lock the dashboard to the names you use, which stops a malicious web page from reaching it through DNS rebinding. An upgrade leaves it off: nothing is refused until you turn on Only answer to these names, in the set-up guide or under System → Dashboard hostnames. While it's off, the dashboard just records which names reach it, so the list you lock to is the one you actually use. You can save a DNS name before its record exists (the guide checks whether it resolves, and to this server) without turning anything on. The server's IP address always works, and feed URLs, TAXII and
/healthzare never checked. SettingTFM_ALLOWED_HOSTS(comma-separated) is deliberate configuration, so it enforces from start-up.The first start migrates the database, once. The churn log (the history the predictor learns from, and by far the largest table) moves to its own file,
threatfeedme-churn.db, beside the main database, stored far more compactly; a duplicate index and some per-fetch metadata nobody read are dropped; then the file is compacted. On one production install the data went from 1.86 GB to 0.69 GB (0.42 GB main plus 0.27 GB churn log), in about two minutes. Meanwhile the dashboard address shows a "starting" page, list URLs answer503withRetry-After(firewalls keep their last copy of the list), anddocker logssays what it's doing; the dashboard replaces the page when it finishes. Have free disk space at least the size of your current database for the compaction. Backups are now two files (see Backups).Behind a proxy? Feed fetches now ignore
HTTP(S)_PROXY/ALL_PROXYunlesssafety.allow_private_feed_urlsis on (see Configuration). A proxy on a private address was already refused by the private-address check; one on a public address used to work and no longer does, so its feeds fail until you set that option.
If you run the offline predictor, retrain right after upgrading
(scripts/predictor.sh both): its features were redefined to remove a
training leak, and an old model is refused rather than misused.
Schema migrations run automatically and are additive. Running from a plain
checkout instead of Docker? Same story: git pull never touches the data/
directory.
Releasing (maintainers)
Publishing the Docker image is automated by
.github/workflows/docker-publish.yml:
- Bump
versioninpyproject.tomland__version__insrc/threatfeedme/__init__.py(the workflow refuses to publish if the tag disagrees with either, and a unit test keeps the pair in sync). git tag v1.2.0 && git push origin v1.2.0
Then confirm the build actually ran: gh run list --workflow "Publish Docker image". A tag alone is not a release.
The workflow runs the test suite, then builds and pushes linux/amd64 +
linux/arm64 images tagged with the version and :latest. Pushes to main
deliberately do not publish: :latest tracks releases, not every commit.
A manual run (Actions → Publish Docker image → Run workflow) can rebuild
without cutting a tag, e.g. to pick up a base-image security update.
Requires repository secrets DOCKERHUB_USERNAME and DOCKERHUB_TOKEN (a
Docker Hub access token with Read/Write scope, not the account password).
Configuration
Edit config.yaml to customize:
- Feed sources and update intervals
- Confidence scoring weights
- Whitelist rules
- Export formats and paths
- Retention (
retention.max_age_days, default 14), how long an IP is kept after it was last seen in any feed. Becauselast_seenis refreshed whenever any feed re-reports an IP, this mostly evicts transient high-churn entries (scanners, brute-force) while continuously-listed feeds stay put. Set0to keep indefinitely.
Proxies. Feeds are fetched directly: while the private-address check is on
(safety.allow_private_feed_urls: false, the default), HTTP(S)_PROXY and
ALL_PROXY are ignored for feed fetches, because through a proxy that check
would validate the proxy instead of the feed's real address. If your network
only reaches the internet through a proxy, set
safety.allow_private_feed_urls: true to use it; that also turns the
private-address check off, so restrict who can add feeds.
Values in config.yaml are the seed defaults. Runtime-adjustable settings (
the default refresh interval and the retention window) can be changed live from
the dashboard's System view (or POST /api/settings); the stored value then takes
precedence over the file, so it survives restarts without editing config.
DISABLE_SCHEDULER=1 turns off the background scheduler. That stops the
automatic feed refreshes and the automatic backups, which also run from the
scheduler. Refreshes then happen only when you trigger them.
Privacy
Threat Feed Me runs where you install it: no telemetry, no analytics, no account. Its only calls to the project are anonymous GETs to GitHub: the daily release check and feed catalog, the application catalog when you open the Applications view, and any catalog lists you switch on. Each can be switched off. What it stores on your data volume, what it sends to the feed providers you enable and to your UniFi gateway or CrowdSec LAPI, and what it exposes on the network (feed URLs and TAXII) are spelled out, component by component, in PRIVACY.md.
License
MIT
MineMeld, PAN-OS, AutoFocus and Cortex XSOAR are trademarks of Palo Alto Networks, Inc. Threat Feed Me is an independent open-source project, not affiliated with or endorsed by Palo Alto Networks; product names are used only to describe compatibility.
Feed attribution
Malware and phishing domains in the default roster include data from
CyberHost.uk, licensed under
CC BY-SA 4.0. The list is polled at runtime from
https://lists.cyberhost.uk/malware_domains_only.txt; no copy of it is
bundled into the image, the repository, or the test fixtures, so nothing
licensed is redistributed here. Attribution applies to any redistribution
of the list itself or of a compilation derived from it.
Geo attribution
The dashboard's blocked-IP country heatmap uses the free
DB-IP IP-to-Country Lite database, distributed under the
Creative Commons Attribution license (CC-BY). Country lookups are bucketed to
/16 granularity and shipped as a compact offline table
(src/threatfeedme/geo/country-buckets.geo1); no external geo service is
called at runtime. Attribution: country data © DB-IP (db-ip.com), CC-BY.
Country borders for the choropleth come from
Natural Earth (1:110m Admin 0), which is
in the public domain. They are simplified at build time into
src/threatfeedme/static/world-paths.json (~65 KB, ~25 KB gzipped) and
fetched by the browser only when the heatmap panel is expanded.
Regenerate either artifact with:
python -m threatfeedme.geo.generate --dbip dbip-country-lite.csv
python -m threatfeedme.geo.generate_map ne_110m_admin_0_countries.geojson
Explore related projects
Loading…