~/talk

How Segment proactively protects customer’s API keys

Talkat BSidesSF 2023 · 2023-04-22..04-23· [security]
links:none on file
slides:none on file

Segment changes token format to an SGP prefix so secret scanners can match reliably, enrolls in GitHub/GitLab secret‑scanning partner programs, and runs a TypeScript Express /revoke endpoint that verifies GitHub signatures, validates tokens against internal APIs, then Auto revokes exposed keys. Revocations appear in the system in about 10 seconds with email notifications ~30s later; early rollout revoked three leaked tokens in the first month. Orphan token scans send orphan token alerts (25% deleted after first email), and tokens are stored hashed with a six‑char identifier.

AI-written summary · about

  1. 0:00Start
  2. 5:28What's Segment?
  3. 8:59Warn or revoke?
  4. 10:37API token pattern
  5. 21:32Takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.