Skip to content

feat: prefix generated API tokens - #98

Open
stevene1919 wants to merge 1 commit into
mainfrom
fix/prefix-system-api-tokens
Open

feat: prefix generated API tokens#98
stevene1919 wants to merge 1 commit into
mainfrom
fix/prefix-system-api-tokens

Conversation

@stevene1919

Copy link
Copy Markdown
Collaborator

Summary

Prefix newly generated system API tokens with ps_ so secret-scanning tools can identify leaked PriceStalker tokens more reliably.

Existing unprefixed tokens remain valid because verification still compares the supplied plaintext against their stored bcrypt hashes. The ADMIN_API_TOKEN environment variable is unchanged.

Verification

  • Backend TypeScript build passed
  • Backend tests passed: 121 tests
  • Lint passed
  • git diff --check passed

Closes #84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Prefix System API Tokens with 'ps_' for Secret Scanning Diagnostics

1 participant