Repository navigation
feat(dlp): OpenRouter, Groq, Replicate, Perplexity, xAI key rules (combined #488 #489) - #495
Merged
Merged
Conversation
Same bug class as #483: OpenRouter keys (sk-or-v1-...) break the generic sk-[a-zA-Z0-9]{20,} rule's alnum-only run at the hyphen after "sk", and Groq keys (gsk_...) don't match any existing prefix at all. Both leaked silently with zero findings. Adds dedicated rules for each, next to the other provider-specific sk- exceptions. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <[email protected]>
This was referenced Nov 26, 2026
This was referenced Nov 26, 2026
Merged
blitzcrieg1
added a commit
that referenced
this pull request
Nov 26, 2026
#497) Generated by Mistral Vibe. Co-authored-by: Mistral Vibe <[email protected]>
blitzcrieg1
added a commit
that referenced
this pull request
Nov 27, 2026
…507) PR #495 added DLP rules for OpenRouter, Groq, Replicate, Perplexity and xAI keys, but the capture scrubbers did not know those shapes, so a key captured in a command or in nested arguments was stored as sent. Add the five patterns to both the recorder and the hook scrub lists (the mirror test keeps them in sync) and scrub the full command before truncating to COMMAND_MAX_LEN so a token cut at the storage cap cannot survive half masked. README collected-test count 3034 -> 3044. Generated by Mistral Vibe. Co-authored-by: Mistral Vibe <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Combines @bewfordq's #488 and #489 (same manifest region, both conflicted with master after #483/#493). Cherry-picked both, resolved README count (3004 collected, dlp + readme-claims green locally: 49 passed), CHANGELOG entry added. Closes #488. Closes #489.