RepoTrust

Leaderboard github.com

roccia/human_mode

A local-first macOS app that blocks AI tools during focus hours — ChatGPT, Claude, Cursor, Copilot, Ollama, LM Studio, and more.

  • View repository ↗
  • TypeScript
  • ★ 3
  • commit cf7e6df23dda
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

AI provenance

0%

none-detected

Confidence
41%
Coverage
100%

Estimated share of AI-generated code. Explicit attribution is a lower bound.

Code quality

80/100

adequate

Confidence
90%
Coverage
100%

Complexity, duplication, lint density, tests, CI, docs and review process.

Security

65/100

weak

Confidence
85%
Coverage
100%

Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.

AI provenance

0% none-detected

No AI attribution or AI-consistent velocity signals detected.

How the score is built

  • Explicitly attributed share0%
  • Unattributed share in AI-pace bursts0%
  • Estimated AI-generated share0%
  • AI tool configuration files0
  • Work sessions at AI pace0
  • Releases at AI pacenot measured
  • Coding-style index (1.0+ means possible)0.00

Lines added per month all AI-attributed share

  1. 2026-054,098 · 0% AI

Evidence by analyzer

Explicit AI attributionok
attributed_commit_share
0.0%
attributed_commits
0
attributed_loc
0
attributed_loc_share
0.0%
commits
3
effective_loc
4,098
tools_detected
0
AI tool configurationok
artifacts
0
tools_configured
0
workflow_agents
0
Commit velocityok
excluded_import_loc
4,090
flagged_loc
0
flagged_loc_share
0.0%
flagged_units
0
max_loc_per_hour
2
measured_loc
8
median_loc_per_hour
0
pr_timed_units
0
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
0
work_units
1
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
4,098
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0
per_kloc:placeholder
0

Code quality

80 adequate

Code quality is adequate: test-to-source ratio 0.00, CI runs tests; 7% of function code in complex or long functions; 1% duplicated lines. Weakest area: testing.

How the score is built

  • Complexity81
  • Duplication94
  • Lint and smells100
  • Tests and CI45
  • Documentation100
  • Type safety100
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok1 item
complex_functions
1
function_nloc
2,303
functions
288
long_functions
1
many_param_functions
0
mean_ccn
2.26
p90_ccn
5
risky_nloc_share
7.0%
Duplication (jscpd)ok1 item
compared_lines
2,945
duplicated_lines
32
duplicated_share
1.1%
files
43
Lintok
findings
0
scanned_lines
4,098
weighted_findings
0
Tests and CIok3 items
  • CI config: .github/workflows/ci.yml .github/workflows/ci.yml
  • CI runs tests (npm test, go test, cargo test)
  • CI runs linters (clippy, rustfmt, cargo fmt)
check:ci_present
yes
check:ci_runs_lint
yes
check:ci_runs_tests
yes
check:has_tests
no
check:test_ratio
no
check:tests_cochange
no
ci_files
1
cochange_commits
2
cochange_share
0.0%
source_lines
4,098
test_lines
0
test_ratio
0
Documentationok4 items
  • README.md README.md
  • LICENSE LICENSE
  • CONTRIBUTING.md CONTRIBUTING.md
  • CHANGELOG.md CHANGELOG.md
check:changelog
yes
check:contributing
yes
check:license
yes
check:readme
yes
readme_lines
270
Type safetyok1 item
  • TypeScript strict type checking: tsconfig.json tsconfig.json
check:low_escape_density
yes
check:strict_config
yes
escapes
0
escapes_per_kloc
0

Security

65 weak

Security posture is weak: 35 known vulnerabilities in 24 dependencies; 4 high-severity workflow issues. Weakest area: dependencies.

How the score is built

  • Secrets100
  • Static analysis (SAST)98
  • Vulnerable dependencies17
  • CI workflows44
  • Security posture40
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesok
checked
23
declared
23
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
1
findings_high
0
findings_low
0
findings_medium
1
parse_errors
0
scanned_lines
4,098
weighted_findings
0.25
Dependencies (osv-scanner)ok
penalty
105
vulnerabilities
35
vulnerable_packages
24
vulns_critical
0
vulns_high
11
vulns_low
2
vulns_medium
9
vulns_unknown
13
CI workflows (zizmor)ok
findings
5
findings_high
4
findings_low
0
findings_medium
1
penalty
49.20
workflows
1
Security postureok1 item
  • Security policy: SECURITY.md SECURITY.md
