The deadliest poison known to AI
  • Lua 50%
  • Rust 47.2%
  • Nix 1.3%
  • Fennel 0.6%
  • Shell 0.6%
  • Other 0.3%
Find a file
Gergely Nagy 7fb044a501
Some checks failed
default / clippy (push) Has been cancelled
lint / linting (push) Has been cancelled
nix: Fix the container build
2026-06-29 01:36:37 +02:00
.forgejo ci: Remove the use of the magic attic cache 2026-06-16 11:37:15 +02:00
debian Move all remaining embeds from iocaine-powder to iocaine-label. 2026-06-20 13:17:22 +02:00
iocaine Make embedding of assets an optional feature. 2026-06-20 13:17:22 +02:00
iocaine-label Move examples/data to iocaine-label/rc/data 2026-06-20 23:13:24 +02:00
iocaine-powder roto runtime: remove compatibility methods from HashMap and Value variants. 2026-06-20 14:01:25 +02:00
iocaine-table
LICENSES Move all remaining embeds from iocaine-powder to iocaine-label. 2026-06-20 13:17:22 +02:00
nix nix: Fix the container build 2026-06-29 01:36:37 +02:00
tests roto runtime: remove compatibility methods from HashMap and Value variants. 2026-06-20 14:01:25 +02:00
.envrc
.gitattributes
.gitignore
Cargo.lock Provide embeds to iocaine-powder from the binary crate level. 2026-06-20 13:17:22 +02:00
Cargo.toml Move all remaining embeds from iocaine-powder to iocaine-label. 2026-06-20 13:17:22 +02:00
CHANGELOG.md Merge branch 'iocaine-3.x' 2026-05-24 09:53:41 +02:00
CONTRIBUTING.md
flake.lock
flake.nix
justfile justfile: Add a crate-docs recipe 2026-03-31 08:50:24 +02:00
README.md README: Add a warning about breaking changes 2026-03-27 12:18:56 +01:00
REUSE.toml Move all remaining embeds from iocaine-powder to iocaine-label. 2026-06-20 13:17:22 +02:00

iocaine

Build status Demo Documentation AI? Fuck no.

The deadliest poison known to AI.

Warning

This is the development branch of iocaine, and contains breaking changes, and will continue breaking unexpectedly. We recommend using the stable branch in production.

Iocaine is a defense mechanism against unwanted scrapers, sitting between upstream resources and the fronting reverse proxy. It is designed to significantly reduce the load caused by the relentless attack of the Crawlers (mostly originating from various AI companies) in a way that does not place undue burden on benign visitors. While iocaine does support presenting a proof-of-work challenge, that should be a last resort, and even if that path is taken, the challenge is inexpensive for the human visitor.

Originally, iocaine started as a garbage generator, a tarpit, a place where the reverse proxy routed unwanted visitors, so that they'd crawl an infinite maze of garbage. Since then, it grew into a more ambitious project, and includes a scripting engine that lets the iocaine-operator tell the software how to treat each incoming request. The idea remained similar, however: keep the crawlers in the maze, and let the backend serve the real content for benign visitors.

Unlike some similar tools, iocaine does not try to make the bad bots go away, it welcomes them, into an infinite maze of garbage. It does so, because that makes it possible to serve them poisoned URLs, which in turn, makes it possible to identify bad actors even if they come back piggy-backing on a real browser. By filling their queue with junk when they visit with their simpler collectors, we can capture the browser-based scrapers in the maze too.

The garbage generator in iocaine has been engineered to require as few resources as possible, to keep it cheap, pretty much on par with serving a static file from the filesystem. The goal is to have a tool that costs next to nothing for the operator, reduces the load on upstream services, and protects them from the crawlers, while having no (or at worst, very little) effect on legit visitors, but making life of crawler operators difficult at the same time.

For more information about what this is, how it works, and how to deploy it, have a look at the dedicated website.

Lets make AI poisoning the norm. If we all do it, they won't have anything to crawl.