{"$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":"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"]}]},{"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"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"]}]},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29"},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31"},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}]},{"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"}]}},"results":[{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 test suite did not build: Coverage NOT MEASURED: the repo\u0027s own test suite did not build (a C#/MSBuild compiler error in the test code), so no coverage could be collected. It is excluded from the score rather than counted as a near-zero defect. Fix the test build, or commit the Cobertura/OpenCover/lcov report your CI already produces, and real coverage will be measured."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8beb176c604706486df63d2215f767f50520c8d949b1d464345de14ded442c69"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: signing-key: signing-key detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/appsettings.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"256ffa7531d071d19277a3cd483e45f8b894cf79cc33a8094928c993086868a4"}},{"ruleId":"D16","level":"note","message":{"text":"Small-team knowledge concentration: 0 file(s) are concentrated to one author \u2014 the ambient state with 2 active author(s), not 0 separate risks. The signal becomes meaningful as ownership spreads; no per-file action implied now."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8aa75b6daa18f1b578387fa04036c50b3163d47f957c8f5601bf083ed4489b0c"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/GlobalSuppressions.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee96a5cc1542768eab7d7908f4317c9ab9e3d10f9c877cd0c8c6160c37fd07"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/GlobalSuppressions.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee96a5cc1542768eab7d7908f4317c9ab9e3d10f9c877cd0c8c6160c37fd07"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/GlobalSuppressions.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee96a5cc1542768eab7d7908f4317c9ab9e3d10f9c877cd0c8c6160c37fd07"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/GlobalSuppressions.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee96a5cc1542768eab7d7908f4317c9ab9e3d10f9c877cd0c8c6160c37fd07"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/GlobalSuppressions.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee96a5cc1542768eab7d7908f4317c9ab9e3d10f9c877cd0c8c6160c37fd07"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/tests/Jbet.Tests/GlobalSuppressions.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1e633b0e3cc2d7039a95d47c8143249f9e1d0d194a538edde21b2bb54bd223"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/tests/Jbet.Tests/GlobalSuppressions.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1e633b0e3cc2d7039a95d47c8143249f9e1d0d194a538edde21b2bb54bd223"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/tests/Jbet.Tests/GlobalSuppressions.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1e633b0e3cc2d7039a95d47c8143249f9e1d0d194a538edde21b2bb54bd223"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is duplicated in BaseHandler.cs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: PROJ-123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Business/AuthContext/CommandHandlers/LoginHandler.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4f60fe8cac57e1195893c6ca347a369d753f2ace65d7b9c8399356cfe26131"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Validate subject, claims, etc. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: PROJ-123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/tests/Jbet.Tests/Business/AuthContext/LoginHandlerTests.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f839eafe80028b8ca7185511f007b7bf99086618f2a9775490cdf49df834dad4"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1701"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/Jbet.Api.csproj"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c2312bce75140580e263504d1b61bd6b0f7ef495fb9191a2a90e0dd7986250"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1702"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/Jbet.Api.csproj"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c2312bce75140580e263504d1b61bd6b0f7ef495fb9191a2a90e0dd7986250"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1705"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/Jbet.Api.csproj"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c2312bce75140580e263504d1b61bd6b0f7ef495fb9191a2a90e0dd7986250"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1591"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/Jbet.Api.csproj"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c2312bce75140580e263504d1b61bd6b0f7ef495fb9191a2a90e0dd7986250"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1101"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/Jbet.Api.csproj"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c2312bce75140580e263504d1b61bd6b0f7ef495fb9191a2a90e0dd7986250"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 3742 LoC across 6 projects the codebase is mid-range size and multi-module, so boundaries are warranted despite the absence of declared bounded contexts. Declare architecture.contexts (\u22652) in config to assess cross-boundary type coupling."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022This file is used by Code Analysis to maintain SuppressMessage\u0022 \u2014 delete - generated marker restating the purpose"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/GlobalSuppressions.cs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0726aa189eb829f949671c0fc2b8040d7d4aa37a0324f18b3b035a16143b1c10"}},{"ruleId":"D28","level":"error","message":{"text":"Secret: generic-api-key: matched rule \u0027generic-api-key\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/appsettings.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a2364117a12fc969b5542e2f43c9e8dd2e0501e02f15559b164d68ea42e763"}},{"ruleId":"D28","level":"note","message":{"text":"Rotate the exposed credentials \u2014 git history can\u0027t be un-committed: Some of these secrets are in git HISTORY: deleting the file does not remove them (the commit persists on every clone, fork and backup). The remediation is to ROTATE each historically-exposed credential and treat it as compromised \u2014 not to delete the file. Rewriting history is disruptive and unreliable across existing forks. (Working-tree-only secrets \u2014 no commit \u2014 can instead be removed from the file and moved to a secret store.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9e461bb3dade9314d31c10fbcda3a71cabb19a8104c91e96d89c64762c5687"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d75f5a318371f664de666f026889f9d495090d012e36ea08591e14dbc98419d"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/tests/Jbet.Tests/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83ed5aaf42cea62626b7453de9d24260bdf830a477c4e8d1ca16ef0858a9152"}},{"ruleId":"D31","level":"warning","message":{"text":"Medium IaC: DS-0001: \u0027:latest\u0027 tag used"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e490b806b5a47081e0c266149a6c405f77fed8da571a63b85cff1f56d344b8a4"}},{"ruleId":"D31","level":"warning","message":{"text":"Medium IaC: DS-0001: \u0027:latest\u0027 tag used"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/tests/Jbet.Tests/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6b2401d522977dd53ef3693eb93449f4a0681c7da6594f3fb042240b07d5f9"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fbfcf03e576aa748df1ce03e8c86bb7ec5c3bcf2c2c849f407d0c1f05bbd0e"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Api/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"101531c0c8c9422aecfa01110286db84bdf8b90b006761c448274b391ac133e8"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/tests/Jbet.Tests/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c9ac8bbaea894367f8ceb883ce962b9c3b2be41b06531cd95656a65923905d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Comment.cs \u2194 UserMatchBet.cs: \u0060server/src/Jbet.Domain/Entities/Comment.cs\u0060 and \u0060server/src/Jbet.Domain/Entities/UserMatchBet.cs\u0060 change together 67% of the time (8 shared commits) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Domain/Entities/Comment.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"998e86f1d6f2466f8912e23236d7bf58d24aad32bc38be6579df386b9a5f65f4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: UserMatchBet.cs \u2194 Vote.cs: \u0060server/src/Jbet.Domain/Entities/UserMatchBet.cs\u0060 and \u0060server/src/Jbet.Domain/Entities/Vote.cs\u0060 change together 67% of the time (8 shared commits) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Domain/Entities/UserMatchBet.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86dff993e0b75e3f3a21f940ce599a8d3496ffbe22f1b0eb8b761084fd45824"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Comment.cs \u2194 Vote.cs: \u0060server/src/Jbet.Domain/Entities/Comment.cs\u0060 and \u0060server/src/Jbet.Domain/Entities/Vote.cs\u0060 change together 64% of the time (9 shared commits) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/Jbet.Domain/Entities/Comment.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9126b3e51c2a25f00aae54d83933c1a6798d5ef9038c66140914f4585550d6f"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1395","name":"Dependency on Vulnerable Third-Party Component"},{"id":"CWE-798","name":"Use of Hard-coded Credentials"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}