chore: security changes #3007
No reviewers
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar!3007
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/3007/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from GitHub pull request.
Original GitHub pull request: #2981
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/2981
Original created: 2026-03-02T22:04:33Z
Original updated: 2026-03-03T00:17:21Z
Original head: carverauto/serviceradar:chore/sec-scan
Original base: staging
Original merged: 2026-03-03T00:17:18Z by @mfreeman451
IMPORTANT: Please sign the Developer Certificate of Origin
Thank you for your contribution to ServiceRadar. Please note, when contributing, the developer must include
a DCO sign-off statement indicating the DCO acceptance in one commit message. Here
is an example DCO Signed-off-by line in a commit message:
Describe your changes
Issue ticket number and link
Code checklist before requesting a review
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2981#issuecomment-3987183256
Original created: 2026-03-02T22:04:55Z
Review Summary by Qodo
Harden web-ng security controls for SSRF, XSS, and SAML validation
🐞 Bug fix✨ EnhancementWalkthroughs
Description
Diagram
File Changes
1. elixir/web-ng/config/config.exs
⚙️ Configuration changes+3/-02. elixir/web-ng/lib/serviceradar_web_ng_web/auth/outbound_url_policy.ex
✨ Enhancement+116/-03. elixir/web-ng/lib/serviceradar_web_ng_web/auth/saml_assertion_validator.ex
✨ Enhancement+112/-0View more (16)
4. elixir/web-ng/lib/serviceradar_web_ng_web/auth/oidc_client.ex
🐞 Bug fix+37/-125. elixir/web-ng/lib/serviceradar_web_ng_web/auth/saml_strategy.ex
✨ Enhancement+49/-56. elixir/web-ng/lib/serviceradar_web_ng_web/components/plugin_results.ex
🐞 Bug fix+77/-27. elixir/web-ng/lib/serviceradar_web_ng_web/controllers/saml_controller.ex
🐞 Bug fix+87/-1658. elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/authentication_live.ex
✨ Enhancement+53/-289. elixir/web-ng/lib/serviceradar_web_ng_web/plugs/gateway_auth.ex
🐞 Bug fix+18/-510. elixir/web-ng/lib/serviceradar_web_ng_web/router.ex
🐞 Bug fix+1/-111. elixir/web-ng/test/phoenix/auth/outbound_url_policy_test.exs
🧪 Tests+25/-012. elixir/web-ng/test/phoenix/auth/saml_assertion_validator_test.exs
🧪 Tests+154/-013. elixir/web-ng/test/phoenix/components/plugin_results_test.exs
🧪 Tests+20/-014. elixir/web-ng/test/phoenix/controllers/security_headers_test.exs
🧪 Tests+11/-015. openspec/changes/harden-web-ng-security-controls/design.md
📝 Documentation+50/-016. openspec/changes/harden-web-ng-security-controls/proposal.md
📝 Documentation+42/-017. openspec/changes/harden-web-ng-security-controls/specs/web-ng-security-controls/spec.md
📝 Documentation+43/-018. openspec/changes/harden-web-ng-security-controls/tasks.md
📝 Documentation+15/-019. openspec/changes/harden-web-ng-security-controls/verification.md
📝 Documentation+18/-0Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2981#issuecomment-3987183330
Original created: 2026-03-02T22:04:56Z
Code Review by Qodo
🐞 Bugs (3)📘 Rule violations (0)📎 Requirement gaps (0)1. SAML datetime tuple mismatch
🐞 Bug✓ Correctness2.
CSP blocks existing inline JS☑🐞 Bug⛯ Reliability3.
URL policy DNS/IPv6 bypass☑🐞 Bug⛨ SecurityImported GitHub PR review comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2981#discussion_r2874914452
Original created: 2026-03-02T22:09:48Z
Original path: elixir/web-ng/lib/serviceradar_web_ng_web/auth/saml_assertion_validator.ex
Original line: 104
1. Saml datetime tuple mismatch
🐞 Bug✓ CorrectnessAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation toolsImported GitHub PR review comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2981#discussion_r2874914458
Original created: 2026-03-02T22:09:48Z
Original path: elixir/web-ng/lib/serviceradar_web_ng_web/router.ex
Original line: 13
2. Csp blocks existing inline js
🐞 Bug⛯ ReliabilityAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation toolsImported GitHub PR review comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2981#discussion_r2874914462
Original created: 2026-03-02T22:09:48Z
Original path: elixir/web-ng/lib/serviceradar_web_ng_web/auth/outbound_url_policy.ex
Original line: 109
3. Url policy dns/ipv6 bypass
🐞 Bug⛨ SecurityAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools