Framework
ail-project/ail-framework avatar
ail-project/ail-framework

Retro-hunt is the feature that changes the economics

AIL framework - Analysis Information Leak framework

1,063 stars147 forksPythonAGPL-3.0

At a glance

What is it?
AIL Framework is a threat intelligence platform from CIRCL, and the capability that distinguishes it from a scraper is retro-hunting: you write a YARA rule today and run it against everything already collected, which turns yesterday's archive into a searchable resource for a question you did not know to ask yet. Everything else, from the crawler to the correlation graph, exists to make that retrospective query worth running.
Who is it for?
Adopt AIL Framework if you are a threat intelligence analyst with a backlog of collected material and no way to search it properly, since a retro-hunt over history is the thing this platform is shaped around, and remember it was developed at CIRCL as research infrastructure rather than as a product.
Can I use it commercially?
Yes, with strict conditions. AGPL-3.0 is a network copyleft licence: if people use a modified version over a network, for example as a hosted service, you must offer them its source code under the same licence.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • ail-project/ail-framework1,063 ★ · +41
Star history
Repository2026-09-302026-11-25
ail-project/ail-framework1k1.1k

41 Stars in the last 56 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

A rule you write today runs against everything you already have

The detection section describes trackers as user-defined rules or patterns that automatically detect, tag and notify analysts about relevant information, and it supports five kinds: a word, a set of words, a regular expression, a YARA rule, and typo-squatting detection. All of that is standard. The feature that is not standard is the retro-hunt, which the README describes as enabling analysts to run newly created YARA rules against historical data to uncover previously missed content. Read that as an economic argument rather than a technical one. A collection platform that only finds what you knew to look for on the day you collected it has a shelf life, because the questions change and the archive does not. A platform where the archive can be re-queried whenever you learn something new turns the same storage into a growing asset. There is a built-in YARA editor and screenshot of it in the README, plus real-time tagging and classification, object occurrence tracking, and webhook or email notification, so a retro-hunt is not an offline batch job you write yourself; it is a normal tracker that can be pointed at the past.

Five stages, and the last one hands objects to another platform

The framework is described as following a practical intelligence workflow in five stages, and reading them tells you what kind of software this is. Collection is continuous ingestion from chats, websites, hidden services, files and feeds. Processing is extraction, decoding, optical character recognition, QR and barcode parsing, enrichment and tagging. Detection is real-time tracking with words, sets, regular expressions, typo-squatting and YARA rules. Analysis is search, pivoting, correlation graphs and investigations. Dissemination is export of findings and objects to MISP intelligence-sharing platforms. The fifth stage is the one that distinguishes this from a crawler: the output is not a pile of files, it is objects on a sharing platform that other people's tooling already understands. The tag vocabulary comes from the same ecosystem, since the tagging system is built on MISP Galaxy and MISP Taxonomies, so an analyst arriving from that world is using a familiar classification scheme rather than learning a new one.

The requirements file is the architecture

No document explains the design as precisely as the dependency list, which is grouped by purpose in the file itself. Redis is the backbone, pinned to a narrow range, and ZeroMQ with its Python bindings handle messaging between processes, which is how a collection worker and an analysis worker talk. Meilisearch is the search engine, and networkx plus matplotlib are the correlation graph. Scrapy is the crawler, with Scrapy Splash alongside it, which is how JavaScript-rendered pages get fetched. YARA has its Python binding, python-magic identifies file types, and the hash section carries CRC, MurmurHash3 and xxhash, which are the hashes used for the domain and favicon pivots later. For content there is PyMuPDF with an LLM-oriented extraction companion for PDFs, html2text and BeautifulSoup for pages, EasyOCR with two QR and barcode readers, a language detector and a translation client for translating documents, and phonenumbers for phone number detection. The web interface is Flask with login, a Sock socket for websockets, bcrypt, a one-time-password library and a QR generator. Three dependencies install from git rather than from an index, two of them the MISP taxonomies and galaxies.

Collection is where the legal boundary sits

