No description
Find a file
Xe Iaso 6e4e471792
fix(lib): ensure issued challenges don't get double-spent (#1003)
* fix(lib): ensure issued challenges don't get double-spent

Closes #1002

TL;DR: challenge IDs were not validated at time of token issuance. A
dedicated attacker could solve a challenge once and reuse it across
multiple sessons in order to mint additional tokens.

With the advent of store based challenge issuance in #749, this means
that these challenge IDs are only good for 30 minutes. Websites using
the most recent version of Anubis have limited exposure to this problem.

Websites using older versions of Anubis have a much more increased
exposure to this problem and are encouraged to keep this software
updated as often and as frequently as possible.

* docs: update CHANGELOG

Signed-off-by: Xe Iaso <me@xeiaso.net>

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-08-20 12:33:32 -04:00
.devcontainer docs: add blogpost for announcing v1.21.1 (#886) 2025-07-22 16:42:58 -04:00
.github fix(lib): ensure issued challenges don't get double-spent (#1003) 2025-08-20 12:33:32 -04:00
.vscode docs: add blogpost for announcing v1.21.1 (#886) 2025-07-22 16:42:58 -04:00
cmd feat(web): Add option for customizable explanation text (#747) 2025-08-14 11:12:55 -04:00
data Bump ai.robots.txt to v1.39 (#982) 2025-08-18 06:52:23 -04:00
decaymap feat(lib): use new challenge creation flow (#749) 2025-07-04 20:42:28 +00:00
docs fix(lib): ensure issued challenges don't get double-spent (#1003) 2025-08-20 12:33:32 -04:00
internal feat: support HTTP redirect for forward authentication middleware in Traefik (#368) 2025-08-12 20:59:45 -04:00
lib fix(lib): ensure issued challenges don't get double-spent (#1003) 2025-08-20 12:33:32 -04:00
run fix(run/anubis@.service): unique runtimedir per instance (#750) 2025-07-03 10:29:05 +00:00
test fix: allow social preview images (#934) 2025-07-31 08:44:49 -04:00
utils/cmd/backoff-retry test(ssh-ci): deflake SSH CI with exponential backoff (#859) 2025-07-18 17:46:49 +00:00
var initial import from /x/ monorepo 2025-03-17 19:33:07 -04:00
web Bump ai.robots.txt to v1.39 (#982) 2025-08-18 06:52:23 -04:00
xess chore: Remove unused/dead code (#703) 2025-06-25 09:31:33 -04:00
.air.toml feat: add a strip-base-prefix option (#655) 2025-06-12 17:46:08 -04:00
.gitattributes fix(gitattributes): update pattern for generated files (#652) 2025-06-11 21:00:37 +00:00
.gitignore feat: implement localization system (#716) 2025-06-27 17:49:15 +00:00
.ko.yaml Try using ko to build images 2025-03-19 09:10:29 -04:00
anubis.go feat(web): Add option for customizable explanation text (#747) 2025-08-14 11:12:55 -04:00
Brewfile all: do not commit generated JS/CSS to source control (#148) 2025-03-28 14:55:25 -04:00
go.mod chore(go.mod): depend on at least go 1.24.2 2025-07-29 04:06:16 +00:00
go.sum build(deps): bump the gomod group (#931) 2025-07-28 23:47:18 -04:00
LICENSE initial import from /x/ monorepo 2025-03-17 19:33:07 -04:00
Makefile Makefile: Build robots2policy (#699) 2025-06-20 11:08:56 -04:00
package-lock.json refactor(web): redo proof of work web worker logic (#941) 2025-08-02 11:27:26 -04:00
package.json refactor(web): redo proof of work web worker logic (#941) 2025-08-02 11:27:26 -04:00
README.md chore(sponsors): add fabulous systems 2025-07-12 23:08:30 +00:00
VERSION chore: release v1.21.3 2025-07-25 10:30:44 -04:00
yeetfile.js docs: remove JSON examples from policy file docs (#945) 2025-08-03 18:09:26 +00:00

Anubis

A smiling chibi dark-skinned anthro jackal with brown hair and tall ears looking victorious with a thumbs-up

enbyware GitHub Issues or Pull Requests by label GitHub go.mod Go version language count repo size GitHub Sponsors

Sponsors

Anubis is brought to you by sponsors and donors like:

Diamond Tier

Raptor Computing Systems

Gold Tier

Distrust Terminal Trove canine.tools Weblate Uberspace Wildbase Cat eyes over the word Emma in a serif font Cat eyes over the word Emma in a serif font

Overview

Anubis is a Web AI Firewall Utility that weighs the soul of your connection using one or more challenges in order to protect upstream resources from scraper bots.

This program is designed to help protect the small internet from the endless storm of requests that flood in from AI companies. Anubis is as lightweight as possible to ensure that everyone can afford to protect the communities closest to them.

Anubis is a bit of a nuclear response. This will result in your website being blocked from smaller scrapers and may inhibit "good bots" like the Internet Archive. You can configure bot policy definitions to explicitly allowlist them and we are working on a curated set of "known good" bots to allow for a compromise between discoverability and uptime.

In most cases, you should not need this and can probably get by using Cloudflare to protect a given origin. However, for circumstances where you can't or won't use Cloudflare, Anubis is there for you.

If you want to try this out, connect to anubis.techaro.lol.

Support

If you run into any issues running Anubis, please open an issue. Please include all the information I would need to diagnose your issue.

For live chat, please join the Patreon and ask in the Patron discord in the channel #anubis.

Star History

Star History Chart

Packaging Status

Packaging status

Contributors

Made with contrib.rocks.