Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
Upstream (GitHub) caused delay on this scan — not Repobility.
  • GitHub API rate-limited (HTTP 403) — preflight skipped, fell back to direct git clone.
  • Clone from GitHub took 45.17s for a 75.6 MB repo slow.
  • Repobility's analysis ran in 9.02s after the clone landed.

rikkahub/rikkahub

https://github.com/rikkahub/rikkahub · scanned 2026-05-31 01:26 UTC (1 week, 6 days ago) · 10 languages

222 raw signals (120 security + 102 graph) 11/13 scanners ran 67th percentile · Kotlin · large (100-500K LoC) System graph score 79 (lower by 7)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 week, 6 days ago · v2 · 89 actionable findings from 2 signal sources. 82 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 85.0 0.15 12.75
security_score 100.0 0.25 25.00
testing_score 23.0 0.20 4.60
documentation_score 71.0 0.15 10.65
practices_score 75.0 0.15 11.25
code_quality 79.0 0.10 7.90
Overall 1.00 72.2
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade B (72/100). Dimensions: security 100, maintainability 85. 120 findings (16 security). 114,184 lines analyzed.

Showing 54 of 89 actionable findings. 171 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high Security checks quality Quality conf 1.00 ✓ Repobility 3 occurrences [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotlins null safety.
Review and fix per the pattern semantics. See CWE-476 / for context.
3 files, 3 locations
ai/src/main/java/me/rerere/ai/util/ErrorParser.kt:25
ai/src/main/java/me/rerere/ai/util/KeyRoulette.kt:71
app/src/main/java/me/rerere/rikkahub/data/ai/tools/SearchTools.kt:63
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_async: Test function `test_async` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
locale-tui/src/main.py:74
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_connection: Test function `test_connection` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
locale-tui/src/services/translator.py:28
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_connection: Test function `test_connection` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
locale-tui/src/main.py:56
high Security checks quality Quality conf 1.00 ✓ Repobility 25 occurrences [MINED108] `self.push_screen` used but never assigned in __init__: Method `on_mount` of class `LocaleTuiApp` reads `self.push_screen`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
Initialize `self.push_screen = <default>` in __init__, or add a class-level default.
6 files, 25 locations
locale-tui/src/screens/translation_table.py:75, 78, 86, 122, 124, 125, 153, 157, +4 more (12 hits)
locale-tui/src/widgets/edit_modal.py:51, 53, 59, 62, 66 (5 hits)
locale-tui/src/services/dead_entry_finder.py:37, 48, 68 (3 hits)
locale-tui/src/app.py:35, 39 (2 hits)
locale-tui/src/screens/module_select.py:66, 69 (2 hits)
locale-tui/src/services/translator.py:129
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `app/src/main/jniLibs/arm64-v8a/libsimple.so` committed in source repo: `app/src/main/jniLibs/arm64-v8a/libsimple.so` is a .so binary (9,076,576 bytes) committed to a repo that otherwise has 657 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
app/src/main/jniLibs/arm64-v8a/libsimple.so:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `app/src/main/jniLibs/x86_64/libsimple.so` committed in source repo: `app/src/main/jniLibs/x86_64/libsimple.so` is a .so binary (8,743,904 bytes) committed to a repo that otherwise has 657 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
app/src/main/jniLibs/x86_64/libsimple.so:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `document/src/main/jniLibs/arm64-v8a/libmupdf_java.so` committed in source repo: `document/src/main/jniLibs/arm64-v8a/libmupdf_java.so` is a .so binary (9,444,584 bytes) committed to a repo that otherwise has 657 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
document/src/main/jniLibs/arm64-v8a/libmupdf_java.so:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `document/src/main/jniLibs/x86_64/libmupdf_java.so` committed in source repo: `document/src/main/jniLibs/x86_64/libmupdf_java.so` is a .so binary (9,818,488 bytes) committed to a repo that otherwise has 657 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
document/src/main/jniLibs/x86_64/libmupdf_java.so:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `gradle/vineflower.jar` committed in source repo: `gradle/vineflower.jar` is a .jar binary (1,633,863 bytes) committed to a repo that otherwise has 657 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
gradle/vineflower.jar:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `gradle/wrapper/gradle-wrapper.jar` committed in source repo: `gradle/wrapper/gradle-wrapper.jar` is a .jar binary (59,203 bytes) committed to a repo that otherwise has 657 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
gradle/wrapper/gradle-wrapper.jar:1
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
app/src/main/java/me/rerere/rikkahub/data/db/fts/SimpleDictManager.kt:44
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
app/src/main/java/me/rerere/rikkahub/web/routes/AIIconRoutes.kt:28
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 8 occurrences GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `actions/github-script` pinned to mutable ref `@v7`: `uses: actions/github-script@v7` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commi…
2 files, 8 locations
.github/workflows/release.yml:11, 16, 22, 46 (7 hits)
.github/workflows/close-blank-issues.yml:13
CI/CD securitySupply chainGitHub Actions
high Security checks security auth conf 0.83 Secret-like setting is echoed into a password input value
Never prefill secret fields with stored values. Show a masked status such as configured/not configured, require explicit rotation to replace the value, and return the raw key only once at creation time.
web-ui/app/components/web-auth-gate.tsx:66
low Security checks quality Error handling conf 1.00 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level.
Log the error: `except Exception: logger.debug('cleanup failed', exc_info=True)`. Or handle specific exception types.
locale-tui/src/services/dead_entry_finder.py:60
low Security checks quality Error handling conf 0.55 ✓ Repobility 7 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
3 files, 7 locations
locale-tui/src/main.py:30, 85, 145, 176, 260 (5 hits)
locale-tui/src/screens/translation_table.py:333
locale-tui/src/services/xml_parser.py:29
Error handlingquality
high Security checks security auth conf 0.82 Browser storage is used for session token material
Prefer httpOnly, Secure, SameSite cookies or short-lived in-memory tokens. Avoid persistent browser storage for access, refresh, ID, or partner session tokens.
web-ui/app/services/api.ts:109
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — highlight/src/main/res/raw/prism.js:189
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in highlight/src/main/res/raw/prism.js:132
Found a known-risky pattern (weak_hash). Review and replace if possible.
highlight/src/main/res/raw/prism.js:132 Weak hash
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
1 test file(s) for 127 source file(s) (ratio 0.01). Consider adding integration or unit tests for critical paths.
Coverage
low Security checks quality Quality conf 0.60 30 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
12 files, 17 locations
ai/src/main/java/me/rerere/ai/provider/providers/openai/ResponseAPI.kt:136, 150 (2 hits)
app/src/main/java/me/rerere/rikkahub/ui/pages/setting/SettingPreferencesPage.kt:38, 44 (2 hits)
app/src/main/java/me/rerere/rikkahub/ui/pages/setting/SettingPreferencesThemePage.kt:49, 55 (2 hits)
app/src/main/java/me/rerere/rikkahub/ui/pages/setting/SettingPreferencesUIPage.kt:103, 109 (2 hits)
app/src/main/java/me/rerere/rikkahub/ui/pages/setting/SettingThemePage.kt:107, 108 (2 hits)
app/src/main/java/me/rerere/rikkahub/data/sync/webdav/WebDavSync.kt:116
app/src/main/java/me/rerere/rikkahub/ui/components/ai/AssistantPicker.kt:123
app/src/main/java/me/rerere/rikkahub/ui/components/ai/SearchPicker.kt:74
duplicationquality
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/routes.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/routes/c.$id.tsx
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/routes/home.tsx
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/stores/app-store.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/stores/chat-input.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/stores/settings.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/stores/slices/clock-slice.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/stores/slices/settings-slice.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/stores/slices/types.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/types/annotations.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/types/conversation.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/types/core.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/types/dto.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/types/message.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/types/parts.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/app/types/settings.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/react-router.config.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/vite-env.d.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: web-ui/vite.config.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `notify_backup` in highlight/src/main/res/raw/prism.js:151
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: action_delete_entry
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/screens/translation_table.py:269
low System graph software Dead code conf 1.00 Possibly dead Python function: action_edit_entry
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/screens/translation_table.py:240
low System graph software Dead code conf 1.00 Possibly dead Python function: action_focus_search
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/screens/translation_table.py:222
low System graph software Dead code conf 1.00 Possibly dead Python function: action_go_back
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/screens/translation_table.py:212
low System graph software Dead code conf 1.00 Possibly dead Python function: action_help
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/app.py:37
low System graph software Dead code conf 1.00 Possibly dead Python function: action_quit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/screens/module_select.py:68
low System graph software Dead code conf 1.00 Possibly dead Python function: action_refresh
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/screens/translation_table.py:362
low System graph software Dead code conf 1.00 Possibly dead Python function: action_save_all
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/screens/translation_table.py:338
low System graph software Dead code conf 1.00 Possibly dead Python function: action_toggle_dead_filter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/screens/translation_table.py:226
low System graph software Dead code conf 1.00 Possibly dead Python function: action_toggle_missing_filter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/screens/translation_table.py:233
low System graph software Dead code conf 1.00 Possibly dead Python function: update_progress
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
locale-tui/src/screens/translation_table.py:316
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — web-ui/copy.ts:34
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/fff71f28-48b8-4e50-b035-1c9f771bcef0/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/fff71f28-48b8-4e50-b035-1c9f771bcef0/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.