The collection section is the one to read slowly in any deployment. It covers modular stream handling, multiple feeders and importers, chat and stream feeders for platforms including Discord and Telegram which live in their own repositories, crawling of the clear web, the darknet, Tor hidden services and I2P, and authenticated crawling that reuses browser sessions, cookies and local storage. Then continuous or on-demand monitoring of sites and hidden services over time, and interface-based submission and import. Each of those is a capability with a legitimate use and each is also a place where authorisation matters: an authenticated session you reuse belongs to somebody, a chat platform's terms govern its content, and a crawler that runs for months against a site you do not own is a different activity from an analyst reading a public archive. The framework does not check any of that, and it is not designed to. The choice of crawler is part of the same question. Scrapy and Scrapy Splash appearing together in the requirements is a small line with large consequences: plain HTTP fetching gets you the HTML a server sends to a client that does not run scripts, which for a modern single-page application is a shell containing little of value, while rendering the page in a browser gets you the content at the cost of a browser process per crawl, substantially more memory, slower throughput and a much easier time being detected and blocked. For a platform that must see what a logged-in user sees, that trade is usually correct, and the presence of authenticated crawling in the same feature list is consistent with it. The version history points away from more collection, since passive SSH correlation was added as an analysis capability rather than as another ingestion path.

Building it: three scripts, two git dependencies, a 2021 sample

There is no single install command in the documentation, and the repository layout is the better guide. Three shell scripts sit at the top level and they describe the intended order of work: a virtualenv installer, a dependency installer, and a reset script for rebuilding an environment. The dependency installer is separate from the virtualenv installer because the dependency list is long and includes entries pulled from git repositories rather than from a package index, which is also why the repository carries a file listing submodules. Two of those git dependencies are the taxonomies and galaxy datasets, declared in the requirements list as:

bash
git+https://github.com/MISP/PyTaxonomies
git+https://github.com/MISP/PyMISPGalaxies

Expect that stage to need network access to three hosts rather than one, and expect a build step, since the requirements include a native QR and barcode reader, a language detector and a PDF stack, so a deployment is a systems task and not a one-line pip install. A sample dataset dated 2021 is committed under the samples directory, alongside a tests directory and a HOWTO file at the root, and that combination is what makes a first run realistic without touching the collection side at all. Loading the sample gives you objects, extracted fields and decoded files already in the shape the platform expects, so the first thing worth doing is the search interface, because it shows the object fields that processing produced and the taxonomy names the tagging is built on. From there the YARA editor is the second stop: write a rule against the sample data, save it as a tracker and run it as a retro-hunt, which is the workflow the project is built around and the fastest way to see whether the extraction and classification suit your material. Pointing a feeder or a crawler at anything external should come after that, and only once you have decided what you are authorised to collect, since the sample path and the live path share every downstream stage and the live one does not ask for permission. The documentation lives at a separate project site rather than in the repository, with the how-to file at the root for the task the writers thought was most urgent.

A search index where a model's sentence is a query key

The search section is better specified than most, and one feature in it is unusual enough to be worth isolating. The unified search interface offers best-match and most-recent ordering, date range filtering and an advanced search for selected data types, and it searches across chats, crawled domains, titles, filenames and AI-generated descriptions. That last field is the interesting one. The processing section also lists AI-assisted descriptions for images, screenshots and domains, so the platform generates a textual description of an image and then makes that description searchable. The effect is that a screenshot of a leaked credential or a document photographed at an angle becomes findable by describing what is in it, which is a real capability for material that is mostly images. The cost is that the index now contains model output, so a search can match a description that is wrong, and the README does not say which model produces those descriptions or whether it runs locally, which is the first thing to ask about a leak-analysis platform processing material you may not be able to share.

The correlation graph is a pivot table for investigators

The list of what gets correlated is the part that turns a collection into an investigation, and it is worth reading item by item: decoded files and their hashes, PGP metadata, domains, titles, domain hashes, favicons and cookie names, usernames and user accounts, CVEs, SSH keys, cryptocurrencies, and PDF metadata, with more to come. Domain hashes and favicon hashes are the classic pivots, because a server that reuses the same image on a hundred domains is one operator, and cookie names do the same job for a toolkit. Correlating decoded files with hashes connects an encoded blob in a chat post to the file it becomes. CVEs correlate a product identifier found in a thread with a known vulnerability. The investigation workflow then groups, enriches and follows analyst work, which is the human process side rather than the data side. If you have used a graph tool before, the useful comparison is that this is a domain-specific graph where the node types are pre-defined, which is faster to use and less flexible than a general graph database, and the price of the flexibility.

