Skip to content

SSRF fail-open default#799

Open
abhimehro wants to merge 2 commits into
chore/security-fixes-1486460893141035950from
cursor-agent/ssrf-fail-open-default-16a8
Open

SSRF fail-open default#799
abhimehro wants to merge 2 commits into
chore/security-fixes-1486460893141035950from
cursor-agent/ssrf-fail-open-default-16a8

Conversation

@abhimehro
Copy link
Copy Markdown
Owner

@abhimehro abhimehro commented May 14, 2026

This pull request contains changes generated by a Cursor Cloud Agent


Open in Devin Review

getattr(..., False) skipped the reserved check when is_reserved was absent (fail-open). Use ip.is_reserved like other ipaddress flags so unknown/malformed IP types fail closed and match project sentinel guidance.
Copilot AI review requested due to automatic review settings May 14, 2026 13:28
@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 14, 2026

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

3 participants