{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"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":"D25","name":"ADR Conformance","shortDescription":{"text":"ADR Conformance"},"helpUri":"https://codehealth.canine.dev/dimensions/D25"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"KBCompiler._extract_summary_heuristic (cyclomatic 16): KBCompiler._extract_summary_heuristic has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/compile_kb.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"6045ef519728a60880b3fb7bcde917b048af9dbaa5847b5db96656e10acdf151"}},{"ruleId":"D2","level":"warning","message":{"text":"KBCompiler._extract_summary_heuristic (cognitive 25): KBCompiler._extract_summary_heuristic has cognitive complexity 25 (threshold 15). Drivers by points: if/else 20, boolean chains 3, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/compile_kb.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17a6e3fe94ba5e980c3dd40f558b61c3701c6c3eecc9d658d943b4ab11dad3c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfluenceIngesterV2.ingest (cognitive 25): ConfluenceIngesterV2.ingest has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12, ternaries 6, error handling 3, loops 3, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest_v2.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bae8d657e51134ea55da14a2eeb58bbd8877890c80c9be0ab97bc414af3e71f"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfluenceIngester.get_spaces (cognitive 22): ConfluenceIngester.get_spaces has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, boolean chains 3, loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d975ab6a900abde15427add1965e62140b2837c4adabc0d029452ad1a8bb17"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfluenceIngester.ingest (cognitive 19): ConfluenceIngester.ingest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, error handling 3, loops 3, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f582daab817973580f07f3ffddb9e27632cc906d2283168bf40cc2e7374af19"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfluenceIngester.get_pages_for_space (cognitive 18): ConfluenceIngester.get_pages_for_space has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7, error handling 5, loops 3, ternaries 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ba4a19057247788d81ce4f636f72c616b05cc68136d528960b9d9c5fa63f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py:239-262 | relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest_v2.py:175-190 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9465cb56f3c8ce465b382b8c2765a6a422895844f825bfd27a02ab284526e78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py:325-339 | relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest_v2.py:282-296 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a521593922825dd40cd016a80cb368d8e05db9038b1bbf6c5d18a842e38dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py:93-103 | relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest_v2.py:151-160 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dcf2ef744251a2cb212cb7e8b884ce034af0165c810b3cc5d36edd5e8c5b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/compile_kb.py:448-456 | relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/compile_kb.py:661-669 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/compile_kb.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eab9489e7e92cf3704710b91fbd9950d6e4fe78eafd1d81eaf098505b037c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest_v2.py:82-91 | relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest_v2.py:108-116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest_v2.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"00da20889ae7040ad2cf22b7941fb3d2241eb7e61dcdc3cde93c003440c133e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py:379-385 | relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest_v2.py:319-325 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relative-skills/claude-skill-registry/skills/productivity/confluence-to-agent-knowledge-base-miningstore-confluence-to-agent--35/references/confluence_kb/ingest.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b78dd3743e94d8a07a5e6cd0f76267f839ec4981df7e9a0149f3f457ff4fe4"}},{"ruleId":"D19","level":"note","message":{"text":"The README enlists all submodules but does not state how to invoke the main pipeline (e.g., which Skill to call first) or where to find the skill-call reference.: Add a one-line invocation guideline for the 4-stage model and link to the Skills table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab20d745d21ed1b0d811de5907492aa414f0917e752a41ad24922c5f1191a42"}},{"ruleId":"D19","level":"note","message":{"text":"The Validation Method is excellent but lacks an overview of how each Skill contributes to the four stages, so readers cannot map the test cases to the pipeline.: Add a brief Stage-by-Stage description for each Skill in the Validation Method flow."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9679a0dc850f40a814ae8976eb586edf261325a9408a13fb4a4a9f0b04a835"}},{"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":"a511bb0b1a5f1710607ec47a324145c978debd82a7f668f0596422727eece6a9"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"770bca8fbeb2b4cfcf8ccff1a2a2dd28e3462f09a3ed0aad785cd7f6a1d0dfc8"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"CWE-327","shortDescription":{"text":"CWE-327"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":2,"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."]}]}