The new-features section is two versions behind

The README's own version marker and the release history disagree, and it is the kind of drift worth knowing about before you read a feature list as current. A section titled what is new says AIL is now at 6.7 and lists the recent highlights, which include the unified search with ordering, date filtering, image and screenshot descriptions, expanded OCR and QR handling, a full PDF pipeline with metadata extraction and translation, I2P crawling, passive SSH correlation and improved chat exploration for Discord, Telegram and Matrix. The release list, however, goes to 7.0, released in July 2026 and titled for forum crawling and collection, with 6.9 in June and 6.8 in April. The last push to the default branch is 2026-09-18, so the code is well ahead of either. Read the feature list as a description of the 6.7 line and the release notes for what came after. The rest of the maintenance picture is healthy and slightly unusual: the changelog is generated from git by a configuration file at the root, a sample dataset from 2021 sits in the repository, and there is a reset script alongside the two installation scripts, which tells you the project expects people to rebuild environments and to keep sample data for demonstrations and tests.

Editorial conclusion

Adopt AIL Framework if you are a threat intelligence analyst with a backlog of collected material and no way to search it properly, since a retro-hunt over history is the thing this platform is shaped around, and remember it was developed at CIRCL as research infrastructure rather than as a product. Do not adopt it to point at sources you are not authorised to collect from, because authenticated crawling with reused browser sessions and chat feeders are capabilities the framework offers without policing, and that boundary is yours. Verify four things: that the tag vocabulary your team already uses matches MISP Galaxy and MISP Taxonomies, since that is what the tagging system is built on, that the search index your deployment needs is the one it ships with, since the requirements list a specific search engine, that three of its dependencies install from git rather than from an index, which affects how you build it reproducibly, and which version you are running, because the README's new-features section describes 6.7 while the release history goes to 7.0. The licence is AGPL-3.0, the last release is v7.0 from 2026-07-09, and the last push was 2026-09-18.

Frequently asked questions

What is a retro-hunt in AIL Framework?

It is running a newly created YARA rule against data already collected, to find content that earlier rules missed. The README presents it as a normal tracker capability rather than a separate offline tool, alongside a built-in YARA editor.

Where does AIL Framework store data and search it?

The requirements list names the pieces: Redis pinned to a narrow version range as the backbone, ZeroMQ for messaging between processes, and Meilisearch for the search index, with networkx and matplotlib for the correlation graph and visualisation.

What can AIL Framework collect from?

Chats, websites, hidden services including Tor onion addresses, I2P, files and external feeds, with feeders for platforms such as Discord and Telegram living in separate repositories. It also supports authenticated crawling that reuses browser sessions, cookies and local storage, and continuous or on-demand monitoring over time.

What tagging system does AIL Framework use?

MISP Galaxy and MISP Taxonomies, which are installed as dependencies from git rather than from a package index, and the dissemination stage exports findings and objects to MISP sharing platforms. The requirements file also includes PyMISP, a client library, and a TheHive client.

Which version of AIL Framework is current?

The release history shows v6.8 in April 2026, v6.9 in June and v7.0 in July, while the README's new-features section still describes 6.7. The last push to master was 2026-09-18, so the branch is ahead of the newest release.

What licence is AIL Framework released under?

AGPL-3.0. The project was originally developed at CIRCL and the documentation includes installation, dependency and reset scripts alongside a security policy and a sample dataset from 2021.

Official sources

  1. ail-project/ail-framework on GitHub
  2. Issues
  3. License: AGPL-3.0
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/ail-project-ail-framework.svg)](https://hysenlabs.com/projects/ail-project-ail-framework)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/ail-project-ail-framework.svg)](https://hysenlabs.com/projects/ail-project-ail-framework)

Was this useful?