check:dependency_updates
no
check:lockfiles
yes
check:security_policy
yes
check:signed_commits
no
signed_commit_share
0.0%
unpinned_manifests
0
Release downloadsok1 item
binary_assets
1
signals
1
suspicious
0

Findings

15 high24 medium2 low

SeverityRuleLocationMessageTool
high zizmor/unpinned-uses .github/workflows/ci.yml:18 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:21 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:27 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:32 unpinned action reference [confidence high] CI workflows (zizmor)
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-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-73wf-gq98-2v4g package-lock.json [email protected] (npm) is affected by GHSA-73wf-gq98-2v4g Dependencies (osv-scanner)
high osv/GHSA-c83g-rgw3-j3cx package-lock.json [email protected] (npm) is affected by GHSA-c83g-rgw3-j3cx 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/RUSTSEC-2026-0194 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0194 Dependencies (osv-scanner)
high osv/RUSTSEC-2026-0194 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0194 Dependencies (osv-scanner)
high osv/RUSTSEC-2026-0195 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0195 Dependencies (osv-scanner)
high osv/RUSTSEC-2026-0195 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0195 Dependencies (osv-scanner)
medium zizmor/artipacked .github/workflows/ci.yml:17 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
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-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-r825-w8mm-5pxw package-lock.json [email protected] (npm) is affected by GHSA-r825-w8mm-5pxw 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-w5vr-8v7q-w6rv package-lock.json [email protected] (npm) is affected by GHSA-w5vr-8v7q-w6rv Dependencies (osv-scanner)
medium opengrep/javascript.lang.security.audit.detect-non-literal-regexp scripts/check-catalog-links.mjs:44 RegExp() called with a `property` 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... Static analysis (opengrep)
medium osv/GHSA-7gcf-g7xr-8hxj src-tauri/Cargo.lock [email protected] (crates.io) is affected by GHSA-7gcf-g7xr-8hxj Dependencies (osv-scanner)
medium osv/GHSA-wrw7-89jp-8q8g src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2024-0429, GHSA-wrw7-89jp-8q8g Dependencies (osv-scanner)
medium osv/RUSTSEC-2024-0370 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2024-0370 Dependencies (osv-scanner)
medium osv/RUSTSEC-2025-0075 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2025-0075 Dependencies (osv-scanner)
medium osv/RUSTSEC-2025-0080 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2025-0080 Dependencies (osv-scanner)
medium osv/RUSTSEC-2025-0081 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2025-0081 Dependencies (osv-scanner)
medium osv/RUSTSEC-2025-0098 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2025-0098 Dependencies (osv-scanner)
medium osv/RUSTSEC-2025-0100 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2025-0100 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0190 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0190 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0221 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0221 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0370 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0370 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0371 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0371 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0372 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0372 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0386 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0386 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0486 src-tauri/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0486 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-g7r4-m6w7-qqqr package-lock.json [email protected] (npm) is affected by GHSA-g7r4-m6w7-qqqr Dependencies (osv-scanner)

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.

AnalyzerPillarStatusVersionFindingsNote
AI tool configurationAI provenanceoksignatures-v10
Explicit AI attributionAI provenanceoksignatures-v10
Release velocityAI provenanceskipped—0
Coding styleAI provenanceok—0
Commit velocityAI provenanceokprov-40
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b4140
Tests and CICode qualityok—0
Type safetyCode qualityok—0
CI workflows (zizmor)Securityokzizmor 1.32.05
Dependencies (osv-scanner)Securityokosv-scanner version: 2.7.135
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityok—0
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b4141
OpenSSF ScorecardSecurityskipped—0no published OpenSSF Scorecard result for this repo
Secrets (gitleaks)Securityokgitleaks 8.30.10

Score history

Scores from different scoring versions aren't directly comparable.

ScoredCommitScoringAI provenanceQualitySecurity
2026-11-14cf7e6df23ddaprov-5+qual-2+sec-20%8065
2026-11-14cf7e6df23ddaprov-4+qual-2+sec-20%8065

Embed a badge

Maintainers can show these in a README. Badges update when the repository is re-scored.

