GitHub's installation tokens grew from 40 to ~520 chars — check your validation regexes

DanWahlin · x · 2026-10-13

Main Branch issue #44 warns that GitHub App stateless installation tokens are now 520 characters (still ghs prefixed, same permissions/expiry). Things that can break: validation expecting exactly 40 chars, short DB columns or secret stores, proxies truncating long Authorization headers, and old-pattern redaction rules; remove the temporary X-GitHub-Stateless-S2S-Token header. Also: a fine-tuned model for leaked-secret detection reads surrounding code to catch formatless passwords, free for Secret Protection/Advanced Security customers; AI detection in push protection is in private preview.

Original post →

More from coding & agent

coding & agent channel →