Skip to content

feat: add OpenRouter API key detection#2032

Open
AdrianDeAnda wants to merge 1 commit intogitleaks:masterfrom
AdrianDeAnda:patch-1
Open

feat: add OpenRouter API key detection#2032
AdrianDeAnda wants to merge 1 commit intogitleaks:masterfrom
AdrianDeAnda:patch-1

Conversation

@AdrianDeAnda
Copy link

Description:

Add detection rule for OpenRouter API key:

  • openrouter-api-key: detects sk-or-v... keys

The OpenRouter API keys follow the pattern sk-or-{version}-{64 characters}, and this rule is designed to identify them in order to prevent unauthorized access to the OpenRouter service and ensure that sensitive tokens aren't exposed in version control.

Checklist:

  • Does your PR pass tests?
  • Have you written new tests for your changes?
  • Have you lint your code locally prior to submission?

@AdrianDeAnda AdrianDeAnda changed the title feat: add OpenRouter API key detenction feat: add OpenRouter API key detection Feb 1, 2026
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.

1 participant