{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:03.824547Z","repo":{"ref":{"host":"github.com","owner":"dddqmmx","name":"xminecraft"},"default_branch":"master","clone_url":"https://github.com/dddqmmx/xminecraft.git","html_url":"https://github.com/dddqmmx/xminecraft","description":null,"stars":0,"forks":0,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":529,"primary_language":"Rust","license_spdx":null,"created_at":"2026-06-14T23:10:27Z","pushed_at":"2026-08-03T16:20:50Z","security_policy_url":null,"distribution":{"owner_created_at":"2019-11-22T14:34:46Z","owner_type":"User","release_assets":[]}},"commit_sha":"2d7bc856384565e6835ed6d35467eafb3084d3a0","profile":{"lines_by_language":{"Rust":16186,"Python":2127},"files_by_category":{"source":51,"config":10,"test":9,"other":9,"docs":6,"generated":1,"binary":1},"source_lines":14792,"test_lines":3521},"pillars":{"ai_provenance":{"score":10.8,"confidence":0.75,"coverage":1.0,"label":"explicit","breakdown":{"attributed_share":0.1077,"suspected_share":0.5401,"estimated_share":0.1077,"ai_artifacts":2.0,"flagged_work_units":3.0,"flagged_releases":null,"style_index":0.068},"summary":"Explicit AI attribution on 11% of first-party code added; an estimated 11% including velocity signals."},"quality":{"score":61.6,"confidence":0.9,"coverage":1.0,"label":"weak","breakdown":{"complexity":58.1,"duplication":60.7,"lint":46.7,"testing":86.9,"docs":40.0,"type_safety":40.0,"process":null},"summary":"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."},"security":{"score":62.4,"confidence":0.85,"coverage":1.0,"label":"weak","breakdown":{"secrets":59.7,"sast":97.1,"dependencies":70.5,"ci_actions":51.7,"posture":0.0,"scorecard":null},"summary":"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."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":"no published OpenSSF Scorecard result for this repo"},{"analyzer":"sec-registry","pillar":"security","status":"ok","tool_version":null,"metrics":{"declared":27.0,"checked":27.0,"missing":0.0,"recent":0.0,"lookup_errors":0.0},"findings":[],"evidence":[],"data":{"phantom":false},"error":null},{"analyzer":"ai-attribution","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"commits":20.0,"attributed_commits":2.0,"attributed_commit_share":0.1,"effective_loc":21451.0,"attributed_loc":2311.0,"attributed_loc_share":0.10773390517924572,"tools_detected":1.0},"findings":[],"evidence":[{"kind":"attribution-summary","description":"Claude Code: 2 attributed commits, 2,311 lines added","ref":null,"url":null,"weight":1.0},{"kind":"attributed-commit","description":"Claude Code: trailer 'Co-Authored-By: Claude'","ref":"cc7c01abf3fe51af88f4dcb029d2723da67728f0","url":"https://github.com/dddqmmx/xminecraft/commit/cc7c01abf3fe51af88f4dcb029d2723da67728f0","weight":0.9},{"kind":"attributed-commit","description":"Claude Code: trailer 'Co-Authored-By: Claude'","ref":"62134a3f101c4a56db8b4ef26e5cf0aa1613c95e","url":"https://github.com/dddqmmx/xminecraft/commit/62134a3f101c4a56db8b4ef26e5cf0aa1613c95e","weight":0.9}],"data":{"attributed_loc_by_commit":{"62134a3f101c4a56db8b4ef26e5cf0aa1613c95e":1013,"cc7c01abf3fe51af88f4dcb029d2723da67728f0":1298},"tools":{"claude-code":{"name":"Claude Code","commits":2,"loc":2311,"first_seen":1785056157,"last_seen":1785579093}},"monthly":{"2026-06":{"loc":4689,"attributed_loc":0},"2026-07":{"loc":10157,"attributed_loc":1013},"2026-08":{"loc":6605,"attributed_loc":1298}}},"error":null},{"analyzer":"ai-artifacts","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"artifacts":2.0,"workflow_agents":0.0,"tools_configured":2.0,"earliest_adoption":1781698847.0},"findings":[],"evidence":[{"kind":"ai-artifact","description":"AGENTS.md (generic-agent configuration)","ref":"AGENTS.md","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/AGENTS.md","weight":0.5},{"kind":"ai-artifact","description":"GEMINI.md (gemini configuration)","ref":"GEMINI.md","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/GEMINI.md","weight":0.5}],"data":{"artifacts":[{"tool":"generic-agent","path":"AGENTS.md","added_at":1781698847},{"tool":"gemini","path":"GEMINI.md","added_at":1781698847}],"workflows":[],"tools":["gemini","generic-agent"]},"error":null},{"analyzer":"ai-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"work_units":11.0,"flagged_units":3.0,"pre_ai_era_bursts":0.0,"pre_ai_era_measured_loc":0.0,"pre_ai_era_burst_loc":0.0,"measured_loc":17838.0,"flagged_loc":11586.0,"flagged_loc_share":0.6495122771611167,"max_loc_per_hour":1325.75,"median_loc_per_hour":413.38155515370704,"pr_timed_units":0.0,"excluded_import_loc":3613.0},"findings":[],"evidence":[{"kind":"velocity-burst","description":"5,303 lines of first-party code in ~4.0h (1,326 lines/hour, 1 commit session)","ref":"71185aa9ba88aac44850cdcf3fa6fa0d4802674a","url":"https://github.com/dddqmmx/xminecraft/commit/71185aa9ba88aac44850cdcf3fa6fa0d4802674a","weight":0.397725},{"kind":"velocity-burst","description":"3,388 lines of first-party code in ~4.0h (847 lines/hour, 1 commit session)","ref":"a2e1ff17e48ea08f35d7e80bb534834434d30186","url":"https://github.com/dddqmmx/xminecraft/commit/a2e1ff17e48ea08f35d7e80bb534834434d30186","weight":0.2541},{"kind":"velocity-burst","description":"2,895 lines of first-party code in ~4.1h (709 lines/hour, 2 commit session)","ref":"1c8cce08f0d5fda44199f64604f45baade0a1c48","url":"https://github.com/dddqmmx/xminecraft/commit/1c8cce08f0d5fda44199f64604f45baade0a1c48","weight":0.21270834750663312}],"data":{"flagged_loc_by_commit":{"5351fe85925d0d8e2a099abb364113a5b08bb02d":2887,"1c8cce08f0d5fda44199f64604f45baade0a1c48":8,"a2e1ff17e48ea08f35d7e80bb534834434d30186":3388,"71185aa9ba88aac44850cdcf3fa6fa0d4802674a":5303},"excluded_import_commits":["8644be389df09e9a92a899351d8e810d40231cab"]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":14792.0,"index":0.068,"count:narrated_steps":1.0,"per_kloc:narrated_steps":0.068,"files:narrated_steps":1.0,"count:placeholder":0.0,"per_kloc:placeholder":0.0,"files:placeholder":0.0,"count:emoji_in_code":0.0,"per_kloc:emoji_in_code":0.0,"files:emoji_in_code":0.0,"count:assistant_voice":0.0,"per_kloc:assistant_voice":0.0,"files:assistant_voice":0.0},"findings":[],"evidence":[{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: // first, so a 17-ASCII-char name reports `(17 > 16)` and a 100-byte","ref":"src/protocol.rs:1157","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/protocol.rs#L1157","weight":0.0}],"data":{},"error":null},{"analyzer":"sec-secrets","pillar":"security","status":"ok","tool_version":"gitleaks 8.30.1","metrics":{"secrets_current":1.0,"secrets_history":0.0,"secrets_nonprod":3.0,"secrets_low_confidence":0.0},"findings":[{"rule_id":"gitleaks/private-key","severity":"high","message":"Possible private-key secret in the current tree","path":"src/test_support.rs","line":75,"fingerprint":"src/test_support.rs:private-key:75"},{"rule_id":"gitleaks/private-key","severity":"low","message":"Possible private-key secret in the current tree (test/docs/example file)","path":"tests/fixtures/ca.key","line":1,"fingerprint":"tests/fixtures/ca.key:private-key:1"},{"rule_id":"gitleaks/private-key","severity":"low","message":"Possible private-key secret in the current tree (test/docs/example file)","path":"tests/fixtures/server.key","line":1,"fingerprint":"tests/fixtures/server.key:private-key:1"},{"rule_id":"gitleaks/private-key","severity":"low","message":"Possible private-key secret in the current tree (test/docs/example file)","path":"tests/fixtures/test.key","line":1,"fingerprint":"tests/fixtures/test.key:private-key:1"}],"evidence":[],"data":{},"error":null},{"analyzer":"sec-sast","pillar":"security","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":5.0,"findings_high":0.0,"findings_medium":0.0,"findings_low":5.0,"weighted_findings":1.25,"scanned_lines":14792.0,"parse_errors":0.0},"findings":[{"rule_id":"opengrep/rust.lang.security.temp-dir","severity":"low","message":"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]","path":"src/cert.rs","line":169,"fingerprint":"rust.lang.security.temp-dir:src/cert.rs:169"},{"rule_id":"opengrep/rust.lang.security.temp-dir","severity":"low","message":"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]","path":"src/cli.rs","line":835,"fingerprint":"rust.lang.security.temp-dir:src/cli.rs:835"},{"rule_id":"opengrep/rust.lang.security.temp-dir","severity":"low","message":"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]","path":"src/config.rs","line":632,"fingerprint":"rust.lang.security.temp-dir:src/config.rs:632"},{"rule_id":"opengrep/rust.lang.security.temp-dir","severity":"low","message":"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]","path":"src/test_support.rs","line":33,"fingerprint":"rust.lang.security.temp-dir:src/test_support.rs:33"},{"rule_id":"opengrep/rust.lang.security.temp-dir","severity":"low","message":"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]","path":"src/whitelist.rs","line":179,"fingerprint":"rust.lang.security.temp-dir:src/whitelist.rs:179"}],"evidence":[],"data":{"rulesets":["rust","python"]},"error":null},{"analyzer":"sec-deps","pillar":"security","status":"ok","tool_version":"osv-scanner version: 2.7.1","metrics":{"vulnerable_packages":7.0,"vulnerabilities":10.0,"vulns_critical":0.0,"vulns_high":0.0,"vulns_medium":3.0,"vulns_low":2.0,"vulns_unknown":5.0,"penalty":21.0},"findings":[{"rule_id":"osv/RUSTSEC-2026-0190","severity":"medium","message":"anyhow@1.0.102 (crates.io) is affected by RUSTSEC-2026-0190","path":"Cargo.lock","line":null,"fingerprint":"anyhow@1.0.102 (crates.io):RUSTSEC-2026-0190"},{"rule_id":"osv/RUSTSEC-2024-0384","severity":"medium","message":"instant@0.1.13 (crates.io) is affected by RUSTSEC-2024-0384","path":"Cargo.lock","line":null,"fingerprint":"instant@0.1.13 (crates.io):RUSTSEC-2024-0384"},{"rule_id":"osv/RUSTSEC-2023-0071","severity":"medium","message":"rsa@0.9.10 (crates.io) is affected by RUSTSEC-2023-0071","path":"Cargo.lock","line":null,"fingerprint":"rsa@0.9.10 (crates.io):RUSTSEC-2023-0071"},{"rule_id":"osv/GHSA-2mjx-qc3c-rqvc","severity":"medium","message":"rustls@0.23.40 (crates.io) is affected by RUSTSEC-2026-0285, GHSA-2mjx-qc3c-rqvc","path":"Cargo.lock","line":null,"fingerprint":"rustls@0.23.40 (crates.io):GHSA-2mjx-qc3c-rqvc"},{"rule_id":"osv/GHSA-c8m5-c952-6cm4","severity":"medium","message":"rustls@0.23.40 (crates.io) is affected by RUSTSEC-2026-0346, GHSA-c8m5-c952-6cm4","path":"Cargo.lock","line":null,"fingerprint":"rustls@0.23.40 (crates.io):GHSA-c8m5-c952-6cm4"},{"rule_id":"osv/RUSTSEC-2025-0134","severity":"medium","message":"rustls-pemfile@2.2.0 (crates.io) is affected by RUSTSEC-2025-0134","path":"Cargo.lock","line":null,"fingerprint":"rustls-pemfile@2.2.0 (crates.io):RUSTSEC-2025-0134"},{"rule_id":"osv/RUSTSEC-2026-0382","severity":"medium","message":"rustls-webpki@0.103.13 (crates.io) is affected by RUSTSEC-2026-0382","path":"Cargo.lock","line":null,"fingerprint":"rustls-webpki@0.103.13 (crates.io):RUSTSEC-2026-0382"},{"rule_id":"osv/RUSTSEC-2026-0386","severity":"medium","message":"tokio@1.52.1 (crates.io) is affected by RUSTSEC-2026-0386","path":"Cargo.lock","line":null,"fingerprint":"tokio@1.52.1 (crates.io):RUSTSEC-2026-0386"},{"rule_id":"osv/GHSA-h2v8-394m-p7vv","severity":"low","message":"rustls@0.23.40 (crates.io) is affected by RUSTSEC-2026-0348, GHSA-h2v8-394m-p7vv","path":"Cargo.lock","line":null,"fingerprint":"rustls@0.23.40 (crates.io):GHSA-h2v8-394m-p7vv"},{"rule_id":"osv/GHSA-w44r-93j7-qv28","severity":"low","message":"rustls@0.23.40 (crates.io) is affected by RUSTSEC-2026-0349, GHSA-w44r-93j7-qv28","path":"Cargo.lock","line":null,"fingerprint":"rustls@0.23.40 (crates.io):GHSA-w44r-93j7-qv28"}],"evidence":[],"data":{"ecosystems":["crates.io"]},"error":null},{"analyzer":"sec-actions","pillar":"security","status":"ok","tool_version":"zizmor 1.32.0","metrics":{"workflows":1.0,"findings":5.0,"findings_high":3.0,"findings_medium":2.0,"findings_low":0.0,"penalty":39.6},"findings":[{"rule_id":"zizmor/unpinned-uses","severity":"high","message":"unpinned action reference [confidence high]","path":".github/workflows/ci.yml","line":16,"fingerprint":"unpinned-uses:.github/workflows/ci.yml:16"},{"rule_id":"zizmor/unpinned-uses","severity":"high","message":"unpinned action reference [confidence high]","path":".github/workflows/ci.yml","line":19,"fingerprint":"unpinned-uses:.github/workflows/ci.yml:19"},{"rule_id":"zizmor/unpinned-uses","severity":"high","message":"unpinned action reference [confidence high]","path":".github/workflows/ci.yml","line":24,"fingerprint":"unpinned-uses:.github/workflows/ci.yml:24"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":16,"fingerprint":"artipacked:.github/workflows/ci.yml:16"},{"rule_id":"zizmor/excessive-permissions","severity":"medium","message":"overly broad permissions [confidence medium]","path":".github/workflows/ci.yml","line":13,"fingerprint":"excessive-permissions:.github/workflows/ci.yml:13"}],"evidence":[],"data":{},"error":null},{"analyzer":"sec-posture","pillar":"security","status":"ok","tool_version":null,"metrics":{"check:security_policy":0.0,"check:dependency_updates":0.0,"check:signed_commits":0.0,"check:lockfiles":1.0,"signed_commit_share":0.0,"unpinned_manifests":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-distribution","pillar":"security","status":"ok","tool_version":null,"metrics":{"signals":0.0,"binary_assets":0.0,"suspicious":0.0},"findings":[],"evidence":[],"data":{"signals":[],"suspicious":false,"unusual_traction":false,"metadata":true},"error":null},{"analyzer":"qual-complexity","pillar":"quality","status":"ok","tool_version":"lizard 1.25.1","metrics":{"functions":602.0,"function_nloc":9590.0,"mean_ccn":3.0,"p90_ccn":7.0,"complex_functions":13.0,"long_functions":8.0,"many_param_functions":0.0,"risky_nloc_share":0.1812},"findings":[],"evidence":[{"kind":"complex-function","description":"accept_login in src/minecraft/login.rs: complexity 43, 224 lines","ref":"src/minecraft/login.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/minecraft/login.rs#L139","weight":0.7166666666666667},{"kind":"complex-function","description":"write_client_preamble in src/protocol.rs: complexity 43, 148 lines","ref":"src/protocol.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/protocol.rs#L628","weight":0.7166666666666667},{"kind":"complex-function","description":"handle_socks5 in src/proxy/local.rs: complexity 23, 69 lines","ref":"src/proxy/local.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/proxy/local.rs#L36","weight":0.38333333333333336},{"kind":"complex-function","description":"read_frame in src/noise_auth.rs: complexity 22, 94 lines","ref":"src/noise_auth.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/noise_auth.rs#L204","weight":0.36666666666666664},{"kind":"complex-function","description":"resolve in src/config.rs: complexity 20, 113 lines","ref":"src/config.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/config.rs#L416","weight":0.3333333333333333},{"kind":"complex-function","description":"write_initial_play_packets in src/minecraft/login.rs: complexity 20, 192 lines","ref":"src/minecraft/login.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/minecraft/login.rs#L797","weight":0.3333333333333333},{"kind":"complex-function","description":"login_state_decode_error in src/protocol.rs: complexity 20, 92 lines","ref":"src/protocol.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/protocol.rs#L916","weight":0.3333333333333333},{"kind":"complex-function","description":"encode_type in probe/mc_codec.py: complexity 18, 81 lines","ref":"probe/mc_codec.py","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/probe/mc_codec.py#L36","weight":0.3},{"kind":"complex-function","description":"handle_status in src/minecraft/status.rs: complexity 18, 59 lines","ref":"src/minecraft/status.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/minecraft/status.rs#L116","weight":0.3},{"kind":"complex-function","description":"handle_offline in src/proxy/server.rs: complexity 18, 94 lines","ref":"src/proxy/server.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/proxy/server.rs#L290","weight":0.3}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":10872.0,"duplicated_lines":903.0,"duplicated_share":0.0831,"files":51.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: probe/enc.py:31 and probe/probe.py:22","ref":"probe/enc.py","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/probe/enc.py#L31","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: probe/enc.py:285 and probe/enc.py:388","ref":"probe/enc.py","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/probe/enc.py#L285","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: probe/frame_sim.py:27 and probe/frame_sim.py:52","ref":"probe/frame_sim.py","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/probe/frame_sim.py#L27","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: probe/play_prelogin.py:129 and probe/play_prelogin.py:194","ref":"probe/play_prelogin.py","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/probe/play_prelogin.py#L129","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/carrier/signal.rs:102 and src/config.rs:279","ref":"src/carrier/signal.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/carrier/signal.rs#L102","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/cli.rs:533 and src/cli.rs:667","ref":"src/cli.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/cli.rs#L533","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/config.rs:790 and src/config.rs:811","ref":"src/config.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/config.rs#L790","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/minecraft/login.rs:472 and src/minecraft/login.rs:798","ref":"src/minecraft/login.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/minecraft/login.rs#L472","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/minecraft/registry.rs:63 and src/minecraft/registry.rs:84","ref":"src/minecraft/registry.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/minecraft/registry.rs#L63","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/minecraft/status.rs:393 and src/minecraft/status.rs:424","ref":"src/minecraft/status.rs","url":"https://github.com/dddqmmx/xminecraft/blob/2d7bc856384565e6835ed6d35467eafb3084d3a0/src/minecraft/status.rs#L393","weight":0.3}],"data":{},"error":null},{"analyzer":"qual-lint","pillar":"quality","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":25.0,"weighted_findings":45.0,"scanned_lines":14792.0,"category:best-practice":22.0,"category:maintainability":3.0},"findings":[{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"probe/enc.py","line":386,"fingerprint":"python.lang.best-practice.arbitrary-sleep:probe/enc.py:386"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"probe/enc.py","line":572,"fingerprint":"python.lang.best-practice.arbitrary-sleep:probe/enc.py:572"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"probe/enc.py","line":592,"fingerprint":"python.lang.best-practice.arbitrary-sleep:probe/enc.py:592"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"probe/enc.py","line":610,"fingerprint":"python.lang.best-practice.arbitrary-sleep:probe/enc.py:610"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"probe/play_prelogin.py","line":112,"fingerprint":"python.lang.best-practice.arbitrary-sleep:probe/play_prelogin.py:112"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"probe/probe.py","line":166,"fingerprint":"python.lang.best-practice.arbitrary-sleep:probe/probe.py:166"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"probe/probe.py","line":211,"fingerprint":"python.lang.best-practice.arbitrary-sleep:probe/probe.py:211"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"probe/probe.py","line":367,"fingerprint":"python.lang.best-practice.arbitrary-sleep:probe/probe.py:367"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"probe/probe.py","line":453,"fingerprint":"python.lang.best-practice.arbitrary-sleep:probe/probe.py:453"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"probe/probe.py","line":589,"fingerprint":"python.lang.best-practice.arbitrary-sleep:probe/probe.py:589"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"fix_lints.py","line":3,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:fix_lints.py:3"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"fix_lints.py","line":6,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:fix_lints.py:6"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"fix_lints.py","line":9,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:fix_lints.py:9"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"fix_lints.py","line":12,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:fix_lints.py:12"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"fix_lints.py","line":15,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:fix_lints.py:15"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"fix_lints.py","line":18,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:fix_lints.py:18"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"fix_lints.py","line":21,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:fix_lints.py:21"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"fix_lints.py","line":25,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:fix_lints.py:25"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"probe/diff.py","line":20,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:probe/diff.py:20"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"probe/diff.py","line":21,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:probe/diff.py:21"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"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.","path":"probe/enc.py","line":252,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:probe/enc.py:252"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"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.","path":"probe/enc.py","line":273,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:probe/enc.py:273"},{"rule_id":"opengrep/python.lang.best-practice.hardcoded-tmp-path","severity":"medium","message":"Detected hardcoded temp directory. Consider using 'tempfile.TemporaryFile' instead.","path":"probe/mc_codec.py","line":13,"fingerprint":"python.lang.best-practice.hardcoded-tmp-path:probe/mc_codec.py:13"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"probe/mc_codec.py","line":13,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:probe/mc_codec.py:13"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"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.","path":"probe/probe.py","line":156,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:probe/probe.py:156"}],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":1.0,"check:test_ratio":0.4761,"check:ci_present":1.0,"check:ci_runs_tests":1.0,"check:ci_runs_lint":1.0,"check:tests_cochange":1.0,"test_lines":3521.0,"source_lines":14792.0,"test_ratio":0.238,"ci_files":1.0,"cochange_share":0.7059,"cochange_commits":17.0},"findings":[],"evidence":[{"kind":"ci","description":"CI config: .github/workflows/ci.yml","ref":".github/workflows/ci.yml","url":null,"weight":0.0},{"kind":"ci","description":"CI runs tests (go test, cargo test)","ref":null,"url":null,"weight":0.0},{"kind":"ci","description":"CI runs linters (clippy, rustfmt, cargo fmt)","ref":null,"url":null,"weight":0.0}],"data":{"test_commands":["go test","cargo test"],"lint_commands":["clippy","rustfmt","cargo fmt"]},"error":null},{"analyzer":"qual-docs","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:readme":1.0,"check:license":0.0,"check:contributing":0.0,"check:changelog":0.0,"readme_lines":421.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.md","url":null,"weight":0.0}],"data":{},"error":null},{"analyzer":"qual-type-safety","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:strict_config":0.0,"check:low_escape_density":1.0,"escapes":0.0,"escapes_per_kloc":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"x-blame","pillar":"ai_provenance","status":"ok","tool_version":"git-blame","metrics":{"ai_lines":1392.0,"other_lines":13400.0,"files_blamed":51.0,"blame_failures":0.0,"quality:ai_findings":5.0,"quality:ai_per_kloc":3.592,"quality:other_findings":20.0,"quality:other_per_kloc":1.493,"quality:ratio":2.41,"security:ai_findings":0.0,"security:ai_per_kloc":0.0,"security:other_findings":6.0,"security:other_per_kloc":0.448,"security:ratio":0.0},"findings":[],"evidence":[],"data":{"sampled":false,"comparable":true},"error":null}],"flags":[]}