x402-gateway 0.18: x402 every anonymous page load during a mass scrape (#287)

Gateway 0.18 massScrape (on by default): past 60 anonymous page loads a minute
site-wide, every anonymous page load is answered 402 with the x402 offer for
30 minutes; one address past 120 an hour pays too. Runs before exempt (a
present-but-unverified session cookie no longer passes); passes, Power Keys,
verified authenticate, welcome crawlers, /, sign-in and app paths still read.
Refusals are reported to CrawlProof as bot:swarm.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-11-14 02:51:03 -08:00 • committed by GitHub
parent bbf640abeb
commit 05e96bf802
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@
"@profullstack/autoblog": "^0.5.0",
"@profullstack/footer": "latest",
"@profullstack/stack": "^0.5.0",
"@profullstack/x402-gateway": "^0.13.1",
"@profullstack/x402-gateway": "^0.18.0",
"@supabase/supabase-js": "^2.118.0",
"marked": "^18.1.1",
"next": "16.4.3",
@ -787,7 +787,7 @@
"@profullstack/stack": ["@profullstack/stack@0.5.0", "", { "dependencies": { "@profullstack/emailer": "^1.0.1", "@profullstack/form-guard": "^0.1.1", "@profullstack/referrals": "^0.1.0" }, "peerDependencies": { "@supabase/ssr": ">=0.5.0", "next": ">=13.0.0", "react": ">=18.0.0" }, "optionalPeers": ["@supabase/ssr", "next", "react"] }, "sha512-LbXovIhyzLEq+a+y3q8KWC+jN1tJjvSoUiFEhpiEBisQn5U+iutIGHDgg16Lul74kQaFZeFlbp7CMPAVJ8KL6g=="],
"@profullstack/x402-gateway": ["@profullstack/x402-gateway@0.13.1", "", { "dependencies": { "@profullstack/keys": "^0.1.0" } }, "sha512-V7liSO0tShZRlp8dancuDuUSF/rqrr5YF3bzLoZy9wn6ixf1RIRPYTepe72s36JOdSVzi3wfuhaZFm9y0RpV4w=="],
"@profullstack/x402-gateway": ["@profullstack/x402-gateway@0.18.0", "", { "dependencies": { "@profullstack/keys": "^0.1.0" } }, "sha512-+vORJd17QpLycouk0wrmyOlnyv+6Q9Ttxk+iglsMH2pZpejTUD2Ak3ysKxQsb94R4m1GLSEv8DHoCS49Nf4/0A=="],
"@rolldown/binding-android-arm-eabi": ["@rolldown/binding-android-arm-eabi@1.2.15", "", { "os": "android", "cpu": "arm" }, "sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw=="],