Leaderboard github.com
JoshDFN/cleardeck
AI provenance
<1%
explicit
- Confidence
- 95%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
70/100
adequate
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
61/100
weak
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
0% explicit
Explicit AI attribution on 0% of first-party code added; an estimated 0% including velocity signals.
How the score is built
- Explicitly attributed share0%
- Unattributed share in AI-pace bursts44%
- Estimated AI-generated share0%
- AI tool configuration files1
- Work sessions at AI pace20
- Releases at AI pacenot measured
- Coding-style index (1.0+ means possible)0.35
Attributed AI tools
| Tool | Commits | Lines added | First seen | Last seen |
|---|---|---|---|---|
| Claude Code | 4 | 806 | 2026-01-28 | 2026-09-28 |
Lines added per month all AI-attributed share
- 2026-0124,375 · 2% AI
- 2026-02211 · 0% AI
- 2026-08133,109 · 0% AI
- 2026-0938,515 · 1% AI
Findings in AI-attributed lines vs the rest
From git blame: 651 lines trace to AI-attributed commits, 109,388 to others. Reported, not scored.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Code quality | 0.00 | 0.25 | 0.00× |
| Security | 0.00 | 0.18 | 0.00× |
Evidence by analyzer
Explicit AI attributionok5 items
- Claude Code: 4 attributed commits, 806 lines added
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- attributed_commit_share
- 3.2%
- attributed_commits
- 4
- attributed_loc
- 806
- attributed_loc_share
- 0.4%
- commits
- 126
- effective_loc
- 196,210
- tools_detected
- 1
AI tool configurationok1 item
- artifacts
- 1
- earliest_adoption
- 2026-02-24
- tools_configured
- 1
- workflow_agents
- 0
Commit velocityok15 items
- 4,825 lines of first-party code in ~0.8h (5,686 lines/hour, 2 commit session)
- 7,055 lines of first-party code in ~2.3h (3,135 lines/hour, 3 commit session)
- 8,811 lines of first-party code in ~4.0h (2,203 lines/hour, 1 commit session)
- 1,826 lines of first-party code in ~0.9h (1,978 lines/hour, 1 commit session)
- 6,437 lines of first-party code in ~3.3h (1,960 lines/hour, 5 commit session)
- 1,464 lines of first-party code in ~0.8h (1,888 lines/hour, 1 commit session)
- 1,833 lines of first-party code in ~1.0h (1,790 lines/hour, 1 commit session)
- 6,928 lines of first-party code in ~4.0h (1,732 lines/hour, 1 commit session)
- 6,702 lines of first-party code in ~4.0h (1,676 lines/hour, 1 commit session)
- 6,642 lines of first-party code in ~4.0h (1,660 lines/hour, 1 commit session)
- 6,560 lines of first-party code in ~4.0h (1,640 lines/hour, 1 commit session)
- 4,400 lines of first-party code in ~2.9h (1,511 lines/hour, 7 commit session)
- 5,976 lines of first-party code in ~4.0h (1,494 lines/hour, 1 commit session)
- 4,551 lines of first-party code in ~3.4h (1,350 lines/hour, 1 commit session)
- 4,400 lines of first-party code in ~4.0h (1,100 lines/hour, 1 commit session)
- excluded_import_loc
- 101,850
- flagged_loc
- 86,958
- flagged_loc_share
- 92.2%
- flagged_units
- 20
- max_loc_per_hour
- 5,685.76
- measured_loc
- 94,360
- median_loc_per_hour
- 986.11
- pr_timed_units
- 0
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 0
- work_units
- 32
Release velocityskipped
Coding styleok8 items
- step-by-step narration comment: # Step 0: Pre-flight checks
- step-by-step narration comment: # Step 1: Build frontend
- step-by-step narration comment: # Step 2: Deploy backend canisters (UPGRADE ONLY)
- step-by-step narration comment: # Step 3: Configure canisters (FIRST DEPLOY ONLY)
- step-by-step narration comment: # Step 4: Deploy frontend asset canister
- step-by-step narration comment: # Step 5: Verification
- step-by-step narration comment: # Step 1. Read what is deployed: id, module hash, and the labels it claims.
- step-by-step narration comment: # Step 2. Rebuild once per distinct label, with THAT label baked in.
- count:assistant_voice
- 0
- count:emoji_in_code
- 39
- count:narrated_steps
- 13
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 8
- files:narrated_steps
- 3
- files:placeholder
- 0
- index
- 0.35
- lines_scanned
- 93,167
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 0.42
- per_kloc:narrated_steps
- 0.14
- per_kloc:placeholder
- 0
Findings in AI-written linesok
- ai_lines
- 651
- blame_failures
- 0
- files_blamed
- 338
- other_lines
- 109,388
- quality:ai_findings
- 0
- quality:ai_per_kloc
- 0
- quality:other_findings
- 27
- quality:other_per_kloc
- 0.25
- quality:ratio
- 0
- security:ai_findings
- 0
- security:ai_per_kloc
- 0
- security:other_findings
- 20
- security:other_per_kloc
- 0.18
- security:ratio
- 0
Code quality
70 adequate
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.
How the score is built
- Complexity40
- Duplication64
- Lint and smells97
- Tests and CI90
- Documentation40
- Type safety93
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok10 items
- verify in tools/shots/scenarios/handreplay.mjs: complexity 141, 430 lines
- compare in tools/shots/lib/chain-agreement.mjs: complexity 99, 257 lines
- assertLobbyAgreement in tools/shots/lib/chain-agreement.mjs: complexity 81, 229 lines
- replayHand in tools/archive/lib/betting.mjs: complexity 63, 212 lines
- assertHandHistoryAgreement in tools/shots/lib/chain-agreement.mjs: complexity 57, 208 lines
- assertDepositAgreement in tools/shots/lib/chain-agreement.mjs: complexity 54, 252 lines
- apply_player_action in src/table_canister/src/lib.rs: complexity 50, 223 lines
- assertNothingCoversAFigure in tools/shots/lib/occlusion.mjs: complexity 49, 270 lines
- playerStats in tools/archive/lib/stats.mjs: complexity 45, 106 lines
- runScene in tools/shots/run.mjs: complexity 43, 187 lines
- complex_functions
- 95
- function_nloc
- 44,173
- functions
- 3,772
- long_functions
- 46
- many_param_functions
- 1
- mean_ccn
- 3.16
- p90_ccn
- 7
- risky_nloc_share
- 30.3%
Duplication (jscpd)ok10 items
- 6+ duplicated lines: scripts/check-deployed-config.sh:132 and scripts/check-deployed.sh:48
- 6+ duplicated lines: src/cleardeck_frontend/build/verify-bundle.mjs:80 and tools/shots/lib/frontend-build.mjs:75
- 6+ duplicated lines: src/cleardeck_frontend/src/lib/auth.js:114 and src/cleardeck_frontend/src/lib/auth.js:123
- 6+ duplicated lines: src/cleardeck_frontend/src/lib/bb-display.js:82 and src/cleardeck_frontend/src/lib/hotkeys-pref.js:35
- 6+ duplicated lines: src/cleardeck_frontend/src/lib/components/ActionFeed.svelte:229 and src/cleardeck_frontend/src/lib/components/ActionFeed.svelte:246
- 6+ duplicated lines: src/cleardeck_frontend/src/lib/components/BetSizer.svelte:182 and src/cleardeck_frontend/src/lib/components/Lobby.svelte:583
- 6+ duplicated lines: src/cleardeck_frontend/src/lib/components/BetSizer.svelte:185 and src/cleardeck_frontend/src/lib/components/PreActions.svelte:82
- 6+ duplicated lines: src/cleardeck_frontend/src/lib/components/BetStack.svelte:74 and src/cleardeck_frontend/src/lib/components/ReplayTable.svelte:446
- 6+ duplicated lines: src/cleardeck_frontend/src/lib/components/BtcNativeDeposit.svelte:44 and src/cleardeck_frontend/src/lib/components/DepositAddressCard.svelte:79
- 6+ duplicated lines: src/cleardeck_frontend/src/lib/components/CashierDisclosures.svelte:148 and src/cleardeck_frontend/src/lib/components/CycleRunwayNotice.svelte:205
- compared_lines
- 85,316
- duplicated_lines
- 6,277
- duplicated_share
- 7.4%
- files
- 338
Lintok
- category:best-practice
- 3
- category:correctness
- 24
- findings
- 27
- scanned_lines
- 110,039
- weighted_findings
- 14.50
Tests and CIok7 items
- CI config: .github/workflows/ci.yml
.github/workflows/ci.yml - CI config: .github/workflows/cycles-monitor.yml
.github/workflows/cycles-monitor.yml - CI config: .github/workflows/deploy-ic.yml
.github/workflows/deploy-ic.yml - CI config: .github/workflows/deployed-drift.yml
.github/workflows/deployed-drift.yml - CI config: .github/workflows/fund-safety-deep.yml
.github/workflows/fund-safety-deep.yml - CI config: .github/workflows/security.yml
.github/workflows/security.yml - CI runs tests (go test, cargo test)
- check:ci_present
- yes
- check:ci_runs_lint
- no
- check:ci_runs_tests
- yes
- check:has_tests
- yes
- check:test_ratio
- yes
- check:tests_cochange
- yes
- ci_files
- 6
- cochange_commits
- 79
- cochange_share
- 64.6%
- source_lines
- 110,039
- test_lines
- 55,879
- test_ratio
- 0.51
Documentationok1 item
- README.md
README.md
- check:changelog
- no
- check:contributing
- no
- check:license
- no
- check:readme
- yes
- readme_lines
- 877
Type safetyok1 item
- TypeScript strict type checking: src/cleardeck_frontend/tsconfig.json
src/cleardeck_frontend/tsconfig.json
- check:low_escape_density
- yes
- check:strict_config
- no
- escapes
- 1
- escapes_per_kloc
- 0.23
Security
61 weak
Security posture is weak: 75 known vulnerabilities in 22 dependencies; 1 high-severity SAST findings; 1 high-severity workflow issues. Weakest area: posture.
How the score is built
- Secrets100
- Static analysis (SAST)98
- Vulnerable dependencies9
- CI workflows55
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesok
- checked
- 36
- declared
- 36
- lookup_errors
- 0
- missing
- 0
- recent
- 0
Secrets (gitleaks)ok
- secrets_current
- 0
- secrets_history
- 0
- secrets_low_confidence
- 0
- secrets_nonprod
- 0
Static analysis (opengrep)ok
- findings
- 21
- findings_high
- 1
- findings_low
- 2
- findings_medium
- 18
- parse_errors
- 5
- scanned_lines
- 110,039
- weighted_findings
- 6.80
Dependencies (osv-scanner)ok
- penalty
- 145
- vulnerabilities
- 75
- vulnerable_packages
- 22
- vulns_critical
- 3
- vulns_high
- 23
- vulns_low
- 7
- vulns_medium
- 39
- vulns_unknown
- 3
CI workflows (zizmor)ok
- findings
- 22
- findings_high
- 1
- findings_low
- 5
- findings_medium
- 16
- penalty
- 36.20
- workflows
- 6
Security postureok9 items
- src/cleardeck_frontend/package.json has no lockfile alongside it (unpinned dependencies)
src/cleardeck_frontend/package.json - src/history_canister/Cargo.toml has no lockfile alongside it (unpinned dependencies)
src/history_canister/Cargo.toml - src/lobby_canister/Cargo.toml has no lockfile alongside it (unpinned dependencies)
src/lobby_canister/Cargo.toml - src/no_peeking/dealer_canister/Cargo.toml has no lockfile alongside it (unpinned dependencies)
src/no_peeking/dealer_canister/Cargo.toml - src/no_peeking/dealer_types/Cargo.toml has no lockfile alongside it (unpinned dependencies)
src/no_peeking/dealer_types/Cargo.toml - src/no_peeking/table_stub/Cargo.toml has no lockfile alongside it (unpinned dependencies)
src/no_peeking/table_stub/Cargo.toml - src/poker_core/Cargo.toml has no lockfile alongside it (unpinned dependencies)
src/poker_core/Cargo.toml - src/table_canister/Cargo.toml has no lockfile alongside it (unpinned dependencies)
src/table_canister/Cargo.toml - tools/archive/package.json has no lockfile alongside it (unpinned dependencies)
tools/archive/package.json
- check:dependency_updates
- no
- check:lockfiles
- no
- check:security_policy
- no
- check:signed_commits
- no
- signed_commit_share
- 0.0%
- unpinned_manifests
- 9
Release downloadsok1 item
- gives an archive password
README.md
- binary_assets
- 0
- signals
- 1
- suspicious
- 0
Findings
3 critical27 high79 medium36 low
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| critical | osv/GHSA-5gmw-xhrv-c9v3 |
package-lock.json | [email protected] (npm) is affected by GHSA-5gmw-xhrv-c9v3 | Dependencies (osv-scanner) |
| critical | osv/GHSA-85c8-ppgw-ccpr |
package-lock.json | [email protected] (npm) is affected by GHSA-85c8-ppgw-ccpr | Dependencies (osv-scanner) |
| critical | osv/GHSA-wf6x-7x77-mvgw |
package-lock.json | [email protected] (npm) is affected by GHSA-wf6x-7x77-mvgw | Dependencies (osv-scanner) |
| high | opengrep/typescript.lang.correctness.useless-ternary |
src/cleardeck_frontend/src/lib/join-gate.js:86 | It looks like no matter how typeof v === 'bigint' is evaluated, this expression returns Number(v). This is probably a copy-paste error. | Lint |
| high | opengrep/typescript.lang.correctness.useless-ternary |
src/cleardeck_frontend/src/lib/utils.js:190 | It looks like no matter how typeof smallestUnit === 'bigint' is evaluated, this expression returns Number(smallestUnit). This is probably a copy-paste error. | Lint |
| high | zizmor/template-injection |
.github/workflows/cycles-monitor.yml:124 | code injection via template expansion [confidence high] | CI workflows (zizmor) |
| high | opengrep/dockerfile.security.missing-user |
Dockerfile:153 | 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... | Static analysis (opengrep) |
| high | osv/GHSA-28wg-ghj8-5hjv |
package-lock.json | [email protected] (npm) is affected by GHSA-28wg-ghj8-5hjv | Dependencies (osv-scanner) |
| high | osv/GHSA-2crg-3p73-43xp |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-2crg-3p73-43xp | Dependencies (osv-scanner) |
| high | osv/GHSA-2v37-7h3g-55p8 |
package-lock.json | [email protected] (npm) is affected by GHSA-2v37-7h3g-55p8 | Dependencies (osv-scanner) |
| high | osv/GHSA-587h-7wmj-h5pm |
package-lock.json | [email protected] (npm) is affected by GHSA-587h-7wmj-h5pm | Dependencies (osv-scanner) |
| high | osv/GHSA-68fv-2mgg-jv7q |
package-lock.json | [email protected] (npm) is affected by GHSA-68fv-2mgg-jv7q | Dependencies (osv-scanner) |
| high | osv/GHSA-6g55-p6wh-862q |
package-lock.json | [email protected] (npm) is affected by GHSA-6g55-p6wh-862q | Dependencies (osv-scanner) |
| high | osv/GHSA-834v-8h66-3h79 |
package-lock.json | [email protected] (npm) is affected by GHSA-834v-8h66-3h79 | Dependencies (osv-scanner) |
| high | osv/GHSA-c2c7-rcm5-vvqj |
package-lock.json | [email protected] (npm) is affected by GHSA-c2c7-rcm5-vvqj | Dependencies (osv-scanner) |
| high | osv/GHSA-c2c7-rcm5-vvqj |
package-lock.json | [email protected] (npm) is affected by GHSA-c2c7-rcm5-vvqj | Dependencies (osv-scanner) |
| high | osv/GHSA-c8p4-j97h-3vg8 |
package-lock.json | [email protected] (npm) is affected by GHSA-c8p4-j97h-3vg8 | Dependencies (osv-scanner) |
| high | osv/GHSA-g2pg-6438-jwpf |
package-lock.json | [email protected] (npm) is affected by GHSA-g2pg-6438-jwpf | Dependencies (osv-scanner) |
| high | osv/GHSA-j22f-vq7h-c4qm |
package-lock.json | [email protected] (npm) is affected by GHSA-j22f-vq7h-c4qm | Dependencies (osv-scanner) |
| high | osv/GHSA-j2f3-wq62-6q46 |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-j2f3-wq62-6q46 | Dependencies (osv-scanner) |
| high | osv/GHSA-j62c-4x62-9r35 |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-j62c-4x62-9r35 | Dependencies (osv-scanner) |
| high | osv/GHSA-mcm9-63f2-9j32 |
package-lock.json | [email protected] (npm) is affected by GHSA-mcm9-63f2-9j32 | Dependencies (osv-scanner) |
| high | osv/GHSA-mrhx-c7xc-m3w5 |
package-lock.json | [email protected] (npm) is affected by GHSA-mrhx-c7xc-m3w5 | Dependencies (osv-scanner) |
| high | osv/GHSA-mw96-cpmx-2vgc |
package-lock.json | [email protected] (npm) is affected by GHSA-mw96-cpmx-2vgc | Dependencies (osv-scanner) |
| high | osv/GHSA-r28c-9q8g-f849 |
package-lock.json | [email protected] (npm) is affected by GHSA-r28c-9q8g-f849 | Dependencies (osv-scanner) |
| high | osv/GHSA-r9w8-h9r3-54w4 |
package-lock.json | [email protected] (npm) is affected by GHSA-r9w8-h9r3-54w4 | Dependencies (osv-scanner) |
| high | osv/GHSA-v56q-mh7h-f735 |
package-lock.json | [email protected] (npm) is affected by GHSA-v56q-mh7h-f735 | Dependencies (osv-scanner) |
| high | osv/GHSA-vw5p-8cq8-m7mv |
package-lock.json | [email protected] (npm) is affected by GHSA-vw5p-8cq8-m7mv | Dependencies (osv-scanner) |
| high | osv/GHSA-xvcm-6775-5m9r |
package-lock.json | [email protected] (npm) is affected by GHSA-xvcm-6775-5m9r | Dependencies (osv-scanner) |
| high | osv/GHSA-xwg4-73v4-xw9w |
package-lock.json | [email protected] (npm) is affected by GHSA-xwg4-73v4-xw9w | Dependencies (osv-scanner) |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
scripts/lib/package-groups.py:122 | 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"). | Lint |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
scripts/lib/package-groups.py:124 | 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"). | Lint |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
scripts/lib/package-groups.py:91 | 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"). | Lint |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:108 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:160 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:250 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:28 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:290 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:298 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:374 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:46 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:468 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:502 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/cycles-monitor.yml:87 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/deploy-ic.yml:47 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/deployed-drift.yml:58 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/fund-safety-deep.yml:70 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/security.yml:25 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/security.yml:45 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | osv/RUSTSEC-2024-0436 |
Cargo.lock | [email protected] (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 | Dependencies (osv-scanner) |
| medium | osv/RUSTSEC-2026-0190 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0190 | Dependencies (osv-scanner) |
| medium | osv/GHSA-29g2-3rmr-qm68 |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-29g2-3rmr-qm68 | Dependencies (osv-scanner) |
| medium | osv/GHSA-3f6h-2hrp-w5wx |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-3f6h-2hrp-w5wx | Dependencies (osv-scanner) |
| medium | osv/GHSA-3v7f-55p6-f55p |
package-lock.json | [email protected] (npm) is affected by GHSA-3v7f-55p6-f55p | Dependencies (osv-scanner) |
| medium | osv/GHSA-3v7f-55p6-f55p |
package-lock.json | [email protected] (npm) is affected by GHSA-3v7f-55p6-f55p | Dependencies (osv-scanner) |
| medium | osv/GHSA-4q55-j62x-fr9h |
package-lock.json | [email protected] (npm) is affected by GHSA-4q55-j62x-fr9h | Dependencies (osv-scanner) |
| medium | osv/GHSA-4w7w-66w2-5vf9 |
package-lock.json | [email protected] (npm) is affected by GHSA-4w7w-66w2-5vf9 | Dependencies (osv-scanner) |
| medium | osv/GHSA-5fpq-26gf-qwcr |
package-lock.json | [email protected] (npm) is affected by GHSA-5fpq-26gf-qwcr | Dependencies (osv-scanner) |
| medium | osv/GHSA-6738-r8g5-qwp3 |
package-lock.json | [email protected] (npm) is affected by GHSA-6738-r8g5-qwp3 | Dependencies (osv-scanner) |
| medium | osv/GHSA-67mh-4wv8-2f99 |
package-lock.json | [email protected] (npm) is affected by GHSA-67mh-4wv8-2f99 | Dependencies (osv-scanner) |
| medium | osv/GHSA-698v-4r3x-3vcv |
package-lock.json | [email protected] (npm) is affected by GHSA-698v-4r3x-3vcv | Dependencies (osv-scanner) |
| medium | osv/GHSA-82fw-gwwq-j7x9 |
package-lock.json | @vitest/[email protected] (npm) is affected by GHSA-82fw-gwwq-j7x9 | Dependencies (osv-scanner) |
| medium | osv/GHSA-82fw-gwwq-j7x9 |
package-lock.json | [email protected] (npm) is affected by GHSA-82fw-gwwq-j7x9 | Dependencies (osv-scanner) |
| medium | osv/GHSA-866w-xmhq-wj7x |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-866w-xmhq-wj7x | Dependencies (osv-scanner) |
| medium | osv/GHSA-88qp-p4qg-rqm6 |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-88qp-p4qg-rqm6 | Dependencies (osv-scanner) |
| medium | osv/GHSA-9rgm-9g3h-6x36 |
package-lock.json | [email protected] (npm) is affected by GHSA-9rgm-9g3h-6x36 | Dependencies (osv-scanner) |
| medium | osv/GHSA-cfw5-2vxh-hr84 |
package-lock.json | [email protected] (npm) is affected by GHSA-cfw5-2vxh-hr84 | Dependencies (osv-scanner) |
| medium | osv/GHSA-crpf-4hrx-3jrp |
package-lock.json | [email protected] (npm) is affected by GHSA-crpf-4hrx-3jrp | Dependencies (osv-scanner) |
| medium | osv/GHSA-f3cj-j4f6-wq85 |
package-lock.json | [email protected] (npm) is affected by GHSA-f3cj-j4f6-wq85 | Dependencies (osv-scanner) |
| medium | osv/GHSA-f7gr-6p89-r883 |
package-lock.json | [email protected] (npm) is affected by GHSA-f7gr-6p89-r883 | Dependencies (osv-scanner) |
| medium | osv/GHSA-fx2h-pf6j-xcff |
package-lock.json | [email protected] (npm) is affected by GHSA-fx2h-pf6j-xcff | Dependencies (osv-scanner) |
| medium | osv/GHSA-fxqj-rqcc-2cmp |
package-lock.json | [email protected] (npm) is affected by GHSA-fxqj-rqcc-2cmp | Dependencies (osv-scanner) |
| medium | osv/GHSA-gcqx-w48m-w2h4 |
package-lock.json | [email protected] (npm) is affected by GHSA-gcqx-w48m-w2h4 | Dependencies (osv-scanner) |
| medium | osv/GHSA-h7h7-mm68-gmrc |
package-lock.json | [email protected] (npm) is affected by GHSA-h7h7-mm68-gmrc | Dependencies (osv-scanner) |
| medium | osv/GHSA-hgv7-v322-mmgr |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-hgv7-v322-mmgr | Dependencies (osv-scanner) |
| medium | osv/GHSA-hx4r-w6wj-j8fg |
package-lock.json | [email protected] (npm) is affected by GHSA-hx4r-w6wj-j8fg | Dependencies (osv-scanner) |
| medium | osv/GHSA-jf9x-2fg2-hx4w |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-jf9x-2fg2-hx4w | Dependencies (osv-scanner) |
| medium | osv/GHSA-m56q-vw4c-c2cp |
package-lock.json | [email protected] (npm) is affected by GHSA-m56q-vw4c-c2cp | Dependencies (osv-scanner) |
| medium | osv/GHSA-mw6w-2fmv-pvw3 |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-mw6w-2fmv-pvw3 | Dependencies (osv-scanner) |
| medium | osv/GHSA-pfhg-q3qv-9q6r |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-pfhg-q3qv-9q6r | Dependencies (osv-scanner) |
| medium | osv/GHSA-phwv-c562-gvmh |
package-lock.json | [email protected] (npm) is affected by GHSA-phwv-c562-gvmh | Dependencies (osv-scanner) |
| medium | osv/GHSA-pr6f-5x2q-rwfp |
package-lock.json | [email protected] (npm) is affected by GHSA-pr6f-5x2q-rwfp | Dependencies (osv-scanner) |
| medium | osv/GHSA-pxg6-pf52-xh8x |
package-lock.json | [email protected] (npm) is affected by GHSA-pxg6-pf52-xh8x | Dependencies (osv-scanner) |
| medium | osv/GHSA-qx2v-qp2m-jg93 |
package-lock.json | [email protected] (npm) is affected by GHSA-qx2v-qp2m-jg93 | Dependencies (osv-scanner) |
| medium | osv/GHSA-qxg6-89mg-rqv8 |
package-lock.json | @vitest/[email protected] (npm) is affected by GHSA-qxg6-89mg-rqv8 | Dependencies (osv-scanner) |
| medium | osv/GHSA-r825-w8mm-5pxw |
package-lock.json | [email protected] (npm) is affected by GHSA-r825-w8mm-5pxw | Dependencies (osv-scanner) |
| medium | osv/GHSA-rcqx-6q8c-2c42 |
package-lock.json | [email protected] (npm) is affected by GHSA-rcqx-6q8c-2c42 | Dependencies (osv-scanner) |
| medium | osv/GHSA-rq7h-c2jc-7f22 |
package-lock.json | [email protected] (npm) is affected by GHSA-rq7h-c2jc-7f22 | Dependencies (osv-scanner) |
| medium | osv/GHSA-v6wh-96g9-6wx3 |
package-lock.json | [email protected] (npm) is affected by GHSA-v6wh-96g9-6wx3 | Dependencies (osv-scanner) |
| medium | osv/GHSA-vrhm-gvg7-fpcf |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-vrhm-gvg7-fpcf | Dependencies (osv-scanner) |
| medium | osv/GHSA-wqjv-9729-c5q2 |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-wqjv-9729-c5q2 | Dependencies (osv-scanner) |
| medium | opengrep/javascript.lang.security.audit.unsafe-dynamic-method |
src/cleardeck_frontend/src/lib/canisters.js:208 | 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] | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.unsafe-dynamic-method |
src/cleardeck_frontend/src/lib/canisters.js:260 | 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] | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.unsafe-dynamic-method |
src/cleardeck_frontend/src/lib/cycleRunway.js:276 | 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] | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.unsafe-dynamic-method |
src/cleardeck_frontend/src/lib/solvency.js:471 | 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] | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.unsafe-dynamic-method |
src/cleardeck_frontend/src/lib/solvency.js:499 | 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] | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.html-in-template-string |
src/cleardeck_frontend/src/lib/table-visuals.js:58 | 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).... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.html-in-template-string |
src/cleardeck_frontend/src/lib/table-visuals.js:59 | 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).... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.html-in-template-string |
src/cleardeck_frontend/src/lib/table-visuals.js:62 | 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).... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.detect-non-literal-regexp |
tools/shots/lib/chain-agreement.mjs:468 | 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... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.detect-non-literal-regexp |
tools/shots/lib/occlusion-scan.mjs:35 | 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... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.detect-non-literal-regexp |
tools/shots/lib/occlusion-scan.mjs:36 | 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... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.detect-non-literal-regexp |
tools/shots/lib/token-census.mjs:660 | 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... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.detect-non-literal-regexp |
tools/shots/lib/token-census.mjs:661 | 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... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.detect-non-literal-regexp |
tools/shots/scenarios/handreplay.mjs:590 | 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... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.detect-non-literal-regexp |
tools/shots/scenarios/handreplay.mjs:611 | 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... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.audit.detect-non-literal-regexp |
tools/shots/test-census.mjs:160 | 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... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.html-in-template-string |
tools/shots/test-dock-overflow.mjs:166 | 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).... | Static analysis (opengrep) |
| medium | opengrep/javascript.lang.security.html-in-template-string |
tools/shots/test-occlusion.mjs:39 | 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).... | Static analysis (opengrep) |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
scripts/check-candid.sh:180 | 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... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
scripts/check-deployed.sh:156 | 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... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
scripts/check-fleet-coherence.sh:186 | 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... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
scripts/ci-fund-safety.sh:184 | 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... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-command-substitution-in-command |
scripts/dev.sh:1191 | 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. | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
scripts/dev.sh:2051 | 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... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-command-substitution-in-command |
scripts/dev.sh:910 | 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. | Lint |
| low | opengrep/bash.lang.correctness.unquoted-command-substitution-in-command |
scripts/dev.sh:927 | 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. | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/lib/config.mjs:169 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/lib/config.mjs:169 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/lib/occlusion.mjs:148 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/lib/occlusion.mjs:148 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/test-cycle-runway.mjs:52 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/test-cycle-runway.mjs:52 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/test-cycle-runway.mjs:52 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/test-dock-overflow.mjs:166 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/test-dock-overflow.mjs:166 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/test-occlusion.mjs:39 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/test-occlusion.mjs:39 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/test-solvency.mjs:52 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/test-solvency.mjs:52 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | opengrep/javascript.lang.correctness.missing-template-string-indicator |
tools/shots/test-solvency.mjs:52 | This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? | Lint |
| low | zizmor/adhoc-packages |
.github/workflows/ci.yml:389 | ad-hoc installation of packages [confidence high] | CI workflows (zizmor) |
| low | zizmor/adhoc-packages |
.github/workflows/cycles-monitor.yml:115 | ad-hoc installation of packages [confidence high] | CI workflows (zizmor) |
| low | zizmor/self-repository |
.github/workflows/deploy-ic.yml:39 | use GitHub's dedicated self-repository syntax [confidence high] | CI workflows (zizmor) |
| low | zizmor/adhoc-packages |
.github/workflows/deploy-ic.yml:64 | ad-hoc installation of packages [confidence high] | CI workflows (zizmor) |
| low | zizmor/adhoc-packages |
.github/workflows/deployed-drift.yml:103 | ad-hoc installation of packages [confidence high] | CI workflows (zizmor) |
| low | osv/GHSA-27mw-82g8-phjj |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-27mw-82g8-phjj | Dependencies (osv-scanner) |
| low | osv/GHSA-33hq-fvwr-56pm |
package-lock.json | [email protected] (npm) is affected by GHSA-33hq-fvwr-56pm | Dependencies (osv-scanner) |
| low | osv/GHSA-8qm3-746x-r74r |
package-lock.json | [email protected] (npm) is affected by GHSA-8qm3-746x-r74r | Dependencies (osv-scanner) |
| low | osv/GHSA-9jrq-w75r-8gcw |
package-lock.json | [email protected] (npm) is affected by GHSA-9jrq-w75r-8gcw | Dependencies (osv-scanner) |
| low | osv/GHSA-fpg4-jhqr-589c |
package-lock.json | @sveltejs/[email protected] (npm) is affected by GHSA-fpg4-jhqr-589c | Dependencies (osv-scanner) |
| low | osv/GHSA-mwv9-gp5h-frr4 |
package-lock.json | [email protected] (npm) is affected by GHSA-mwv9-gp5h-frr4 | Dependencies (osv-scanner) |
| low | osv/GHSA-wf3x-273g-mvxv |
package-lock.json | [email protected] (npm) is affected by GHSA-wf3x-273g-mvxv | Dependencies (osv-scanner) |
| low | opengrep/rust.lang.security.args |
tools/differential/src/main.rs:51 | 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... | Static analysis (opengrep) |
| low | opengrep/rust.lang.security.args |
tools/gen-declarations/src/main.rs:34 | 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... | Static analysis (opengrep) |
Tools and coverage
Every analyzer that ran on this commit. A failed or skipped tool is a coverage gap: its share of the score is left out and the coverage figure drops.
| Analyzer | Pillar | Status | Version | Findings | Note |
|---|---|---|---|---|---|
| AI tool configuration | AI provenance | ok | signatures-v1 | 0 | |
| Explicit AI attribution | AI provenance | ok | signatures-v1 | 0 | |
| Release velocity | AI provenance | skipped | — | 0 | |
| Coding style | AI provenance | ok | — | 0 | |
| Commit velocity | AI provenance | ok | prov-4 | 0 | |
| Findings in AI-written lines | AI provenance | ok | git-blame | 0 | |
| Complexity (lizard) | Code quality | ok | lizard 1.25.1 | 0 | |
| Documentation | Code quality | ok | — | 0 | |
| Duplication (jscpd) | Code quality | ok | repotrust-dup-w6 | 0 | |
| Lint | Code quality | ok | opengrep 1.33.1; rules f1d2b562b414 | 27 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | ok | — | 0 | |
| CI workflows (zizmor) | Security | ok | zizmor 1.32.0 | 22 | |
| Dependencies (osv-scanner) | Security | ok | osv-scanner version: 2.7.1 | 75 | |
| Release downloads | Security | ok | — | 0 | |
| Security posture | Security | ok | — | 0 | |
| Package registries | Security | ok | — | 0 | |
| Static analysis (opengrep) | Security | ok | opengrep 1.33.1; rules f1d2b562b414 | 21 | |
| OpenSSF Scorecard | Security | skipped | — | 0 | no published OpenSSF Scorecard result for this repo |
| Secrets (gitleaks) | Security | ok | gitleaks 8.30.1 | 0 |
Score history
Scores from different scoring versions aren't directly comparable.
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | 12de26752a82 | prov-5+qual-2+sec-2 | 0% | 70 | 61 |
| 2026-11-14 | 12de26752a82 | prov-4+qual-2+sec-2 | 0% | 70 | 61 |
Full text report
- Repository: https://github.com/JoshDFN/cleardeck
- Commit:
12de26752a820f4061b2724001e980eec57039b0 - Generated: 2026-11-14T14:52:00+00:00
- Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 0 | explicit | 95% | 100% |
| Code quality | 70 | adequate | 90% | 100% |
| Security | 61 | weak | 85% | 100% |
AI provenance
Explicit AI attribution on 0% of first-party code added; an estimated 0% including velocity signals.
- Explicitly attributed share (lower bound): 0.4%
- Unattributed share in AI-consistent velocity bursts: 44.3%
- Estimated AI-generated share: 0.4%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 4 | 806 |
- AI tooling configured in repo: claude-code
Current source lines last changed by AI-attributed commits: 651 of 110,039.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 0.0 | 0.247 | 0.0x |
| Security | 0.0 | 0.183 | 0.0x |
- Stylometry index: 0.35 per 1,000 lines (narrated steps 13, placeholders 0, assistant phrasing 0, emoji 39). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-01 | 24,375 | 2% |
| 2026-02 | 211 | 0% |
| 2026-08 | 133,109 | 0% |
| 2026-09 | 38,515 | 1% |
Evidence
- Claude Code: trailer 'Co-Authored-By: Claude' (49a982d14223)
- Claude Code: trailer 'Co-Authored-By: Claude' (5333721425af)
- Claude Code: trailer 'Co-Authored-By: Claude' (dd04b6c27b2f)
- Claude Code: trailer 'Co-Authored-By: Claude' (7a5158d3de99)
- 4,825 lines of first-party code in ~0.8h (5,686 lines/hour, 2 commit session) (887b2517e6d9)
- 7,055 lines of first-party code in ~2.3h (3,135 lines/hour, 3 commit session) (ff4ec6e92192)
- 8,811 lines of first-party code in ~4.0h (2,203 lines/hour, 1 commit session) (150a46bc8f09)
- 1,826 lines of first-party code in ~0.9h (1,978 lines/hour, 1 commit session) (148e9e919f5d)
- 6,437 lines of first-party code in ~3.3h (1,960 lines/hour, 5 commit session) (f36630bfb383)
- 1,464 lines of first-party code in ~0.8h (1,888 lines/hour, 1 commit session) (383c1635fd64)
- 1,833 lines of first-party code in ~1.0h (1,790 lines/hour, 1 commit session) (e574f89f45a1)
- 6,928 lines of first-party code in ~4.0h (1,732 lines/hour, 1 commit session) (fe72d46b8438)
- 6,702 lines of first-party code in ~4.0h (1,676 lines/hour, 1 commit session) (fcfa4e82f1cf)
- CLAUDE.md (claude-code configuration) (CLAUDE.md)
- 6,642 lines of first-party code in ~4.0h (1,660 lines/hour, 1 commit session) (ceacc373376e)
AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.
Code quality
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.
| Area | Score |
|---|---|
| Complexity (lizard) | 40 |
| Duplication | 64 |
| Code smells (Opengrep) | 97 |
| Tests and CI | 90 |
| Documentation | 40 |
| Type safety | 93 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 3,772; mean complexity 3.2, 90th percentile 7; 95 complex and 46 long functions
- Duplicated lines: 7.4% of 85,316 compared
- Tests: 55,879 test lines for 110,039 source lines (ratio 0.51); CI test commands: go test, cargo test; 65% of recent source commits also change tests
- Docs missing or thin: license, contributing, changelog
Most complex functions:
- verify in tools/shots/scenarios/handreplay.mjs: complexity 141, 430 lines
- compare in tools/shots/lib/chain-agreement.mjs: complexity 99, 257 lines
- assertLobbyAgreement in tools/shots/lib/chain-agreement.mjs: complexity 81, 229 lines
- replayHand in tools/archive/lib/betting.mjs: complexity 63, 212 lines
- assertHandHistoryAgreement in tools/shots/lib/chain-agreement.mjs: complexity 57, 208 lines
Security
Security posture is weak: 75 known vulnerabilities in 22 dependencies; 1 high-severity SAST findings; 1 high-severity workflow issues. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 98 |
| Vulnerable dependencies (OSV) | 9 |
| CI workflows (zizmor) | 55 |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 75 in 22 packages (critical 3, high 23, medium 39, low 7)
-
Posture checks passed: none; missing: security policy, dependency updates, signed commits, lockfiles
Top findings
| Severity | Finding | Location |
|---|---|---|
| critical | osv/GHSA-wf6x-7x77-mvgw: [email protected] (npm) is affected by GHSA-wf6x-7x77-mvgw |
package-lock.json |
| critical | osv/GHSA-5gmw-xhrv-c9v3: [email protected] (npm) is affected by GHSA-5gmw-xhrv-c9v3 |
package-lock.json |
| critical | osv/GHSA-85c8-ppgw-ccpr: [email protected] (npm) is affected by GHSA-85c8-ppgw-ccpr |
package-lock.json |
| high | opengrep/dockerfile.security.missing-user: 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] |
Dockerfile:153 |
| high | osv/GHSA-2crg-3p73-43xp: @sveltejs/[email protected] (npm) is affected by GHSA-2crg-3p73-43xp |
package-lock.json |
| high | osv/GHSA-j2f3-wq62-6q46: @sveltejs/[email protected] (npm) is affected by GHSA-j2f3-wq62-6q46 |
package-lock.json |
| high | osv/GHSA-j62c-4x62-9r35: @sveltejs/[email protected] (npm) is affected by GHSA-j62c-4x62-9r35 |
package-lock.json |
| high | osv/GHSA-g2pg-6438-jwpf: [email protected] (npm) is affected by GHSA-g2pg-6438-jwpf |
package-lock.json |
| high | osv/GHSA-j22f-vq7h-c4qm: [email protected] (npm) is affected by GHSA-j22f-vq7h-c4qm |
package-lock.json |
| high | osv/GHSA-mcm9-63f2-9j32: [email protected] (npm) is affected by GHSA-mcm9-63f2-9j32 |
package-lock.json |
| high | osv/GHSA-r9w8-h9r3-54w4: [email protected] (npm) is affected by GHSA-r9w8-h9r3-54w4 |
package-lock.json |
| high | osv/GHSA-vw5p-8cq8-m7mv: [email protected] (npm) is affected by GHSA-vw5p-8cq8-m7mv |
package-lock.json |
| high | osv/GHSA-834v-8h66-3h79: [email protected] (npm) is affected by GHSA-834v-8h66-3h79 |
package-lock.json |
| high | osv/GHSA-c8p4-j97h-3vg8: [email protected] (npm) is affected by GHSA-c8p4-j97h-3vg8 |
package-lock.json |
| high | osv/GHSA-v56q-mh7h-f735: [email protected] (npm) is affected by GHSA-v56q-mh7h-f735 |
package-lock.json |
| high | osv/GHSA-xvcm-6775-5m9r: [email protected] (npm) is affected by GHSA-xvcm-6775-5m9r |
package-lock.json |
| high | osv/GHSA-28wg-ghj8-5hjv: [email protected] (npm) is affected by GHSA-28wg-ghj8-5hjv |
package-lock.json |
| high | osv/GHSA-2v37-7h3g-55p8: [email protected] (npm) is affected by GHSA-2v37-7h3g-55p8 |
package-lock.json |
| high | osv/GHSA-xwg4-73v4-xw9w: [email protected] (npm) is affected by GHSA-xwg4-73v4-xw9w |
package-lock.json |
| high | osv/GHSA-c2c7-rcm5-vvqj: [email protected] (npm) is affected by GHSA-c2c7-rcm5-vvqj |
package-lock.json |
| high | osv/GHSA-c2c7-rcm5-vvqj: [email protected] (npm) is affected by GHSA-c2c7-rcm5-vvqj |
package-lock.json |
| high | osv/GHSA-6g55-p6wh-862q: [email protected] (npm) is affected by GHSA-6g55-p6wh-862q |
package-lock.json |
| high | osv/GHSA-r28c-9q8g-f849: [email protected] (npm) is affected by GHSA-r28c-9q8g-f849 |
package-lock.json |
| high | osv/GHSA-mw96-cpmx-2vgc: [email protected] (npm) is affected by GHSA-mw96-cpmx-2vgc |
package-lock.json |
| high | osv/GHSA-68fv-2mgg-jv7q: [email protected] (npm) is affected by GHSA-68fv-2mgg-jv7q |
package-lock.json |
Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.
Distribution signals
- readme-download-lure: gives an archive password
Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.
Repository profile
- Source lines: 110,039; test lines: 55,879
| Language | Lines |
|---|---|
| Rust | 80,847 |
| JavaScript | 51,286 |
| Svelte | 22,733 |
| Shell | 6,503 |
| TypeScript | 3,821 |
| Python | 728 |