[![RepoTrust ai](https://repotrust.synapticcyber.com/badge/github.com/roccia/human_mode/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/roccia/human_mode/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/roccia/human_mode/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/roccia/human_mode/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/roccia/human_mode/security.svg)](https://repotrust.synapticcyber.com/r/github.com/roccia/human_mode/)
Full text report
  • Repository: https://github.com/roccia/human_mode
  • Commit: cf7e6df23dda3d162b1b269b98a159c19824f948
  • Generated: 2026-11-14T14:52:07+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 none-detected 41% 100%
Code quality 80 adequate 90% 100%
Security 65 weak 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

  • Explicitly attributed share (lower bound): 0.0%
  • Unattributed share in AI-consistent velocity bursts: 0.0%
  • Estimated AI-generated share: 0.0%
Month Lines added Attributed to AI
2026-05 4,098 0%

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.00, CI runs tests; 7% of function code in complex or long functions; 1% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 81
Duplication 94
Code smells (Opengrep) 100
Tests and CI 45
Documentation 100
Type safety 100
Process (Scorecard review/maintenance) n/a
  • Functions: 288; mean complexity 2.3, 90th percentile 5; 1 complex and 1 long functions
  • Duplicated lines: 1.1% of 2,945 compared
  • Tests: 0 test lines for 4,098 source lines (ratio 0.00); CI test commands: npm test, go test, cargo test; 0% of recent source commits also change tests
  • Docs missing or thin: none

Most complex functions:

Security

Security posture is weak: 35 known vulnerabilities in 24 dependencies; 4 high-severity workflow issues. Weakest area: dependencies.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 98
Vulnerable dependencies (OSV) 17
CI workflows (zizmor) 44
Posture (policy, updates, signing, lockfiles) 40
OpenSSF Scorecard n/a
  • Known vulnerabilities: 35 in 24 packages (critical 0, high 11, medium 9, low 2)

  • Posture checks passed: security policy, lockfiles; missing: dependency updates, signed commits

Top findings

Severity Finding Location
high osv/GHSA-73wf-gq98-2v4g: [email protected] (npm) is affected by GHSA-73wf-gq98-2v4g package-lock.json
high osv/GHSA-c83g-rgw3-j3cx: [email protected] (npm) is affected by GHSA-c83g-rgw3-j3cx 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-r28c-9q8g-f849: [email protected] (npm) is affected by GHSA-r28c-9q8g-f849 package-lock.json
high osv/GHSA-68fv-2mgg-jv7q: [email protected] (npm) is affected by GHSA-68fv-2mgg-jv7q package-lock.json
high osv/GHSA-587h-7wmj-h5pm: [email protected] (npm) is affected by GHSA-587h-7wmj-h5pm package-lock.json
high osv/RUSTSEC-2026-0194: [email protected] (crates.io) is affected by RUSTSEC-2026-0194 src-tauri/Cargo.lock
high osv/RUSTSEC-2026-0195: [email protected] (crates.io) is affected by RUSTSEC-2026-0195 src-tauri/Cargo.lock
high osv/RUSTSEC-2026-0194: [email protected] (crates.io) is affected by RUSTSEC-2026-0194 src-tauri/Cargo.lock
high osv/RUSTSEC-2026-0195: [email protected] (crates.io) is affected by RUSTSEC-2026-0195 src-tauri/Cargo.lock
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:18
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:21
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:27
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:32
medium opengrep/javascript.lang.security.audit.detect-non-literal-regexp: RegExp() called with a property 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-contro [confidence low] scripts/check-catalog-links.mjs:44
medium osv/GHSA-w5vr-8v7q-w6rv: [email protected] (npm) is affected by GHSA-w5vr-8v7q-w6rv package-lock.json
medium osv/GHSA-fxqj-rqcc-2cmp: [email protected] (npm) is affected by GHSA-fxqj-rqcc-2cmp package-lock.json
medium osv/GHSA-698v-4r3x-3vcv: [email protected] (npm) is affected by GHSA-698v-4r3x-3vcv package-lock.json
medium osv/GHSA-fx2h-pf6j-xcff: [email protected] (npm) is affected by GHSA-fx2h-pf6j-xcff package-lock.json
medium osv/GHSA-r825-w8mm-5pxw: [email protected] (npm) is affected by GHSA-r825-w8mm-5pxw package-lock.json
medium osv/GHSA-rq7h-c2jc-7f22: [email protected] (npm) is affected by GHSA-rq7h-c2jc-7f22 package-lock.json
medium osv/GHSA-v6wh-96g9-6wx3: [email protected] (npm) is affected by GHSA-v6wh-96g9-6wx3 package-lock.json
medium osv/RUSTSEC-2026-0190: [email protected] (crates.io) is affected by RUSTSEC-2026-0190 src-tauri/Cargo.lock
medium osv/RUSTSEC-2026-0221: [email protected] (crates.io) is affected by RUSTSEC-2026-0221 src-tauri/Cargo.lock

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

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: 4,098; test lines: 0
Language Lines
TypeScript 2,196
Rust 1,785
JavaScript 117