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

Prevent scheme matches in isolation #360

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Conversation

Anilm3
Copy link
Collaborator

@Anilm3 Anilm3 commented Nov 18, 2024

This PR adds extra checks to the SSRF heuristic to prevent matching the scheme when it's the only injection performed, as it's not a likely injection and the match itself is prone to false positives.

Related Jira: APPSEC-55879

@Anilm3 Anilm3 requested a review from a team as a code owner November 18, 2024 16:52
@pr-commenter
Copy link

pr-commenter bot commented Nov 18, 2024

Benchmarks

Benchmark execution time: 2024-11-18 17:18:32

Comparing candidate commit 78601c1 in PR branch anilm3/ssrf-improve-scheme-match with baseline commit 65e2d3d in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

@Anilm3 Anilm3 merged commit 5dc5061 into master Nov 19, 2024
52 checks passed
@Anilm3 Anilm3 deleted the anilm3/ssrf-improve-scheme-match branch November 19, 2024 12:30
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