-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix code scanning alert no. 2: Server-side request forgery #6
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Beta code commit Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Oct 30, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6
srnovus
added a commit
that referenced
this pull request
Oct 31, 2024
srnovus
added a commit
that referenced
this pull request
Oct 31, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Oct 31, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Oct 31, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Oct 31, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Oct 31, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Oct 31, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Oct 31, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Oct 31, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 6, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 6, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update * update v --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 7, 2024
…language (#38) * add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update * update v * update language --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 7, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update * update v * update language * update about --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 7, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update * update v * update language * update about * update about --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 7, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update * update v * update language * update about * update about * update --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 7, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update * update v * update language * update about * update about * update * up --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 7, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update * update v * update language * update about * update about * update * up * a --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 7, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update * update v * update language * update about * update about * update * up * a * a --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 7, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update * update v * update language * update about * update about * update * up * a * a * update postgresql --------- Signed-off-by: Javier Caceres <[email protected]>
srnovus
added a commit
that referenced
this pull request
Nov 7, 2024
* add ci * add github yml * update ci * update ci * update error ci * update * resolver issue #6 * ci * udpate ci * update ci * a * add github integration and update mknote * update * update code * update * update * update integrations * update locales * update * update * update * q * a * update * update * update v * update language * update about * update about * update * up * a * a * update postgresql * update --------- Signed-off-by: Javier Caceres <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes https://github.com/fedired-dev/fedired/security/code-scanning/2
To fix the SSRF vulnerability, we need to implement stricter validation of the
url
parameter. Specifically, we should:url
parameter can only point to trusted destinations.isSafeUrl
function is robust and covers all potential edge cases.got.stream
method without thorough validation.Suggested fixes powered by Copilot Autofix. Review carefully before merging.