feat: hidden honeypot link for BotBuster
Deploy to SFTP Server / build (push) Successful in 2m36s

Every page carries a link to /__hp/archive that people never see (off
screen, aria-hidden, not focusable, not prefetched) and robots.txt
disallows. Traefik sends /__hp/ to main-server's honeypot, so whatever
follows it ignored robots.txt and gets banned for a week.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maxandClaude Opus 5.5 committed 2026-10-17 15:47:36 +02:00
1 parent d8c69732c2
commit e9a4e7265d
2 files changed
+12

No files matched your search

+11
View File
@@ -142,6 +142,17 @@ import "./global.css";
<span class="i-tabler-brand-git"></span>{t("website-source")}
</a>
</footer>
<!-- BotBuster's hidden link: traefik sends /__hp/ to the honeypot, which
bans whoever follows it. robots.txt disallows it, people never see it. -->
<a
href="/__hp/archive"
rel="nofollow"
aria-hidden="true"
tabindex="-1"
data-astro-prefetch="false"
style="position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden"
>Archive</a
>
<script is:inline>
(function () {
// prettier-ignore
+1
View File
@@ -3,6 +3,7 @@ import type { APIRoute } from 'astro';
const getRobotsTxt = (sitemapURL: URL) => `
User-agent: *
Allow: /
Disallow: /__hp/
Sitemap: ${sitemapURL.href}
`;