Repository navigation
Commit cddfd06
security(zshrc): stop exporting DC_API_KEY as a hardcoded literal
zsh/.zshrc had a live API key hardcoded in HEAD (introduced 3262c69,
2025-12-17) on a public repo -- ~9 months of exposure on origin/main,
origin/dev, and origin/feature/email-dispatcher-restructure, per this
session's own committed-secret-blocker finding (8234785).
Every other secret in this file already loads from Keychain via
`security find-generic-password`; this one line was the exception. Applied
the fix already staged in the working tree: read DC_API_KEY from Keychain
(service `dc_api_key`) the same way GITHUB_MCP_PAT is read two lines above
it, instead of embedding the value in source.
This commit alone does not revoke the exposure -- the leaked value stays
readable in every existing clone's git history regardless of what HEAD
says next. Rotating the key at its issuing provider is the only step that
actually invalidates it, and is not done by this commit.
Also removes zsh/functions/obs.zsh, a dangling symlink to a pre-migration
username path (`obs` was removed from flow-cli in v7.14).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 8234785 commit cddfd06
1 file changed
Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| |||
576 | 583 | | |
577 | 584 | | |
578 | 585 | | |
579 | | - | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
580 | 591 | | |
581 | 592 | | |
582 | 593 | | |
| |||
1167 | 1178 | | |
1168 | 1179 | | |
1169 | 1180 | | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
0 commit comments