Leaderboard github.com
dddqmmx/xminecraft
AI provenance
11%
explicit
- Confidence
- 75%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
62/100
weak
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
62/100
weak
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
11% explicit
Explicit AI attribution on 11% of first-party code added; an estimated 11% including velocity signals.
How the score is built
- Explicitly attributed share11%
- Unattributed share in AI-pace bursts54%
- Estimated AI-generated share11%
- AI tool configuration files2
- Work sessions at AI pace3
- Releases at AI pacenot measured
- Coding-style index (1.0+ means possible)0.07
Attributed AI tools
| Tool | Commits | Lines added | First seen | Last seen |
|---|---|---|---|---|
| Claude Code | 2 | 2,311 | 2026-07-26 | 2026-08-01 |
Lines added per month all AI-attributed share
- 2026-064,689 · 0% AI
- 2026-0710,157 · 10% AI
- 2026-086,605 · 20% AI
Findings in AI-attributed lines vs the rest
From git blame: 1,392 lines trace to AI-attributed commits, 13,400 to others. Reported, not scored.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Code quality | 3.59 | 1.49 | 2.41× |
| Security | 0.00 | 0.45 | 0.00× |
Evidence by analyzer
Explicit AI attributionok3 items
- Claude Code: 2 attributed commits, 2,311 lines added
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- attributed_commit_share
- 10.0%
- attributed_commits
- 2
- attributed_loc
- 2,311
- attributed_loc_share
- 10.8%
- commits
- 20
- effective_loc
- 21,451
- tools_detected
- 1
AI tool configurationok2 items
- artifacts
- 2
- earliest_adoption
- 2026-06-17
- tools_configured
- 2
- workflow_agents
- 0
Commit velocityok3 items
- 5,303 lines of first-party code in ~4.0h (1,326 lines/hour, 1 commit session)
- 3,388 lines of first-party code in ~4.0h (847 lines/hour, 1 commit session)
- 2,895 lines of first-party code in ~4.1h (709 lines/hour, 2 commit session)
- excluded_import_loc
- 3,613
- flagged_loc
- 11,586
- flagged_loc_share
- 65.0%
- flagged_units
- 3
- max_loc_per_hour
- 1,325.75
- measured_loc
- 17,838
- median_loc_per_hour
- 413.38
- 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 styleok1 item
- step-by-step narration comment: // first, so a 17-ASCII-char name reports `(17 > 16)` and a 100-byte
- count:assistant_voice
- 0
- count:emoji_in_code
- 0
- count:narrated_steps
- 1
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 0
- files:narrated_steps
- 1
- files:placeholder
- 0
- index
- 0.07
- lines_scanned
- 14,792
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 0
- per_kloc:narrated_steps
- 0.07
- per_kloc:placeholder
- 0
Findings in AI-written linesok
- ai_lines
- 1,392
- blame_failures
- 0
- files_blamed
- 51
- other_lines
- 13,400
- quality:ai_findings
- 5
- quality:ai_per_kloc
- 3.59
- quality:other_findings
- 20
- quality:other_per_kloc
- 1.49
- quality:ratio
- 2.41
- security:ai_findings
- 0
- security:ai_per_kloc
- 0
- security:other_findings
- 6
- security:other_per_kloc
- 0.45
- security:ratio
- 0
Code quality
62 weak
Code quality is weak: test-to-source ratio 0.24, CI runs tests; 18% of function code in complex or long functions; 8% duplicated lines. Weakest area: docs.
How the score is built
- Complexity58
- Duplication61
- Lint and smells47
- Tests and CI87
- Documentation40
- Type safety40
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok10 items
- accept_login in src/minecraft/login.rs: complexity 43, 224 lines
- write_client_preamble in src/protocol.rs: complexity 43, 148 lines
- handle_socks5 in src/proxy/local.rs: complexity 23, 69 lines
- read_frame in src/noise_auth.rs: complexity 22, 94 lines
- resolve in src/config.rs: complexity 20, 113 lines
- write_initial_play_packets in src/minecraft/login.rs: complexity 20, 192 lines
- login_state_decode_error in src/protocol.rs: complexity 20, 92 lines
- encode_type in probe/mc_codec.py: complexity 18, 81 lines
- handle_status in src/minecraft/status.rs: complexity 18, 59 lines
- handle_offline in src/proxy/server.rs: complexity 18, 94 lines
- complex_functions
- 13
- function_nloc
- 9,590
- functions
- 602
- long_functions
- 8
- many_param_functions
- 0
- mean_ccn
- 3
- p90_ccn
- 7
- risky_nloc_share
- 18.1%
Duplication (jscpd)ok10 items
- 6+ duplicated lines: probe/enc.py:31 and probe/probe.py:22
- 6+ duplicated lines: probe/enc.py:285 and probe/enc.py:388
- 6+ duplicated lines: probe/frame_sim.py:27 and probe/frame_sim.py:52
- 6+ duplicated lines: probe/play_prelogin.py:129 and probe/play_prelogin.py:194
- 6+ duplicated lines: src/carrier/signal.rs:102 and src/config.rs:279
- 6+ duplicated lines: src/cli.rs:533 and src/cli.rs:667
- 6+ duplicated lines: src/config.rs:790 and src/config.rs:811
- 6+ duplicated lines: src/minecraft/login.rs:472 and src/minecraft/login.rs:798
- 6+ duplicated lines: src/minecraft/registry.rs:63 and src/minecraft/registry.rs:84
- 6+ duplicated lines: src/minecraft/status.rs:393 and src/minecraft/status.rs:424
- compared_lines
- 10,872
- duplicated_lines
- 903
- duplicated_share
- 8.3%
- files
- 51
Lintok
- category:best-practice
- 22
- category:maintainability
- 3
- findings
- 25
- scanned_lines
- 14,792
- weighted_findings
- 45
Tests and CIok3 items
- CI config: .github/workflows/ci.yml
.github/workflows/ci.yml - CI runs tests (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
- yes
- check:test_ratio
- no
- check:tests_cochange
- yes
- ci_files
- 1
- cochange_commits
- 17
- cochange_share
- 70.6%
- source_lines
- 14,792
- test_lines
- 3,521
- test_ratio
- 0.24
Documentationok1 item
- README.md
README.md
- check:changelog
- no
- check:contributing
- no
- check:license
- no
- check:readme
- yes
- readme_lines
- 421
Type safetyok
- check:low_escape_density
- yes
- check:strict_config
- no
- escapes
- 0
- escapes_per_kloc
- 0
Security
62 weak
Security posture is weak: 1 possible secret(s) in the tree, 0 only in history; 10 known vulnerabilities in 7 dependencies; 3 high-severity workflow issues. Weakest area: posture.
How the score is built
- Secrets60
- Static analysis (SAST)97
- Vulnerable dependencies70
- CI workflows52
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesok
- checked
- 27
- declared
- 27
- lookup_errors
- 0
- missing
- 0
- recent
- 0
Secrets (gitleaks)ok
- secrets_current
- 1
- secrets_history
- 0
- secrets_low_confidence
- 0
- secrets_nonprod
- 3
Static analysis (opengrep)ok
- findings
- 5
- findings_high
- 0
- findings_low
- 5
- findings_medium
- 0
- parse_errors
- 0
- scanned_lines
- 14,792
- weighted_findings
- 1.25
Dependencies (osv-scanner)ok
- penalty
- 21
- vulnerabilities
- 10
- vulnerable_packages
- 7
- vulns_critical
- 0
- vulns_high
- 0
- vulns_low
- 2
- vulns_medium
- 3
- vulns_unknown
- 5
CI workflows (zizmor)ok
- findings
- 5
- findings_high
- 3
- findings_low
- 0
- findings_medium
- 2
- penalty
- 39.60
- workflows
- 1
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
14 high25 medium10 low
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
probe/enc.py:386 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
probe/enc.py:572 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
probe/enc.py:592 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
probe/enc.py:610 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
probe/play_prelogin.py:112 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
probe/probe.py:166 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
probe/probe.py:211 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
probe/probe.py:367 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
probe/probe.py:453 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
probe/probe.py:589 | time.sleep() call; did you mean to leave this in? | Lint |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:16 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:19 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:24 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | gitleaks/private-key |
src/test_support.rs:75 | Possible private-key secret in the current tree | Secrets (gitleaks) |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
fix_lints.py:12 | 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 |
fix_lints.py:15 | 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 |
fix_lints.py:18 | 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 |
fix_lints.py:21 | 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 |
fix_lints.py:25 | 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 |
fix_lints.py:3 | 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 |
fix_lints.py:6 | 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 |
fix_lints.py:9 | 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 |
probe/diff.py:20 | 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 |
probe/diff.py:21 | 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 |
probe/enc.py:252 | Is "is_probe" a function or an attribute? If it is a function, you may have meant fn.is_probe() because fn.is_probe is always true. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
probe/enc.py:273 | Is "is_probe" a function or an attribute? If it is a function, you may have meant wrapped.is_probe() because wrapped.is_probe is always true. | Lint |
| medium | opengrep/python.lang.best-practice.hardcoded-tmp-path |
probe/mc_codec.py:13 | Detected hardcoded temp directory. Consider using 'tempfile.TemporaryFile' instead. | Lint |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
probe/mc_codec.py:13 | 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 |
probe/probe.py:156 | Is "is_probe" a function or an attribute? If it is a function, you may have meant fn.is_probe() because fn.is_probe is always true. | Lint |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:13 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:16 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | osv/GHSA-2mjx-qc3c-rqvc |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0285, GHSA-2mjx-qc3c-rqvc | Dependencies (osv-scanner) |
| medium | osv/GHSA-c8m5-c952-6cm4 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0346, GHSA-c8m5-c952-6cm4 | Dependencies (osv-scanner) |
| medium | osv/RUSTSEC-2023-0071 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2023-0071 | Dependencies (osv-scanner) |
| medium | osv/RUSTSEC-2024-0384 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2024-0384 | Dependencies (osv-scanner) |
| medium | osv/RUSTSEC-2025-0134 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2025-0134 | 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/RUSTSEC-2026-0382 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0382 | Dependencies (osv-scanner) |
| medium | osv/RUSTSEC-2026-0386 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0386 | Dependencies (osv-scanner) |
| low | osv/GHSA-h2v8-394m-p7vv |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0348, GHSA-h2v8-394m-p7vv | Dependencies (osv-scanner) |
| low | osv/GHSA-w44r-93j7-qv28 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0349, GHSA-w44r-93j7-qv28 | Dependencies (osv-scanner) |
| low | opengrep/rust.lang.security.temp-dir |
src/cert.rs:169 | temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary... | Static analysis (opengrep) |
| low | opengrep/rust.lang.security.temp-dir |
src/cli.rs:835 | temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary... | Static analysis (opengrep) |
| low | opengrep/rust.lang.security.temp-dir |
src/config.rs:632 | temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary... | Static analysis (opengrep) |
| low | opengrep/rust.lang.security.temp-dir |
src/test_support.rs:33 | temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary... | Static analysis (opengrep) |
| low | opengrep/rust.lang.security.temp-dir |
src/whitelist.rs:179 | temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary... | Static analysis (opengrep) |
| low | gitleaks/private-key |
tests/fixtures/ca.key:1 | Possible private-key secret in the current tree (test/docs/example file) | Secrets (gitleaks) |
| low | gitleaks/private-key |
tests/fixtures/server.key:1 | Possible private-key secret in the current tree (test/docs/example file) | Secrets (gitleaks) |
| low | gitleaks/private-key |
tests/fixtures/test.key:1 | Possible private-key secret in the current tree (test/docs/example file) | Secrets (gitleaks) |
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 | 25 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | ok | — | 0 | |
| CI workflows (zizmor) | Security | ok | zizmor 1.32.0 | 5 | |
| Dependencies (osv-scanner) | Security | ok | osv-scanner version: 2.7.1 | 10 | |
| 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 | 5 | |
| OpenSSF Scorecard | Security | skipped | — | 0 | no published OpenSSF Scorecard result for this repo |
| Secrets (gitleaks) | Security | ok | gitleaks 8.30.1 | 4 |
Score history
Scores from different scoring versions aren't directly comparable.
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | 2d7bc8563845 | prov-5+qual-2+sec-2 | 11% | 62 | 62 |
| 2026-11-14 | 2d7bc8563845 | prov-4+qual-2+sec-2 | 11% | 62 | 62 |
Full text report
- Repository: https://github.com/dddqmmx/xminecraft
- Commit:
2d7bc856384565e6835ed6d35467eafb3084d3a0 - Generated: 2026-11-14T14:52:03+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) | 11 | explicit | 75% | 100% |
| Code quality | 62 | weak | 90% | 100% |
| Security | 62 | weak | 85% | 100% |
AI provenance
Explicit AI attribution on 11% of first-party code added; an estimated 11% including velocity signals.
- Explicitly attributed share (lower bound): 10.8%
- Unattributed share in AI-consistent velocity bursts: 54.0%
- Estimated AI-generated share: 10.8%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 2 | 2,311 |
- AI tooling configured in repo: gemini, generic-agent
Current source lines last changed by AI-attributed commits: 1,392 of 14,792.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 3.592 | 1.493 | 2.41x |
| Security | 0.0 | 0.448 | 0.0x |
- Stylometry index: 0.07 per 1,000 lines (narrated steps 1, placeholders 0, assistant phrasing 0, emoji 0). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-06 | 4,689 | 0% |
| 2026-07 | 10,157 | 10% |
| 2026-08 | 6,605 | 20% |
Evidence
- Claude Code: trailer 'Co-Authored-By: Claude' (cc7c01abf3fe)
- Claude Code: trailer 'Co-Authored-By: Claude' (62134a3f101c)
- AGENTS.md (generic-agent configuration) (AGENTS.md)
- GEMINI.md (gemini configuration) (GEMINI.md)
- 5,303 lines of first-party code in ~4.0h (1,326 lines/hour, 1 commit session) (71185aa9ba88)
- 3,388 lines of first-party code in ~4.0h (847 lines/hour, 1 commit session) (a2e1ff17e48e)
- 2,895 lines of first-party code in ~4.1h (709 lines/hour, 2 commit session) (1c8cce08f0d5)
- step-by-step narration comment: // first, so a 17-ASCII-char name reports
(17 > 16)and a 100-byte (src/protocol)
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.24, CI runs tests; 18% of function code in complex or long functions; 8% duplicated lines. Weakest area: docs.
| Area | Score |
|---|---|
| Complexity (lizard) | 58 |
| Duplication | 61 |
| Code smells (Opengrep) | 47 |
| Tests and CI | 87 |
| Documentation | 40 |
| Type safety | 40 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 602; mean complexity 3.0, 90th percentile 7; 13 complex and 8 long functions
- Duplicated lines: 8.3% of 10,872 compared
- Tests: 3,521 test lines for 14,792 source lines (ratio 0.24); CI test commands: go test, cargo test; 71% of recent source commits also change tests
- Docs missing or thin: license, contributing, changelog
Most complex functions:
- accept_login in src/minecraft/login.rs: complexity 43, 224 lines
- write_client_preamble in src/protocol.rs: complexity 43, 148 lines
- handle_socks5 in src/proxy/local.rs: complexity 23, 69 lines
- read_frame in src/noise_auth.rs: complexity 22, 94 lines
- resolve in src/config.rs: complexity 20, 113 lines
Security
Security posture is weak: 1 possible secret(s) in the tree, 0 only in history; 10 known vulnerabilities in 7 dependencies; 3 high-severity workflow issues. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 60 |
| Static analysis (Opengrep) | 97 |
| Vulnerable dependencies (OSV) | 70 |
| CI workflows (zizmor) | 52 |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 10 in 7 packages (critical 0, high 0, medium 3, low 2)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| high | gitleaks/private-key: Possible private-key secret in the current tree |
src/test_support.rs:75 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:16 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:19 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:24 |
| medium | osv/RUSTSEC-2026-0190: [email protected] (crates.io) is affected by RUSTSEC-2026-0190 |
Cargo.lock |
| medium | osv/RUSTSEC-2024-0384: [email protected] (crates.io) is affected by RUSTSEC-2024-0384 |
Cargo.lock |
| medium | osv/RUSTSEC-2023-0071: [email protected] (crates.io) is affected by RUSTSEC-2023-0071 |
Cargo.lock |
| medium | osv/GHSA-2mjx-qc3c-rqvc: [email protected] (crates.io) is affected by RUSTSEC-2026-0285, GHSA-2mjx-qc3c-rqvc |
Cargo.lock |
| medium | osv/GHSA-c8m5-c952-6cm4: [email protected] (crates.io) is affected by RUSTSEC-2026-0346, GHSA-c8m5-c952-6cm4 |
Cargo.lock |
| medium | osv/RUSTSEC-2025-0134: [email protected] (crates.io) is affected by RUSTSEC-2025-0134 |
Cargo.lock |
| medium | osv/RUSTSEC-2026-0382: [email protected] (crates.io) is affected by RUSTSEC-2026-0382 |
Cargo.lock |
| medium | osv/RUSTSEC-2026-0386: [email protected] (crates.io) is affected by RUSTSEC-2026-0386 |
Cargo.lock |
| medium | zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] |
.github/workflows/ci.yml:16 |
| medium | zizmor/excessive-permissions: overly broad permissions [confidence medium] |
.github/workflows/ci.yml:13 |
| low | gitleaks/private-key: Possible private-key secret in the current tree (test/docs/example file) |
tests/fixtures/ca.key:1 |
| low | gitleaks/private-key: Possible private-key secret in the current tree (test/docs/example file) |
tests/fixtures/server.key:1 |
| low | gitleaks/private-key: Possible private-key secret in the current tree (test/docs/example file) |
tests/fixtures/test.key:1 |
| low | opengrep/rust.lang.security.temp-dir: temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary directory must use a secure method to create a uniquely named file. [confidence high] |
src/cert.rs:169 |
| low | opengrep/rust.lang.security.temp-dir: temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary directory must use a secure method to create a uniquely named file. [confidence high] |
src/cli.rs:835 |
| low | opengrep/rust.lang.security.temp-dir: temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary directory must use a secure method to create a uniquely named file. [confidence high] |
src/config.rs:632 |
| low | opengrep/rust.lang.security.temp-dir: temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary directory must use a secure method to create a uniquely named file. [confidence high] |
src/test_support.rs:33 |
| low | opengrep/rust.lang.security.temp-dir: temp_dir should not be used for security operations. From the docs: 'The temporary directory may be shared among users, or between processes with different privileges; thus, the creation of any files or directories in the temporary directory must use a secure method to create a uniquely named file. [confidence high] |
src/whitelist.rs:179 |
| low | osv/GHSA-h2v8-394m-p7vv: [email protected] (crates.io) is affected by RUSTSEC-2026-0348, GHSA-h2v8-394m-p7vv |
Cargo.lock |
| low | osv/GHSA-w44r-93j7-qv28: [email protected] (crates.io) is affected by RUSTSEC-2026-0349, GHSA-w44r-93j7-qv28 |
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.
Repository profile
- Source lines: 14,792; test lines: 3,521
| Language | Lines |
|---|---|
| Rust | 16,186 |
| Python | 2,127 |