Leaderboard github.com
MatsuriDayo/NekoBoxForAndroid
NekoBox for Android / sing-box / universal proxy toolchain for Android
AI provenance
0%
none-detected
- Confidence
- 65%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
50/100
weak
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
69/100
weak
- Confidence
- 76%
- Coverage
- 83%
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 pace0
- Coding-style index (1.0+ means possible)0.00
Lines added per month all AI-attributed share
- 2023-0335,015 · 0% AI
- 2023-041,375 · 0% AI
- 2023-05786 · 0% AI
- 2023-06596 · 0% AI
- 2023-07741 · 0% AI
- 2023-08487 · 0% AI
- 2023-09742 · 0% AI
- 2023-10145 · 0% AI
- 2023-11153 · 0% AI
- 2023-1258 · 0% AI
- 2024-01356 · 0% AI
- 2024-02397 · 0% AI
- 2024-0310 · 0% AI
- 2024-050 · 0% AI
- 2024-0740 · 0% AI
- 2024-082 · 0% AI
- 2024-1071 · 0% AI
- 2024-12184 · 0% AI
- 2025-0149 · 0% AI
- 2025-02915 · 0% AI
- 2025-03159 · 0% AI
- 2025-04265 · 0% AI
- 2025-0625 · 0% AI
- 2025-091,511 · 0% AI
- 2025-1058 · 0% AI
- 2026-01116 · 0% AI
- 2026-0266 · 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
- 384
- effective_loc
- 44,322
- tools_detected
- 0
AI tool configurationok
- artifacts
- 0
- tools_configured
- 0
- workflow_agents
- 0
Commit velocityok
- excluded_import_loc
- 33,250
- flagged_loc
- 0
- flagged_loc_share
- 0.0%
- flagged_units
- 0
- max_loc_per_hour
- 286.81
- measured_loc
- 11,072
- median_loc_per_hour
- 57.07
- pr_timed_units
- 16
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 0
- work_units
- 225
Release velocityok
- flagged_releases
- 0
- max_loc_per_day
- 181.90
- releases
- 43
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
- 33,118
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 0
- per_kloc:narrated_steps
- 0
- per_kloc:placeholder
- 0
Code quality
50 weak
Code quality is weak: test-to-source ratio 0.00, no CI test run detected; 17% of function code in complex or long functions; 15% duplicated lines. Weakest area: testing.
How the score is built
- Complexity60
- Duplication42
- Lint and smells96
- Tests and CI15
- Documentation65
- Type safetynot measured
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok10 items
- parseRaw in app/src/main/java/io/nekohasekai/sagernet/group/RawUpdater.kt: complexity 160, 389 lines
- onMenuItemClick in app/src/main/java/io/nekohasekai/sagernet/ui/ConfigurationFragment.kt: complexity 52, 200 lines
- buildChain in app/src/main/java/io/nekohasekai/sagernet/fmt/ConfigBuilder.kt: complexity 38, 146 lines
- bind in app/src/main/java/io/nekohasekai/sagernet/ui/ConfigurationFragment.kt: complexity 30, 135 lines
- (anonymous) in app/src/main/java/io/nekohasekai/sagernet/fmt/ConfigBuilder.kt: complexity 25, 160 lines
- discover in libcore/stun/discover.go: complexity 25, 82 lines
- StandardV2RayBean::initializeDefaultValues in app/src/main/java/io/nekohasekai/sagernet/fmt/v2ray/StandardV2RayBean.java: complexity 24, 32 lines
- String in app/src/main/java/io/nekohasekai/sagernet/ktx/Formats.kt: complexity 24, 120 lines
- startVpn in app/src/main/java/io/nekohasekai/sagernet/bg/VpnService.kt: complexity 22, 91 lines
- doUpdate in app/src/main/java/io/nekohasekai/sagernet/group/RawUpdater.kt: complexity 22, 152 lines
- complex_functions
- 27
- function_nloc
- 15,455
- functions
- 1,443
- long_functions
- 10
- many_param_functions
- 2
- mean_ccn
- 2.69
- p90_ccn
- 5
- risky_nloc_share
- 17.1%
Duplication (jscpd)ok10 items
- 6+ duplicated lines: app/src/main/java/io/nekohasekai/sagernet/QuickToggleShortcut.kt:6 and app/src/main/java/io/nekohasekai/sagernet/fmt/mieru/MieruBean.java:4
- 6+ duplicated lines: app/src/main/java/io/nekohasekai/sagernet/QuickToggleShortcut.kt:12 and app/src/main/java/io/nekohasekai/sagernet/ui/QuickDisableShortcut.kt:12
- 6+ duplicated lines: app/src/main/java/io/nekohasekai/sagernet/QuickToggleShortcut.kt:76 and app/src/main/java/io/nekohasekai/sagernet/ui/QuickEnableShortcut.kt:47
- 6+ duplicated lines: app/src/main/java/io/nekohasekai/sagernet/database/GroupManager.kt:21 and app/src/main/java/io/nekohasekai/sagernet/group/GroupInterfaceAdapter.kt:30
- 6+ duplicated lines: app/src/main/java/io/nekohasekai/sagernet/database/GroupManager.kt:40 and app/src/main/java/io/nekohasekai/sagernet/database/ProfileManager.kt:47
- 6+ duplicated lines: app/src/main/java/io/nekohasekai/sagernet/database/SagerDatabase.kt:37 and app/src/main/java/io/nekohasekai/sagernet/database/preference/PublicDatabase.kt:19
- 6+ duplicated lines: app/src/main/java/io/nekohasekai/sagernet/database/SubscriptionBean.java:49 and app/src/main/java/io/nekohasekai/sagernet/database/SubscriptionBean.java:67
- 6+ duplicated lines: app/src/main/java/io/nekohasekai/sagernet/fmt/hysteria/HysteriaFmt.kt:279 and app/src/main/java/io/nekohasekai/sagernet/fmt/hysteria/HysteriaFmt.kt:318
- 6+ duplicated lines: app/src/main/java/io/nekohasekai/sagernet/fmt/hysteria/HysteriaFmt.kt:301 and app/src/main/java/io/nekohasekai/sagernet/fmt/tuic/TuicFmt.kt:84
- 6+ duplicated lines: app/src/main/java/io/nekohasekai/sagernet/fmt/internal/InternalBean.java:12 and app/src/main/java/moe/matsuri/nb4a/proxy/neko/NekoBean.java:67
- compared_lines
- 19,650
- duplicated_lines
- 2,858
- duplicated_share
- 14.5%
- files
- 240
Lintok
- category:best-practice
- 1
- category:correctness
- 15
- findings
- 16
- scanned_lines
- 33,118
- weighted_findings
- 5.50
Tests and CIok2 items
- CI config: .github/workflows/preview.yml
.github/workflows/preview.yml - CI config: .github/workflows/release.yml
.github/workflows/release.yml
- check:ci_present
- yes
- check:ci_runs_lint
- no
- check:ci_runs_tests
- no
- check:has_tests
- no
- check:test_ratio
- no
- check:tests_cochange
- no
- ci_files
- 2
- cochange_commits
- 246
- cochange_share
- 0.0%
- source_lines
- 33,118
- test_lines
- 0
- test_ratio
- 0
Documentationok2 items
- README.md
README.md - LICENSE
LICENSE
- check:changelog
- no
- check:contributing
- no
- check:license
- yes
- check:readme
- yes
- readme_lines
- 63
Type safetyskipped
Security
69 weak
Security posture is weak: 55 known vulnerabilities in 9 dependencies. Weakest area: posture.
How the score is built
- Secrets100
- Static analysis (SAST)95
- Vulnerable dependencies39
- CI workflowsnot measured
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesskipped
no registry dependencies declared
Secrets (gitleaks)ok
- secrets_current
- 0
- secrets_history
- 0
- secrets_low_confidence
- 0
- secrets_nonprod
- 0
Static analysis (opengrep)ok
- findings
- 14
- findings_high
- 0
- findings_low
- 0
- findings_medium
- 14
- parse_errors
- 3
- scanned_lines
- 33,118
- weighted_findings
- 5.25
Dependencies (osv-scanner)ok
- penalty
- 56
- vulnerabilities
- 55
- vulnerable_packages
- 9
- vulns_critical
- 8
- vulns_high
- 6
- vulns_low
- 0
- vulns_medium
- 11
- vulns_unknown
- 30
CI workflows (zizmor)failed
zizmor exited 1: 0: failed to load file:///workspace/runs/github.com/MatsuriDayo/NekoBoxForAndroid/repo/.github/workflows/preview.yml as workflow | 1: couldn't turn input into a an appropriate model | 2: data did not match any variant of untagged enum TriggerWire
Security postureok
- check:dependency_updates
- no
- check:lockfiles
- yes
- check:security_policy
- no
- check:signed_commits
- no
- signed_commit_share
- 32.0%
- unpinned_manifests
- 0
Release downloadsok6 items
- release 1.4.2 ships NekoBox-1.4.2-arm64-v8a.apk (743197 downloads)
- release 1.4.2 ships NekoBox-1.4.2-armeabi-v7a.apk (78049 downloads)
- release 1.4.2 ships NekoBox-1.4.2-x86.apk (47082 downloads)
- release 1.4.2 ships NekoBox-1.4.2-x86_64.apk (59065 downloads)
- release 1.4.1 ships NekoBox-1.4.1-arm64-v8a.apk (271341 downloads)
- links to file hosts or shorteners: t.me/
README.md
- binary_assets
- 36
- signals
- 2
- suspicious
- 0
Findings
8 critical6 high57 medium14 low
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| critical | osv/GHSA-5cgq-3rg8-m6cv |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5021, GHSA-5cgq-3rg8-m6cv | Dependencies (osv-scanner) |
| critical | osv/GHSA-89gr-r52h-f8rx |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5019, GHSA-89gr-r52h-f8rx | Dependencies (osv-scanner) |
| critical | osv/GHSA-f5wc-c3c7-36mc |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5006, GHSA-f5wc-c3c7-36mc | Dependencies (osv-scanner) |
| critical | osv/GHSA-jppx-rxg9-jmrx |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5005, GHSA-jppx-rxg9-jmrx | Dependencies (osv-scanner) |
| critical | osv/GHSA-p77j-4mvh-x3m3 |
libcore/go.mod | google.golang.org/[email protected] (Go) is affected by GO-2026-4762, GHSA-p77j-4mvh-x3m3 | Dependencies (osv-scanner) |
| critical | osv/GHSA-rm3j-f69w-wqmq |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5020, GHSA-rm3j-f69w-wqmq | Dependencies (osv-scanner) |
| critical | osv/GHSA-vgwf-h737-ff37 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5017, GHSA-vgwf-h737-ff37 | Dependencies (osv-scanner) |
| critical | osv/GHSA-x527-x647-q7gg |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5023, GHSA-x527-x647-q7gg | Dependencies (osv-scanner) |
| high | osv/GHSA-259r-337f-4rfw |
libcore/go.mod | github.com/klauspost/[email protected] (Go) is affected by GO-2026-5841, GHSA-259r-337f-4rfw | Dependencies (osv-scanner) |
| high | osv/GHSA-2v4p-qf9q-27wj |
libcore/go.mod | google.golang.org/[email protected] (Go) is affected by GO-2026-6443, GHSA-2v4p-qf9q-27wj | Dependencies (osv-scanner) |
| high | osv/GHSA-hrxh-6v49-42gf |
libcore/go.mod | google.golang.org/[email protected] (Go) is affected by GO-2026-6061, GHSA-hrxh-6v49-42gf | Dependencies (osv-scanner) |
| high | osv/GHSA-q4h4-gmj2-qvw2 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5013, GHSA-q4h4-gmj2-qvw2 | Dependencies (osv-scanner) |
| high | osv/GHSA-vp52-pcj8-j9qc |
libcore/go.mod | google.golang.org/[email protected] (Go) is affected by GO-2026-6348, GHSA-vp52-pcj8-j9qc | Dependencies (osv-scanner) |
| high | osv/GHSA-w879-237q-wc7r |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5018, GHSA-w879-237q-wc7r | Dependencies (osv-scanner) |
| medium | opengrep/go.lang.best-practice.hidden-goroutine |
libcore/dns_box.go:135 | Detected a hidden goroutine. Function invocations are expected to synchronous, and this function will execute asynchronously because all it does is call a goroutine. Instead, remove the internal goroutine and call the function using 'go'. | Lint |
| medium | opengrep/go.lang.correctness.permissions.incorrect-default-permission |
libcore/nb4a.go:51 | Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege. Instead, set... | Lint |
| medium | opengrep/java.android.security.exported_activity |
app/src/main/AndroidManifest.xml:211 | The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access... | Static analysis (opengrep) |
| medium | opengrep/java.android.security.exported_activity |
app/src/main/AndroidManifest.xml:224 | The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access... | Static analysis (opengrep) |
| medium | opengrep/java.android.security.exported_activity |
app/src/main/AndroidManifest.xml:233 | The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access... | Static analysis (opengrep) |
| medium | opengrep/java.android.security.exported_activity |
app/src/main/AndroidManifest.xml:75 | The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access... | Static analysis (opengrep) |
| medium | opengrep/kotlin.lang.security.unencrypted-socket |
app/src/main/java/io/nekohasekai/sagernet/ktx/Nets.kt:58 | This socket is not encrypted. The traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead [confidence low] | Static analysis (opengrep) |
| medium | opengrep/kotlin.lang.security.unencrypted-socket |
app/src/main/java/io/nekohasekai/sagernet/ui/ConfigurationFragment.kt:746 | This socket is not encrypted. The traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead [confidence low] | Static analysis (opengrep) |
| medium | opengrep/go.lang.security.audit.crypto.use-of-sha1 |
libcore/crypto.go:10 | Detected SHA1 hash algorithm which is considered insecure. SHA1 is not collision resistant and is therefore not suitable as a cryptographic signature. Use SHA256 or SHA3 instead. [confidence medium] | Static analysis (opengrep) |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block |
libcore/dns_android.go:39 | Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an... | Static analysis (opengrep) |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block |
libcore/dns_android.go:47 | Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an... | Static analysis (opengrep) |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block |
libcore/dns_android.go:54 | Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an... | Static analysis (opengrep) |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block |
libcore/dns_android.go:64 | Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an... | Static analysis (opengrep) |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block |
libcore/dns_android.go:74 | Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an... | Static analysis (opengrep) |
| medium | osv/GHSA-3fxj-6jh8-hvhx |
libcore/go.mod | github.com/go-chi/chi/[email protected] (Go) is affected by GO-2026-5774, GHSA-3fxj-6jh8-hvhx | Dependencies (osv-scanner) |
| medium | osv/GHSA-45gg-vh54-h5m9 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5014, GHSA-45gg-vh54-h5m9 | Dependencies (osv-scanner) |
| medium | osv/GHSA-5cv4-jp36-h3mw |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5028, GHSA-5cv4-jp36-h3mw | Dependencies (osv-scanner) |
| medium | osv/GHSA-78mq-xcr3-xm33 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5015, GHSA-78mq-xcr3-xm33 | Dependencies (osv-scanner) |
| medium | osv/GHSA-9m57-25v3-79x9 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5033, GHSA-9m57-25v3-79x9 | Dependencies (osv-scanner) |
| medium | osv/GHSA-f6x5-jh6r-wrfv |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2025-4135, GHSA-f6x5-jh6r-wrfv | Dependencies (osv-scanner) |
| medium | osv/GHSA-j5w8-q4qc-rx2x |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2025-4134, GHSA-j5w8-q4qc-rx2x | Dependencies (osv-scanner) |
| medium | osv/GHSA-j6qf-3m9c-vwj3 |
libcore/go.mod | github.com/go-chi/chi/[email protected] (Go) is affected by GHSA-j6qf-3m9c-vwj3 | Dependencies (osv-scanner) |
| medium | osv/GHSA-mqqf-5wvp-8fh8 |
libcore/go.mod | github.com/go-chi/chi/[email protected] (Go) is affected by GO-2026-4316, GHSA-mqqf-5wvp-8fh8 | Dependencies (osv-scanner) |
| medium | osv/GHSA-qc2q-p7wx-3px3 |
libcore/go.mod | google.golang.org/[email protected] (Go) is affected by GO-2026-6441, GHSA-qc2q-p7wx-3px3 | Dependencies (osv-scanner) |
| medium | osv/GHSA-qpw4-5x99-6vjp |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5016, GHSA-qpw4-5x99-6vjp | Dependencies (osv-scanner) |
| medium | osv/GO-2025-4116 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2025-4116 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-4440 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-4440 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-4441 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-4441 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-4918 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-4918 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5024 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5024 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5025 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5025 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5026 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5026 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5027 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5027 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5029 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5029 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5030 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5030 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5775 |
libcore/go.mod | github.com/go-chi/chi/[email protected] (Go) is affected by GO-2026-5775 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5777 |
libcore/go.mod | github.com/go-chi/chi/[email protected] (Go) is affected by GO-2026-5777 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5932 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5932 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5942 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5942 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-5970 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-5970 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6179 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6179 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6180 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6180 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6303 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6303 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6354 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6354 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6355 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6355 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6603 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6603 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6610 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6610 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6611 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6611 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6612 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6612 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6617 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6617 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6629 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6629 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6860 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6860 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6865 |
libcore/go.mod | github.com/klauspost/[email protected] (Go) is affected by GO-2026-6865 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6866 |
libcore/go.mod | golang.org/x/[email protected] (Go) is affected by GO-2026-6866 | Dependencies (osv-scanner) |
| medium | osv/GO-2026-6888 |
libcore/go.mod | github.com/andybalholm/[email protected] (Go) is affected by GO-2026-6888 | Dependencies (osv-scanner) |
| medium | opengrep/go.lang.security.potential-dos-via-decompression-bomb |
libcore/io.go:69 | Detected a possible denial-of-service via a zip bomb attack. By limiting the max bytes read, you can mitigate this attack. `io.CopyN()` can specify a size. [confidence low] | Static analysis (opengrep) |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block |
libcore/procfs/procfs.go:26 | Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an... | Static analysis (opengrep) |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
buildScript/lib/assets.sh:18 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
buildScript/lib/assets.sh:19 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
buildScript/lib/assets.sh:20 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
buildScript/lib/assets.sh:25 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
buildScript/lib/assets.sh:26 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
buildScript/lib/assets.sh:27 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
buildScript/lib/assets.sh:6 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
buildScript/lib/assets.sh:7 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
buildScript/lib/assets.sh:8 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
libcore/build.sh:18 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
libcore/build.sh:22 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
libcore/build.sh:23 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
libcore/build.sh:24 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
libcore/build.sh:8 | Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... | Lint |
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 | ok | prov-5 | 0 | |
| Coding style | AI provenance | ok | — | 0 | |
| Commit velocity | AI provenance | ok | prov-5 | 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 | 16 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | skipped | — | 0 | |
| CI workflows (zizmor) | Security | failed | — | 0 | zizmor exited 1: 0: failed to load file:///workspace/runs/github.com/MatsuriDayo/NekoBoxForAndroid/repo/.github/workflows/preview.yml as workflow | 1: couldn't turn input into a an appropriate model | 2: data did not match any variant of untagged enum TriggerWire |
| Dependencies (osv-scanner) | Security | ok | osv-scanner version: 2.7.1 | 55 | |
| Release downloads | Security | ok | — | 0 | |
| Security posture | Security | ok | — | 0 | |
| Package registries | Security | skipped | — | 0 | no registry dependencies declared |
| Static analysis (opengrep) | Security | ok | opengrep 1.33.1; rules f1d2b562b414 | 14 | |
| OpenSSF Scorecard | Security | skipped | — | 0 | no published OpenSSF Scorecard result for this repo |
| Secrets (gitleaks) | Security | ok | gitleaks 8.30.1 | 0 |
Score history
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | 5768494d8ae3 | prov-5+qual-2+sec-2 | 0% | 50 | 69 |
Full text report
- Repository: https://github.com/MatsuriDayo/NekoBoxForAndroid
- Commit:
5768494d8ae3c74a057bb6d46c0f8dc071b0d821 - Generated: 2026-11-14T16:31:48+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 | 65% | 100% |
| Code quality | 50 | weak | 90% | 100% |
| Security | 69 | weak | 76% | 83% |
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 |
|---|---|---|
| 2024-08 | 2 | 0% |
| 2024-10 | 71 | 0% |
| 2024-12 | 184 | 0% |
| 2025-01 | 49 | 0% |
| 2025-02 | 915 | 0% |
| 2025-03 | 159 | 0% |
| 2025-04 | 265 | 0% |
| 2025-06 | 25 | 0% |
| 2025-09 | 1,511 | 0% |
| 2025-10 | 58 | 0% |
| 2026-01 | 116 | 0% |
| 2026-02 | 66 | 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 weak: test-to-source ratio 0.00, no CI test run detected; 17% of function code in complex or long functions; 15% duplicated lines. Weakest area: testing.
| Area | Score |
|---|---|
| Complexity (lizard) | 60 |
| Duplication | 42 |
| Code smells (Opengrep) | 96 |
| Tests and CI | 15 |
| Documentation | 65 |
| Type safety | n/a |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 1,443; mean complexity 2.7, 90th percentile 5; 27 complex and 10 long functions
- Duplicated lines: 14.5% of 19,650 compared
- Tests: 0 test lines for 33,118 source lines (ratio 0.00); CI test commands: none detected; 0% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- parseRaw in app/src/main/java/io/nekohasekai/sagernet/group/RawUpdater.kt: complexity 160, 389 lines
- onMenuItemClick in app/src/main/java/io/nekohasekai/sagernet/ui/ConfigurationFragment.kt: complexity 52, 200 lines
- buildChain in app/src/main/java/io/nekohasekai/sagernet/fmt/ConfigBuilder.kt: complexity 38, 146 lines
- bind in app/src/main/java/io/nekohasekai/sagernet/ui/ConfigurationFragment.kt: complexity 30, 135 lines
- (anonymous) in app/src/main/java/io/nekohasekai/sagernet/fmt/ConfigBuilder.kt: complexity 25, 160 lines
Security
Security posture is weak: 55 known vulnerabilities in 9 dependencies. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 95 |
| Vulnerable dependencies (OSV) | 39 |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 55 in 9 packages (critical 8, high 6, medium 11, low 0)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| critical | osv/GHSA-jppx-rxg9-jmrx: golang.org/x/[email protected] (Go) is affected by GO-2026-5005, GHSA-jppx-rxg9-jmrx |
libcore/go.mod |
| critical | osv/GHSA-f5wc-c3c7-36mc: golang.org/x/[email protected] (Go) is affected by GO-2026-5006, GHSA-f5wc-c3c7-36mc |
libcore/go.mod |
| critical | osv/GHSA-vgwf-h737-ff37: golang.org/x/[email protected] (Go) is affected by GO-2026-5017, GHSA-vgwf-h737-ff37 |
libcore/go.mod |
| critical | osv/GHSA-89gr-r52h-f8rx: golang.org/x/[email protected] (Go) is affected by GO-2026-5019, GHSA-89gr-r52h-f8rx |
libcore/go.mod |
| critical | osv/GHSA-rm3j-f69w-wqmq: golang.org/x/[email protected] (Go) is affected by GO-2026-5020, GHSA-rm3j-f69w-wqmq |
libcore/go.mod |
| critical | osv/GHSA-5cgq-3rg8-m6cv: golang.org/x/[email protected] (Go) is affected by GO-2026-5021, GHSA-5cgq-3rg8-m6cv |
libcore/go.mod |
| critical | osv/GHSA-x527-x647-q7gg: golang.org/x/[email protected] (Go) is affected by GO-2026-5023, GHSA-x527-x647-q7gg |
libcore/go.mod |
| critical | osv/GHSA-p77j-4mvh-x3m3: google.golang.org/[email protected] (Go) is affected by GO-2026-4762, GHSA-p77j-4mvh-x3m3 |
libcore/go.mod |
| high | osv/GHSA-259r-337f-4rfw: github.com/klauspost/[email protected] (Go) is affected by GO-2026-5841, GHSA-259r-337f-4rfw |
libcore/go.mod |
| high | osv/GHSA-q4h4-gmj2-qvw2: golang.org/x/[email protected] (Go) is affected by GO-2026-5013, GHSA-q4h4-gmj2-qvw2 |
libcore/go.mod |
| high | osv/GHSA-w879-237q-wc7r: golang.org/x/[email protected] (Go) is affected by GO-2026-5018, GHSA-w879-237q-wc7r |
libcore/go.mod |
| high | osv/GHSA-hrxh-6v49-42gf: google.golang.org/[email protected] (Go) is affected by GO-2026-6061, GHSA-hrxh-6v49-42gf |
libcore/go.mod |
| high | osv/GHSA-vp52-pcj8-j9qc: google.golang.org/[email protected] (Go) is affected by GO-2026-6348, GHSA-vp52-pcj8-j9qc |
libcore/go.mod |
| high | osv/GHSA-2v4p-qf9q-27wj: google.golang.org/[email protected] (Go) is affected by GO-2026-6443, GHSA-2v4p-qf9q-27wj |
libcore/go.mod |
| medium | opengrep/java.android.security.exported_activity: The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access to your application's control plane. [confidence medium] |
app/src/main/AndroidManifest.xml:75 |
| medium | opengrep/java.android.security.exported_activity: The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access to your application's control plane. [confidence medium] |
app/src/main/AndroidManifest.xml:211 |
| medium | opengrep/java.android.security.exported_activity: The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access to your application's control plane. [confidence medium] |
app/src/main/AndroidManifest.xml:224 |
| medium | opengrep/java.android.security.exported_activity: The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access to your application's control plane. [confidence medium] |
app/src/main/AndroidManifest.xml:233 |
| medium | opengrep/kotlin.lang.security.unencrypted-socket: This socket is not encrypted. The traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead [confidence low] |
app/src/main/java/io/nekohasekai/sagernet/ktx/Nets.kt:58 |
| medium | opengrep/kotlin.lang.security.unencrypted-socket: This socket is not encrypted. The traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead [confidence low] |
app/src/main/java/io/nekohasekai/sagernet/ui/ConfigurationFragment.kt:746 |
| medium | opengrep/go.lang.security.audit.crypto.use-of-sha1: Detected SHA1 hash algorithm which is considered insecure. SHA1 is not collision resistant and is therefore not suitable as a cryptographic signature. Use SHA256 or SHA3 instead. [confidence medium] |
libcore/crypto.go:10 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
libcore/dns_android.go:39 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
libcore/dns_android.go:47 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
libcore/dns_android.go:54 |
| medium | opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] |
libcore/dns_android.go:64 |
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
- binary-release-asset: release 1.4.2 ships NekoBox-1.4.2-arm64-v8a.apk (743197 downloads)
- binary-release-asset: release 1.4.2 ships NekoBox-1.4.2-armeabi-v7a.apk (78049 downloads)
- binary-release-asset: release 1.4.2 ships NekoBox-1.4.2-x86.apk (47082 downloads)
- binary-release-asset: release 1.4.2 ships NekoBox-1.4.2-x86_64.apk (59065 downloads)
- binary-release-asset: release 1.4.1 ships NekoBox-1.4.1-arm64-v8a.apk (271341 downloads)
- readme-download-lure: links to file hosts or shorteners: t.me/
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: 33,118; test lines: 0
| Language | Lines |
|---|---|
| Kotlin | 22,127 |
| Java | 7,239 |
| Go | 3,534 |
| Shell | 218 |
Coverage gaps
sec-actions: zizmor exited 1: 0: failed to load file:///workspace/runs/github.com/MatsuriDayo/NekoBoxForAndroid/repo/.github/workflows/preview.yml as workflow | 1: couldn't turn input into a an appropriate model | 2: data did not match any variant of untagged enum TriggerWire