{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"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":"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":"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":"D1","level":"warning","message":{"text":"StoreContextSeed.SeedAsync (cyclomatic 17): StoreContextSeed.SeedAsync has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/Data/StoreContextSeed.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59ca5a26a70d3ca5c2058928145384e0326227737bcd73fffdf55e9875a520d"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreContextSeed.SeedAsync (cognitive 28): StoreContextSeed.SeedAsync has cognitive complexity 28 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/Data/StoreContextSeed.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cc49e0c7dcbf20dd6afcf69806c00c6d5f24c9c83a0a73b207a65855f25e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Talabat.Core/Specifications/BaseSpecifications.cs:10-14 | Talabat.Core/Specifications/ISpecification.cs:13-20 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Core/Specifications/BaseSpecifications.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac75108fd4daacc31a4e89b6b95680107ce4d4e43d3aa6056631968bccfc2f53"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 no discoverable tests to count. If this repository does test, wiring the suite to a framework a runner can collect (xUnit, NUnit or MSTest) is what makes it countable here; a pipeline step that invokes a runner is not evidence on its own, because a runner over an empty suite passes. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: Swashbuckle.AspNetCore: Swashbuckle.AspNetCore 6.5.0 \u2192 10.3.1 available (referenced by Talabat.APIs)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Talabat.APIs.csproj"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c2c94c450e3c5e88379c6e60ce8a93178e5b443f9fd74ffd7823eefa87fae9"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: Stripe.net: Stripe.net 47.1.0-beta.1 \u2192 53.1.0 available (referenced by Talabat.Services)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/Talabat.Services.csproj"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"913bf6d0f94bdd33fc5b006420b87e6443fca6be3eb8fa95e6bc9cb54b979d25"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: AutoMapper.Extensions.Microsoft.DependencyInjection: AutoMapper.Extensions.Microsoft.DependencyInjection 12.0.1 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060AutoMapper\u0060 \u003E= 13.0.0; migrate the reference to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Talabat.APIs.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fbb14c6e02894d83d6297e82403018d3b31d7773fc40d3ebf0f0944199151f"}},{"ruleId":"D12","level":"warning","message":{"text":"Prerelease dependency: Stripe.net: Stripe.net resolves to 47.1.0-beta.1, a prerelease build. Prerelease packages carry no support policy, may change breaking between previews and can be unlisted \u2014 pin a stable release before shipping, or record the reason this preview is required."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"72a71143502e6ff7a5374487b1c6736a4a9f88a4faf69f020972018b9541e0e1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Extensions/IdentityServicesExtensions.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a6adecde43cda32e524d5219a62fe9aba42b760d25ec2d62d2f51b208d3784"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/GenericRepository.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b42a0d7b93d4929c03adcc5a977d883b4fa8ac4eb4767da84408ac0fb473e8d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/GenericRepository.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"97113e612e2ba184fed8b690179f7688061e5f8f03844c22f7b5cffa549a1593"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetTotal: Method GetTotal \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Talabat.Core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Core/Models/Order Aggregate/Order.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be2bcd39247f10450c54ac270ea51c05c75b66fd3fff8a4156ce4ccda2f1845"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Update: Method Update \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Talabat.Core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Core/Repositories.Contract/IGenericRepository.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"448e1b8fa1bb85ead247c67f58897ad0fb19975a1c96f3f6c298d8ffa1decd82"}},{"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":"D21","level":"note","message":{"text":"\u0060CreateOrUpdatePaymentIntent\u0060 returns an awaitable but lacks the \u0060Async\u0060 suffix its 22 peers carry: 22 of the 23 awaitable methods of project Talabat.Core are named with an affix the repository binds to awaitables (22 of 23; unit: awaitable methods of project Talabat.Core). Peers: IUnitOfWork.CompleteAsync (Talabat.Core/IUnitOfWork.cs:12); IBasketRepository.GetBasketAsync (Talabat.Core/Repositories.Contract/IBasketRepository.cs:7); IBasketRepository.UpdateBasketAsync (Talabat.Core/Repositories.Contract/IBasketRepository.cs:8); IBasketRepository.DeleteBasketAsync (Talabat.Core/Repositories.Contract/IBasketRepository.cs:9); IGenericRepository.GetAsync (Talabat.Core/Repositories.Contract/IGenericRepository.cs:8). Rename to \u0060CreateOrUpdatePaymentIntentAsync\u0060. [rule N4b]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Core/Services.Contract/IPaymentService.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"84102c9264793db5720b971c0a754bf16a9764d88ff2be2002c178fbb3d92e6e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b392532f4eb336773a73e3e53ff9e49d9e07e23b07c5a666320d45ff0ae84874"},"properties":{"commitSha":"1579345d2aa9a88a48fcf537dc5dbc4a250cfa95"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41ebfecd84dc22a5df04b1127a50bce1cd4abb418504f24c8445c10beb840d2c"},"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":"bc9f25eaabab4de1c891dba5dcf2ba2d3582e8be9f4fe50e8f0adde47ae841be"},"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":"cc3a52695110f5cd21ad084f111a8b80f3ec090d9d0e23c2641da5e79468c917"},"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":"181392475aed0c20eca717c2556ef752d84986c47f9c43437349d9e8c31f4d3b"},"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":"68ef3774b86ca0d1c7c020d64b7ad875d1a6389fc0d19cdff87a83f3a49d285e"},"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":"7da7c3c45f0b5a955e2d47340431f9ee16460d091b50533d0fed5d37ecd409da"},"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":"25a1dfd6e00403136b635f10c5b5861c92a91b85cee753ec7961fcc655339dc6"},"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":"e389ef4c6f3accb6ede329bd9e03b0dc342b4d2aa00fc7f6133723c08465dbe3"},"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":"8bd71f5b94ce8b4ffda3e7a6ebcc0299c302028af14105dd8893b6cf367a091f"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"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":"d3458738a9b505811049a751f4012492d190bd65163306d4a068a5ebbf0982b5"},"properties":{"dependency":{"package":"AutoMapper","version":"12.0.1","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":"dd9dc59d33e12ec4829f42c473be01587f7321ba1aeaba5592287e65370b9c0c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"49140181d6abebdfc1f4e77386da4863c17b4cefe4d8df350b5bc7b5f790db4b"},"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":"13124b5412a7d1bafa7435de0b14abf1adfd2b6b76f818d38ce03ec37503207d"},"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":"577d8023eff9d092a01eb896ba92b023ac782379dcb38bd00ef80007d99513c1"},"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":"23adfb505df8b9b64e5ff6486f63713ba228d20696eae2754d59f48a4759eeef"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 6 of 6 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 6 of the 81 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: Talabat.APIs/Program.cs, Talabat.APIs/Controllers/AccountController.cs, Talabat.Services/OrderService.cs, Talabat.Services/PaymentService.cs, Talabat.APIs/Controllers/OrderController.cs, Talabat.Repository/Data/StoreContextSeed.cs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e25d75646e9079721c3bf2c1a1e7ab013658539e72034079b24a1d0297a3e6a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Program.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d62698f3638613939af061ef44c1d7d8b1e341ea2fec0656af93972e2b3b15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/OrderService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da0a183fa23fe58f1689c26e5848eeec91ab95d419aa5ce657d95c3cca2faf3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/PaymentService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94951312ec8ab649b4c77f9138cbec4e5f3af9ad03edc87feef42fa1ba9a23a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/OrderController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef50381af7d18596c7983cefeb602958e456e96d98256469f403faab61e9963c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/Data/StoreContextSeed.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd8e9f2b314f74cb1c9b17ddad1bcbb8a572fe0fdcd7591d941ad4413a959d8"}},{"ruleId":"D39","level":"note","message":{"text":"IL efficiency: 1 authored method(s) exceed the IL budget: 1 of 157 first-party methods compile to oversized IL bodies (\u003E 250 instructions); worst: Talabat.APIs.Helpers.MappingProfiles..ctor @ Talabat.APIs/Helpers/MappingProfiles.cs:13, 265 IL instructions; that pulled this dimension to 9.9/10. These bodies are far past the JIT\u0027s inline budget, so splitting them does not make them inlinable \u2014 what moves the number is emitting less: collapsing LINQ chains and closures on hot paths, and interpolation built eagerly where it is only sometimes used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Helpers/MappingProfiles.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cce14bf038b4284abcb01098f62b0746dff5ad8689e31a429969f20dcadae71"}},{"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: \u0060AccountController.Login\u0060 declares no authorization while 5 of its sibling actions do. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1e657102891340e9ebaf6ed45d90325ca1bfc7061772ddc9c16163ed4f8244"}},{"ruleId":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060AccountController.Register\u0060 declares no authorization while 5 of its sibling actions do. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dcf2b80974e2436c495befab565b9d74580c8b36afc74ef0796b5de722c10b"}},{"ruleId":"C2","level":"note","message":{"text":"Endpoints outside the guard: Access here is not default-deny: \u0060AccountController.CheckEmailExistsAsync\u0060 declares no authorization while 5 of its sibling actions do. Where the endpoint returns stored data or changes state, D29 reports it as missing authorization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2343c50425511eb2aae6b82681ce162f8df5f26ebd4b45fc46f21d8e5227f7f"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (via [Authorize]/guards) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is NAMED policies (AddAuthorization/AddPolicy, RequireRole/RequireClaim, RequireAuthorization): the access rules are implicit rather than named and testable. Recommendation, not a defect \u2014 name the rules so they\u0027re reviewable."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: This \u0060[Authorize]\u0060 names no policy, role or scheme, so the rule it enforces (any authenticated caller) is implicit here and cannot be listed or tested apart from this attribute. Name the rule \u2014 \u0060[Authorize(Policy = \u0022\u2026\u0022)]\u0060 over a policy registered with AddAuthorization \u2014 so the access rule set is reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"26236f786b881aa28472509500955321d35ecdc6b7fe523435a05cadb14134f3"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: This \u0060[Authorize]\u0060 names no policy, role or scheme, so the rule it enforces (any authenticated caller) is implicit here and cannot be listed or tested apart from this attribute. Name the rule \u2014 \u0060[Authorize(Policy = \u0022\u2026\u0022)]\u0060 over a policy registered with AddAuthorization \u2014 so the access rule set is reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf223d127d5023dbf7b757d12f0c7ecf6a29ec9196cabd06a3cc5954b340e0b"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: This \u0060[Authorize]\u0060 names no policy, role or scheme, so the rule it enforces (any authenticated caller) is implicit here and cannot be listed or tested apart from this attribute. Name the rule \u2014 \u0060[Authorize(Policy = \u0022\u2026\u0022)]\u0060 over a policy registered with AddAuthorization \u2014 so the access rule set is reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d490bc4b3c5b7bf8af2f17d8a827d030438178964acafe558619d3a29d76392"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: This \u0060[Authorize]\u0060 names no policy, role or scheme, so the rule it enforces (any authenticated caller) is implicit here and cannot be listed or tested apart from this attribute. Name the rule \u2014 \u0060[Authorize(Policy = \u0022\u2026\u0022)]\u0060 over a policy registered with AddAuthorization \u2014 so the access rule set is reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a81f268b398bc03e0666a89ef4ab01e3228478d923176c98b8e338877f42bc7"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: This \u0060[Authorize]\u0060 names no policy, role or scheme, so the rule it enforces (any authenticated caller) is implicit here and cannot be listed or tested apart from this attribute. Name the rule \u2014 \u0060[Authorize(Policy = \u0022\u2026\u0022)]\u0060 over a policy registered with AddAuthorization \u2014 so the access rule set is reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d77730d7c8ab386915bce9af9c0540a26c546ce5ac358423da311b46426c12"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: This \u0060[Authorize]\u0060 names no policy, role or scheme, so the rule it enforces (any authenticated caller) is implicit here and cannot be listed or tested apart from this attribute. Name the rule \u2014 \u0060[Authorize(Policy = \u0022\u2026\u0022)]\u0060 over a policy registered with AddAuthorization \u2014 so the access rule set is reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/OrderController.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16e38cab2f02f44bbe965952862730043420cd1cd45cb04180b8e7392bc9700"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: This \u0060[Authorize]\u0060 names no policy, role or scheme, so the rule it enforces (any authenticated caller) is implicit here and cannot be listed or tested apart from this attribute. Name the rule \u2014 \u0060[Authorize(Policy = \u0022\u2026\u0022)]\u0060 over a policy registered with AddAuthorization \u2014 so the access rule set is reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/PaymentController.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7031716732d3c3dc56c38631b0bc3b5e66a23cc3ed4c215a7a63d4bec0ffb72"}},{"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":"Talabat.APIs/Extensions/ApplicationServicesExtensions.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"897e989e0f50291f6b7a57dae7f2ade9a5b5d746db04144db6273813ee4f0f3c"}},{"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":"Talabat.APIs/Extensions/ApplicationServicesExtensions.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbb7897052185bdf64ef276515e382c594ee3dabd6abae7e26dec9f86ba7a3a"}},{"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":"Talabat.APIs/Extensions/IdentityServicesExtensions.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b9e248b0f1df332cf1a0256b121b78b9d704deb13f8b8eddb21a545f20f8b7"}},{"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":"Talabat.APIs/Extensions/IdentityServicesExtensions.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d694ce1728ae61c85cab3f2db188de3d54599240d3e7ebe5d21bd3a2840cb0ef"}},{"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":"Talabat.APIs/Extensions/IdentityServicesExtensions.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aafe2c93c0f210d1a60fdd5fb8a2f34f7a95d14dc17d16fc704f6f6d63b9f16"}},{"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":"Talabat.APIs/Extensions/IdentityServicesExtensions.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"537551caed96ccc048c0720027bad203fdf5ec002d2500f4b21ab6adc434b026"}},{"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":"Talabat.APIs/Extensions/IdentityServicesExtensions.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b35c936a37da43c8f51be1a766f2afd4435587b352af9ba0c71fa121162e525"}},{"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":"Talabat.Core/Specifications/BaseSpecifications.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03357f7587d96bb853bafa030913c518d44f6eb3700fd0debde5631a09c15fa"}},{"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":"Talabat.Core/Specifications/OrderSpecifications/OrderSpecifications.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f127f7e109b46f20876b8550c8c62dcb81d98bc334c704fdd4cf317ab2adf126"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M3","level":"note","message":{"text":"No tests/ separation: Tests aren\u0027t grouped in a dedicated test folder \u2014 the test surface isn\u0027t separable from production code at a glance."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"999e0c784909c76b6346a705ee63961fe363ed1cd6a94e3f80e2ebe7820ccd5d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README.md names .NET 6, but the projects target .NET 9. 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":33}}}],"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: \u0060Talabat.APIs/Talabat.APIs.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":"Talabat.APIs/Talabat.APIs.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1182397cd5e4ad98376a4011160b541eaed37f0e50776aaa691e5d0a3500842c"}},{"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: The app makes outbound HTTP calls but no resilience handler was detected (Polly / AddStandardResilienceHandler / circuit-breaker). A slow or failing dependency will cascade \u2014 add timeouts, retries with back-off, and a circuit breaker."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ade5e84aadd8f28a7d64d01fa0cdf67f4f716f0df3ba2641e60599b08325bd5f"}},{"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":"Talabat.APIs/Program.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af690ecd83e741cfc7874d2398266582e8a574f8cb612df4f4d61c4539d068d"}},{"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":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d998530e118a0ffa05e7d92f7a776894ec9b3f669bbbd68da1f9025a1653b729"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposes a dependency it does not own: \u0060_dbContext\u0060 is never created by \u0060UnitOfWork\u0060 \u2014 every assignment to it takes a constructor parameter \u2014 yet this type disposes it here (line 41). Its declared type \u0060StoreContext\u0060 is an abstract class, so the instance came from whoever chose and created it, and that owner decides when it ends. Disposing it from here reaches outside this object\u0027s lifetime: a dependency shared with the rest of the process is torn down when THIS instance goes away, and the real owner\u0027s later \u0060Dispose()\u0060 runs a second time on an object already disposed. Drop the call \u2014 a type disposes what it constructed, and only that. If this dependency genuinely is exclusive to this instance, construct it here (or take an owned factory) so the ownership is stated in the code rather than assumed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/UnitOfWork.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57a88f308d1c2eea39ec50d612ab67a7b68ce8e7ce774a01c45426a90f9d3da"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 0/29 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: GetUserAddress: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8715a449acac2bd7b55acba53053eadf7d7709341a57e3ea2267be0d40f04d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateUserAddress: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/AccountController.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd473c8576d101b239fa6ddaf3f24b3b5008d0e949f505a074bd88d52a9b2299"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateOrder: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/OrderController.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0a20557ba2ff6f6582e607b8b5a081277cba03d9cc42536c3c99fffff195da"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetOrdersForUser: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/OrderController.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"da32903b7be5bf17d9dd43d1dc564163bedde5c865cb6ddaf9b6be3adc5e796a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetOrderById: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/OrderController.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"719a39c47ee7af353229d58e4307546492f5ffec066017f7392ea79cee62878f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetDeliveryMethods: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/OrderController.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66edd8198a9f788d2dc05ac104a91926e7f2a9391d9bfcf53834108939e10d0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateOrUpdatePaymentIntent: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/PaymentController.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e540430babad49c29bd15c9ba41d048825ac1ec228d43e9a92c9a24a5b6d05"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetProducts: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/ProductsController.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5373685d3b375e3ad7be6988f081407d1badcd0d34cc56b98a6b5a03ef19ed4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetProduct: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/ProductsController.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9df32cb8fbfb359a78e9d6e5faf20ada1cde491567d8c93b99e10a8973b3de0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetProductBrands: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/ProductsController.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"df520ed56128c1a87bedf4c7994e2684081dc6273e1ae42c9892949b1721a41f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetProductCategories: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Controllers/ProductsController.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc9bf1cd3f7bfe81d7164eda48d43c0cd2575c29e367715c62c7d72b1a94ead"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindUserWithAddressAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/Extensions/UserManagerExtension.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"68056e94bccfb320fc928846eac9c457bc44b9ee13bd88587a68f9fee74b3e75"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SeedAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/Data/StoreContextSeed.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"19133a9533ab8a8d5eb902f5d83852784b61ed4305d47201ae98049a754748a7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/GenericRepository.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e373107eb4dc5cfa9821cfeb2265551fcc001b9058066fa7849dac7ed6a0f4fc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAllAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/GenericRepository.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed15e83d47cf2b4847d6b702768126609aa38df1993a7f19b695cb4f5a81122"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAllWithSpecAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/GenericRepository.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d949feb9f799ed6e82bd4f075db94f58db4aca784b771d35036b40853f57159a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetWithSpecAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/GenericRepository.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0dafb3f522119f24f4f092ef05131b87830d0f1d4060cd821ff0ad328a6de5a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/GenericRepository.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd65ac2b190c1bcca391fd1a27cb98a4c1cce5eab182dad4fea0dfe41813f761"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AddAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/GenericRepository.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"777a49de0c8a920a51ba692a7b5cf355a2ff14eb27f95f1999c2f45ea07ad8ba"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CompleteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Repository/UnitOfWork.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7a66d3310f4a1e45cd4ebf2c947c7235a654dbaee93bc41a9545671aa82d49"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateOrderAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/OrderService.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7040aa8974309d9746b32999f1ebf7b9ca21e70d1fcbe351b185c223089fe9f2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetOrdersForUserAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/OrderService.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72e32c3b3438bd333cb9017effff5d5bbbaa91f11a7899e7a0ec51fb6104ece"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateOrUpdatePaymentIntent: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/PaymentService.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6763b2216fc44a9d39f9490a1aeab93ddbbd992cd47f3dddb96fc88f041580"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetProductsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/ProductService.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a82d7f87f3306fe71ba9a1eac42992a437c59a8d4f63f3b5c5798018b6b076"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetProductAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/ProductService.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a93ec771fb135b0cd85638919ae6023d888dc3f418a53d12503d7102b595da9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/ProductService.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10e9a6c6613c59983557ca63df82abdd51af23147f625e006e06a8dbb6c941e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetBrandsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/ProductService.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"19515f83a9ba9e75aeab244b432ddb3bf358b2be0b25d8dd9195ad00a906f8cb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCategoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.Services/ProductService.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"297ce70132cd016f886bce2719c258d921cd6908db1b9aeed7ea9d46e8894e1a"}},{"ruleId":"X2","level":"note","message":{"text":"Some async methods drop the CancellationToken they accept: 1 async method(s) await work their caller\u0027s cancellation cannot reach: a CancellationToken they hold (a parameter, or the one a framework-fixed signature carries) is never passed on, or the call is handed CancellationToken.None, default or an already-cancelled token. Forward the caller\u0027s token to that call."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f8177554a7c46f307acf08de5582ac728351c2d85898ccd976c050435dc4a114"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its ambient CancellationToken: InvokeAsync: Its signature is fixed by the framework, and the token it carries (\u0060httpContext.RequestAborted\u0060) reaches none of the calls here that take one \u2014 so an aborted request or a stopping host still waits for that work. Pass \u0060httpContext.RequestAborted\u0060 to them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/middlewares/ExceptionMiddleware.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4ef15d7470c8056abfce3fba06bf7fedd3aef33c536640a27c8f0731af91d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Talabat.APIs/middlewares/ExceptionMiddleware.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a14c6dd08a5c2264b08b188d9ee96f49a9aeb95714b0c1daa67f39045c928b"}}],"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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-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-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/"}]}],"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":17,"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."]}]}