{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C3","name":"Audit Trail","shortDescription":{"text":"Audit Trail"},"helpUri":"https://codehealth.canine.dev/dimensions/C3"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 22 shared lines): src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:38-72 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:75-112 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:115-149 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:153-192 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:195-232 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:235-275 \u2014 These 6 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f65d9473c77705fb0d2ab88fa9fa6dfc7024aa442cb775259c6d7ce515c7929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:90-112 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:170-192 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:210-232 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:90\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc23d5760a435e3fd5e47f2bf35e2081e43589636f02099f5a5e7cca0615aad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:50-72 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:127-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:50\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b2975901377a28eec5dfb88bd551f27560abf328009a3b7dfff16194a60542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:60-72 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:100-112 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:137-149 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:180-192 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:220-232 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:263-275 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:60\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d72c6a2d3da8c86ba0464c01e75226e4f47947811fb60c924e4d3f41d603875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:50-58 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:90-98 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:127-135 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:170-178 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:210-218 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:248-256 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e585ec353acb5e890c59ba74fcd8c3e6bb29d521b4ad92ff715e8f925a808148"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (xUnit, NUnit or MSTest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 no discoverable tests to count. If this repository does test, wiring the suite to a framework a runner can collect (xUnit, NUnit or MSTest) is what makes it countable here; a pipeline step that invokes a runner is not evidence on its own, because a runner over an empty suite passes. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: Mapster: Mapster 7.4.0 \u2192 10.0.14 available (referenced by CleanArhictecture_2025.Application)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Application/CleanArhictecture_2025.Application.csproj"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3656017947fa074f3c97520de249fd23bc776272c70a41eb343183f6d9cab897"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: Aspire.Hosting.AppHost: Aspire.Hosting.AppHost 9.0.0 \u2192 13.6.4 available (referenced by CleanArhictecture_2025.AppHost)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.AppHost/CleanArhictecture_2025.AppHost.csproj"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fdeea68e03e5946dca54b8dff4cffa04603a1500af4d6b64e974fa66887f82"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Microsoft.Extensions.ServiceDiscovery: Microsoft.Extensions.ServiceDiscovery 9.0.0 \u2014 Other,Legacy"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.ServiceDefaults/CleanArhictecture_2025.ServiceDefaults.csproj"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"645a90ae789106bbb6a4aa51f93ffdb53ce5209b1ae361a6d23442fd9548c6a7"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: FluentValidation.AspNetCore: FluentValidation.AspNetCore 11.3.0 \u2014 Legacy"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Application/CleanArhictecture_2025.Application.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c121fe39eaa15140bc3e6db44975ad976f90ca0ef505592ab96df7811261bcf1"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Aspire.Dashboard.Sdk.linux-x64: Aspire.Dashboard.Sdk.linux-x64 [9.0.0, \u2014 ) \u2014 the publisher\u0027s replacement is \u00609.0.0\u0060 Other,Legacy; migrate the reference to it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b082d34c9e40344c02b231b053238ea0176b4384b38f3eb090b7988e03c6b67c"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Aspire.Hosting.AppHost: Aspire.Hosting.AppHost 9.0.0 \u2014 Other,Legacy"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.AppHost/CleanArhictecture_2025.AppHost.csproj"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"638960e865276279939c567485bfc700ef4631913dc92699ddc1b2183b7f419d"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Aspire.Hosting.Orchestration.linux-x64: Aspire.Hosting.Orchestration.linux-x64 [9.0.0, \u2014 ) \u2014 the publisher\u0027s replacement is \u00609.0.0\u0060 Other,Legacy; migrate the reference to it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cf6fa52cda1d2d5839645ccf9687f33bd2d45c6764c10fec5701eac177eec535"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4cd64399eb189b55a968e91cae3a9896b1e3701b5349391b9c383e2593e594ce"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d7823a40542e895af6e1b184d9de1f0ee6299b4f9e58a64c818ada84231b6e9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f46633155b5b301ea22b77d089645145a9f60f286fa40cdc4d028c1a1fe883d2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57612b6d6286981fa9c33f78553560dfca12f3e6ca7045394cb052b0e879cd00"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3f7f5b8952dfd101bf71687ccd2045ea7dd1c9372bb24d48d3352a4bce1e4c2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.ServiceDefaults/Extensions.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b7e6d9db317e22feb283e8aae1798ef7cfc4994cbe64a6d265fcc8f8278c6a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ExtensionsMiddleware: NamedType ExtensionsMiddleware \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including CleanArhictecture_2025.WebAPI, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.WebAPI/ExtensionsMiddleware.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3250442bfde782ea3146de6b96ac9cfc566720e5fc0cccc3c85397aa83132d1"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no map of the repository\u0027s parts: The repository has 6 units (\u0060CleanArhictecture_2025.AppHost\u0060, \u0060CleanArhictecture_2025.Application\u0060, \u0060CleanArhictecture_2025.Domain\u0060, \u0060CleanArhictecture_2025.Infrastructure\u0060, \u0060CleanArhictecture_2025.ServiceDefaults\u0060, ...); \u0060README.md\u0060 and the documents it links name none of them. Add a short list of the parts and what each does."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f047b1120601c2537f0645d9b67f052758989ccf5801de4d919633bcff2a3cc2"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30c18091fb6573f83cafcb6a044feb7b28f12ad4de99696a5ee6086afd7f486c"},"properties":{"commitSha":"d5039782c3405382e7d6a11630bb907beaac00d1"},"taxa":[{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e7e22d260ebb677cc3ec71f53487c831616e8019246b7617ac2295d43a0e457"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f2f30b7124d59c5d715321b5745568c653ce00878edd6634c97785f4efde171"},"properties":{"dependency":{"package":"KubernetesClient","version":"15.0.1","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f603a8ebd694e4aeb9c309fc8133e250204b578e77f235b9a88211fb438737f"},"properties":{"dependency":{"package":"OpenTelemetry.Api","version":"1.9.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42da69baf8adbac3b170bc3610a7e0b8d7289183f9e250c24f0548c46089b837"},"properties":{"dependency":{"package":"OpenTelemetry.Exporter.OpenTelemetryProtocol","version":"1.9.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D39","level":"note","message":{"text":"IL efficiency: 1 authored method(s) exceed the IL budget: 1 of 79 first-party methods compile to oversized IL bodies (\u003E 250 instructions); worst: CleanArhictecture_2025.Application.Employees.EmployeeGetAllQueryHandler.Handle @ src/CleanArhictecture_2025.Application/Employees/EmployeeGetAllQuery.cs:25, 690 IL instructions; that pulled this dimension to 9.7/10. These bodies are far past the JIT\u0027s inline budget, so splitting them does not make them inlinable \u2014 what moves the number is emitting less: collapsing LINQ chains and closures on hot paths, and interpolation built eagerly where it is only sometimes used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Application/Employees/EmployeeGetAllQuery.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d8f03cf946db4ca0dd9f36faafe07d4eb4f7df28922e07b7e44720e1d016cc"}},{"ruleId":"C1","level":"warning","message":{"text":"No data-protection/encryption: No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found \u2014 sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3674448ef29fbd006d82bb49ec9615cf1ee508105aa1d952555aabaf3e10a9f9"}},{"ruleId":"C3","level":"note","message":{"text":"Partial audit-trail evidence: An audit mechanism is present, but the trail is not yet complete \u2014 missing: an immutable audit-log / audit-trail type to write to, [Audited] per-entity coverage."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"274a04e524f3228d241c99316455563739cb06cfd10a01e446d00b8a14956083"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: Entity: \u0060Entity\u0060 (domain layer) names \u0060HttpContextAccessor\u0060 from \u0060Microsoft.AspNetCore.Http\u0060 \u2014 a HTTP type (in a method body). The domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Domain/Abstractions/Entity.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fa9af312268a0cc74b0f19a8c3fc2ef385131d257f5511f451f4436be20c3c"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: Entity: \u0060Entity\u0060 (domain layer) names \u0060UserManager\u0060 from \u0060Microsoft.AspNetCore.Identity\u0060 \u2014 a persistence type (in a method body). The domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Domain/Abstractions/Entity.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c518772b96ec67a885527374805b7a0305799d354825ddee9b3fc3c3555b01"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: Entity: \u0060Entity\u0060 (domain layer) names \u0060AppUser\u0060 from \u0060CleanArhictecture_2025.Domain.Users\u0060 \u2014 a persistence/infrastructure type (in a method body). The domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Domain/Abstractions/Entity.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9060333f9ff015f46355e8ffb77e422418bb2294f1369980162004275c84cfb7"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: Entity: \u0060Entity\u0060 (domain layer) names \u0060HttpContextAccessor\u0060 from \u0060Microsoft.AspNetCore.Http\u0060 \u2014 a HTTP type (in a method body). The domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Domain/Abstractions/Entity.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8aa32eb2b8a4a2b4ff39cc826de04c0bced7a1b6892ad3d136b26f0064296df"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: Entity: \u0060Entity\u0060 (domain layer) names \u0060UserManager\u0060 from \u0060Microsoft.AspNetCore.Identity\u0060 \u2014 a persistence type (in a method body). The domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Domain/Abstractions/Entity.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54a77e6868b22c6a29c8993097f0799cc374d22c99d76c3e3836256407d532b"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: Entity: \u0060Entity\u0060 (domain layer) names \u0060AppUser\u0060 from \u0060CleanArhictecture_2025.Domain.Users\u0060 \u2014 a persistence/infrastructure type (in a method body). The domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Domain/Abstractions/Entity.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b67a50a66aaeebe19c2701bd89fe1a3febc5f4d8982021e72779e85d41ee5d"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: AppUser: \u0060AppUser\u0060 (domain layer) names \u0060IdentityUser\u0060 from \u0060Microsoft.AspNetCore.Identity\u0060 \u2014 a persistence type (as a base type). The domain should own a port and let an infrastructure adapter implement it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Domain/Users/AppUser.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"78acf2b3fbd51b089c18bde84f48fa2f3b3338400cbc4d34763aef59a188d372"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: CleanArhictecture_2025.Domain: The domain project \u0060CleanArhictecture_2025.Domain\u0060 references \u0060Microsoft.AspNetCore.Http\u0060 \u2014 a HTTP dependency; the domain should own a port and let an infrastructure project reference it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Domain/CleanArhictecture_2025.Domain.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"821ea291798627d4fc88b42ee53e5e0a7e27aef8f4495fee9fe735cef4309563"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: CleanArhictecture_2025.Domain: The domain project \u0060CleanArhictecture_2025.Domain\u0060 references \u0060Microsoft.AspNetCore.Identity.EntityFrameworkCore\u0060 \u2014 a persistence dependency; the domain should own a port and let an infrastructure project reference it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Domain/CleanArhictecture_2025.Domain.csproj"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd95e8f4c3f9b945292b91f545a0721db71433b6d0755ea7f4cfc5480083fce"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/InfrastructureRegistrar.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de4a2afb165c41b78dae41ceea18a56a39f886ec62159738f6a13a17ee16899"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.WebAPI/Installers/InternalServiceInstaller.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"913711f78f09b9d31e2f6784c520872b71638fd8688e43cb5ee6a8f2d6d0a14b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.WebAPI/Installers/InternalServiceInstaller.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a856ca5031fae410fe1155082df774ff08342bac9efc329b15c30de1f4dd2c"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/5 service-like projects use logging (pure contract/DTO projects are excluded \u2014 they have nothing to log). Of those 5, 2 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060src/CleanArhictecture_2025.AppHost/CleanArhictecture_2025.AppHost.csproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.AppHost/CleanArhictecture_2025.AppHost.csproj"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a317e2618a4660ee1efefe191bb5883677b112a07accccb853253cad2e0e96e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service\u0027s request, thread or connection \u2014 and cascade \u2014 until the call gives up on its own (100 s for HttpClient\u0027s default)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"695631d3bfb1f7f3f7e6f5388c513bd8fb79878247b25788db28457007bb3df5"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service\u0027s request, thread or connection \u2014 and cascade \u2014 until the call gives up on its own (100 s for HttpClient\u0027s default)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f551aaa9f90a2ecb99559c53be680922a219d3ec2dc0671dda06c0f25fd30393"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service\u0027s request, thread or connection \u2014 and cascade \u2014 until the call gives up on its own (100 s for HttpClient\u0027s default)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abddcf1ddf54f2bef5851d0169a28531f95676ed33156f5d9986c7fe0cc8e3e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service\u0027s request, thread or connection \u2014 and cascade \u2014 until the call gives up on its own (100 s for HttpClient\u0027s default)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4ddac7277b407310c7378d8922b561fdcc005ee93b6d9b4e72946edb6e3b4c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service\u0027s request, thread or connection \u2014 and cascade \u2014 until the call gives up on its own (100 s for HttpClient\u0027s default)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd036590860d7034d87418fdd64313cda3c8028eb78ef62d62994a3df982a7bd"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service\u0027s request, thread or connection \u2014 and cascade \u2014 until the call gives up on its own (100 s for HttpClient\u0027s default)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6dbefbb5499b85095721ce6a8f9c1a11e2f4eb2568d57f90fa89cbe9f52b7a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service\u0027s request, thread or connection \u2014 and cascade \u2014 until the call gives up on its own (100 s for HttpClient\u0027s default)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"72311023ab1326a9122d8266bbcdeab2f09b97c4e13d1a84a08b6fb0d84efd9f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 1 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) \u2014 these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2dedb76432d7d4f359386b5c37564c0f3de368182a77e31aa8af9ba73f9a4def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.WebAPI/ExtensionsMiddleware.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"28454070d84152f3f8c93662fce65d1b311b0fca4c4f8c5b395b7592e9049603"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. (\u22122.0 on this card.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.WebAPI/Program.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb825414ee627ee291fbd46acf6d8b3aff7290995f29aa618bdcf365f5bf14b"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.WebAPI/ExtensionsMiddleware.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc754aeab40ba82fae4e74dfa3d92dd1127d6e9e6a80b3050cf1eb0c0769fda"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060client\u0060 is a \u0060HttpClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 18). Every use of it in \u0060GetAccessToken\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var client = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97839486e245ef032dc9f312a43b1f2b75b33248b82eafee02cb93ed3bc2643"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060httpClient\u0060 is a \u0060HttpClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 39). Every use of it in \u0060GetAsync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var httpClient = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43f89559eca6d262bd20c705c2b6c23be7210d38a531dd7419872c5b4708be5"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060httpClient\u0060 is a \u0060HttpClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 79). Every use of it in \u0060PutAsync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var httpClient = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3653509f608e864201ad8527ff7b07d5362e8306d0295fba370fbe1b273283ab"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060httpClient\u0060 is a \u0060HttpClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 116). Every use of it in \u0060DeleteAsync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var httpClient = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1db84bae1474163c2cb179eb5f92b342d4a69f5742fc17e6d112e355c4efbd"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060httpClient\u0060 is a \u0060HttpClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 154). Every use of it in \u0060DeleteAsync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var httpClient = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cb1b550b6d88da4a8494cdeb5977eb66e7e2d63d37a5997de279575cab65a1"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060httpClient\u0060 is a \u0060HttpClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 199). Every use of it in \u0060PostAsync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var httpClient = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecf71dfe2cc3e000933fe1e1badc467376e929980f1cbb3bb2fdfabdae6e0be"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060httpClient\u0060 is a \u0060HttpClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 237). Every use of it in \u0060PostUrlEncodedFormAsync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var httpClient = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cbd94b6c9cc920a37f8c1e55c08656d3a83b4880e3cc32f8ea7c00a64fde97"}},{"ruleId":"X2","level":"note","message":{"text":"Some async methods drop the CancellationToken they accept: 1 async method(s) await work their caller\u0027s cancellation cannot reach: a CancellationToken they hold (a parameter, or the one a framework-fixed signature carries) is never passed on, or the call is handed CancellationToken.None, default or an already-cancelled token. Forward the caller\u0027s token to that call."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f8177554a7c46f307acf08de5582ac728351c2d85898ccd976c050435dc4a114"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: TryHandleAsync: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.WebAPI/ExceptionHandler.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"795e1559f14bad89a5554f0cc05f8cee4107217161e7a4eb781bf50c1275cb74"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions reduce the NRT score: ~5.0 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 57 suppression(s) across the 11479 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"93cfe05d4ad8c8c171267603b23dfe289b74842e38edd1b7bfed59cc32bda337"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"Missing Authorization","shortDescription":{"text":"Missing Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":11,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}