Skip to content

Conversation

@jaaaaavier
Copy link
Contributor

@jaaaaavier jaaaaavier commented Jan 16, 2026

This PR tries to fix some warnings detected on code scanning alerts, key changes:

Security: Prevent SSRF in Inbox API

Added input validation and URL encoding to prevent Server-Side Request Forgery attacks. Validates email/token formats, blocks path traversal attempts (.., /), and encodes parameters with encodeURIComponent() before URL construction. Resolves CodeQL alert js/request-forgery.

Security: Prevent SSRF in Get Message API

Added input validation and URL encoding to prevent Server-Side Request Forgery attacks. Validates email/token/messageId formats, blocks path traversal attempts (.., /), and encodes parameters with encodeURIComponent() before URL construction. Resolves CodeQL alert js/request-forgery.

@vercel
Copy link

vercel bot commented Jan 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
website Ready Ready Preview, Comment Jan 21, 2026 8:35am

@jaaaaavier jaaaaavier self-assigned this Jan 16, 2026
@jaaaaavier jaaaaavier added the enhancement New feature or request label Jan 16, 2026
Base automatically changed from fix/dependency-warnings to main January 20, 2026 07:33
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants