No description
Find a file
Xe Iaso 7ed1753fcc
fix(lib): close open redirect when in subrequest mode (#1222)
* test(nginx-external-auth): bring up to code standards

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

* fix(lib): close open redirect when in subrequest mode

Closes GHSA-cf57-c578-7jvv

Previously Anubis had an open redirect in subrequest auth mode due to an
insufficent fix in GHSA-jhjj-2g64-px7c. This patch adds additional
validation at several steps of the flow to prevent open redirects in
subrequest auth mode as well as implements automated testing to prevent
this from occuring in the future.

* docs: update CHANGELOG

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

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-10-29 16:07:31 -04:00
.devcontainer chore: remove copilot instructions (#1218) 2025-10-24 22:42:48 -04:00
.github build(deps): bump the github-actions group across 1 directory with 6 updates (#1221) 2025-10-26 22:41:24 -04:00
.vscode docs: add blogpost for announcing v1.21.1 (#886) 2025-07-22 16:42:58 -04:00
cmd enable auto setting of SNI based on host header (#1129) 2025-09-25 08:08:16 +00:00
data feat(default-config): block tencent cloud by default (#1216) 2025-10-24 19:43:42 +00:00
decaymap fix(decaymap): fix lock convoy (#1106) 2025-09-12 16:43:08 +00:00
docs fix(lib): close open redirect when in subrequest mode (#1222) 2025-10-29 16:07:31 -04:00
internal feat: support reading real client IP from a custom header (#1138) 2025-09-25 04:01:24 -04:00
lib fix(lib): close open redirect when in subrequest mode (#1222) 2025-10-29 16:07:31 -04:00
run fix(run/openrc): truncate runtime directory before starting Anubis (#1122) 2025-09-15 07:44:35 -04:00
test fix(lib): close open redirect when in subrequest mode (#1222) 2025-10-29 16:07:31 -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 Xe/show error state (#1203) 2025-10-21 13:10:27 -04:00
xess fix(lib): serve CSS properly (#1158) 2025-09-27 22:16:23 -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 fix: mend auth cookie name stutter (#1139) 2025-09-19 13:51:11 -04:00
Brewfile all: do not commit generated JS/CSS to source control (#148) 2025-03-28 14:55:25 -04:00
go.mod build(deps): bump github.com/docker/docker (#1131) 2025-09-27 14:29:07 -04:00
go.sum build(deps): bump github.com/docker/docker (#1131) 2025-09-27 14:29:07 -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 chore: v1.23.0-pre2 2025-10-26 19:23:16 -04:00
package.json chore: v1.23.0-pre2 2025-10-26 19:23:16 -04:00
README.md link to docs site from readme (#1214) 2025-10-24 15:53:11 -04:00
SECURITY.md chore: copy SECURITY.md from TecharoHQ/.github 2025-08-20 12:42:02 -04:00
VERSION chore: v1.23.0-pre2 2025-10-26 19:23:16 -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, visit the Anubis documentation site at 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.