{"$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":"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"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"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"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":"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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","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"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"QueryParser.parse_value (cyclomatic 34): QueryParser.parse_value has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema_admin/query_parser.ex"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bf1a41b9d4c53c26cd65ce2baff66ff5708c3e616efa309b915496b2370b23"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Recordings: TooManyMethods \u2014 88 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/recordings.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ea34d22b232d2282b6b0ebc6ac4414c4032e9d3bcea15ec9525d14d8f4ef33"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Accounts: TooManyMethods \u2014 77 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/accounts.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40825c5207bd14e495fa89e52238a892026c0b88a0a11c8d4eb72e2cbfdbf58c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: asciinema/recordings.ex: FileTooLong \u2014 1009 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/recordings.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b5d5e10142ac275f7f8fc4869f69d3cfde50aa061ccf5757d4ff557f200fe5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Streaming: TooManyMethods \u2014 46 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/streaming.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b3ad2db3f1027d5b220baa5e2c25d4eec0b5923f0272b41610acf837c2d141"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecordingSVG: TooManyMethods \u2014 44 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema_web/controllers/recording_svg.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abf7cd092b6f6ea6061f5425ecb28962d46f32a9f52473b35b1847614f0ad97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: asciinema/accounts.ex: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/accounts.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eac86b0068369daa7ca6cb72f110fb17fb2d0d32e7cec5e7f383b1c5921b6b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CoreComponents: TooManyMethods \u2014 37 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema_admin/components/core_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09c8353dc0a332702ff32654ea49442535ef1106b3ef68314d96e6c22528102"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QueryParser: TooManyMethods \u2014 37 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema_admin/query_parser.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3a667ffddfa1022f1a6fe7fd336e74d7fce5a9c2a0a6b093acfa9bdcd23b43"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileCache: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/file_cache.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f856112384aaae74b226cb97d01f7b47d502e36877a6b1ad3968799f9e5b0b2a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StreamServer: TooManyMethods \u2014 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/streaming/stream_server.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d99a036abe86bbb959a155e4d446c3c2a5b3359bcc7eb55f3053fcd50f5bc7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecordingController: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema_web/controllers/recording_controller.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"706fcefdf140fd366d224dc87d04c57d6680cf72065c287a27eb0d358145d6dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: asciinema/streaming.ex: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/streaming.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7955447d6fcdb29baf44def2a31a033f7a7221b792ea4ab6ee636e1559ea8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/asciinema/recordings.ex:445-459 | lib/asciinema/streaming.ex:316-330 \u2014 before extracting anything, compare \u0060lib/asciinema/recordings.ex\u0060 and \u0060lib/asciinema/streaming.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/recordings.ex"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde6eca3e60953e0bb0e0cc997cefe76211decd13eaadaf4cb3ad90f57627fb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/asciinema/asciicast/v2.ex:11-22 | lib/asciinema/asciicast/v3.ex:12-23 \u2014 before extracting anything, compare \u0060lib/asciinema/asciicast/v2.ex\u0060 and \u0060lib/asciinema/asciicast/v3.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/asciicast/v2.ex"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"89374b0c4fe03416f87a9fa6103f1172471b2f8cd187c305e907a7ccd94f274d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/asciinema/asciicast/v2.ex:79-90 | lib/asciinema/asciicast/v3.ex:80-91 \u2014 before extracting anything, compare \u0060lib/asciinema/asciicast/v2.ex\u0060 and \u0060lib/asciinema/asciicast/v3.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/asciicast/v2.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"766194a2748151bc0813a67de5cc6dc36031d21f0469b05f60490349fd64ee08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/asciinema_web/controllers/email_controller.ex:12-23 | lib/asciinema_web/controllers/email_controller.ex:64-75 \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":"lib/asciinema_web/controllers/email_controller.ex"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"295fd0d1a87603a03745d9b43995fd2ea6c589f44a03ac5402326d2f922ff9cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/asciinema_web/controllers/recording_controller.ex:135-145 | lib/asciinema_web/controllers/recording_controller.ex:178-188 \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":"lib/asciinema_web/controllers/recording_controller.ex"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4a3b6d257714ba37d452d5d98db236a2441a1c5f5f083b7b994fd1911fd3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/asciinema/gzip.ex:187-196 | lib/asciinema/zstd.ex:167-176 \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":"lib/asciinema/gzip.ex"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5783f04a5482c6afeaa5dfe7feda0a1994792a74303d382f1b26286a5daae695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/asciinema/accounts.ex:247-255 | lib/asciinema/recordings.ex:543-551 \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":"lib/asciinema/accounts.ex"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d9a6f652eb1d6fdef098b3378ed2fb5fd1b8468b962166dbca9fcc0dc1ad27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/asciinema_admin/controllers/recording_controller.ex:127-135 | lib/asciinema_admin/controllers/stream_controller.ex:98-106 \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":"lib/asciinema_admin/controllers/recording_controller.ex"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ade5fbac494f85421ce8981e989847ba37650ef00648755afffb4ff5ba39ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/asciinema/asciicast/v2.ex:60-67 | lib/asciinema/asciicast/v3.ex:61-68 \u2014 before extracting anything, compare \u0060lib/asciinema/asciicast/v2.ex\u0060 and \u0060lib/asciinema/asciicast/v3.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/asciicast/v2.ex"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f549f41b4f599a93e14fe160b3ce287e5af2ae1a7a3aa5d2542db545eec094eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/asciinema/recordings.ex:159-166 | lib/asciinema/streaming.ex:83-90 \u2014 before extracting anything, compare \u0060lib/asciinema/recordings.ex\u0060 and \u0060lib/asciinema/streaming.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/recordings.ex"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b5464fe2a8b7b6211a7427b35351dbb89698cd4362e75e50691166fe5d6f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/asciinema/recordings.ex:846-853 | lib/asciinema/streaming.ex:483-491 \u2014 before extracting anything, compare \u0060lib/asciinema/recordings.ex\u0060 and \u0060lib/asciinema/streaming.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/recordings.ex"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"b538b5062b7bd11f991272c73c86c45dc4ce2dac18f9308a3046717f7926a0f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/asciinema/asciicast/v2.ex:72-78 | lib/asciinema/asciicast/v3.ex:73-79 \u2014 before extracting anything, compare \u0060lib/asciinema/asciicast/v2.ex\u0060 and \u0060lib/asciinema/asciicast/v3.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/asciicast/v2.ex"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fad9a5f49bd1c6c930b57865c9e733ca785044742f9196175813188ab7f722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/asciinema_admin/query_ui.ex:212-218 | lib/asciinema_admin/query_ui.ex:233-239 \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":"lib/asciinema_admin/query_ui.ex"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"03039ac9a0b2a595ea879ab87470c60361ba186d284d76633f29919cb1cc334c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/asciinema/asciicast/v2.ex:33-37 | lib/asciinema/asciicast/v3.ex:33-37 \u2014 before extracting anything, compare \u0060lib/asciinema/asciicast/v2.ex\u0060 and \u0060lib/asciinema/asciicast/v3.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/asciicast/v2.ex"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac64aa89edde17a2e1a1b6748f27f9d1b200ca86795cd779576d9a6bed6bbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/asciinema/recordings/snapshot.ex:202-206 | lib/asciinema/recordings/snapshot.ex:207-211 \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":"lib/asciinema/recordings/snapshot.ex"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab5c4054f9a379dde11167097f1586a2a85d9a265ed90dc639fab34d7209599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/asciinema/streaming/parser/asciicast_v2.ex:63-67 | lib/asciinema/streaming/parser/asciicast_v3.ex:64-68 \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":"lib/asciinema/streaming/parser/asciicast_v2.ex"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e45f6a75d4c44f49ae8a656fdfd2e09fa22928a7f1e7a9587740696885a0691"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ede62d674e2a2a8dae94f22285fd6b8567aa3cccbc2d28d8d3f663206b45f02"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/asciinema/recordings.ex: lib/asciinema/recordings.ex changed 18 times in last 90 days, max complexity 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/recordings.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40444adfe02dbed58b1f603f07809f0d6f83d633bdbce448df953ad81b9127f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/asciinema/streaming.ex: lib/asciinema/streaming.ex changed 9 times in last 90 days, max complexity 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/streaming.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d8135a07dbff59566b2345bd5eb2e4fdcfebbf4458cc3071a26eb0658e3f83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/asciinema_admin/query_parser.ex: lib/asciinema_admin/query_parser.ex changed 5 times in last 90 days, max complexity 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema_admin/query_parser.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"292c77517f904a3cbefba5fbdef6a1c5d09288955576480b28a8c3bc55bf80a7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 54 significant file(s) lose their only recent owner: lib/asciinema/recordings.ex, lib/asciinema/accounts.ex, lib/asciinema/streaming.ex, lib/asciinema_web/controllers/recording_controller.ex, lib/asciinema_admin/query_parser.ex, native/svg_raster/src/lib.rs, lib/asciinema_admin/components/core_components.ex, lib/asciinema_web/controllers/recording_svg.ex (\u002B46 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"00f07f3598450985f74ca430c44df8430326e4d140ce55e63df9bc68365543c2"}},{"ruleId":"D19","level":"note","message":{"text":"The README mentions a public asciinema.org instance and self-hosting but does not state how to obtain or configure an account with your own server, which is critical for readers who want to run their own instance.: Add a short self-hosting walkthrough (or link to the self-hosting doc) that explains how to sign up for asciinema.org and set up your own server."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0f62a7e4297d30419627cd4637eb618238944a3cd6190e8a78b8f692d25769"}},{"ruleId":"D29","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":"7503c253a48243fcdac77fbd1b57b44db087430851ac9e96ebf022505c52d193"},"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"}}]},{"ruleId":"D29","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":"2f1bee6d3985038ee505333f7a219abe22978077df744c423082fb595e7bc0ec"},"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"}}]},{"ruleId":"D29","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":"44bebdc8aa6b73e4aa69f9c49bafb19a0bfcc321526e28232835591b15457f2f"},"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"}}]},{"ruleId":"D29","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":"44fd4aceef9a2c6b311a23180263f5c4b067d26ede3cf6873a83b60008a6c5a6"},"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"}}]},{"ruleId":"D29","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":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"5fece129670a0fa5208e3c2196420425d731923fbb485addf4f03508b706c868"},"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"}}]},{"ruleId":"D29","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":"a8b744797e7311e0706c205d8828838811d9dacc81737623c6f4aefe7385a86a"},"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"}}]},{"ruleId":"D29","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":"ed0d8c4da10f5148d3c49e030de9030f74360ca2ec872ed1cfe7fad4cac545a7"},"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"}}]},{"ruleId":"D29","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":"10af382bbadbb7345dc46e028cfcbbbe9df50101b9277233e8257c1d12bf30dd"},"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"}}]},{"ruleId":"D29","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":"232526e51ccc0bf9ff8267d90534161f3528ad85581672f0d670037239eac468"},"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"}}]},{"ruleId":"D29","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":"b2cb6774344a669c35f0c24800a2d5d3e0e7b07d3de51d97557baccba582463b"},"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"}}]},{"ruleId":"D29","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":"e882a9e8dd9b05c215a6002502e866bb8fd7f06eb0d60af865115eeb1a70b84c"},"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"}}]},{"ruleId":"D29","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":"bf316118ebf549747fa8fc9ccce4271e3ef9ab61a5c10bd82c160ff28c127899"},"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"}}]},{"ruleId":"D29","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":"86f2cfb2cc32d82d657295c4fcd1e6a40c50b9d9e79bc6e760ea1dd0687097c2"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"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":"81b7b122dd29fa300cc907bb6c67190012ccd02c5ea06ad02dcacb4f073ceaf0"}},{"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":"9ff1ee9dd5615e2d512c1b5a7eb9a731208830cdc6ec1c07d8913d2a5c081e3c"}},{"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":"b67787f58bbdcde79a43cc08af597219f8bc8ccd5a82b8588a8f7af6b62ec402"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: vt.ex \u2194 lib.rs: \u0060lib/asciinema/vt.ex\u0060 (context asciinema) and \u0060native/vt/src/lib.rs\u0060 (context native) sit in DIFFERENT parts of the tree yet change together 80% of the time (12 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/vt.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10150f6cc29afc588faaf41a778d8c6b89c6b8524837af7b11e887da907b190"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: raw.ex \u2194 stream_producer_socket.ex: \u0060lib/asciinema/streaming/parser/raw.ex\u0060 (context asciinema) and \u0060lib/asciinema_web/stream_producer_socket.ex\u0060 (context asciinema_web) sit in DIFFERENT parts of the tree yet change together 69% of the time (9 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/streaming/parser/raw.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d780639a2264fbd3d0cd96d27444ae1a41344afc363a14c872c946474c2727f8"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: media.ex \u2194 recording_html.ex: \u0060lib/asciinema/media.ex\u0060 (context asciinema) and \u0060lib/asciinema_web/controllers/recording_html.ex\u0060 (context asciinema_web) sit in DIFFERENT parts of the tree yet change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/media.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b8dab111c6dc41bb17b798c80f9642495107644e877df4729dbf04cab18170"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: accounts.ex \u2194 user_controller.ex: \u0060lib/asciinema/accounts.ex\u0060 (context asciinema) and \u0060lib/asciinema_admin/controllers/user_controller.ex\u0060 (context asciinema_admin) sit in DIFFERENT parts of the tree yet change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/accounts.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bf73b9d898ff5a5f1ad2d8f69182918796879fb444f07fceabdb3d6d87267f"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: asciicast_v2.ex \u2194 stream_producer_socket.ex: \u0060lib/asciinema/streaming/parser/asciicast_v2.ex\u0060 (context asciinema) and \u0060lib/asciinema_web/stream_producer_socket.ex\u0060 (context asciinema_web) sit in DIFFERENT parts of the tree yet change together 60% of the time (12 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/streaming/parser/asciicast_v2.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a192d78dfe4d8c3d324c5d5e52a228d419bd70950bbf22f07713eb4f644ea9"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: alis_v1.ex \u2194 stream_consumer_socket.ex: \u0060lib/asciinema/streaming/parser/alis_v1.ex\u0060 (context asciinema) and \u0060lib/asciinema_web/stream_consumer_socket.ex\u0060 (context asciinema_web) sit in DIFFERENT parts of the tree yet change together 59% of the time (16 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/streaming/parser/alis_v1.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af28573d45922a61f857ced8448faed1f32b3e41cf861dbe17aaa47473b0e24f"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: alis_v1.ex \u2194 stream_producer_socket.ex: \u0060lib/asciinema/streaming/parser/alis_v1.ex\u0060 (context asciinema) and \u0060lib/asciinema_web/stream_producer_socket.ex\u0060 (context asciinema_web) sit in DIFFERENT parts of the tree yet change together 56% of the time (15 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/streaming/parser/alis_v1.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b65bddf8047642381e5fc5789d6d48ec4fcdffca9fbd0a8107d896e7a524d2"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: recordings.ex \u2194 seeds.exs: \u0060lib/asciinema/recordings.ex\u0060 (context asciinema) and \u0060priv/repo/seeds.exs\u0060 (context priv) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/recordings.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b98949abea429bbc148810b211f611a11f0da276f5eb1d86e247a0282ac6b8"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: media.ex \u2194 stream_html.ex: \u0060lib/asciinema/media.ex\u0060 (context asciinema) and \u0060lib/asciinema_web/controllers/stream_html.ex\u0060 (context asciinema_web) sit in DIFFERENT parts of the tree yet change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/media.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd609d70cbcb88af9d1981ad0be2787991bcd4ffba8fe3af2904c7816accc8f5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: streaming.ex \u2194 stream_json.ex: \u0060lib/asciinema/streaming.ex\u0060 (context asciinema) and \u0060lib/asciinema_web/controllers/api/stream_json.ex\u0060 (context asciinema_web) sit in DIFFERENT parts of the tree yet change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/asciinema/streaming.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45a12a45b507040dc4d1b869a82cffe413e00b078c89bced083135c8a354f36"}},{"ruleId":"D36","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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D38","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":"a24571b1a84bc606940cf2e89ba836d6032008c8a0a5284d2faf5500369a148b"}},{"ruleId":"D38","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":"76997f6f800861a02d6e015add78631ef804feaab4e28eac349fda9ba179fca8"}},{"ruleId":"D38","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":"3ca3a6bb3145bcf27fc2353dbf967e495a6f4b6fdb4ee13d50aa64d28278079e"}},{"ruleId":"D38","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":"57939e6c2a896e506b5494220c2e6e138c4761ec6a7fe1550f76e72ca62793c8"}},{"ruleId":"D38","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":"82bae2557883fc1cf9ac835243a64dae975702cc7cba792ff6c393405525e501"}},{"ruleId":"D38","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":"5388d352b02c67e570302efad706957601d97532ac6924127c39d72a7cfdfaaf"}},{"ruleId":"D38","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":"7dc948975f9e91b5d6c6d292d49e79016e876903bc32ae2ee02b7b397dc75c12"}},{"ruleId":"D38","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":"eeedf9c1881015e627e2e9cc63bcdd3ffcd97eeb80a0a78fa54c994d61dfaffa"}}],"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-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":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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":"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":33,"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."]}]}