93 lines
4.6 KiB
Markdown
93 lines
4.6 KiB
Markdown
# form_intake
|
||
|
||
Multi-lane submitter for public application forms. Stdlib only, no
|
||
dependencies, no bundled credentials. You supply your own egress lanes and
|
||
your own contact address in `config.json`.
|
||
|
||
Built while mapping the **Proxy Grants** intake on `proximus.sh`
|
||
($5,000–$15,000 in API credits for fintech-security teams at Solana and
|
||
Hyperliquid hackathons). The form is a plain JSON endpoint behind a CSRF
|
||
cookie, so it can be driven honestly at volume instead of by hand.
|
||
|
||
## Quick start
|
||
|
||
```bash
|
||
cp config.example.json config.json # put your own lanes and email here
|
||
python form_intake.py --config config.json probe
|
||
python form_intake.py --config config.json contact --target 20
|
||
python form_intake.py --config config.json report --out contact.jsonl
|
||
```
|
||
|
||
`config.json` is gitignored — it holds your proxies and your mailbox.
|
||
|
||
## Endpoint map (reverse engineered, 31 Oct 2026)
|
||
|
||
| Endpoint | Method | Body | Auth |
|
||
|---|---|---|---|
|
||
| `/api/csrf` | GET | — | sets cookie `proximus-csrf`, returns `csrfToken` |
|
||
| `/api/contact` | POST | `{name,email,organization,reason,message,website,requestId}` | `x-csrf-token` + cookie |
|
||
| `/api/waitinglist` | POST | `{name,email,kind,organization,role,teamSize,interests[],useCase,consent,website}` | `x-csrf-token` + cookie |
|
||
| `/api/auth/sign-up` | POST | email, password, early access code | `x-csrf-token` |
|
||
| `api.proximus.sh/v1/*` | POST | review / policy / evidence / graph calls | `Authorization: Bearer <api key>` |
|
||
|
||
Notes that cost real debugging time:
|
||
|
||
- `requestId` must be a **UUID v4**. Anything else returns
|
||
`400 {"ok":false,"error":"Invalid UUID"}` before the body is even read.
|
||
- `website` is a honeypot field. It must be present and empty.
|
||
- `reason` is an enum: `Product and early access`, `Enterprise and self-hosting`,
|
||
`Partnership`, `Security research`, `Security review`, `Other`.
|
||
- Success is `200 {"ok":true,"copySent":true}` — the server also mails a copy
|
||
to the address you sent, so use a mailbox you can read.
|
||
- `x-ratelimit-limit: 3` with a ~600 s window **per egress IP**. Rotating the
|
||
egress inside the same /64 does not help — the counter is per subnet, so
|
||
lanes must sit on genuinely different providers.
|
||
- The form fails with `503 {"ok":false,"error":"Your message could not be sent"}`
|
||
whenever the site's own transactional mail is down. During testing this
|
||
happened on ~95% of submissions for hours at a time, while a tiny fraction
|
||
still returned 200. It is upstream, not payload: identical bodies answered
|
||
200 one minute and 503 the next, from the same lane.
|
||
- The same outage affects the waiting-list access codes: entries are stored,
|
||
but no code mail arrives, so `sign-up` stays blocked while it lasts.
|
||
- `api.proximus.sh/v1/*` answers `401 common.unauthorized` for every route
|
||
without a key; keys are only issued inside the dashboard.
|
||
|
||
## What it does
|
||
|
||
- **lanes** — a pool of egress endpoints (HTTP, SOCKS5, or direct), each with a
|
||
quota per window. The runner picks a lane that still has budget instead of
|
||
hammering one and collecting 429s.
|
||
- **persona** — name, organization, project, tier and reason generated from
|
||
your config, so consecutive submissions do not read as one template.
|
||
- **contact / waitlist** — both submission flows, JSONL log per attempt,
|
||
`report` prints the attempt/accepted/code breakdown.
|
||
|
||
## What it does not do
|
||
|
||
- No captcha solving: the site has none on these routes. If it adds one, this
|
||
tool stops working and that is the correct behaviour.
|
||
- No email verification bypass: waiting-list codes and dashboard keys arrive by
|
||
mail and are meant to be used by the address that applied.
|
||
- No rate-limit evasion beyond using lanes you already pay for: `lane_quota`
|
||
is deliberately honest at 3 per window because that is the server's ceiling.
|
||
|
||
## Pitfalls
|
||
|
||
| Symptom | Cause | Fix |
|
||
|---|---|---|
|
||
| `400 Invalid UUID` | `requestId` not a UUID | `uuid.uuid4()` |
|
||
| `429 Too many attempts` | more than 3 sends per window per subnet | spread over different providers, wait out the window |
|
||
| `503 could not be sent` | site's own mail backend | retry later; nothing client-side fixes it |
|
||
| `csrf_failed` | cookie not kept between GET and POST | reuse one opener/session per submission |
|
||
| 200 but nothing arrives | copy mail bounced | use a mailbox with working MX |
|
||
| `401 API key required` | `api.proximus.sh` needs a Bearer key | issue one in the dashboard, it is not derivable |
|
||
|
||
## Legal
|
||
|
||
Use it for forms you are entitled to submit to, with contact details that are
|
||
yours. Flooding a form you do not own is abuse, and the limiter on the other
|
||
side is the least of the consequences.
|
||
|
||
---
|
||
|
||
👻 [иишко](https://t.me/AlStack) |