Leaderboard github.com
robindarlington/LinuxWhisper
unreviewed-ai-risk
AI provenance
40%
explicit
- Confidence
- 89%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
53/100
weak
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
72/100
adequate
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
40% explicit
Explicit AI attribution on 40% of first-party code added; an estimated 40% including velocity signals.
How the score is built
- Explicitly attributed share40%
- Unattributed share in AI-pace bursts0%
- Estimated AI-generated share40%
- AI tool configuration files0
- Work sessions at AI pace0
- Releases at AI pacenot measured
- Coding-style index (1.0+ means possible)0.00
Attributed AI tools
| Tool | Commits | Lines added | First seen | Last seen |
|---|---|---|---|---|
| Claude Code | 40 | 1,532 | 2026-02-18 | 2026-02-19 |
Lines added per month all AI-attributed share
- 2026-023,629 · 42% AI
- 2026-10155 · 0% AI
Findings in AI-attributed lines vs the rest
From git blame: 1,490 lines trace to AI-attributed commits, 1,999 to others. Reported, not scored.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Code quality | 0.00 | 2.50 | 0.00× |
| Security | 1.34 | 1.00 | 1.34× |
Evidence by analyzer
Explicit AI attributionok26 items
- Claude Code: 40 attributed commits, 1,532 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'
- 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'
- 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'
- 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'
- 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'
- 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'
- Claude Code: trailer 'Co-Authored-By: Claude'
- attributed_commit_share
- 52.6%
- attributed_commits
- 40
- attributed_loc
- 1,532
- attributed_loc_share
- 40.5%
- commits
- 76
- effective_loc
- 3,784
- tools_detected
- 1
AI tool configurationok
- artifacts
- 0
- tools_configured
- 0
- workflow_agents
- 0
Commit velocityok
- excluded_import_loc
- 0
- flagged_loc
- 0
- flagged_loc_share
- 0.0%
- flagged_units
- 0
- max_loc_per_hour
- 460.26
- measured_loc
- 3,784
- median_loc_per_hour
- 184.05
- pr_timed_units
- 0
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 0
- work_units
- 11
Release velocityskipped
Coding styleok
- count:assistant_voice
- 0
- count:emoji_in_code
- 0
- count:narrated_steps
- 0
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 0
- files:narrated_steps
- 0
- files:placeholder
- 0
- index
- 0
- lines_scanned
- 3,489
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 0
- per_kloc:narrated_steps
- 0
- per_kloc:placeholder
- 0
Findings in AI-written linesok
- ai_lines
- 1,490
- blame_failures
- 0
- files_blamed
- 43
- other_lines
- 1,999
- quality:ai_findings
- 0
- quality:ai_per_kloc
- 0
- quality:other_findings
- 5
- quality:other_per_kloc
- 2.50
- quality:ratio
- 0
- security:ai_findings
- 2
- security:ai_per_kloc
- 1.34
- security:other_findings
- 2
- security:other_per_kloc
- 1.00
- security:ratio
- 1.34
Code quality
53 weak
Code quality is weak: test-to-source ratio 0.03, no CI test run detected; 13% of function code in complex or long functions; 2% duplicated lines. Weakest area: testing.
How the score is built
- Complexity68
- Duplication88
- Lint and smells46
- Tests and CI23
- Documentation65
- Type safety40
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok3 items
- check_compositor_conflicts in src/linuxwhisper/config/validation.py: complexity 29, 116 lines
- start in src/linuxwhisper/hotkey/detector.py: complexity 17, 46 lines
- reload_config_safe in src/linuxwhisper/daemon/lifecycle.py: complexity 16, 56 lines
- complex_functions
- 3
- function_nloc
- 1,668
- functions
- 143
- long_functions
- 1
- many_param_functions
- 0
- mean_ccn
- 3.38
- p90_ccn
- 7
- risky_nloc_share
- 13.1%
Duplication (jscpd)ok2 items
- 6+ duplicated lines: src/linuxwhisper/cli/commands.py:88 and src/linuxwhisper/cli/commands.py:131
- 6+ duplicated lines: src/linuxwhisper/injection/clipboard.py:34 and src/linuxwhisper/injection/clipboard.py:99
- compared_lines
- 2,455
- duplicated_lines
- 52
- duplicated_share
- 2.1%
- files
- 43
Lintok
- category:best-practice
- 4
- category:maintainability
- 1
- findings
- 5
- scanned_lines
- 3,489
- weighted_findings
- 11
Tests and CIok
- check:ci_present
- no
- check:ci_runs_lint
- no
- check:ci_runs_tests
- no
- check:has_tests
- yes
- check:test_ratio
- no
- check:tests_cochange
- no
- ci_files
- 0
- cochange_commits
- 30
- cochange_share
- 3.3%
- source_lines
- 3,489
- test_lines
- 91
- test_ratio
- 0.03
Documentationok2 items
- README.md
README.md - LICENSE
LICENSE
- check:changelog
- no
- check:contributing
- no
- check:license
- yes
- check:readme
- yes
- readme_lines
- 159
Type safetyok
- check:low_escape_density
- yes
- check:strict_config
- no
- escapes
- 5
- escapes_per_kloc
- 1.43
Security
72 adequate
Security posture is adequate: 4 high-severity SAST findings. Weakest area: posture.
How the score is built
- Secrets100
- Static analysis (SAST)74
- Vulnerable dependenciesnot measured
- CI workflowsnot measured
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesok
- checked
- 7
- declared
- 7
- 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
- 4
- findings_high
- 4
- findings_low
- 0
- findings_medium
- 0
- parse_errors
- 0
- scanned_lines
- 3,489
- weighted_findings
- 3
Dependencies (osv-scanner)skipped
CI workflows (zizmor)skipped
Security postureok
- check:dependency_updates
- no
- check:lockfiles
- yes
- check:security_policy
- no
- check:signed_commits
- no
- signed_commit_share
- 0.0%
- unpinned_manifests
- 0
Release downloadsok
- binary_assets
- 0
- signals
- 0
- suspicious
- 0
Findings
7 high2 medium
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
src/linuxwhisper/cli/commands.py:108 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
src/linuxwhisper/cli/commands.py:65 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
src/linuxwhisper/daemon/main.py:108 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit |
src/linuxwhisper/cli/commands.py:57 | Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external... | Static analysis (opengrep) |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit |
src/linuxwhisper/injection/focus.py:22 | Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external... | Static analysis (opengrep) |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit |
src/linuxwhisper/overlay/__init__.py:123 | Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external... | Static analysis (opengrep) |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit |
src/linuxwhisper/overlay/__init__.py:61 | Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external... | Static analysis (opengrep) |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
src/linuxwhisper/config/validation.py:205 | 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.maintainability.is-function-without-parentheses |
src/linuxwhisper/pipeline/coordinator.py:332 | Is "is_recording" a function or an attribute? If it is a function, you may have meant self._recorder.is_recording() because self._recorder.is_recording is always true. | Lint |
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 | 5 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | ok | — | 0 | |
| CI workflows (zizmor) | Security | skipped | — | 0 | |
| Dependencies (osv-scanner) | Security | skipped | — | 0 | |
| 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 | 4 | |
| 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 | a0425ee2ed7d | prov-5+qual-2+sec-2 | 40% | 53 | 72 |
| 2026-11-14 | a0425ee2ed7d | prov-4+qual-2+sec-2 | 40% | 53 | 72 |
Full text report
- Repository: https://github.com/robindarlington/LinuxWhisper
- Commit:
a0425ee2ed7dd581806a03bd2db4df2a23658dbb - Generated: 2026-11-14T14:52:07+00:00
- Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2
Scores
Unreviewed AI code risk: a large share of this code is explicitly AI-attributed, and its tests or review process are weak while quality or security scores are low.
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 40 | explicit | 89% | 100% |
| Code quality | 53 | weak | 90% | 100% |
| Security | 72 | adequate | 85% | 100% |
AI provenance
Explicit AI attribution on 40% of first-party code added; an estimated 40% including velocity signals.
- Explicitly attributed share (lower bound): 40.5%
- Unattributed share in AI-consistent velocity bursts: 0.0%
- Estimated AI-generated share: 40.5%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 40 | 1,532 |
Current source lines last changed by AI-attributed commits: 1,490 of 3,489.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 0.0 | 2.501 | 0.0x |
| Security | 1.342 | 1.001 | 1.34x |
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-02 | 3,629 | 42% |
| 2026-10 | 155 | 0% |
Evidence
- Claude Code: trailer 'Co-Authored-By: Claude' (2b759224447e)
- Claude Code: trailer 'Co-Authored-By: Claude' (5c8a3e275c7f)
- Claude Code: trailer 'Co-Authored-By: Claude' (1ca68fbb0ae0)
- Claude Code: trailer 'Co-Authored-By: Claude' (a01d1c048e26)
- Claude Code: trailer 'Co-Authored-By: Claude' (0a521851a380)
- Claude Code: trailer 'Co-Authored-By: Claude' (f2e2ac3928b6)
- Claude Code: trailer 'Co-Authored-By: Claude' (e9f90d388818)
- Claude Code: trailer 'Co-Authored-By: Claude' (2dbb3e8fc7ef)
- Claude Code: trailer 'Co-Authored-By: Claude' (ec86907f708a)
- Claude Code: trailer 'Co-Authored-By: Claude' (b48d79ec3410)
- Claude Code: trailer 'Co-Authored-By: Claude' (f399135fe20c)
- Claude Code: trailer 'Co-Authored-By: Claude' (6e916401a110)
- Claude Code: trailer 'Co-Authored-By: Claude' (786161319853)
- Claude Code: trailer 'Co-Authored-By: Claude' (7eb8894837d5)
- Claude Code: trailer 'Co-Authored-By: Claude' (35f4d9fcce21)
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 weak: test-to-source ratio 0.03, no CI test run detected; 13% of function code in complex or long functions; 2% duplicated lines. Weakest area: testing.
| Area | Score |
|---|---|
| Complexity (lizard) | 68 |
| Duplication | 88 |
| Code smells (Opengrep) | 46 |
| Tests and CI | 23 |
| Documentation | 65 |
| Type safety | 40 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 143; mean complexity 3.4, 90th percentile 7; 3 complex and 1 long functions
- Duplicated lines: 2.1% of 2,455 compared
- Tests: 91 test lines for 3,489 source lines (ratio 0.03); CI test commands: none detected; 3% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- check_compositor_conflicts in src/linuxwhisper/config/validation.py: complexity 29, 116 lines
- start in src/linuxwhisper/hotkey/detector.py: complexity 17, 46 lines
- reload_config_safe in src/linuxwhisper/daemon/lifecycle.py: complexity 16, 56 lines
Security
Security posture is adequate: 4 high-severity SAST findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 74 |
| Vulnerable dependencies (OSV) | n/a |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
- Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
src/linuxwhisper/cli/commands.py:57 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
src/linuxwhisper/injection/focus.py:22 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
src/linuxwhisper/overlay/init.py:61 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
src/linuxwhisper/overlay/init.py:123 |
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.
Repository profile
- Source lines: 3,489; test lines: 91
| Language | Lines |
|---|---|
| Python | 3,580 |