Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only detect Sauce API token if its a V4 GUID #3530

Merged
merged 3 commits into from
Feb 6, 2025

Conversation

Sjord
Copy link
Contributor

@Sjord Sjord commented Dec 10, 2024

The regex already implicitly matched a GUID, but this makes it more strict. This solves false positives where another hexadecimal string follows "sauce", such as in yarn.lock files.

The regex already implicitly matched a GUID, but this makes it more strict.
This solves false positives where another hexadecimal string follows "sauce",
such as in yarn.lock files.
Copy link
Contributor

@0xDC0DE 0xDC0DE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@0xDC0DE 0xDC0DE enabled auto-merge (squash) February 6, 2025 08:13
@0xDC0DE 0xDC0DE merged commit b386206 into semgrep:develop Feb 6, 2025
8 checks passed
0xDC0DE added a commit that referenced this pull request Feb 7, 2025
* Add gcp sql rules for insecure ssl_mode (#3540)

* Add gcp sql rules for insecure ssl_mode

* clean up message and references

---------

Co-authored-by: Lewis <[email protected]>

* Only detect Sauce API token if its a V4 GUID (#3530)

The regex already implicitly matched a GUID, but this makes it more strict.
This solves false positives where another hexadecimal string follows "sauce",
such as in yarn.lock files.

* Update use-of-md5.yaml (#3557)

---------

Co-authored-by: Pieter De Cremer (Semgrep) <[email protected]>
Co-authored-by: Lewis <[email protected]>
Co-authored-by: Sjoerd Langkemper <[email protected]>
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.

2 participants