Production credential committed to the repository
Affected location config/payment.ts:18 · current branch and earlier commit
PAYMENT_API_KEY = "[REDACTED SAMPLE VALUE]"What we observed
A credential is assigned directly in application configuration. The mock history shows the same value in an earlier commit, so deleting the current line alone would leave it in clones and history.
Business impact
Someone with repository access could use the credential against the payment provider. The actual permissions and any misuse require provider-side review.
What to do
Revoke the old key first. Issue a restricted replacement through the secrets manager, update the application to read it at runtime, then remove the old value from history. Review provider activity during the exposure window.
How to confirm the fix
Old key rejected; new key works in staging; code and history checks show no credential; provider activity review documented.
Suggested owner: Engineering + service owner