Skip to content

πŸ›‘οΈ Sentinel: [HIGH] Prevent SSRF in path routes validation - #71

Merged
frkr merged 1 commit into
mainfrom
sentinel/fix-ssrf-paths-5416366887217802651
May 30, 2026
Merged

πŸ›‘οΈ Sentinel: [HIGH] Prevent SSRF in path routes validation#71
frkr merged 1 commit into
mainfrom
sentinel/fix-ssrf-paths-5416366887217802651

Conversation

@frkr

@frkr frkr commented May 14, 2026

Copy link
Copy Markdown
Owner

πŸ›‘οΈ Sentinel: [HIGH] Prevent SSRF in path routes validation

🚨 Severity: HIGH
πŸ’‘ Vulnerability: The application did not validate the protocol for the user-supplied destiny and callback URLs in src/front/.server/panel/paths.ts.
🎯 Impact: This allowed malicious internal URLs (e.g., file://, gopher://, localhost) to be accepted, leading to potential Server-Side Request Forgery (SSRF) and internal network probing.
πŸ”§ Fix: Validated that new URL(destiny) and new URL(callback) strict protocols are either http: or https:.
βœ… Verification: Ran pnpm test and ensured paths.spec.ts and all other tests pass successfully. Documented learnings in .jules/sentinel.md.


PR created automatically by Jules for task 5416366887217802651 started by @frkr

🚨 Severity: HIGH
πŸ’‘ Vulnerability: The application did not validate the protocol for the user-supplied `destiny` and `callback` URLs in `src/front/.server/panel/paths.ts`.
🎯 Impact: This allowed malicious internal URLs (e.g., `file://`, `gopher://`, `localhost`) to be accepted, leading to potential Server-Side Request Forgery (SSRF) and internal network probing.
πŸ”§ Fix: Validated that `new URL(destiny)` and `new URL(callback)` strict protocols are either `http:` or `https:`.
βœ… Verification: Ran `pnpm test` and ensured `paths.spec.ts` and all other tests pass successfully. Documented learnings in `.jules/sentinel.md`.

Co-authored-by: frkr <185359+frkr@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

πŸ‘‹ Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a πŸ‘€ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 14, 2026

Copy link
Copy Markdown

Deploying with Β Cloudflare Workers Β Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
βœ… Deployment successful!
View logs
cfgateway 47074c6 Commit Preview URL

Branch Preview URL
May 14 2026, 09:40 AM

@frkr
frkr merged commit b2b71f1 into main May 30, 2026
5 checks passed
@frkr
frkr deleted the sentinel/fix-ssrf-paths-5416366887217802651 branch May 30, 2026 20:56
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.

1 participant