Built and merged as b7802fd (branch design-probe-burst-491): the probe-burst limit (edge protection spec §5.5) plus platform-wide sharing via signed, encrypted notices, and the per-app record-only switch. Watch-only by default. Not released. Leaving this open until blocking is promoted after the calibration review (around 2026-11-09). Follow-ups: record-only-aware headline wording; members can't read the switch via CLI (owner-only GET); departed peers' notice workers stop late.
Platform-wide probe bans: a client caught probing one app is briefly blocked on every app closed
On branch probe-burst-block-491
Claimed by claude~paul@keymail.dev 2 weeks ago
Paul asked (2026-10-31) whether honeypots that fake vulnerabilities and ban the exploiters are worth it. Ruling in conversation: no fake-vulnerable responses on tenant domains (they invite more scanning, can get a tenant's domain flagged, and add little signal: asking for /.env on an app that doesn't serve it is already proof). Instead, two tasks; this is the first.
What: once the probe-burst limit (edge request protection spec, docs/superpowers/specs/2026-10-24-edge-request-protection-design.md §5.5) blocks for real after the calibration window (around 2026-11-09), share its verdict across the platform: a client that trips the burst limit on one app gets the same short block on every app on every edge.
Why: bots rotate addresses, so a per-app ban catches little; the platform sees the same client across many apps at once, which a single site can't. Example: 2026-10-31 03:58Z one /24 tried ~30 PHP and WordPress paths in 5 seconds against paulca-com.
Constraints to design for:
- Short expiry (minutes), client keyed at /24 IPv4 and /48 IPv6 like request records; never a long-lived reputation list (recon: reputation lists blocked ~22% of real visitors).
- No new per-request or per-ban storage writes, and no new per-box polling (S3 requests cost money): verdicts travel edge to edge in memory over the existing mesh, or ride an existing change index.
- Counted on the Protection tab (a block is a block) and explainable by its reference code; an app owner can see why a visitor was refused.
- Watch first, like every other tier: record "would have been blocked platform-wide" before enforcing.
- Provider-neutral.
Depends on: §5.5 burst limit enforcing; Protection tab (66c324f) for visibility. Not started.
Progress on the promotion (calibration review read-only; nothing changed in production). Branch: probe-burst-block-491. Not merged, not released. Blocking waits for Paul's approval on these numbers.
Calibration, burst-rule watch records, 2026-11-07 01:07Z to 11-13 22:27Z. Request records are kept 7 days, so 11-01 to 11-06 are gone. Coverage: the 165 live apps in the 31 accounts Paul belongs to, read with carlos logs --stream edge --field tier=burst. That is not the whole flagship: the operator page (/fleet/protection) only takes a browser session, so the CLI can't read it.
- 246 trips from 139 distinct /24s (about 180 distinct clients by the daily /32 hash) on 35 apps; 0 IPv6, so 0 /48s. Between 15 and 85 trips a day. 99 /24s tripped once, 6 tripped five times or more.
- 7,933 would-refuse records on 35 apps from 134 /24s. 7,417 were for a cool-down that started on the same app; 516 (9 /24s, 7 apps) for a cool-down that started on another app, which is the platform-wide part.
- 238 of 246 trips were followed by more catalogue requests from the same client on the same app (median 22 per trip).
- Statuses of the would-refused requests: 7,897 were 404, 33 redirects, two 200s and one 400. Both 200s went to one scanner (93.152.221.0/24, sweeping admin login paths), which got woodfamilytrust's real /admin. The redirects were scanners meeting app redirects (amadan-hub, keymail, woodstar-relay, patrix).
- User agents on trips: 105 browser-like UAs without Sec-Fetch-Mode (scanners), 84 other, 40 crawler, 16 empty, 1 tool. 83 of the 139 /24s are in Google Cloud ranges.
- Per-minute record caps apply, so the would-refuse counts are lower bounds.
False-positive candidates
- bdj/movement, 11-13 16:51 to 17:31Z: 91.230.225.0/24 and 185.92.25.0/24 (GB, UA "other") made about 1,500 404s in two hours on /favicon.ico, /apple-touch-icon.png and /apple-touch-icon-precomposed.png, and tripped 4 times. It looks like a link-preview or monitoring fetcher on an app with no icons. It asked for no catalogue path, so nothing would have been refused, but once blocking is on, each trip would refuse it catalogue paths on every app for 10 minutes. A cheap fix: don't count icon misses toward a trip.
- bfb/qlue: 35.189.133.0/24 (JP, 27 trips) and 136.86.222.0/24 (US, 16 trips) have crawler UAs, hit only qlue, every 20 minutes or so, probing .env and config paths. This might be an attack-surface scanner the tenant runs. Blocking would answer it 429 on qlue. The owner can turn on record-only.
- woodfamilytrust /admin (200) to a cooling scanner. This is expected under §3, since a non-static app's paths are unknown, but someone sharing a /32 with an active scanner would be refused that page for 10 minutes.
No real visitor or legitimate client appears among the would-refused requests.
Branch: BurstRule watch to block by default (record-only still turns it off; fleet apps are still only recorded), with tests. It also carries two follow-ups: members can read the switch with carlos protection (the protection half of the telemetry GET only), and departed peers' notices are dropped at dispatch. The third follow-up, record-only-aware headline wording, needs new copy and is not applied. Astra R1: READY AFTER FIXES, one P2 (a stale snapshot could prune a new peer). It is fixed, with a test that fails without the fix. Census envelopes internal/edge and internal/edgeguard were approved by Astra; the verdict is not yet recorded on #280.
Copy for Paul's review, not applied (record-only-aware headline on the Protection tab, shown when the switch is on and the window only has recorded matches):
- plural: "In the last {days} days, {n} requests to this app looked like attacks. Protection recorded them and let them through, because it is set to record only for this app."
- singular: "In the last {days} days, 1 request to this app looked like an attack. Protection recorded it and let it through, because it is set to record only for this app."
Landed on main as bbaf2e3 through amadan branch merge (branch probe-burst-block-491, CI green; the GitHub mirror is fast-forwarded). Paul's approval is recorded on #1004. Astra's census verdict is on #280: R1 READY AFTER FIXES, R2 READY.
Not live yet. The flagship runs v0.35.1, so blocking switches on only once a release that contains bbaf2e3 is cut and rolled. I stopped before tagging, for two reasons:
- The runbook (README "Releasing the platform", step 6) puts the release notes through Paul's copy review before anything is published.
- A cut from main also ships work that hasn't been released yet: the #339/#413 offline-move refusals, the G6 write fence and the edge fence (#990). Its operator notes belong to whoever owns those changes. Also, v0.35.2 is published but not rolled to the flagship.
Draft release-note lines, for Paul's copy review (not published):
- CLI: "
carlos protectionnow shows any member of the account whether protection only records on an app. Changing it is still for owners." - Operators: "The probe-burst limit now blocks by default. A client that collects 60 not-founds on one app within 60 seconds is refused attack-catalogue paths, with a 429 and a reference code, on every app for 10 minutes. Ordinary pages and a static site's own files are never refused. Missing favicons and touch icons don't count. An app's record-only switch turns it off for that app."
This stays open until blocking is verified live on the flagship. Still to do: the release and roll, then a read-only check that a burst trip on an app we own is refused with a 429 and a reference code. The record-only headline copy is a separate follow-up and still waits on Paul's copy review.
Status at 22:11Z. I'm not cutting, publishing or rolling anything for this: that work is already done or in progress.
- Published: v0.35.3 (08:05Z) and v0.35.4 (17:32Z, Latest) are both on carlosframework/releases. Each has 24 assets, signed sums, and notes that carry the probe-burst block. Their wording is not the draft lines above, and Paul's copy review of those lines has no result yet.
- Dev: on v0.35.4 since 17:41Z (#421, lock released 21:31Z).
- Flagship: being rolled v0.35.1 -> v0.35.4 by the v0.35.4 release agent, under its flagship window lock on #421 (21:33Z to 02:00Z at the latest, GO from 8a3d302). At 22:11Z barbara (canary), adi, annie, kepler and both box-1s are on v0.35.4. iris is still inside the 30m spread. The console still answers
ok v0.35.1. The US HA group stays on v0.35.1 by design until #1062.
Burst check on demo/hello: waiting. It trips this machine's address into a platform-wide catalogue cool-down. The window's probe runs from this same machine, so I won't run the check while that lock is held. I'll run it after the lock is released and every edge box reads v0.35.4: 60+ catalogue 404s in under 60s, then a 429 with a reference code, and a 200 on /. This stays open until then.
Verified live on the flagship, 2026-11-14 ~22:30Z (console v0.35.4; flagship lock on #421 released).
From docs-t1, against demo/hello (hello.bdf.oncarlos.com), an app we own:
/before the test: 200.- 70 requests for attack-catalogue paths (wp-login.php, xmlrpc.php, phpmyadmin/, …): 60 answered 404, then 10 answered 429.
- Next catalogue request: HTTP 429, Retry-After: 600, X-Carlos-Ref 240wgtgz0mrq5w6fewcve0eftmhvz6bf53jnkfjw.
/on the same app: still 200.- Platform-wide:
carloku.com/wp-login.php(a different account and app) also answered 429, whilecarloku.com/answered 200.
The burst limit blocks, and the ban follows the client to other apps. Closing. (Note for #421: the docs-t1 dials to adi's address 21:52–22:05Z were this session's read-only curl --resolve header checks of carloku.com per edge.)