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

Filter exceptions from tainted-sql-string #3501

Merged

Conversation

berney
Copy link
Contributor

@berney berney commented Oct 25, 2024

Original rule will think string interpolation in throwing an exception is a SQL injection.
Which makes this rule very noisy.

@0xDC0DE
Copy link
Contributor

0xDC0DE commented Nov 12, 2024

Hey @berney , this looks like a great update! Thanks for your contribution.

@0xDC0DE 0xDC0DE enabled auto-merge (squash) November 12, 2024 12:59
@0xDC0DE 0xDC0DE merged commit 495df89 into semgrep:develop Nov 13, 2024
8 checks passed
0xDC0DE added a commit that referenced this pull request Nov 18, 2024
* Allow OWASP Top 10 references from Kubernetes and LLM Top 10 (#3499)

Co-authored-by: Berne Campbell <[email protected]>
Co-authored-by: Pieter De Cremer (Semgrep) <[email protected]>

* Add literal pattern (#3507)

Co-authored-by: Pieter De Cremer (Semgrep) <[email protected]>

* Filter exceptions from tainted-sql-string (#3501)

Co-authored-by: Berne Campbell <[email protected]>
Co-authored-by: Pieter De Cremer (Semgrep) <[email protected]>

---------

Co-authored-by: berney <[email protected]>
Co-authored-by: Berne Campbell <[email protected]>
Co-authored-by: Pieter De Cremer (Semgrep) <[email protected]>
Co-authored-by: QU35T-code <[email protected]>
@berney berney deleted the b-tainted-sql-string-exclude-throw-exception branch January 21, 2025 04:47
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