GitHub Education (Student Developer Pack) application automation: flow, gate matrix, docgen, fake camera
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
# GATES — GitHub Education application, measured on a live account
|
||||
|
||||
Account used for probing: an aged, non-flagged account from a purchased pool. Farm accounts
|
||||
(created days ago, 0-1 repos) are flagged and never reach the form.
|
||||
|
||||
## 1. Account flag
|
||||
|
||||
| Account | "Start an application" | Modal | Support portal |
|
||||
|---|---|---|---|
|
||||
| farmed account (created 2026-10) | `<a href="/pricing">` | never opens | `contact/two-factor-verification-required` → *"As your account has been flagged"* |
|
||||
| same account after enabling 2FA + fresh login | `<a href="/pricing">` | never opens | same page |
|
||||
| aged account (2023-2024, DE) | `<button>` | opens, loads `developer_pack_applications/new` | form reachable |
|
||||
|
||||
Conclusion: the redirect to `/pricing` is not a UI bug and not a missing 2FA - it is the flag.
|
||||
Enabling TOTP on a flagged account does **not** unlock support or the application.
|
||||
|
||||
## 2. Hidden fields = the real requirements
|
||||
|
||||
They arrive with the modal and change as soon as a school is picked from the autocomplete:
|
||||
|
||||
```
|
||||
dev_pack_form[selected_school_id] 4226 (Pennsylvania State University)
|
||||
dev_pack_form[email_domains] [["psu.edu",false,"MIXED_USE","ALLOWLISTED"], ...]
|
||||
dev_pack_form[camera_required] true
|
||||
dev_pack_form[two_factor_required] false
|
||||
dev_pack_form[user_too_far_from_school] true
|
||||
dev_pack_form[location_shared] (empty until "Share Location")
|
||||
dev_pack_form[latitude] / [longitude] 42.9956 / -71.4548 after Share Location
|
||||
```
|
||||
|
||||
`email_domains` entry format: `[domain, required_flag, "MIXED_USE", "ALLOWLISTED"|"DENYLISTED"]`.
|
||||
`ALLOWLISTED` = GitHub accepts and requires that domain; `DENYLISTED` = not accepted.
|
||||
|
||||
## 3. School matrix (probe run)
|
||||
|
||||
| Query | id | camera | 2FA | too_far | allowlisted domain |
|
||||
|---|---|---|---|---|---|
|
||||
| Pennsylvania State | 4226 | true | false | true | `psu.edu` |
|
||||
| Arizona State University | 4949 | true | true | true | (all denylisted in sample) |
|
||||
| Southern New Hampshire | 9509 | true | false | false | `snhu.edu` |
|
||||
| Western Governors | 4763 | true | true | false | `wgu.edu`, `my.wgu.edu` |
|
||||
| University of Phoenix | 3679 | true | true | false | `email.phoenix.edu` |
|
||||
| Purdue | 4418 | true | false | true | (all denylisted in sample) |
|
||||
| Liberty | 4447 | true | true | true | `liberty.edu` |
|
||||
|
||||
- `camera_required=true` everywhere: there is no upload control any more
|
||||
(the same complaint as community discussion #190385). Document must appear in a live camera stream.
|
||||
- `too_far_from_school` flips to `false` after `Share Location` with spoofed coordinates, so the
|
||||
distance gate is client-side.
|
||||
- `email_domains` is shipped to the browser, so the whole per-school policy is enumerable without
|
||||
submitting anything.
|
||||
|
||||
## 4. Submit verdict
|
||||
|
||||
`POST https://github.com/settings/education/developer_pack_applications` (button `name=continue`,
|
||||
`disabled` until a school is selected).
|
||||
|
||||
With SNHU + a non-school email:
|
||||
|
||||
```
|
||||
There was an error creating the discount request. Errors: There was a problem
|
||||
You can't perform that action at this time.
|
||||
```
|
||||
|
||||
No request record is created → the attempt is not consumed. The most likely cause is the school
|
||||
email: `snhu.edu` is `ALLOWLISTED`, and the `school_email` dropdown only lists the account's own
|
||||
addresses, none of which match.
|
||||
|
||||
## 5. What still needs solving
|
||||
|
||||
1. A mailbox on an `ALLOWLISTED` domain of the chosen school, added and verified on the account
|
||||
(`/settings/emails`) before the application.
|
||||
2. The camera step itself: Chrome fake device
|
||||
(`--use-fake-device-for-media-stream --use-file-for-fake-video-capture=card.y4m`).
|
||||
`scripts/fakecam.py` builds the Y4M from a still and launches Chrome with the device active;
|
||||
whether GitHub's capture UI accepts it end-to-end is not yet verified in this repo.
|
||||
Reference in New Issue
Block a user