Add donor-state classifier and measured account gates (2026-11-13)
This commit is contained in:
@@ -82,8 +82,36 @@ The script skips logins already listed in `WS_USED`.
|
||||
```
|
||||
wavespeed/ws_autoreg.py registration pipeline (GitHub OAuth + Turnstile + key creation)
|
||||
wavespeed/ws_keycheck.py key validation: catalogue, chat completion, media generation
|
||||
wavespeed/ws_classify.py donor pre-flight: ready / flagged / nosession (no captcha spent)
|
||||
```
|
||||
|
||||
## Account-state gates (measured 2026-11-13)
|
||||
|
||||
Mass-registered GitHub accounts are not interchangeable: before spending a Turnstile solve,
|
||||
classify the donor. `wavespeed/ws_classify.py` does exactly this — one login + one authorize
|
||||
fetch per account (~5-8 s, no captcha), verdicts `ready` / `flagged` / `nosession`.
|
||||
|
||||
Three states observed on the same egress:
|
||||
|
||||
| state | signal | share |
|
||||
|---|---|---|
|
||||
| `ready` | authorize page renders (200 with `authenticity_token` + `authorize`) | ~17% of day-old accounts |
|
||||
| `flagged` | `200` on `/dashboard` with flash *"This account is flagged, and therefore cannot authorize a third party application"* | ~8% |
|
||||
| `nosession` | authorize redirects to `/login?client_id=...` | ~75% |
|
||||
|
||||
- Fresh accounts (registered the same day at scale) are `flagged` almost immediately —
|
||||
GitHub refuses third-party authorization client-side, nothing in the flow can fix it.
|
||||
- Month-old pools die on 2FA: `/sessions/two-factor/app` rejects the stored TOTP secret
|
||||
(the post to `/sessions/two-factor` returns the same page, session never establishes).
|
||||
- A burned residential IP shows `nosession` for every account: logins pass but the session
|
||||
does not survive the next request. This is the GitHub-side per-IP login budget, not a
|
||||
credential problem.
|
||||
- On the `ready` subset the trial grant is far better than the earlier 4-6% estimate:
|
||||
a 2/2 run and a 17% ready-rate means the practical cost is ~6 accounts per `$1`,
|
||||
not ~20.
|
||||
|
||||
Recommended order: classify → run the pipeline only on `ready` → keep one GH lane at a time.
|
||||
|
||||
## Notes / pitfalls
|
||||
|
||||
- `verified-device` on the GitHub login means the account needs an e-mail code — use
|
||||
|
||||
Reference in New Issue
Block a user