{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:00.769123Z","repo":{"ref":{"host":"github.com","owner":"JoshDFN","name":"cleardeck"},"default_branch":"main","clone_url":"https://github.com/JoshDFN/cleardeck.git","html_url":"https://github.com/JoshDFN/cleardeck","description":null,"stars":6,"forks":1,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":11580,"primary_language":"Rust","license_spdx":null,"created_at":"2026-01-28T16:05:21Z","pushed_at":"2026-09-29T21:58:55Z","security_policy_url":null,"distribution":{"owner_created_at":"2019-04-10T22:21:27Z","owner_type":"User","release_assets":[]}},"commit_sha":"12de26752a820f4061b2724001e980eec57039b0","profile":{"lines_by_language":{"Rust":80847,"JavaScript":51286,"Svelte":22733,"Shell":6503,"TypeScript":3821,"Python":728},"files_by_category":{"source":338,"test":140,"config":136,"docs":82,"other":31,"generated":12,"binary":4,"oversized":1},"source_lines":110039,"test_lines":55879},"pillars":{"ai_provenance":{"score":0.4,"confidence":0.95,"coverage":1.0,"label":"explicit","breakdown":{"attributed_share":0.0041,"suspected_share":0.4432,"estimated_share":0.0041,"ai_artifacts":1.0,"flagged_work_units":20.0,"flagged_releases":null,"style_index":0.349},"summary":"Explicit AI attribution on 0% of first-party code added; an estimated 0% including velocity signals."},"quality":{"score":70.4,"confidence":0.9,"coverage":1.0,"label":"adequate","breakdown":{"complexity":40.3,"duplication":64.3,"lint":96.8,"testing":90.0,"docs":40.0,"type_safety":92.6,"process":null},"summary":"Code quality is adequate: test-to-source ratio 0.51, CI runs tests; 30% of function code in complex or long functions; 7% duplicated lines. Weakest area: docs."},"security":{"score":60.6,"confidence":0.85,"coverage":1.0,"label":"weak","breakdown":{"secrets":100.0,"sast":97.9,"dependencies":8.9,"ci_actions":54.7,"posture":0.0,"scorecard":null},"summary":"Security posture is weak: 75 known vulnerabilities in 22 dependencies; 1 high-severity SAST findings; 1 high-severity workflow issues. Weakest area: posture."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":"no published OpenSSF Scorecard result for this repo"},{"analyzer":"sec-registry","pillar":"security","status":"ok","tool_version":null,"metrics":{"declared":36.0,"checked":36.0,"missing":0.0,"recent":0.0,"lookup_errors":0.0},"findings":[],"evidence":[],"data":{"phantom":false},"error":null},{"analyzer":"ai-attribution","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"commits":126.0,"attributed_commits":4.0,"attributed_commit_share":0.031746031746031744,"effective_loc":196210.0,"attributed_loc":806.0,"attributed_loc_share":0.004107843636919627,"tools_detected":1.0},"findings":[],"evidence":[{"kind":"attribution-summary","description":"Claude Code: 4 attributed commits, 806 lines added","ref":null,"url":null,"weight":1.0},{"kind":"attributed-commit","description":"Claude Code: trailer 'Co-Authored-By: Claude'","ref":"49a982d142236b96f55ed5558f1149ccd451ee40","url":"https://github.com/JoshDFN/cleardeck/commit/49a982d142236b96f55ed5558f1149ccd451ee40","weight":0.9},{"kind":"attributed-commit","description":"Claude Code: trailer 'Co-Authored-By: Claude'","ref":"5333721425af6766a58fe471d1a443cb8c3c8a3d","url":"https://github.com/JoshDFN/cleardeck/commit/5333721425af6766a58fe471d1a443cb8c3c8a3d","weight":0.9},{"kind":"attributed-commit","description":"Claude Code: trailer 'Co-Authored-By: Claude'","ref":"dd04b6c27b2fe5669ee82cec20b8cb728b67e7c0","url":"https://github.com/JoshDFN/cleardeck/commit/dd04b6c27b2fe5669ee82cec20b8cb728b67e7c0","weight":0.9},{"kind":"attributed-commit","description":"Claude Code: trailer 'Co-Authored-By: Claude'","ref":"7a5158d3de9970375bf7d53deb169163dd46d366","url":"https://github.com/JoshDFN/cleardeck/commit/7a5158d3de9970375bf7d53deb169163dd46d366","weight":0.9}],"data":{"attributed_loc_by_commit":{"7a5158d3de9970375bf7d53deb169163dd46d366":0,"dd04b6c27b2fe5669ee82cec20b8cb728b67e7c0":368,"5333721425af6766a58fe471d1a443cb8c3c8a3d":120,"49a982d142236b96f55ed5558f1149ccd451ee40":318},"tools":{"claude-code":{"name":"Claude Code","commits":4,"loc":806,"first_seen":1769620657,"last_seen":1790626863}},"monthly":{"2026-01":{"loc":24375,"attributed_loc":488},"2026-02":{"loc":211,"attributed_loc":0},"2026-08":{"loc":133109,"attributed_loc":0},"2026-09":{"loc":38515,"attributed_loc":318}}},"error":null},{"analyzer":"ai-artifacts","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"artifacts":1.0,"workflow_agents":0.0,"tools_configured":1.0,"earliest_adoption":1771971724.0},"findings":[],"evidence":[{"kind":"ai-artifact","description":"CLAUDE.md (claude-code configuration)","ref":"CLAUDE.md","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/CLAUDE.md","weight":0.5}],"data":{"artifacts":[{"tool":"claude-code","path":"CLAUDE.md","added_at":1771971724}],"workflows":[],"tools":["claude-code"]},"error":null},{"analyzer":"ai-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"work_units":32.0,"flagged_units":20.0,"pre_ai_era_bursts":0.0,"pre_ai_era_measured_loc":0.0,"pre_ai_era_burst_loc":0.0,"measured_loc":94360.0,"flagged_loc":86958.0,"flagged_loc_share":0.9215557439593048,"max_loc_per_hour":5685.761047463176,"median_loc_per_hour":986.1093419754825,"pr_timed_units":0.0,"excluded_import_loc":101850.0},"findings":[],"evidence":[{"kind":"velocity-burst","description":"4,825 lines of first-party code in ~0.8h (5,686 lines/hour, 2 commit session)","ref":"887b2517e6d9bd855715f1d52aa2eac83b8819c1","url":"https://github.com/JoshDFN/cleardeck/commit/887b2517e6d9bd855715f1d52aa2eac83b8819c1","weight":0.6},{"kind":"velocity-burst","description":"7,055 lines of first-party code in ~2.3h (3,135 lines/hour, 3 commit session)","ref":"ff4ec6e921924e6c3bdd5032dc30cdf3210d4176","url":"https://github.com/JoshDFN/cleardeck/commit/ff4ec6e921924e6c3bdd5032dc30cdf3210d4176","weight":0.6},{"kind":"velocity-burst","description":"8,811 lines of first-party code in ~4.0h (2,203 lines/hour, 1 commit session)","ref":"150a46bc8f0962111d70d71a91f34acea427a279","url":"https://github.com/JoshDFN/cleardeck/commit/150a46bc8f0962111d70d71a91f34acea427a279","weight":0.6},{"kind":"velocity-burst","description":"1,826 lines of first-party code in ~0.9h (1,978 lines/hour, 1 commit session)","ref":"148e9e919f5decc533270e62e782c5bed48a1f95","url":"https://github.com/JoshDFN/cleardeck/commit/148e9e919f5decc533270e62e782c5bed48a1f95","weight":0.5932851985559567},{"kind":"velocity-burst","description":"6,437 lines of first-party code in ~3.3h (1,960 lines/hour, 5 commit session)","ref":"f36630bfb3831d02b57db79f0e6ee51ed8b4cdc9","url":"https://github.com/JoshDFN/cleardeck/commit/f36630bfb3831d02b57db79f0e6ee51ed8b4cdc9","weight":0.5880527829470479},{"kind":"velocity-burst","description":"1,464 lines of first-party code in ~0.8h (1,888 lines/hour, 1 commit session)","ref":"383c1635fd64bec8140025c70dcd82083bd8955f","url":"https://github.com/JoshDFN/cleardeck/commit/383c1635fd64bec8140025c70dcd82083bd8955f","weight":0.5663037249283667},{"kind":"velocity-burst","description":"1,833 lines of first-party code in ~1.0h (1,790 lines/hour, 1 commit session)","ref":"e574f89f45a198b2a83003ddc83e7b6396fb5db5","url":"https://github.com/JoshDFN/cleardeck/commit/e574f89f45a198b2a83003ddc83e7b6396fb5db5","weight":0.5370699945740641},{"kind":"velocity-burst","description":"6,928 lines of first-party code in ~4.0h (1,732 lines/hour, 1 commit session)","ref":"fe72d46b8438e91901d6559d231258b90b8a2e39","url":"https://github.com/JoshDFN/cleardeck/commit/fe72d46b8438e91901d6559d231258b90b8a2e39","weight":0.5196},{"kind":"velocity-burst","description":"6,702 lines of first-party code in ~4.0h (1,676 lines/hour, 1 commit session)","ref":"fcfa4e82f1cfb20874aa604f2cb2c6ef92ffaea3","url":"https://github.com/JoshDFN/cleardeck/commit/fcfa4e82f1cfb20874aa604f2cb2c6ef92ffaea3","weight":0.5026499999999999},{"kind":"velocity-burst","description":"6,642 lines of first-party code in ~4.0h (1,660 lines/hour, 1 commit session)","ref":"ceacc373376e46b15c84956c2bc8afae5a388fb2","url":"https://github.com/JoshDFN/cleardeck/commit/ceacc373376e46b15c84956c2bc8afae5a388fb2","weight":0.49815},{"kind":"velocity-burst","description":"6,560 lines of first-party code in ~4.0h (1,640 lines/hour, 1 commit session)","ref":"4e08c6d8328ecf3b998aa271304d075296877252","url":"https://github.com/JoshDFN/cleardeck/commit/4e08c6d8328ecf3b998aa271304d075296877252","weight":0.49199999999999994},{"kind":"velocity-burst","description":"4,400 lines of first-party code in ~2.9h (1,511 lines/hour, 7 commit session)","ref":"0515391c9deb55e4125c777ea9ce406a968a67de","url":"https://github.com/JoshDFN/cleardeck/commit/0515391c9deb55e4125c777ea9ce406a968a67de","weight":0.45321888412017175},{"kind":"velocity-burst","description":"5,976 lines of first-party code in ~4.0h (1,494 lines/hour, 1 commit session)","ref":"4ba48834902e2dd8bfd50c9afaafefb21bdeff7e","url":"https://github.com/JoshDFN/cleardeck/commit/4ba48834902e2dd8bfd50c9afaafefb21bdeff7e","weight":0.4482},{"kind":"velocity-burst","description":"4,551 lines of first-party code in ~3.4h (1,350 lines/hour, 1 commit session)","ref":"4af6dc60279b56d83d90cfae2e01a55d925258e9","url":"https://github.com/JoshDFN/cleardeck/commit/4af6dc60279b56d83d90cfae2e01a55d925258e9","weight":0.405},{"kind":"velocity-burst","description":"4,400 lines of first-party code in ~4.0h (1,100 lines/hour, 1 commit session)","ref":"134550ea4ebdb324539bcea4b704d13375ebc60f","url":"https://github.com/JoshDFN/cleardeck/commit/134550ea4ebdb324539bcea4b704d13375ebc60f","weight":0.33}],"data":{"flagged_loc_by_commit":{"ceacc373376e46b15c84956c2bc8afae5a388fb2":6642,"e574f89f45a198b2a83003ddc83e7b6396fb5db5":1833,"fe72d46b8438e91901d6559d231258b90b8a2e39":6928,"fcfa4e82f1cfb20874aa604f2cb2c6ef92ffaea3":6702,"4af6dc60279b56d83d90cfae2e01a55d925258e9":4551,"150a46bc8f0962111d70d71a91f34acea427a279":8811,"4ba48834902e2dd8bfd50c9afaafefb21bdeff7e":5976,"134550ea4ebdb324539bcea4b704d13375ebc60f":4400,"4e08c6d8328ecf3b998aa271304d075296877252":6560,"8dea23ec44935cc3d1806a82ce0795a3139f62c7":2297,"3857a439c089abacff92a241602321e11261cc44":97,"c39184375ec661d8b28599431791330acaea05ce":46,"bf5d9e1313bc7a51d305eb7ff44b4cecc0f199e6":30,"259974323985d12794c4da06152ab9cf31de7867":18,"d195622f1023fa13be8df613f91384299298874d":6,"26899dc72cd3a80a759b72767a9caf41078b8e72":6,"1afa30ecec0069c374541ca7f67c97be6eb28838":1141,"d2a45dc71f295f4c65694a829444b7626d80553d":16,"91139068c0b05c1068758cec8863d84ee4ae6f3d":518,"35553e808192b6b9eee9a47a282be68af469a4e3":2,"5e25b4c8bb8018a4b7a3473cddb2982149155005":2322,"d039d9dede253dce793b88f1f00380750e43387e":10,"0515391c9deb55e4125c777ea9ce406a968a67de":391,"aabf9107fd49ce039c1f97a71bd5fb4f70d9853a":1226,"2f88caa9dc617dfec8e010a170073f5a015ea530":622,"383c1635fd64bec8140025c70dcd82083bd8955f":1464,"b5da9afd9e5f57759fc43c51fa88fc269a91ef49":897,"de2181679113df0f81f0edf275212b21eaf50780":721,"3e5ce631a5640e22ac77f202e6c5c665e0888f9b":3342,"a6ddd7ae0c3769d2a5c2844fb1f918723cff0a15":821,"f36630bfb3831d02b57db79f0e6ee51ed8b4cdc9":656,"24421f6c57ad9fd9425371f5612a6b65f2cd0b50":3518,"7123fc468b32dfb49f267c6680338e4f1b846637":2005,"ff4ec6e921924e6c3bdd5032dc30cdf3210d4176":1532,"94c2c620ab6f03c0d5633a43baf1fffc507bbefe":4824,"887b2517e6d9bd855715f1d52aa2eac83b8819c1":1,"148e9e919f5decc533270e62e782c5bed48a1f95":1826,"f90cfeb256819c6914c316a61508106508ff1d16":1105,"5be78af4477bb3406bc5a163cb9136f8b3c5ac67":246,"cfefe959a13860e196d75ad7f500346a8de3a6ee":137,"9d9c3caf7279b65f4d41adb7728c0a9abc6ccac8":149,"198d3cae26f96ccda3e3303222e2c5ffb0c9385a":205,"76c0cb4dc07d4740caef42379e4013bb9ff443d4":218,"e45a227c0403aed654c9f256347f7eab5c4e7deb":7,"855372ecea46c10c207f05a805c34626f3d0f6d4":80,"6a763d0cafaef8e6fa8070a34abd7264e71afff1":51,"001ee0f068be64fa5a216585b61f6bb0ed677cc6":67,"9afcc31fbc3171dda006116e59633c4901384b67":19,"c40d0d9fa8311aacbeec3cc663e0defab39643d6":125,"84074b9228a233d35f398df691b1546a15bc4f6f":39,"97dce6b51d588745ca6ac2413a2962f1f2966c73":401,"7fa798612a8bf5fdd4eddc85be66e9eee374468d":1,"0bb18d4927bd758b9db2a97706d0ee6a142dbbc2":22,"e308964ddaebb18539309f9c3e0883b7b2c47c49":742,"d114a0af9081f6e99e2627ca8bd20faba65731e3":586},"excluded_import_commits":["3253b670567593639077d3551a563a9c62c363cc","7bc69dbb5ea309636ee4e9f517c03cecb7a93ff7","801aa798d6441e0ffc9f68fcba50423412ae5c5a","a65868e1b88edd30f042c8b531c4e2e9b0183ed8","e82a53da7c937ac0856a0e4ba89e2366569b48f0","ee31682f3416756b159b97822db195fddc1b71f8","f781c7ada77dbf729a2cf32f4966c331a640f646"]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":93167.0,"index":0.349,"count:narrated_steps":13.0,"per_kloc:narrated_steps":0.14,"files:narrated_steps":3.0,"count:placeholder":0.0,"per_kloc:placeholder":0.0,"files:placeholder":0.0,"count:emoji_in_code":39.0,"per_kloc:emoji_in_code":0.419,"files:emoji_in_code":8.0,"count:assistant_voice":0.0,"per_kloc:assistant_voice":0.0,"files:assistant_voice":0.0},"findings":[],"evidence":[{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # Step 0: Pre-flight checks","ref":"scripts/deploy-mainnet.sh:56","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/scripts/deploy-mainnet.sh#L56","weight":0.0},{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # Step 1: Build frontend","ref":"scripts/deploy-mainnet.sh:89","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/scripts/deploy-mainnet.sh#L89","weight":0.0},{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # Step 2: Deploy backend canisters (UPGRADE ONLY)","ref":"scripts/deploy-mainnet.sh:123","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/scripts/deploy-mainnet.sh#L123","weight":0.0},{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # Step 3: Configure canisters (FIRST DEPLOY ONLY)","ref":"scripts/deploy-mainnet.sh:143","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/scripts/deploy-mainnet.sh#L143","weight":0.0},{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # Step 4: Deploy frontend asset canister","ref":"scripts/deploy-mainnet.sh:175","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/scripts/deploy-mainnet.sh#L175","weight":0.0},{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # Step 5: Verification","ref":"scripts/deploy-mainnet.sh:183","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/scripts/deploy-mainnet.sh#L183","weight":0.0},{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # Step 1. Read what is deployed: id, module hash, and the labels it claims.","ref":"scripts/verify-build.sh:313","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/scripts/verify-build.sh#L313","weight":0.0},{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # Step 2. Rebuild once per distinct label, with THAT label baked in.","ref":"scripts/verify-build.sh:344","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/scripts/verify-build.sh#L344","weight":0.0}],"data":{},"error":null},{"analyzer":"sec-secrets","pillar":"security","status":"ok","tool_version":"gitleaks 8.30.1","metrics":{"secrets_current":0.0,"secrets_history":0.0,"secrets_nonprod":0.0,"secrets_low_confidence":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-sast","pillar":"security","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":21.0,"findings_high":1.0,"findings_medium":18.0,"findings_low":2.0,"weighted_findings":6.8,"scanned_lines":110039.0,"parse_errors":5.0},"findings":[{"rule_id":"opengrep/dockerfile.security.missing-user","severity":"high","message":"By not specifying a USER, a program in the container may run as 'root'. This is a security hazard. If an attacker can control a process running as root, they may have control over the container. Ensure that the last USER in a Dockerfile is a USER other than 'root'. [confidence medium]","path":"Dockerfile","line":153,"fingerprint":"dockerfile.security.missing-user:Dockerfile:153"},{"rule_id":"opengrep/javascript.lang.security.audit.unsafe-dynamic-method","severity":"medium","message":"Using non-static data to retrieve and run functions from the object is dangerous. If the data is user-controlled, it may allow executing arbitrary code. [confidence low]","path":"src/cleardeck_frontend/src/lib/canisters.js","line":208,"fingerprint":"javascript.lang.security.audit.unsafe-dynamic-method:src/cleardeck_frontend/src/lib/canisters.js:208"},{"rule_id":"opengrep/javascript.lang.security.audit.unsafe-dynamic-method","severity":"medium","message":"Using non-static data to retrieve and run functions from the object is dangerous. If the data is user-controlled, it may allow executing arbitrary code. [confidence low]","path":"src/cleardeck_frontend/src/lib/canisters.js","line":260,"fingerprint":"javascript.lang.security.audit.unsafe-dynamic-method:src/cleardeck_frontend/src/lib/canisters.js:260"},{"rule_id":"opengrep/javascript.lang.security.audit.unsafe-dynamic-method","severity":"medium","message":"Using non-static data to retrieve and run functions from the object is dangerous. If the data is user-controlled, it may allow executing arbitrary code. [confidence low]","path":"src/cleardeck_frontend/src/lib/cycleRunway.js","line":276,"fingerprint":"javascript.lang.security.audit.unsafe-dynamic-method:src/cleardeck_frontend/src/lib/cycleRunway.js:276"},{"rule_id":"opengrep/javascript.lang.security.audit.unsafe-dynamic-method","severity":"medium","message":"Using non-static data to retrieve and run functions from the object is dangerous. If the data is user-controlled, it may allow executing arbitrary code. [confidence low]","path":"src/cleardeck_frontend/src/lib/solvency.js","line":471,"fingerprint":"javascript.lang.security.audit.unsafe-dynamic-method:src/cleardeck_frontend/src/lib/solvency.js:471"},{"rule_id":"opengrep/javascript.lang.security.audit.unsafe-dynamic-method","severity":"medium","message":"Using non-static data to retrieve and run functions from the object is dangerous. If the data is user-controlled, it may allow executing arbitrary code. [confidence low]","path":"src/cleardeck_frontend/src/lib/solvency.js","line":499,"fingerprint":"javascript.lang.security.audit.unsafe-dynamic-method:src/cleardeck_frontend/src/lib/solvency.js:499"},{"rule_id":"opengrep/javascript.lang.security.html-in-template-string","severity":"medium","message":"This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low]","path":"src/cleardeck_frontend/src/lib/table-visuals.js","line":58,"fingerprint":"javascript.lang.security.html-in-template-string:src/cleardeck_frontend/src/lib/table-visuals.js:58"},{"rule_id":"opengrep/javascript.lang.security.html-in-template-string","severity":"medium","message":"This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low]","path":"src/cleardeck_frontend/src/lib/table-visuals.js","line":59,"fingerprint":"javascript.lang.security.html-in-template-string:src/cleardeck_frontend/src/lib/table-visuals.js:59"},{"rule_id":"opengrep/javascript.lang.security.html-in-template-string","severity":"medium","message":"This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low]","path":"src/cleardeck_frontend/src/lib/table-visuals.js","line":62,"fingerprint":"javascript.lang.security.html-in-template-string:src/cleardeck_frontend/src/lib/table-visuals.js:62"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `truth` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlle [confidence low]","path":"tools/shots/lib/chain-agreement.mjs","line":468,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:tools/shots/lib/chain-agreement.mjs:468"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `cfg` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled  [confidence low]","path":"tools/shots/lib/occlusion-scan.mjs","line":35,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:tools/shots/lib/occlusion-scan.mjs:35"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `cfg` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled  [confidence low]","path":"tools/shots/lib/occlusion-scan.mjs","line":36,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:tools/shots/lib/occlusion-scan.mjs:36"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `page` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled [confidence low]","path":"tools/shots/lib/token-census.mjs","line":660,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:tools/shots/lib/token-census.mjs:660"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `page` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled [confidence low]","path":"tools/shots/lib/token-census.mjs","line":661,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:tools/shots/lib/token-census.mjs:661"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `ctx` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled  [confidence low]","path":"tools/shots/scenarios/handreplay.mjs","line":590,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:tools/shots/scenarios/handreplay.mjs:590"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `ctx` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled  [confidence low]","path":"tools/shots/scenarios/handreplay.mjs","line":611,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:tools/shots/scenarios/handreplay.mjs:611"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `r` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled in [confidence low]","path":"tools/shots/test-census.mjs","line":160,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:tools/shots/test-census.mjs:160"},{"rule_id":"opengrep/javascript.lang.security.html-in-template-string","severity":"medium","message":"This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low]","path":"tools/shots/test-dock-overflow.mjs","line":166,"fingerprint":"javascript.lang.security.html-in-template-string:tools/shots/test-dock-overflow.mjs:166"},{"rule_id":"opengrep/javascript.lang.security.html-in-template-string","severity":"medium","message":"This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low]","path":"tools/shots/test-occlusion.mjs","line":39,"fingerprint":"javascript.lang.security.html-in-template-string:tools/shots/test-occlusion.mjs:39"},{"rule_id":"opengrep/rust.lang.security.args","severity":"low","message":"args should not be used for security operations. From the docs: \"The first element is traditionally the path of the executable, but it can be set to arbitrary text, and might not even exist. This means this property should not be relied upon for security purposes.\" [confidence high]","path":"tools/differential/src/main.rs","line":51,"fingerprint":"rust.lang.security.args:tools/differential/src/main.rs:51"},{"rule_id":"opengrep/rust.lang.security.args","severity":"low","message":"args should not be used for security operations. From the docs: \"The first element is traditionally the path of the executable, but it can be set to arbitrary text, and might not even exist. This means this property should not be relied upon for security purposes.\" [confidence high]","path":"tools/gen-declarations/src/main.rs","line":34,"fingerprint":"rust.lang.security.args:tools/gen-declarations/src/main.rs:34"}],"evidence":[],"data":{"rulesets":["javascript","rust","bash","typescript","python","dockerfile"]},"error":null},{"analyzer":"sec-deps","pillar":"security","status":"ok","tool_version":"osv-scanner version: 2.7.1","metrics":{"vulnerable_packages":22.0,"vulnerabilities":75.0,"vulns_critical":3.0,"vulns_high":23.0,"vulns_medium":39.0,"vulns_low":7.0,"vulns_unknown":3.0,"penalty":145.0},"findings":[{"rule_id":"osv/GHSA-wf6x-7x77-mvgw","severity":"critical","message":"immutable@5.1.4 (npm) is affected by GHSA-wf6x-7x77-mvgw","path":"package-lock.json","line":null,"fingerprint":"immutable@5.1.4 (npm):GHSA-wf6x-7x77-mvgw"},{"rule_id":"osv/GHSA-5gmw-xhrv-c9v3","severity":"critical","message":"tinypool@1.1.1 (npm) is affected by GHSA-5gmw-xhrv-c9v3","path":"package-lock.json","line":null,"fingerprint":"tinypool@1.1.1 (npm):GHSA-5gmw-xhrv-c9v3"},{"rule_id":"osv/GHSA-85c8-ppgw-ccpr","severity":"critical","message":"tinypool@1.1.1 (npm) is affected by GHSA-85c8-ppgw-ccpr","path":"package-lock.json","line":null,"fingerprint":"tinypool@1.1.1 (npm):GHSA-85c8-ppgw-ccpr"},{"rule_id":"osv/GHSA-2crg-3p73-43xp","severity":"high","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-2crg-3p73-43xp","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-2crg-3p73-43xp"},{"rule_id":"osv/GHSA-j2f3-wq62-6q46","severity":"high","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-j2f3-wq62-6q46","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-j2f3-wq62-6q46"},{"rule_id":"osv/GHSA-j62c-4x62-9r35","severity":"high","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-j62c-4x62-9r35","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-j62c-4x62-9r35"},{"rule_id":"osv/GHSA-g2pg-6438-jwpf","severity":"high","message":"devalue@5.6.1 (npm) is affected by GHSA-g2pg-6438-jwpf","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-g2pg-6438-jwpf"},{"rule_id":"osv/GHSA-j22f-vq7h-c4qm","severity":"high","message":"devalue@5.6.1 (npm) is affected by GHSA-j22f-vq7h-c4qm","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-j22f-vq7h-c4qm"},{"rule_id":"osv/GHSA-mcm9-63f2-9j32","severity":"high","message":"devalue@5.6.1 (npm) is affected by GHSA-mcm9-63f2-9j32","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-mcm9-63f2-9j32"},{"rule_id":"osv/GHSA-r9w8-h9r3-54w4","severity":"high","message":"devalue@5.6.1 (npm) is affected by GHSA-r9w8-h9r3-54w4","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-r9w8-h9r3-54w4"},{"rule_id":"osv/GHSA-vw5p-8cq8-m7mv","severity":"high","message":"devalue@5.6.1 (npm) is affected by GHSA-vw5p-8cq8-m7mv","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-vw5p-8cq8-m7mv"},{"rule_id":"osv/GHSA-834v-8h66-3h79","severity":"high","message":"happy-dom@20.14.0 (npm) is affected by GHSA-834v-8h66-3h79","path":"package-lock.json","line":null,"fingerprint":"happy-dom@20.14.0 (npm):GHSA-834v-8h66-3h79"},{"rule_id":"osv/GHSA-c8p4-j97h-3vg8","severity":"high","message":"happy-dom@20.14.0 (npm) is affected by GHSA-c8p4-j97h-3vg8","path":"package-lock.json","line":null,"fingerprint":"happy-dom@20.14.0 (npm):GHSA-c8p4-j97h-3vg8"},{"rule_id":"osv/GHSA-v56q-mh7h-f735","severity":"high","message":"immutable@5.1.4 (npm) is affected by GHSA-v56q-mh7h-f735","path":"package-lock.json","line":null,"fingerprint":"immutable@5.1.4 (npm):GHSA-v56q-mh7h-f735"},{"rule_id":"osv/GHSA-xvcm-6775-5m9r","severity":"high","message":"immutable@5.1.4 (npm) is affected by GHSA-xvcm-6775-5m9r","path":"package-lock.json","line":null,"fingerprint":"immutable@5.1.4 (npm):GHSA-xvcm-6775-5m9r"},{"rule_id":"osv/GHSA-28wg-ghj8-5hjv","severity":"high","message":"nanoid@3.3.11 (npm) is affected by GHSA-28wg-ghj8-5hjv","path":"package-lock.json","line":null,"fingerprint":"nanoid@3.3.11 (npm):GHSA-28wg-ghj8-5hjv"},{"rule_id":"osv/GHSA-2v37-7h3g-55p8","severity":"high","message":"nanoid@3.3.11 (npm) is affected by GHSA-2v37-7h3g-55p8","path":"package-lock.json","line":null,"fingerprint":"nanoid@3.3.11 (npm):GHSA-2v37-7h3g-55p8"},{"rule_id":"osv/GHSA-xwg4-73v4-xw9w","severity":"high","message":"nanoid@3.3.11 (npm) is affected by GHSA-xwg4-73v4-xw9w","path":"package-lock.json","line":null,"fingerprint":"nanoid@3.3.11 (npm):GHSA-xwg4-73v4-xw9w"},{"rule_id":"osv/GHSA-c2c7-rcm5-vvqj","severity":"high","message":"picomatch@2.3.1 (npm) is affected by GHSA-c2c7-rcm5-vvqj","path":"package-lock.json","line":null,"fingerprint":"picomatch@2.3.1 (npm):GHSA-c2c7-rcm5-vvqj"},{"rule_id":"osv/GHSA-c2c7-rcm5-vvqj","severity":"high","message":"picomatch@4.0.3 (npm) is affected by GHSA-c2c7-rcm5-vvqj","path":"package-lock.json","line":null,"fingerprint":"picomatch@4.0.3 (npm):GHSA-c2c7-rcm5-vvqj"},{"rule_id":"osv/GHSA-6g55-p6wh-862q","severity":"high","message":"postcss@8.5.6 (npm) is affected by GHSA-6g55-p6wh-862q","path":"package-lock.json","line":null,"fingerprint":"postcss@8.5.6 (npm):GHSA-6g55-p6wh-862q"},{"rule_id":"osv/GHSA-r28c-9q8g-f849","severity":"high","message":"postcss@8.5.6 (npm) is affected by GHSA-r28c-9q8g-f849","path":"package-lock.json","line":null,"fingerprint":"postcss@8.5.6 (npm):GHSA-r28c-9q8g-f849"},{"rule_id":"osv/GHSA-mw96-cpmx-2vgc","severity":"high","message":"rollup@4.55.1 (npm) is affected by GHSA-mw96-cpmx-2vgc","path":"package-lock.json","line":null,"fingerprint":"rollup@4.55.1 (npm):GHSA-mw96-cpmx-2vgc"},{"rule_id":"osv/GHSA-68fv-2mgg-jv7q","severity":"high","message":"source-map-js@1.2.1 (npm) is affected by GHSA-68fv-2mgg-jv7q","path":"package-lock.json","line":null,"fingerprint":"source-map-js@1.2.1 (npm):GHSA-68fv-2mgg-jv7q"},{"rule_id":"osv/GHSA-587h-7wmj-h5pm","severity":"high","message":"vite@5.4.21 (npm) is affected by GHSA-587h-7wmj-h5pm","path":"package-lock.json","line":null,"fingerprint":"vite@5.4.21 (npm):GHSA-587h-7wmj-h5pm"},{"rule_id":"osv/GHSA-mrhx-c7xc-m3w5","severity":"high","message":"zod@4.3.6 (npm) is affected by GHSA-mrhx-c7xc-m3w5","path":"package-lock.json","line":null,"fingerprint":"zod@4.3.6 (npm):GHSA-mrhx-c7xc-m3w5"},{"rule_id":"osv/RUSTSEC-2026-0190","severity":"medium","message":"anyhow@1.0.100 (crates.io) is affected by RUSTSEC-2026-0190","path":"Cargo.lock","line":null,"fingerprint":"anyhow@1.0.100 (crates.io):RUSTSEC-2026-0190"},{"rule_id":"osv/RUSTSEC-2024-0436","severity":"medium","message":"paste@1.0.15 (crates.io) is affected by RUSTSEC-2024-0436; also in src/guardian_canister/Cargo.lock; also in src/no_peeking/Cargo.lock; also in tools/differential/Cargo.lock; also in tools/gen-declarations/Cargo.lock","path":"Cargo.lock","line":null,"fingerprint":"paste@1.0.15 (crates.io):RUSTSEC-2024-0436"},{"rule_id":"osv/GHSA-jf9x-2fg2-hx4w","severity":"medium","message":"@sveltejs/adapter-static@3.0.10 (npm) is affected by GHSA-jf9x-2fg2-hx4w","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/adapter-static@3.0.10 (npm):GHSA-jf9x-2fg2-hx4w"},{"rule_id":"osv/GHSA-29g2-3rmr-qm68","severity":"medium","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-29g2-3rmr-qm68","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-29g2-3rmr-qm68"},{"rule_id":"osv/GHSA-3f6h-2hrp-w5wx","severity":"medium","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-3f6h-2hrp-w5wx","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-3f6h-2hrp-w5wx"},{"rule_id":"osv/GHSA-866w-xmhq-wj7x","severity":"medium","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-866w-xmhq-wj7x","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-866w-xmhq-wj7x"},{"rule_id":"osv/GHSA-88qp-p4qg-rqm6","severity":"medium","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-88qp-p4qg-rqm6","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-88qp-p4qg-rqm6"},{"rule_id":"osv/GHSA-hgv7-v322-mmgr","severity":"medium","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-hgv7-v322-mmgr","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-hgv7-v322-mmgr"},{"rule_id":"osv/GHSA-mw6w-2fmv-pvw3","severity":"medium","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-mw6w-2fmv-pvw3","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-mw6w-2fmv-pvw3"},{"rule_id":"osv/GHSA-pfhg-q3qv-9q6r","severity":"medium","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-pfhg-q3qv-9q6r","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-pfhg-q3qv-9q6r"},{"rule_id":"osv/GHSA-vrhm-gvg7-fpcf","severity":"medium","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-vrhm-gvg7-fpcf","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-vrhm-gvg7-fpcf"},{"rule_id":"osv/GHSA-wqjv-9729-c5q2","severity":"medium","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-wqjv-9729-c5q2","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-wqjv-9729-c5q2"},{"rule_id":"osv/GHSA-82fw-gwwq-j7x9","severity":"medium","message":"@vitest/mocker@3.2.7 (npm) is affected by GHSA-82fw-gwwq-j7x9","path":"package-lock.json","line":null,"fingerprint":"@vitest/mocker@3.2.7 (npm):GHSA-82fw-gwwq-j7x9"},{"rule_id":"osv/GHSA-qxg6-89mg-rqv8","severity":"medium","message":"@vitest/mocker@3.2.7 (npm) is affected by GHSA-qxg6-89mg-rqv8","path":"package-lock.json","line":null,"fingerprint":"@vitest/mocker@3.2.7 (npm):GHSA-qxg6-89mg-rqv8"},{"rule_id":"osv/GHSA-pxg6-pf52-xh8x","severity":"medium","message":"cookie@0.6.0 (npm) is affected by GHSA-pxg6-pf52-xh8x","path":"package-lock.json","line":null,"fingerprint":"cookie@0.6.0 (npm):GHSA-pxg6-pf52-xh8x"},{"rule_id":"osv/GHSA-gcqx-w48m-w2h4","severity":"medium","message":"deepmerge@4.3.1 (npm) is affected by GHSA-gcqx-w48m-w2h4","path":"package-lock.json","line":null,"fingerprint":"deepmerge@4.3.1 (npm):GHSA-gcqx-w48m-w2h4"},{"rule_id":"osv/GHSA-4q55-j62x-fr9h","severity":"medium","message":"devalue@5.6.1 (npm) is affected by GHSA-4q55-j62x-fr9h","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-4q55-j62x-fr9h"},{"rule_id":"osv/GHSA-9rgm-9g3h-6x36","severity":"medium","message":"devalue@5.6.1 (npm) is affected by GHSA-9rgm-9g3h-6x36","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-9rgm-9g3h-6x36"},{"rule_id":"osv/GHSA-cfw5-2vxh-hr84","severity":"medium","message":"devalue@5.6.1 (npm) is affected by GHSA-cfw5-2vxh-hr84","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-cfw5-2vxh-hr84"},{"rule_id":"osv/GHSA-hx4r-w6wj-j8fg","severity":"medium","message":"devalue@5.6.1 (npm) is affected by GHSA-hx4r-w6wj-j8fg","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-hx4r-w6wj-j8fg"},{"rule_id":"osv/GHSA-67mh-4wv8-2f99","severity":"medium","message":"esbuild@0.21.5 (npm) is affected by GHSA-67mh-4wv8-2f99","path":"package-lock.json","line":null,"fingerprint":"esbuild@0.21.5 (npm):GHSA-67mh-4wv8-2f99"},{"rule_id":"osv/GHSA-5fpq-26gf-qwcr","severity":"medium","message":"happy-dom@20.14.0 (npm) is affected by GHSA-5fpq-26gf-qwcr","path":"package-lock.json","line":null,"fingerprint":"happy-dom@20.14.0 (npm):GHSA-5fpq-26gf-qwcr"},{"rule_id":"osv/GHSA-3v7f-55p6-f55p","severity":"medium","message":"picomatch@2.3.1 (npm) is affected by GHSA-3v7f-55p6-f55p","path":"package-lock.json","line":null,"fingerprint":"picomatch@2.3.1 (npm):GHSA-3v7f-55p6-f55p"},{"rule_id":"osv/GHSA-3v7f-55p6-f55p","severity":"medium","message":"picomatch@4.0.3 (npm) is affected by GHSA-3v7f-55p6-f55p","path":"package-lock.json","line":null,"fingerprint":"picomatch@4.0.3 (npm):GHSA-3v7f-55p6-f55p"},{"rule_id":"osv/GHSA-fxqj-rqcc-2cmp","severity":"medium","message":"postcss@8.5.6 (npm) is affected by GHSA-fxqj-rqcc-2cmp","path":"package-lock.json","line":null,"fingerprint":"postcss@8.5.6 (npm):GHSA-fxqj-rqcc-2cmp"},{"rule_id":"osv/GHSA-qx2v-qp2m-jg93","severity":"medium","message":"postcss@8.5.6 (npm) is affected by GHSA-qx2v-qp2m-jg93","path":"package-lock.json","line":null,"fingerprint":"postcss@8.5.6 (npm):GHSA-qx2v-qp2m-jg93"},{"rule_id":"osv/GHSA-6738-r8g5-qwp3","severity":"medium","message":"svelte@5.46.1 (npm) is affected by GHSA-6738-r8g5-qwp3","path":"package-lock.json","line":null,"fingerprint":"svelte@5.46.1 (npm):GHSA-6738-r8g5-qwp3"},{"rule_id":"osv/GHSA-crpf-4hrx-3jrp","severity":"medium","message":"svelte@5.46.1 (npm) is affected by GHSA-crpf-4hrx-3jrp","path":"package-lock.json","line":null,"fingerprint":"svelte@5.46.1 (npm):GHSA-crpf-4hrx-3jrp"},{"rule_id":"osv/GHSA-f3cj-j4f6-wq85","severity":"medium","message":"svelte@5.46.1 (npm) is affected by GHSA-f3cj-j4f6-wq85","path":"package-lock.json","line":null,"fingerprint":"svelte@5.46.1 (npm):GHSA-f3cj-j4f6-wq85"},{"rule_id":"osv/GHSA-f7gr-6p89-r883","severity":"medium","message":"svelte@5.46.1 (npm) is affected by GHSA-f7gr-6p89-r883","path":"package-lock.json","line":null,"fingerprint":"svelte@5.46.1 (npm):GHSA-f7gr-6p89-r883"},{"rule_id":"osv/GHSA-h7h7-mm68-gmrc","severity":"medium","message":"svelte@5.46.1 (npm) is affected by GHSA-h7h7-mm68-gmrc","path":"package-lock.json","line":null,"fingerprint":"svelte@5.46.1 (npm):GHSA-h7h7-mm68-gmrc"},{"rule_id":"osv/GHSA-m56q-vw4c-c2cp","severity":"medium","message":"svelte@5.46.1 (npm) is affected by GHSA-m56q-vw4c-c2cp","path":"package-lock.json","line":null,"fingerprint":"svelte@5.46.1 (npm):GHSA-m56q-vw4c-c2cp"},{"rule_id":"osv/GHSA-phwv-c562-gvmh","severity":"medium","message":"svelte@5.46.1 (npm) is affected by GHSA-phwv-c562-gvmh","path":"package-lock.json","line":null,"fingerprint":"svelte@5.46.1 (npm):GHSA-phwv-c562-gvmh"},{"rule_id":"osv/GHSA-pr6f-5x2q-rwfp","severity":"medium","message":"svelte@5.46.1 (npm) is affected by GHSA-pr6f-5x2q-rwfp","path":"package-lock.json","line":null,"fingerprint":"svelte@5.46.1 (npm):GHSA-pr6f-5x2q-rwfp"},{"rule_id":"osv/GHSA-rcqx-6q8c-2c42","severity":"medium","message":"svelte@5.46.1 (npm) is affected by GHSA-rcqx-6q8c-2c42","path":"package-lock.json","line":null,"fingerprint":"svelte@5.46.1 (npm):GHSA-rcqx-6q8c-2c42"},{"rule_id":"osv/GHSA-4w7w-66w2-5vf9","severity":"medium","message":"vite@5.4.21 (npm) is affected by GHSA-4w7w-66w2-5vf9","path":"package-lock.json","line":null,"fingerprint":"vite@5.4.21 (npm):GHSA-4w7w-66w2-5vf9"},{"rule_id":"osv/GHSA-698v-4r3x-3vcv","severity":"medium","message":"vite@5.4.21 (npm) is affected by GHSA-698v-4r3x-3vcv","path":"package-lock.json","line":null,"fingerprint":"vite@5.4.21 (npm):GHSA-698v-4r3x-3vcv"},{"rule_id":"osv/GHSA-fx2h-pf6j-xcff","severity":"medium","message":"vite@5.4.21 (npm) is affected by GHSA-fx2h-pf6j-xcff","path":"package-lock.json","line":null,"fingerprint":"vite@5.4.21 (npm):GHSA-fx2h-pf6j-xcff"},{"rule_id":"osv/GHSA-r825-w8mm-5pxw","severity":"medium","message":"vite@5.4.21 (npm) is affected by GHSA-r825-w8mm-5pxw","path":"package-lock.json","line":null,"fingerprint":"vite@5.4.21 (npm):GHSA-r825-w8mm-5pxw"},{"rule_id":"osv/GHSA-rq7h-c2jc-7f22","severity":"medium","message":"vite@5.4.21 (npm) is affected by GHSA-rq7h-c2jc-7f22","path":"package-lock.json","line":null,"fingerprint":"vite@5.4.21 (npm):GHSA-rq7h-c2jc-7f22"},{"rule_id":"osv/GHSA-v6wh-96g9-6wx3","severity":"medium","message":"vite@5.4.21 (npm) is affected by GHSA-v6wh-96g9-6wx3","path":"package-lock.json","line":null,"fingerprint":"vite@5.4.21 (npm):GHSA-v6wh-96g9-6wx3"},{"rule_id":"osv/GHSA-82fw-gwwq-j7x9","severity":"medium","message":"vitest@3.2.7 (npm) is affected by GHSA-82fw-gwwq-j7x9","path":"package-lock.json","line":null,"fingerprint":"vitest@3.2.7 (npm):GHSA-82fw-gwwq-j7x9"},{"rule_id":"osv/GHSA-27mw-82g8-phjj","severity":"low","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-27mw-82g8-phjj","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-27mw-82g8-phjj"},{"rule_id":"osv/GHSA-fpg4-jhqr-589c","severity":"low","message":"@sveltejs/kit@2.49.4 (npm) is affected by GHSA-fpg4-jhqr-589c","path":"package-lock.json","line":null,"fingerprint":"@sveltejs/kit@2.49.4 (npm):GHSA-fpg4-jhqr-589c"},{"rule_id":"osv/GHSA-33hq-fvwr-56pm","severity":"low","message":"devalue@5.6.1 (npm) is affected by GHSA-33hq-fvwr-56pm","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-33hq-fvwr-56pm"},{"rule_id":"osv/GHSA-8qm3-746x-r74r","severity":"low","message":"devalue@5.6.1 (npm) is affected by GHSA-8qm3-746x-r74r","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-8qm3-746x-r74r"},{"rule_id":"osv/GHSA-mwv9-gp5h-frr4","severity":"low","message":"devalue@5.6.1 (npm) is affected by GHSA-mwv9-gp5h-frr4","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-mwv9-gp5h-frr4"},{"rule_id":"osv/GHSA-wf3x-273g-mvxv","severity":"low","message":"devalue@5.6.1 (npm) is affected by GHSA-wf3x-273g-mvxv","path":"package-lock.json","line":null,"fingerprint":"devalue@5.6.1 (npm):GHSA-wf3x-273g-mvxv"},{"rule_id":"osv/GHSA-9jrq-w75r-8gcw","severity":"low","message":"vite@5.4.21 (npm) is affected by GHSA-9jrq-w75r-8gcw","path":"package-lock.json","line":null,"fingerprint":"vite@5.4.21 (npm):GHSA-9jrq-w75r-8gcw"}],"evidence":[],"data":{"ecosystems":["crates.io","npm"]},"error":null},{"analyzer":"sec-actions","pillar":"security","status":"ok","tool_version":"zizmor 1.32.0","metrics":{"workflows":6.0,"findings":22.0,"findings_high":1.0,"findings_medium":16.0,"findings_low":5.0,"penalty":36.2},"findings":[{"rule_id":"zizmor/template-injection","severity":"high","message":"code injection via template expansion [confidence high]","path":".github/workflows/cycles-monitor.yml","line":124,"fingerprint":"template-injection:.github/workflows/cycles-monitor.yml:124"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":28,"fingerprint":"artipacked:.github/workflows/ci.yml:28"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":46,"fingerprint":"artipacked:.github/workflows/ci.yml:46"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":108,"fingerprint":"artipacked:.github/workflows/ci.yml:108"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":160,"fingerprint":"artipacked:.github/workflows/ci.yml:160"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":250,"fingerprint":"artipacked:.github/workflows/ci.yml:250"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":290,"fingerprint":"artipacked:.github/workflows/ci.yml:290"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":298,"fingerprint":"artipacked:.github/workflows/ci.yml:298"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":374,"fingerprint":"artipacked:.github/workflows/ci.yml:374"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":468,"fingerprint":"artipacked:.github/workflows/ci.yml:468"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":502,"fingerprint":"artipacked:.github/workflows/ci.yml:502"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/cycles-monitor.yml","line":87,"fingerprint":"artipacked:.github/workflows/cycles-monitor.yml:87"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/deploy-ic.yml","line":47,"fingerprint":"artipacked:.github/workflows/deploy-ic.yml:47"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/deployed-drift.yml","line":58,"fingerprint":"artipacked:.github/workflows/deployed-drift.yml:58"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/fund-safety-deep.yml","line":70,"fingerprint":"artipacked:.github/workflows/fund-safety-deep.yml:70"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/security.yml","line":25,"fingerprint":"artipacked:.github/workflows/security.yml:25"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/security.yml","line":45,"fingerprint":"artipacked:.github/workflows/security.yml:45"},{"rule_id":"zizmor/adhoc-packages","severity":"low","message":"ad-hoc installation of packages [confidence high]","path":".github/workflows/ci.yml","line":389,"fingerprint":"adhoc-packages:.github/workflows/ci.yml:389"},{"rule_id":"zizmor/adhoc-packages","severity":"low","message":"ad-hoc installation of packages [confidence high]","path":".github/workflows/cycles-monitor.yml","line":115,"fingerprint":"adhoc-packages:.github/workflows/cycles-monitor.yml:115"},{"rule_id":"zizmor/adhoc-packages","severity":"low","message":"ad-hoc installation of packages [confidence high]","path":".github/workflows/deploy-ic.yml","line":64,"fingerprint":"adhoc-packages:.github/workflows/deploy-ic.yml:64"},{"rule_id":"zizmor/self-repository","severity":"low","message":"use GitHub's dedicated self-repository syntax [confidence high]","path":".github/workflows/deploy-ic.yml","line":39,"fingerprint":"self-repository:.github/workflows/deploy-ic.yml:39"},{"rule_id":"zizmor/adhoc-packages","severity":"low","message":"ad-hoc installation of packages [confidence high]","path":".github/workflows/deployed-drift.yml","line":103,"fingerprint":"adhoc-packages:.github/workflows/deployed-drift.yml:103"}],"evidence":[],"data":{},"error":null},{"analyzer":"sec-posture","pillar":"security","status":"ok","tool_version":null,"metrics":{"check:security_policy":0.0,"check:dependency_updates":0.0,"check:signed_commits":0.0,"check:lockfiles":0.0,"signed_commit_share":0.0,"unpinned_manifests":9.0},"findings":[],"evidence":[{"kind":"posture","description":"src/cleardeck_frontend/package.json has no lockfile alongside it (unpinned dependencies)","ref":"src/cleardeck_frontend/package.json","url":null,"weight":0.3},{"kind":"posture","description":"src/history_canister/Cargo.toml has no lockfile alongside it (unpinned dependencies)","ref":"src/history_canister/Cargo.toml","url":null,"weight":0.3},{"kind":"posture","description":"src/lobby_canister/Cargo.toml has no lockfile alongside it (unpinned dependencies)","ref":"src/lobby_canister/Cargo.toml","url":null,"weight":0.3},{"kind":"posture","description":"src/no_peeking/dealer_canister/Cargo.toml has no lockfile alongside it (unpinned dependencies)","ref":"src/no_peeking/dealer_canister/Cargo.toml","url":null,"weight":0.3},{"kind":"posture","description":"src/no_peeking/dealer_types/Cargo.toml has no lockfile alongside it (unpinned dependencies)","ref":"src/no_peeking/dealer_types/Cargo.toml","url":null,"weight":0.3},{"kind":"posture","description":"src/no_peeking/table_stub/Cargo.toml has no lockfile alongside it (unpinned dependencies)","ref":"src/no_peeking/table_stub/Cargo.toml","url":null,"weight":0.3},{"kind":"posture","description":"src/poker_core/Cargo.toml has no lockfile alongside it (unpinned dependencies)","ref":"src/poker_core/Cargo.toml","url":null,"weight":0.3},{"kind":"posture","description":"src/table_canister/Cargo.toml has no lockfile alongside it (unpinned dependencies)","ref":"src/table_canister/Cargo.toml","url":null,"weight":0.3},{"kind":"posture","description":"tools/archive/package.json has no lockfile alongside it (unpinned dependencies)","ref":"tools/archive/package.json","url":null,"weight":0.3}],"data":{},"error":null},{"analyzer":"sec-distribution","pillar":"security","status":"ok","tool_version":null,"metrics":{"signals":1.0,"binary_assets":0.0,"suspicious":0.0},"findings":[],"evidence":[{"kind":"readme-download-lure","description":"gives an archive password","ref":"README.md","url":null,"weight":0.0}],"data":{"signals":["readme-download-lure"],"suspicious":false,"unusual_traction":false,"metadata":true},"error":null},{"analyzer":"qual-complexity","pillar":"quality","status":"ok","tool_version":"lizard 1.25.1","metrics":{"functions":3772.0,"function_nloc":44173.0,"mean_ccn":3.16,"p90_ccn":7.0,"complex_functions":95.0,"long_functions":46.0,"many_param_functions":1.0,"risky_nloc_share":0.3033},"findings":[],"evidence":[{"kind":"complex-function","description":"verify in tools/shots/scenarios/handreplay.mjs: complexity 141, 430 lines","ref":"tools/shots/scenarios/handreplay.mjs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/tools/shots/scenarios/handreplay.mjs#L665","weight":1.0},{"kind":"complex-function","description":"compare in tools/shots/lib/chain-agreement.mjs: complexity 99, 257 lines","ref":"tools/shots/lib/chain-agreement.mjs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/tools/shots/lib/chain-agreement.mjs#L584","weight":1.0},{"kind":"complex-function","description":"assertLobbyAgreement in tools/shots/lib/chain-agreement.mjs: complexity 81, 229 lines","ref":"tools/shots/lib/chain-agreement.mjs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/tools/shots/lib/chain-agreement.mjs#L1267","weight":1.0},{"kind":"complex-function","description":"replayHand in tools/archive/lib/betting.mjs: complexity 63, 212 lines","ref":"tools/archive/lib/betting.mjs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/tools/archive/lib/betting.mjs#L79","weight":1.0},{"kind":"complex-function","description":"assertHandHistoryAgreement in tools/shots/lib/chain-agreement.mjs: complexity 57, 208 lines","ref":"tools/shots/lib/chain-agreement.mjs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/tools/shots/lib/chain-agreement.mjs#L2350","weight":0.95},{"kind":"complex-function","description":"assertDepositAgreement in tools/shots/lib/chain-agreement.mjs: complexity 54, 252 lines","ref":"tools/shots/lib/chain-agreement.mjs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/tools/shots/lib/chain-agreement.mjs#L1706","weight":0.9},{"kind":"complex-function","description":"apply_player_action in src/table_canister/src/lib.rs: complexity 50, 223 lines","ref":"src/table_canister/src/lib.rs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/src/table_canister/src/lib.rs#L9400","weight":0.8333333333333334},{"kind":"complex-function","description":"assertNothingCoversAFigure in tools/shots/lib/occlusion.mjs: complexity 49, 270 lines","ref":"tools/shots/lib/occlusion.mjs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/tools/shots/lib/occlusion.mjs#L305","weight":0.8166666666666667},{"kind":"complex-function","description":"playerStats in tools/archive/lib/stats.mjs: complexity 45, 106 lines","ref":"tools/archive/lib/stats.mjs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/tools/archive/lib/stats.mjs#L57","weight":0.75},{"kind":"complex-function","description":"runScene in tools/shots/run.mjs: complexity 43, 187 lines","ref":"tools/shots/run.mjs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/tools/shots/run.mjs#L156","weight":0.7166666666666667}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":85316.0,"duplicated_lines":6277.0,"duplicated_share":0.0736,"files":338.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: scripts/check-deployed-config.sh:132 and scripts/check-deployed.sh:48","ref":"scripts/check-deployed-config.sh","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/scripts/check-deployed-config.sh#L132","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/cleardeck_frontend/build/verify-bundle.mjs:80 and tools/shots/lib/frontend-build.mjs:75","ref":"src/cleardeck_frontend/build/verify-bundle.mjs","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/src/cleardeck_frontend/build/verify-bundle.mjs#L80","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/cleardeck_frontend/src/lib/auth.js:114 and src/cleardeck_frontend/src/lib/auth.js:123","ref":"src/cleardeck_frontend/src/lib/auth.js","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/src/cleardeck_frontend/src/lib/auth.js#L114","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/cleardeck_frontend/src/lib/bb-display.js:82 and src/cleardeck_frontend/src/lib/hotkeys-pref.js:35","ref":"src/cleardeck_frontend/src/lib/bb-display.js","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/src/cleardeck_frontend/src/lib/bb-display.js#L82","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/cleardeck_frontend/src/lib/components/ActionFeed.svelte:229 and src/cleardeck_frontend/src/lib/components/ActionFeed.svelte:246","ref":"src/cleardeck_frontend/src/lib/components/ActionFeed.svelte","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/src/cleardeck_frontend/src/lib/components/ActionFeed.svelte#L229","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/cleardeck_frontend/src/lib/components/BetSizer.svelte:182 and src/cleardeck_frontend/src/lib/components/Lobby.svelte:583","ref":"src/cleardeck_frontend/src/lib/components/BetSizer.svelte","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/src/cleardeck_frontend/src/lib/components/BetSizer.svelte#L182","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/cleardeck_frontend/src/lib/components/BetSizer.svelte:185 and src/cleardeck_frontend/src/lib/components/PreActions.svelte:82","ref":"src/cleardeck_frontend/src/lib/components/BetSizer.svelte","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/src/cleardeck_frontend/src/lib/components/BetSizer.svelte#L185","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/cleardeck_frontend/src/lib/components/BetStack.svelte:74 and src/cleardeck_frontend/src/lib/components/ReplayTable.svelte:446","ref":"src/cleardeck_frontend/src/lib/components/BetStack.svelte","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/src/cleardeck_frontend/src/lib/components/BetStack.svelte#L74","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/cleardeck_frontend/src/lib/components/BtcNativeDeposit.svelte:44 and src/cleardeck_frontend/src/lib/components/DepositAddressCard.svelte:79","ref":"src/cleardeck_frontend/src/lib/components/BtcNativeDeposit.svelte","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/src/cleardeck_frontend/src/lib/components/BtcNativeDeposit.svelte#L44","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/cleardeck_frontend/src/lib/components/CashierDisclosures.svelte:148 and src/cleardeck_frontend/src/lib/components/CycleRunwayNotice.svelte:205","ref":"src/cleardeck_frontend/src/lib/components/CashierDisclosures.svelte","url":"https://github.com/JoshDFN/cleardeck/blob/12de26752a820f4061b2724001e980eec57039b0/src/cleardeck_frontend/src/lib/components/CashierDisclosures.svelte#L148","weight":0.3}],"data":{},"error":null},{"analyzer":"qual-lint","pillar":"quality","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":27.0,"weighted_findings":14.5,"scanned_lines":110039.0,"category:best-practice":3.0,"category:correctness":24.0},"findings":[{"rule_id":"opengrep/typescript.lang.correctness.useless-ternary","severity":"high","message":"It looks like no matter how typeof v === 'bigint' is evaluated, this expression returns Number(v). This is probably a copy-paste error.","path":"src/cleardeck_frontend/src/lib/join-gate.js","line":86,"fingerprint":"typescript.lang.correctness.useless-ternary:src/cleardeck_frontend/src/lib/join-gate.js:86"},{"rule_id":"opengrep/typescript.lang.correctness.useless-ternary","severity":"high","message":"It looks like no matter how typeof smallestUnit === 'bigint' is evaluated, this expression returns Number(smallestUnit). This is probably a copy-paste error.","path":"src/cleardeck_frontend/src/lib/utils.js","line":190,"fingerprint":"typescript.lang.correctness.useless-ternary:src/cleardeck_frontend/src/lib/utils.js:190"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"scripts/lib/package-groups.py","line":91,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:scripts/lib/package-groups.py:91"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"scripts/lib/package-groups.py","line":122,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:scripts/lib/package-groups.py:122"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"scripts/lib/package-groups.py","line":124,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:scripts/lib/package-groups.py:124"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"scripts/check-candid.sh","line":180,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:scripts/check-candid.sh:180"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"scripts/check-deployed.sh","line":156,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:scripts/check-deployed.sh:156"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"scripts/check-fleet-coherence.sh","line":186,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:scripts/check-fleet-coherence.sh:186"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"scripts/ci-fund-safety.sh","line":184,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:scripts/ci-fund-safety.sh:184"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-command-substitution-in-command","severity":"low","message":"The result of command substitution $(...) or `...`, if unquoted, is split on whitespace or other separators specified by the IFS variable. You should surround it with double quotes to avoid splitting the result.","path":"scripts/dev.sh","line":910,"fingerprint":"bash.lang.correctness.unquoted-command-substitution-in-command:scripts/dev.sh:910"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-command-substitution-in-command","severity":"low","message":"The result of command substitution $(...) or `...`, if unquoted, is split on whitespace or other separators specified by the IFS variable. You should surround it with double quotes to avoid splitting the result.","path":"scripts/dev.sh","line":927,"fingerprint":"bash.lang.correctness.unquoted-command-substitution-in-command:scripts/dev.sh:927"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-command-substitution-in-command","severity":"low","message":"The result of command substitution $(...) or `...`, if unquoted, is split on whitespace or other separators specified by the IFS variable. You should surround it with double quotes to avoid splitting the result.","path":"scripts/dev.sh","line":1191,"fingerprint":"bash.lang.correctness.unquoted-command-substitution-in-command:scripts/dev.sh:1191"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"scripts/dev.sh","line":2051,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:scripts/dev.sh:2051"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/lib/config.mjs","line":169,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/lib/config.mjs:169"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/lib/config.mjs","line":169,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/lib/config.mjs:169"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/lib/occlusion.mjs","line":148,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/lib/occlusion.mjs:148"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/lib/occlusion.mjs","line":148,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/lib/occlusion.mjs:148"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/test-cycle-runway.mjs","line":52,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/test-cycle-runway.mjs:52"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/test-cycle-runway.mjs","line":52,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/test-cycle-runway.mjs:52"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/test-cycle-runway.mjs","line":52,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/test-cycle-runway.mjs:52"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/test-dock-overflow.mjs","line":166,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/test-dock-overflow.mjs:166"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/test-dock-overflow.mjs","line":166,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/test-dock-overflow.mjs:166"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/test-occlusion.mjs","line":39,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/test-occlusion.mjs:39"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/test-occlusion.mjs","line":39,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/test-occlusion.mjs:39"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/test-solvency.mjs","line":52,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/test-solvency.mjs:52"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/test-solvency.mjs","line":52,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/test-solvency.mjs:52"},{"rule_id":"opengrep/javascript.lang.correctness.missing-template-string-indicator","severity":"low","message":"This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?","path":"tools/shots/test-solvency.mjs","line":52,"fingerprint":"javascript.lang.correctness.missing-template-string-indicator:tools/shots/test-solvency.mjs:52"}],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":1.0,"check:test_ratio":1.0,"check:ci_present":1.0,"check:ci_runs_tests":1.0,"check:ci_runs_lint":0.0,"check:tests_cochange":1.0,"test_lines":55879.0,"source_lines":110039.0,"test_ratio":0.5078,"ci_files":6.0,"cochange_share":0.6456,"cochange_commits":79.0},"findings":[],"evidence":[{"kind":"ci","description":"CI config: .github/workflows/ci.yml","ref":".github/workflows/ci.yml","url":null,"weight":0.0},{"kind":"ci","description":"CI config: .github/workflows/cycles-monitor.yml","ref":".github/workflows/cycles-monitor.yml","url":null,"weight":0.0},{"kind":"ci","description":"CI config: .github/workflows/deploy-ic.yml","ref":".github/workflows/deploy-ic.yml","url":null,"weight":0.0},{"kind":"ci","description":"CI config: .github/workflows/deployed-drift.yml","ref":".github/workflows/deployed-drift.yml","url":null,"weight":0.0},{"kind":"ci","description":"CI config: .github/workflows/fund-safety-deep.yml","ref":".github/workflows/fund-safety-deep.yml","url":null,"weight":0.0},{"kind":"ci","description":"CI config: .github/workflows/security.yml","ref":".github/workflows/security.yml","url":null,"weight":0.0},{"kind":"ci","description":"CI runs tests (go test, cargo test)","ref":null,"url":null,"weight":0.0}],"data":{"test_commands":["go test","cargo test"],"lint_commands":[]},"error":null},{"analyzer":"qual-docs","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:readme":1.0,"check:license":0.0,"check:contributing":0.0,"check:changelog":0.0,"readme_lines":877.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.md","url":null,"weight":0.0}],"data":{},"error":null},{"analyzer":"qual-type-safety","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:strict_config":0.876,"check:low_escape_density":1.0,"escapes":1.0,"escapes_per_kloc":0.229},"findings":[],"evidence":[{"kind":"typing","description":"TypeScript strict type checking: src/cleardeck_frontend/tsconfig.json","ref":"src/cleardeck_frontend/tsconfig.json","url":null,"weight":0.0}],"data":{},"error":null},{"analyzer":"x-blame","pillar":"ai_provenance","status":"ok","tool_version":"git-blame","metrics":{"ai_lines":651.0,"other_lines":109388.0,"files_blamed":338.0,"blame_failures":0.0,"quality:ai_findings":0.0,"quality:ai_per_kloc":0.0,"quality:other_findings":27.0,"quality:other_per_kloc":0.247,"quality:ratio":0.0,"security:ai_findings":0.0,"security:ai_per_kloc":0.0,"security:other_findings":20.0,"security:other_per_kloc":0.183,"security:ratio":0.0},"findings":[],"evidence":[],"data":{"sampled":false,"comparable":true},"error":null}],"flags":[]}