{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01: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":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"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":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED2","name":"Event/command shape","shortDescription":{"text":"Event/command shape"},"helpUri":"https://codehealth.canine.dev/dimensions/ED2"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"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":"D2","level":"warning","message":{"text":"AuthorizationBehaviour.Handle (cognitive 30): AuthorizationBehaviour.Handle has cognitive complexity 30 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Common/Behaviours/AuthorizationBehaviour.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a4020b0459abb08da3ce3a8982a5d1fc7bfa6a3bd954262eb3a0f019fac3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Common/Infrastructure/Identity/IdentityService.cs:307-315 | src/Common/Infrastructure/Identity/IdentityService.cs:336-344 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Common/Infrastructure/Identity/IdentityService.cs:318\u0060 calls \u0060generateRefreshToken\u0060, \u0060AddDays\u0060 and \u0060src/Common/Infrastructure/Identity/IdentityService.cs:347\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"debc44df5ae1d5455faf04f68db40ef6056be459074aa3a5f975c40a4fce52d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Common/Application/Images/Queries/GetImages/GetImagesQuery.cs:34-41 | src/Common/Application/Images/Queries/GetImagesAdmin/GetImagesQuery.cs:34-41 \u2014 \u0060src/Common/Application/Images/Queries/GetImages/GetImagesQuery.cs\u0060 and \u0060src/Common/Application/Images/Queries/GetImagesAdmin/GetImagesQuery.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 8 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Images/Queries/GetImages/GetImagesQuery.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a574a5cd88c571bc6482b4b7557c6b97daae9e9b5724f60e19e6685786d6436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/Common/Application/Tags/Queries/GetTags/GetTagsQuery.cs:33-40 | src/Common/Application/Tags/Queries/GetTagsAdmin/GetTagsQuery.cs:33-41 \u2014 \u0060src/Common/Application/Tags/Queries/GetTags/GetTagsQuery.cs\u0060 and \u0060src/Common/Application/Tags/Queries/GetTagsAdmin/GetTagsQuery.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 9 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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/Common/Application/Tags/Queries/GetTags/GetTagsQuery.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a120e36e34057f68778a337b6b6bbe814f9d7b2f1e64dc11fde1f07ec4f087cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Common/Application/Contents/Commands/Create/CreateContentCommand.cs:14-20 | src/Common/Application/Contents/Commands/Update/UpdateContentCommand.cs:16-22 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Contents/Commands/Create/CreateContentCommand.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2a618c3c2ff399caf40084a2945b6f94d546bf71866dfdf13366f5c6a2a531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Common/Application/Settings/Queries/GetSettings/GetSettingsQuery.cs:34-39 | src/Common/Application/Settings/Queries/GetSettingsAdmin/GetSettingsQuery.cs:34-40 \u2014 \u0060src/Common/Application/Settings/Queries/GetSettings/GetSettingsQuery.cs\u0060 and \u0060src/Common/Application/Settings/Queries/GetSettingsAdmin/GetSettingsQuery.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 7 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Settings/Queries/GetSettings/GetSettingsQuery.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"34525e51d40dbfc7b297b22ccba24aadd29dcb7466d12b3b10441fad5d894a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Common/Application/Contents/Queries/GetContents/GetContentsQuery.cs:35-41 | src/Common/Application/Contents/Queries/GetContentsAdmin/GetContentsQuery.cs:35-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Common/Application/Contents/Queries/GetContents/GetContentsQuery.cs:35\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Common/Application/Contents/Queries/GetContents/GetContentsQuery.cs:43\u0060 calls \u0060And\u0060 and \u0060src/Common/Application/Contents/Queries/GetContentsAdmin/GetContentsQuery.cs:41\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Contents/Queries/GetContents/GetContentsQuery.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bb066e4ca8a37e15e07a7b061273b3d6127052b3e90bb0e75a2654c716367c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Common/Application/TodoLists/Commands/CreateTodoList/CreateTodoListCommandValidator.cs:15-21 | src/Common/Application/TodoLists/Commands/UpdateTodoList/UpdateTodoListCommandValidator.cs:16-22 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/TodoLists/Commands/CreateTodoList/CreateTodoListCommandValidator.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"82304ed5e477c462e07d397f5df57dc282238d67ea89d2ca8d8ae55f0aa5077f"}},{"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":"354692e9b399bdd97973809bcc76410ab84655786f343227d0d6bfe7a7d29eb5"},"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: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"494124fd3ee7187ff3a20f4c56165c5144f89b585770df63f5d7f59acf2bfc89"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Startup.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"163f36adf33beb10176e4e7ce5dc6aab7efd8a28258d7ce1a5752a1ab92b84c3"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IMapper _mapper \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Contents/Commands/Delete/DeleteContentCommand.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b72327d72772349034c447551860f2f614279b45132c023bf871796228162b9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IMapper _mapper \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Images/Commands/Delete/DeleteImageCommand.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"096d5b8186e87d97fbe22ad929d3ed3aaf6d833b8585afce5d509b36cd4106ad"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IMapper _mapper \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Settings/Commands/Delete/DeleteSettingCommand.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a5b104b3046847757d6e3f3bce1019833e9ba77a2fd7f76e8cc9c0429aad94"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IMapper _mapper \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Tags/Commands/Delete/DeleteTagCommand.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cd25e49b6826646ee067dd883e785a9aa7439d100ebd7fca2c51ccc510fdfb"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IMapper _mapper \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Users/Commands/Create/CreateUserCommand.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05920b0d8e8bcf921fa693cf8759b4b8ad437ab132e6f916be8dd98f09cfaff"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IMapper _mapper \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Users/Commands/Delete/DeleteUserCommand.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd741b43874351a0779695e848b673b01214f87ab7fa22a2a05cbbf1c7d0ea71"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Contents/Queries/GetContents/GetContentsQuery.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c92682f6f04a2ce2b3ef87ab939058e4fc90204a8d6a109adf20209e8a65b9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Settings/Commands/Update/UpdateSettingCommandValidator.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"690bd36487bfda0a3b12ae3331c6cd92639ffeec1f2687cebd30da802c216de8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Users/Commands/Update/UpdateUserCommand.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a83c69ccd08fa97180ce16f2bfda275b5301d44384ffb9c7bed43a40785b6a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Users/Commands/Update/UpdateUserCommandValidator.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91ab6c0d6e64ce8a8fee799ff245b55f40ac3575dc7f06202c7e70e08a93323"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/DependencyInjection.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31cb38bdf66ca2a39381ec9be01b3b010c26247d13c1d89eabdbc8b6bb81f30"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IApplicationDbContext _context \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Guests/Commands/GetGuestToken/GetGuestTokenCommand.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92a8584a337c98a3cc49d7cd0f2baf3baa1a2a5200efbe530c2d52afd693cde"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IApplicationDbContext _context \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Users/Commands/Delete/DeleteUserCommand.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab12d90ee5b334c53652575e48b183d3017aabc589be8bd85ec97f4951b5dd4"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IApplicationDbContext _context \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Users/Commands/Update/UpdateUserCommand.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebad7c214026bb67619f9196fc1396c24038005c80ca677df3e9577196e9cfd"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IApplicationDbContext _context \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Users/Commands/Update/UpdateUserCommandValidator.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4f9744a86fad2fed05ea210e30a825ddea18065478579c07ebd262928fc386"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IApplicationDbContext _context \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Users/Queries/GetUserById/GetUserByIdQuery.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b49e584022227b0e8788531e8d7714ab9dfae694ea49a21708cd941551a22c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ICacheService _CacheService \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Guests/Commands/GetGuestToken/GetGuestTokenCommand.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d6006c9bbaa6750cefe1522ee2f52fff4331ca834df64cc9487acaf3a976ab"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITokenService _tokenService \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Guests/Commands/GetGuestToken/GetGuestTokenCommand.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8465cc3a3d525de3b33203d1e01adc2c64f5f2e178d1821dafd15b8c83503346"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Settings/Queries/GetSettingsAdmin/GetSettingsQueryValidator.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"075bbfb48b7e0ec882053721c71d44ef81b15909d576b49c396646a98dc05763"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Tags/Queries/GetTagsAdmin/GetTagsQueryValidator.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf236dcc6ba5eb76aac3caaa84914a6803d511a98fddc4c0a3e59991f068705"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Persistence/Configurations/TagConfiguration.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fc4c6833cd2ad5507ca3d1cda5f48ac849b27b7a0022a0f4fcbfe921106a66"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ICacheService _cacheService \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Users/Commands/RefreshToken/RefreshTokenCommand.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"272a4808d35f1d67a1c48f49c9cfc4fa0bf99b1f31f481b7d3bbba197d8fe00e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ICacheService _cacheService \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Users/Commands/RevokeToken/RevokeTokenCommand.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d1fe13c91883d6c48962c52aaf25f4095b613aa74eb70fafb19a620734af47"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private JWT _appSettings \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d0cc0b713ef658c35c11781ea01026d89d29e8ab414a019d12931166cc1124"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Services/TokenService.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b1ad0982949b0c8baac201fe981bb186feff88d7e2686ba8dd51d1c2a12412"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Services/TokenService.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0469a139e17eb1abc3aa288a27ac73685748daf4ccf1d8dcc69185c3c28e6d4f"}},{"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":"D24","level":"note","message":{"text":"redundant comment: \u0022log email failed\u0022 repeats the code it sits on: 3 of its 3 words (log, email, failed) are already in \u0060_logger.LogError(\u0022CleanApplication send email: email failed to  {username}\u0022, User.UserName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3fe82de947cb497961ec7ae8ea1eb04f0b6c14159dee55a52ec04c42c8483a"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060Application\u0060 overshoots its size bounds (3612 LoC, 184 public types across 54 namespaces). 1 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 6.0/10. Review these for cohesion \u2014 split a project that spans unrelated responsibilities."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Application.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f09a36f5f5155e0c69c03e4458c7a3b8df592b1419dd2b024358d9fe591b07e"}},{"ruleId":"D26","level":"note","message":{"text":"Split Application: \u0060Application\u0060 overshoots its size bounds (3612 LoC, 184 public types across 54 namespaces). These parts reach the rest of the project only through its shared core (\u0060(root)\u0060, \u0060Common\u0060, \u0060Dto\u0060), so they are the cleanest seams: \u0060CleanApplication.Application.Users\u0060 (27 types in 17 files): 0 of 192 of its type references cross into a sibling namespace, and the rest of the project uses it 0 times and it uses the rest 114 times; \u0060CleanApplication.Application.Settings\u0060 (19 types in 12 files): 0 of 143 of its type references cross into a sibling namespace, and the rest of the project uses it 0 times and it uses the rest 99 times; \u0060CleanApplication.Application.Contents\u0060 (17 types in 11 files): 0 of 127 of its type references cross into a sibling namespace, and the rest of the project uses it 0 times and it uses the rest 79 times. Extract each into its own project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Application.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eef16a54dae1e99f74ac38c246981e8ae9816262febd7c5c2ca1fc61d5e713"}},{"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":"effe254e2e650eda2af55d9e37992caa8099d1223d4679eacc1f07825dc4a55c"},"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":"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":"1c348f8edc0dd9105aa3edd43f3ff08d445c802a54d3f314a864169c2ec5f880"},"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":"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":"6af652fdc71d6be787e1d76d8d4e2da8a6d34696fe7d378c983fd749dee5c4ff"},"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":"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":"3a940615ad16e837f8c0091dc6559788dc8876b80e0aeb2a6e69a66bf8644b5d"},"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":"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":"b78480e59dd32afc1b93855578226cc8459ea05b1aa073cb3fa71ea42d3d6bdb"},"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":"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":"4c2f4b1cae4c2764737bb43383f0a4d969273aec238a40d9a8cc7177a4de4436"},"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":"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":"568bd75fead0535c5d637397560ce709f788ca813a55a583f5db41c685c2eaf6"},"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":"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":"f9f510dd10ced6a51ef6cc63c68cf1d98606bdb828ef952796ab9d3e3a6020b6"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-390","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"4e4448b31e8b4dd1a6489e264df38146de5afb770ee8e6556d999f07ae5800a8"},"properties":{"dependency":{"package":"System.Text.Encodings.Web","version":"4.5.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"2ab6c36f9ba2959809d6b740f8a18ff7828f8fb8bf1e55a125029d888bdd3b3f"},"properties":{"dependency":{"package":"System.Drawing.Common","version":"5.0.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"027d7e5e74fa3ff6ebcd9ac3c7afb658246088f4a5af1f8ef02712c37c7423c1"},"properties":{"dependency":{"package":"Azure.Identity","version":"1.2.3","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5432fd7c10b547131b4066eb8943729efd46b7e3234039e03ccdbc9d4ce8a09b"},"properties":{"dependency":{"package":"AutoMapper","version":"9.0.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"7cf85abffe732f2645ef95a624d6badc26f0263616284d6a4cc46ca8e983031d"},"properties":{"dependency":{"package":"System.Net.Http","version":"4.3.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"30d58bfb3c5b5381b099fe7c7213473404221cdaeb03235cb29287f6c9f0bb44"},"properties":{"dependency":{"package":"Microsoft.Data.SqlClient","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b96b7173c4377d5bea4d6fd7b52323631c631c44172b743bec6f266c10a4e538"},"properties":{"dependency":{"package":"System.Text.RegularExpressions","version":"4.3.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d301c6e60bb497a66228eb2bf5efd1ee217551f63f34886eeab5a740960f7aeb"},"properties":{"dependency":{"package":"System.Data.SqlClient","version":"4.4.0","advisory":"[GHSA redacted]","aliases":["[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":"ad5934a3696933417d4d1405e5d980e20d84326478afdeef134436b27e0aafc8"},"properties":{"dependency":{"package":"Microsoft.AspNetCore.Authentication.JwtBearer","version":"5.0.7","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":"304301a202a6c056b222cf7d4a3c7740dc6c4e871fc7b937e61de142485e8406"},"properties":{"dependency":{"package":"Microsoft.IdentityModel.JsonWebTokens","version":"6.7.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":"cda197eebdd5a421587b43c1b7ee5a2a78ba24ea8ebc08247f3a8f8c25338ed0"},"properties":{"dependency":{"package":"System.IdentityModel.Tokens.Jwt","version":"6.7.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":"19438624c5cdcef3d5c1e2851ac580bfbe3d4f14a2b62ebcd99ac2b6622b8ab3"},"properties":{"dependency":{"package":"Swashbuckle.AspNetCore.SwaggerUI","version":"5.6.3","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":"980f2166c13e3dcf8a85cee8e9f96b57957e94fb1607ef95391355b34cc8becf"},"properties":{"dependency":{"package":"System.Security.Cryptography.Xml","version":"4.5.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D31","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":"e83b518b7f52f2dcaa5ae6040062bb11c1eb9b8af4b47d50866778e1f843e3bd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"ee0683b067f9e01b46e50364e5288db7f75edc8db5d8f5a1984d76888f665386"}},{"ruleId":"D31","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":"ac58fa34d6f8492dd3c67f7b165d06cc8a835f965153c79f1ade213847cc7828"}},{"ruleId":"D31","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":"785142d47dd47b432295a19f8ca48c5ac896562a8b80c8bf9a293205b18de687"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"1b3db1a77200b500430ba9faae855e09cf0073d6f9994caa92b0aab1aba9f594"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"1e821b16d7902de4e65904963b2bb63d34614b2b1fc3739d73683aa9d394fd64"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"324357cdd1c4005f670abec8de19f6c5e689fbbd47b9aa5e0a0db5bdb8bb004c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"1298859c4fe6edb19a6e00b3786691955d4bca8bdd95fa21e825b5fce6569a8a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"685e58bed4dc85fdcfdd76238235661b0c387fc1596d9ef51fd7b491a5993ea4"}},{"ruleId":"D31","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":"19df28dcd048739c177459f80e95ca06e0b59036660289efad39d81d51728ea6"}},{"ruleId":"D31","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":"49835bb113059b687e8c7d74fe5ef2aee3bf0fa190c60b2f5d35e17f1f12400a"}},{"ruleId":"D32","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":"800d0b8a502dd6343e6ac2c0d68450c3921437857b4829d4f15c0f1b0731f418"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net6.0: src/Apps/WebApi/WebApi.csproj declares .NET net6.0 as this project\u0027s target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/WebApi.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"09040d2e505c5779bc88da9c5d667666a033465ced5b14d100e7adc5d6d8d61e"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net6.0: src/Common/Application/Application.csproj declares .NET net6.0 as this project\u0027s target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Application.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4089878399b50f4818c42c45299b40bb48a2e1ccfb11a733df99593baf3889"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net6.0: src/Common/Domain/Domain.csproj declares .NET net6.0 as this project\u0027s target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Domain/Domain.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8664c5ace138cd5ddc592f76a8ec5ed8d1164c001a497d1ae248d06621d12dca"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net6.0: src/Common/Infrastructure/Infrastructure.csproj declares .NET net6.0 as this project\u0027s target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Infrastructure.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ac880e707de9df0fea4f4c1f0770c56eaa9d3e4351aa7a14abb08a17587f31"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net6.0: tests/CleanApplication.Application.IntegrationTests/CleanApplication.Application.IntegrationTests.csproj declares .NET net6.0 as this project\u0027s target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/CleanApplication.Application.IntegrationTests/CleanApplication.Application.IntegrationTests.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e31f5f49bfad7aed0ebd0e56d470215f84ed294271d2146bb5b9e9c081e5acf"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces CleanApplication.Application.Common.Interfaces \u2194 CleanApplication.Application.TodoLists.Queries.ExportTodos depend on each other. The lightest dependency in the cycle is CleanApplication.Application.Common.Interfaces \u2192 CleanApplication.Application.TodoLists.Queries.ExportTodos (CleanApplication.Application.Common.Interfaces.ICsvFileBuilder \u2192 CleanApplication.Application.TodoLists.Queries.ExportTodos.TodoItemRecord, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Common/Interfaces/ICsvFileBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceffa66baae2ca2011ba959af90c9d651bdd2cf7061190c97fb3f4644571a4b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IIdentityService (16 members): \u0060IIdentityService\u0060 declares 16 members: \u0060GetUserNameAsync\u0060, \u0060ExistUserByPhoneNumberAsync\u0060, \u0060IsInRoleAsync\u0060, \u0060AuthorizeAsync\u0060, \u0060CreateUserAsync\u0060, \u0060DeleteUserAsync\u0060, \u0060SignIn\u0060, \u0060Register\u0060, \u0060RegisterGuest\u0060, \u0060ChangePasswordAsync\u0060, \u0060CreateJwtToken\u0060, \u0060ExistUserByEmailAsync\u0060, \u0060RefreshToken\u0060, \u0060RevokeToken\u0060, \u0060GetUserByIdAsync\u0060, \u0060Update\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Common/Interfaces/IIdentityService.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fc239199019333f0e156adfbcd587438a2fd226f13fa6eedc75f7a693bb547"}},{"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":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060AuthenticateController.SignIn\u0060 is in a controller that declares no authorization (on itself, a base controller or any action) while 7 sibling controllers do, and no fallback policy, global AuthorizeFilter or gated MapControllers covers it. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de9eb5fd3cbc8f1191048c15efc037591627d843b1741408957c6ba162eb28c"}},{"ruleId":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060AuthenticateController.Create\u0060 is in a controller that declares no authorization (on itself, a base controller or any action) while 7 sibling controllers do, and no fallback policy, global AuthorizeFilter or gated MapControllers covers it. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b89bf2466de1eb6bc02b182846f9351b0011f2f041cc7bc61efce1915dd749"}},{"ruleId":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060AuthenticateController.ConfirmEmail\u0060 is in a controller that declares no authorization (on itself, a base controller or any action) while 7 sibling controllers do, and no fallback policy, global AuthorizeFilter or gated MapControllers covers it. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea7ecd1b72d5bd37089281672e791d65719d2138d91814209369e2cef03b82e"}},{"ruleId":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060AuthenticateController.ForgotPassword\u0060 is in a controller that declares no authorization (on itself, a base controller or any action) while 7 sibling controllers do, and no fallback policy, global AuthorizeFilter or gated MapControllers covers it. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9801ec5ccdf8103709e526ba572991fa0c75dfb4875d24c7fd7371b8336de9ff"}},{"ruleId":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060AuthenticateController.GuestSignIn\u0060 is in a controller that declares no authorization (on itself, a base controller or any action) while 7 sibling controllers do, and no fallback policy, global AuthorizeFilter or gated MapControllers covers it. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e226937f198ade355c11f6f4aa9b4578f3fc2f61c91f9b99914f2ae1f80a7c98"}},{"ruleId":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060AuthenticateController.RefreshToken\u0060 is in a controller that declares no authorization (on itself, a base controller or any action) while 7 sibling controllers do, and no fallback policy, global AuthorizeFilter or gated MapControllers covers it. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d677bf4ef8c0c5babbfd6e999afaddbc2410a099e54327fbec2a88e0b6ddd4e4"}},{"ruleId":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060AuthenticateController.RevokeToken\u0060 is in a controller that declares no authorization (on itself, a base controller or any action) while 7 sibling controllers do, and no fallback policy, global AuthorizeFilter or gated MapControllers covers it. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bc4d4eaaaec3eb1a0d6d5e5e4a8e6b98b6ca6e24dd44f2c830b2935c3fee4a"}},{"ruleId":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060TestApiController.GuestSignIn\u0060 is in a controller that declares no authorization (on itself, a base controller or any action) while 7 sibling controllers do, and no fallback policy, global AuthorizeFilter or gated MapControllers covers it. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TestApiController.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a661afab1d27c37556d36c3a1a33cdcb2ccdf0cc57e6d71c5632b01ab5409cfd"}},{"ruleId":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060WeatherForecastController.Get\u0060 is in a controller that declares no authorization (on itself, a base controller or any action) while 7 sibling controllers do, and no fallback policy, global AuthorizeFilter or gated MapControllers covers it. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/WeatherForecastController.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"08332df67541238fa18435e4542acbaa56b73ea155720a49b34f8d827b6c5ade"}},{"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":"DM12","level":"warning","message":{"text":"Domain type reads the wall clock: RefreshToken: \u0060RefreshToken\u0060 reads \u0060DateTime.UtcNow\u0060 inside \u0060IsExpired\u0060 \u2014 while this repo already declares a clock seam that the rest of the code injects. This site bypasses it, so the rule it feeds still cannot be exercised at a chosen instant, and two reads within one operation can disagree. Take the instant through the seam the repo already has."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Domain/Entities/RefreshToken.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adc659d3b274dabb7c1d2e9d5dd5dc17a5c37d9a98fde177226318dc13ff41c"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: ApplicationRole: \u0060ApplicationRole\u0060 (domain layer) names \u0060IdentityRole\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/Common/Domain/Entities/ApplicationRole.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69137ae2529f2fba7c0046a547538de65de59d011cb9403c1cbfd88806bf7ae"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: ApplicationUser: \u0060ApplicationUser\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/Common/Domain/Entities/ApplicationUser.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe66082c29686d3e6473247f439d6bd8d62b11923fc8f8a9bea2ceb267be5b1"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: Domain: The domain project \u0060Domain\u0060 references \u0060Microsoft.AspNetCore.Identity\u0060 \u2014 a HTTP dependency; the domain should own a port and let an infrastructure project reference it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Domain/Domain.csproj"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12c962dcb302df12742891ed305e11adc4a0bda53fc030c88b4caf093099da4"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: Domain: The domain project \u0060Domain\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/Common/Domain/Domain.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1008e4cedfe2fd5c7554302aa93196551083345cdf57902ddf7204a187674463"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: DomainEventNotification: \u0060DomainEventNotification\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Common/Models/DomainEventNotification.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa487ab325ffac7cb88633b39361782a445358872c715a161622c30a6d31ded4"}},{"ruleId":"ED5","level":"warning","message":{"text":"Non-idempotent mutation: Create.CreateContentCommandHandler.Handle: \u0060Create.CreateContentCommandHandler.Handle\u0060 mutates persistent state (a database save) and inserts a new \u0060Content\u0060 with no identity assigned (the store or its constructor generates a new one) (line 46), so a re-run inserts another one. A retry or at-least-once redelivery runs it again \u2014 add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Contents/Commands/Create/CreateContentCommand.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9da033b1c128ad6810396d84903dce04150382dbf1f5b4d1801b93d49bea06"}},{"ruleId":"ED5","level":"warning","message":{"text":"Non-idempotent mutation: Create.CreateImageCommandHandler.Handle: \u0060Create.CreateImageCommandHandler.Handle\u0060 mutates persistent state (a database save) and inserts a new \u0060Image\u0060 with a fresh id (\u0060Guid.NewGuid()\u0060) (line 58), so a re-run inserts another one. A retry or at-least-once redelivery runs it again \u2014 add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Images/Commands/Create/CreateImageCommand.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77b8760d5fcb0499622c27b2d284d65ea0fff1ff6acf719072e7545f8633b8f"}},{"ruleId":"ED5","level":"warning","message":{"text":"Non-idempotent mutation: Create.CreateSettingCommandHandler.Handle: \u0060Create.CreateSettingCommandHandler.Handle\u0060 mutates persistent state (a database save) and inserts a new \u0060Setting\u0060 with no identity assigned (the store or its constructor generates a new one) (line 40), so a re-run inserts another one. A retry or at-least-once redelivery runs it again \u2014 add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Settings/Commands/Create/CreateSettingCommand.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3136267945157dc1cbf2475c529562c9a38931cd055b6d4f48c9a18e05a12b1a"}},{"ruleId":"ED5","level":"warning","message":{"text":"Non-idempotent mutation: Create.CreateTagCommandHandler.Handle: \u0060Create.CreateTagCommandHandler.Handle\u0060 mutates persistent state (a database save) and inserts a new \u0060Tag\u0060 with no identity assigned (the store or its constructor generates a new one) (line 37), so a re-run inserts another one. A retry or at-least-once redelivery runs it again \u2014 add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Tags/Commands/Create/CreateTagCommand.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f7c49b677537b18a603badb344816f133a20a7a33ad2fdb3f744b86536525d"}},{"ruleId":"ED5","level":"warning","message":{"text":"Non-idempotent mutation: CreateTodoItem.CreateTodoItemCommandHandler.Handle: \u0060CreateTodoItem.CreateTodoItemCommandHandler.Handle\u0060 mutates persistent state (a database save) and inserts a new \u0060TodoItem\u0060 with no identity assigned (the store or its constructor generates a new one) (line 37), so a re-run inserts another one. A retry or at-least-once redelivery runs it again \u2014 add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/TodoItems/Commands/CreateTodoItem/CreateTodoItemCommand.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"35131159915903a14d61d48cfc0b29d235bc628c9764e5518b8373898d8389b7"}},{"ruleId":"ED5","level":"warning","message":{"text":"Non-idempotent mutation: CreateTodoList.CreateTodoListCommandHandler.Handle: \u0060CreateTodoList.CreateTodoListCommandHandler.Handle\u0060 mutates persistent state (a database save) and inserts a new \u0060TodoList\u0060 with no identity assigned (the store or its constructor generates a new one) (line 29), so a re-run inserts another one. A retry or at-least-once redelivery runs it again \u2014 add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/TodoLists/Commands/CreateTodoList/CreateTodoListCommand.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d09c7a50b7e5dbaa27b746c900e423d5c015f96dc2a243e6b37e3805b3d61a"}},{"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/Apps/WebApi/Startup.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51042aa68477ef8875a1f149f63623422cc11de80bcb0d437727768bbc1071d"}},{"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/Apps/WebApi/Startup.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcbce011935069ae259383dabe91da74cb401d31cb70e90911e946ccb6f4b73"}},{"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/Apps/WebApi/Startup.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26fb91b10e713d144bdc362ceaf2bb37e2049cb43090aa451ad6ac477bab61d"}},{"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/Apps/WebApi/Startup.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f605168c15782b8f3cba7e63ef31a748eac9930ec199b775750d09dc77715407"}},{"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/Common/Application/Common/Interfaces/IApplicationDbContext.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"335fafaa4cea63b3a772fc4c9e7cf94cebdf74f53b18ddb36c9d8fa97f699e95"}},{"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/Common/Application/Contents/Queries/GetContents/GetContentsQuery.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aecfd27171bb99ab4de85c9fb343fa7da6a555d9a7a8876971260772c150bb5"}},{"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/Common/Application/Contents/Queries/GetContents/GetContentsQuery.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a172e50d3d2cd18bdc95dc6743667667e2a364ef0ef9d9a63270342603e82143"}},{"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/Common/Application/Images/Commands/Create/CreateImageCommand.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"738d5c5f9b3dd436c33a04d6f8f9045c358bba5a6e8e7d8e14f13bf662801320"}},{"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/Common/Application/Users/Commands/Create/CreateUserCommand.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8489bfbd8d699c647923e1ef05f412b194c893672fb59f456f52e36410e2817"}},{"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/Common/Application/Users/Commands/Delete/DeleteUserCommand.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb50ed4ac64aac7984291626fad15db990f83a49975d8e2d023f3d0aacbe741"}},{"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/Common/Application/Users/Commands/GetToken/GetTokenCommand.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"855cc7c6014c687f08aba22bbee3e0e656193b20140998a3ddccb58a5220b60e"}},{"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/Common/Application/Users/Commands/Update/UpdateUserCommand.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf4ee55db781fd9ae68641835550245a07a9a1eec30a96fe0bdd80449bcef11"}},{"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/Common/Application/Users/Commands/Update/UpdateUserCommand.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8df9ce255b5f6b82f01461acb4ed1a6db09075950addf14220533019a933c74"}},{"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/Common/Application/Users/Commands/Update/UpdateUserCommand.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bacaa64f8102424a50957bc8125fbdf5b9d51712156bf7e4f8173c858cb7ebb"}},{"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/Common/Application/Users/Queries/GetUsersAdmin/GetUsersQuery.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff002b2ba34a1af448ec36908b95055406e6a64768541b2d71b6930e825f2c96"}},{"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/Common/Infrastructure/DependencyInjection.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f05c29e0da62c5d4897978660b2934b3441708673dfc0b8aa0f1d78d87b26b7"}},{"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/Common/Infrastructure/DependencyInjection.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efe7d4e7b6e71390435a1f41b5283ab7531071ef35ebe5f6b2d60b3d18bd9d3"}},{"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/Common/Infrastructure/DependencyInjection.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68481807171f00b1f8ad4822ebf6f5e794fd2cf62d3afd20a567504625f5bed"}},{"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/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"32352d6651ba7435667de6a14cb0d53e525552dce54b60345bf53147caed4d2e"}},{"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/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ab0d4fc0bee003bdf61f1aa61793dbc235f7b14a238af854829213fbd4719f"}},{"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/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c91a03d4ad6f4339858cef4246ef772cfe41f6e67399da6493cde1d8be9c9e"}},{"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/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e9a058ec2c0c97779d401d936d4efdc581672f95ea18504e03985d4afa1303"}},{"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/Common/Infrastructure/Persistence/Configurations/ContentConfiguration.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"362731ff44b36a95167317c6eacb833c7ca32f53f0717c3698a189eb4b32d395"}},{"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/Common/Infrastructure/Persistence/Configurations/ImageConfiguration.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f54d2bb42cccfffabb005b4a4326e4526e4d26b83c571349cc5dddee36e9b5"}},{"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/Common/Infrastructure/Persistence/Configurations/SettingConfiguration.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2df3d3a0be3a9d1f18adf41e054408cc00291d67fedfb44237c0a3ca4da562"}},{"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/Common/Infrastructure/Persistence/Configurations/TagConfiguration.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60cd5d7c518d772be7ccaf7d5c51837b6f52c60179a22359b53c8827be0cce0"}},{"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/Common/Infrastructure/Services/EmailService.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5218c3c0a6f59e02efa5efa0823300356a2e00b9558d426f5545a4d41c3b00a7"}},{"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/Common/Infrastructure/Services/ImageService.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4e1d9c14827b765eca844eb32cbcd3471df367f3027a1ee18abd5a6340de12"}},{"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/Common/Infrastructure/Services/TokenService.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8736315fb10a889e2bed83c99a6f9927352b9e16ebe1b692af5417d27217ce0"}},{"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/Common/Infrastructure/Services/TokenService.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcab966ed676c3abb665714e82e5824387f534e1be9a86b49a2d028d3e41c463"}},{"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":"M4","level":"note","message":{"text":"README/code drift: README.md names .NET 5, but the projects target .NET 6. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"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":"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/Apps/WebApi/WebApi.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/Apps/WebApi/WebApi.csproj"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c335a7667d2ef4112848b68a39dbb45ff6b83127bcbf669aa3eb3fb7ed97c9e3"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060services.AddHttpClient()\u0060 registers an outbound HTTP client with no resilience handler, retry policy or timeout of its own in its builder chain. 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/Apps/WebApi/Startup.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"774f194a3cae079a11d5cd0df485965bdb58e34a47dacab812cae79975ec50cf"}},{"ruleId":"S1","level":"error","message":{"text":"Password hashing without a KDF: Identifier \u0027PasswordHash\u0027 looks like a password-hash field/property, but no KDF (PBKDF2 / Argon2 / BCrypt / PasswordHasher) was found anywhere in the source \u2014 so passwords aren\u0027t protected by a salted key-derivation function (whether a fast/plain hash, or a client-hashed value stored and compared verbatim). Password storage needs a salted KDF and a constant-time compare."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Domain/Entities/ApplicationUser.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35e3fb7bff7a2a53f231f4777cf7873fc7871fd5b4a9253d105691f3537c894"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Helper/StringUtilities.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb122071838ebcb401596c316f5091b66f929f6b6d58fdfaef636c97ee86da3f"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Helper/StringUtilities.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9583064af684009197321a40c75cf9e724f52ddf992d9f25aa54a6ab3f5b37"}},{"ruleId":"S1","level":"note","message":{"text":"OIDC metadata fetched over HTTP: \u0060RequireHttpsMetadata = false\u0060 allows the OIDC discovery doc to be fetched over plain HTTP. Safe for loopback-only fetches (Aspire / on-host); risky for any other path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/DependencyInjection.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd2fa6726d50f2eef988e03bfa38676664c57391f983e10403ce31f4fc93d8e"}},{"ruleId":"S1","level":"warning","message":{"text":"Token validation disabled: \u0060ValidateAudience\u0060, \u0060ValidateIssuer\u0060 are all set to \u0060false\u0060, which means a token minted for a DIFFERENT relying party is accepted here. Any other service that trusts the same issuer can have its tokens replayed against this one, which is precisely what the \u0060Audience\u0060 value exists to prevent."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/DependencyInjection.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0330b4560338e63cd73c70124557eedb59dfda4d8ff7de56db6cf9a33e06ac67"}},{"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/Apps/WebApi/Program.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2513d1ff2aba01b0f83388fc98ed5c93fb7df35b95b9bf69c012b03455c747"}},{"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) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/DependencyInjection.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3de05a9f4444121a385a74823e89c01790cd6f177e29662b893c2ee081cd74"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060client\u0060 is a \u0060SmtpClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 26). Every use of it in \u0060SendEmail\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/Common/Infrastructure/Services/EmailService.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc73119bed5e1aefde20af1e57509ccadaf899873a0f649bdadc0a5b8f33e52a"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 56/96 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SignIn: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a07317d1bdc381220931fc61ad9efad3e941bc0fb51418853814dea37559bbc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14685b3505b2513922c8d08ea8f59efb4f9b1e1c9a24bd70ea077f3ac8f687f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ForgotPassword: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0897e0a2cc520eb838fd755d1796327a605786a976af853f18bf233103a7904f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GuestSignIn: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6e68d03d2028bd7cc2e377bd610320540920dd51278f541484cf53e4a05faf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RefreshToken: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31b8099250f07cdcb147a8d6141b2050906269d1d4c474e2f5cd3059f4be7b1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RevokeToken: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/AuthenticateController.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e0c5fa624cf0f6c21c0161edd7f28e02ed32a11fec0919c009c879ad8e20a7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/ContentsController.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2782a3bb1d18a5c1d597804fce553e111da7654cecbbead7440db5f9ff5e4a5a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/ImagesController.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0c874ca1b5605a49f2ef99dbe67f7fcf66608d8acaee39113128937d2cff12"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/SettingsController.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"800a8a68991c170b23bccb25aa189a7a75ba4e9e7c7c8d1ef2d0c4062665906c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetById: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/SettingsController.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d5195457e7f4983e3c6a7d9beaa45170b8de8e43ad4b5fa3ce2d74260b366f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TagsController.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2abd14fca5be1a63cf372a4548327daeb962e2ee53ebd463ef3e9199b646988"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GuestSignIn: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TestApiController.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff892711eae3366dea1d938165e2578c2f798d14f1b9380b19000ebd1ee23fee"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetTodoItemsWithPagination: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TodoItemsController.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3181cfd9b0907268dd3223a551d9762232fb18a589ee463b7b10dc35d0d718"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TodoItemsController.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b581f57954952f991bd184ebd4b370809dee2eb30b0d94804bd427468c51e34"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TodoItemsController.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f215fb1e98908aaec37c1e7eba49094731057315abb1cda437434311a0ff05ef"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateItemDetails: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TodoItemsController.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a48d3f9b6a611f3b5cc1d4f321798f7f9dcd0720a964c83298a172eab862d8d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Delete: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TodoItemsController.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a267d1fd1e376e35a01684fbeafd650a496c3ba32180fd9eeb4ee2f88317717"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TodoListsController.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"818fdf565f3993b7d33e014db9762dba186d3d7ff0a1c18556a772e51d426f5e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TodoListsController.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3222afe75ed0d3361b355d6b11c36b369f5c477664b2e11c79fd387a6337eb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TodoListsController.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fe95036597d7a5e70bed5dfe96c76af298d5a4b52ad3bf015d353862d18a39"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TodoListsController.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb8d8c5a7cca49bbc3f120523e4421f19b50e4d11104712830f93055e00a002"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Delete: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/TodoListsController.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69d6b8b0f4740266003c9d15054e3ec5ad230a2b5f60ce3c13bfbe23e9571b0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/UserController.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbf6833ce264e22006cdd2bb9e2767052d161dce45161a1a28dd48d2979d01e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetById: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/UserController.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f95c80c5220e454f457875b752c43123bb6a38ce479f3a72b627bbd071a34b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/UserController.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"21041639985ee9be2ad042b367aa3e1f92c6c320dd644770b8bd949c703cb6db"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/UserController.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba00d1865fb230ff79dc0c33d067c63033900d5c191d0cbd8078874a562d348"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Delete: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/UserController.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f62547cb4012e414b38a1549a75f9ea59c5393ab791c06622d532121cc6991"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Apps/WebApi/Controllers/WeatherForecastController.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f53ce8cb30b6798b1579b2044f1fee260e08ff0dd5aa0534efc801dcb1ecb0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ProjectToListAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Common/Mappings/MappingExtensions.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13de6972471d0eaabf492b59a6bbb59767a1dabde90dcc85dddae1528af6ee5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Application/Common/Models/PaginatedList.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d8a95ab55738d3a8a473a3c6b02c7f831997aa7c707a8f4efd13295716759"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetUserNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6181444394525e2cbeda4e07da34bfadb9a8e0993c8c1252ebe092cbc862839"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SignIn: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a64555fec0649b456f51ff3bb09ce176427309e2052f75f6bb262cc73580ce6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Register: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a5ba0715b3bdeab6c0f69fe4b389228a13d951289ab00fd0d9a881c6788442"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RegisterCore: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d90e9e83f83b36ad0900c29476844fd9b0f049f9dde8b640ba8846ef4f8b49"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistUserByPhoneNumberAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"919c53e8cbf8a6ba2370c28871f96b95dd4058f773836dc830e50a632589bab2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistUserByEmailAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"480389e990a03d7e015553264f5c27180881549bdcb19a9e9ac717b488fb1eae"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DispatchEvents: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Persistence/ApplicationDbContext.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"41306ad2632d086a76b06b3ae5fa6e509ecb252d0341da28fe4fc0b28f86dddd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SeedSampleDataAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Persistence/ApplicationDbContextSeed.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d18f093a5a5570bd8dcc7f571ac35aca6e01c2550ce0fd030b7deb9979f3e71"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Publish: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Services/DomainEventService.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dce876cbab8d85968ad9308d4af9ba7d462771c378bbe043af1219a33c3d756"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FileUpload: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Services/ImageService.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73565140e1db50eef76240c33d7fae09bf67314523cfd6460350a033054c786"}},{"ruleId":"X2","level":"note","message":{"text":"Some async methods drop the CancellationToken they accept: 4 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: BeUniqueName: 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/Common/Application/Settings/Commands/Create/CreateSettingCommandValidator.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaacddfa550afdf52c9eafe3f8dad3e04f47388b6425c3bf5789ac612f076257"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: BeUniqueName: 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/Common/Application/Settings/Commands/Update/UpdateSettingCommandValidator.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc74676c5e852e29aa24cb18d51f54af7d8fd682dbdce9a3495c80a929e4886"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: BeUniqueTitle: 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/Common/Application/TodoLists/Commands/CreateTodoList/CreateTodoListCommandValidator.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d533034722d20aa0dbd571cb7b9b4d2767b6fb14a1a374cee97ef9d6ac7f57"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: BeUniqueTitle: 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/Common/Application/TodoLists/Commands/UpdateTodoList/UpdateTodoListCommandValidator.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceae8eeed61c48e36642117e331704cdd73240a930f07e833b9e894078ffcdf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060confirmationLink\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through an HTML e-mail body with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Infrastructure/Identity/IdentityService.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c11c290dd07bda51a6bd079868ea60ec96b3dc10ce72f0341c34f961869cdd"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 0/4 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-390","guid":"7484c168-de95-2c52-afd2-197fb3efb184","name":"Detection of Error Condition Without Action","shortDescription":{"text":"Detection of Error Condition Without Action"},"helpUri":"https://cwe.mitre.org/data/definitions/390.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"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":34,"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."]}]}