fix: update CodeQL custom model and comments in TestURLConnectivity for improved SSRF protection clarity
This commit is contained in:
3
.github/codeql-custom-model.yml
vendored
3
.github/codeql-custom-model.yml
vendored
@@ -39,3 +39,6 @@ extensions:
|
||||
data:
|
||||
# network.IsPrivateIP is a validation function (neutral - doesn't propagate taint)
|
||||
- ["github.com/Wikid82/charon/backend/internal/network", "IsPrivateIP", "manual"]
|
||||
# TestURLConnectivity validates URLs internally via security.ValidateExternalURL
|
||||
# and ssrfSafeDialer - it's a terminating function, not a pass-through
|
||||
- ["github.com/Wikid82/charon/backend/internal/utils", "TestURLConnectivity", "manual"]
|
||||
|
||||
Reference in New Issue
Block a user