← Back to scan
File as GitHub Issue repo: LeanBitLab/LeanType

Push this scan report to LeanBitLab/LeanType

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Floats For Money

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED107 [MINED107] Missing import: `locale` used but not imported: The file uses `locale.somethin… tools/release.py:101
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… tools/release.py:25
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… app/src/main/java/helium314/keyboard/se…:77
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… app/src/main/java/helium314/keyboard/la…:58
HIGH MINED009 [MINED009] Floats For Money: Variable named price/amount/cost typed as float instead of D… app/src/main/java/helium314/keyboard/la…:41
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … app/src/main/java/helium314/keyboard/la…:106
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … app/src/main/java/helium314/keyboard/la…:59
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … app/src/main/java/helium314/keyboard/la…:93
HIGH MINED029 [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotli… app/src/main/java/helium314/keyboard/ke…:129
HIGH MINED029 [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotli… app/src/main/java/helium314/keyboard/ac…:174
HIGH MINED029 [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotli… app/src/main/java/helium314/keyboard/ac…:198
HIGH COMP001 [COMP001] High cognitive complexity: Function `check_diacritics` has cognitive complexity… tools/diacritics.py:32
HIGH MINED134 [MINED134] Binary file `tools/__pycache__/release.cpython-313.pyc` committed in source re… tools/__pycache__/release.cpython-313.p…:1
HIGH MINED134 [MINED134] Binary file `gradle/wrapper/gradle-wrapper.jar` committed in source repo: `gra… gradle/wrapper/gradle-wrapper.jar:1
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/build-debug-apk.yml:35
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/build-debug-apk.yml:29
HIGH MINED115 [MINED115] Action `gradle/actions/setup-gradle` pinned to mutable ref `@v3`: `uses: gradl… .github/workflows/build-debug-apk.yml:19
HIGH MINED115 [MINED115] Action `actions/setup-java` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/build-debug-apk.yml:15
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/build-debug-apk.yml:12
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/build-test-auto.yml:39
HIGH MINED115 [MINED115] Action `gradle/actions/setup-gradle` pinned to mutable ref `@v3`: `uses: gradl… .github/workflows/build-test-auto.yml:29
HIGH MINED115 [MINED115] Action `actions/setup-java` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/build-test-auto.yml:25
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/build-test-auto.yml:22
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/update-badges.yml:15
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/diacritics.py:61
MED COMP001 [COMP001] High cognitive complexity: Function `update_translations` has cognitive complex… tools/release.py:20
MED COMP001 [COMP001] High cognitive complexity: Function `update_dict_list` has cognitive complexity… tools/release.py:85
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… app/src/main/java/helium314/keyboard/ke…:90
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… app/src/main/java/helium314/keyboard/ke…:42
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… app/src/main/java/helium314/keyboard/ac…:164
LOW AIC003 Duplicated implementation block across source files app/src/main/jni/src/dictionary/structu…:2
LOW AIC003 Duplicated implementation block across source files app/src/main/jni/src/dictionary/structu…:2
LOW AIC003 Duplicated implementation block across source files app/src/main/jni/src/dictionary/structu…:21
LOW AIC003 Duplicated implementation block across source files app/src/main/jni/src/dictionary/structu…:7
LOW AIC003 Duplicated implementation block across source files app/src/main/jni/src/dictionary/structu…:2
LOW AIC003 Duplicated implementation block across source files app/src/main/jni/src/dictionary/structu…:17
LOW AIC003 Duplicated implementation block across source files app/src/main/jni/src/dictionary/structu…:362
LOW AIC003 Duplicated implementation block across source files app/src/main/jni/com_android_inputmetho…:9
LOW AIC003 Duplicated implementation block across source files app/src/main/java/helium314/keyboard/se…:109
LOW AIC003 Duplicated implementation block across source files app/src/main/java/helium314/keyboard/se…:43
LOW AIC003 Duplicated implementation block across source files app/src/main/java/helium314/keyboard/ke…:118
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. tools/release.py:69
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. tools/release.py:14
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… app/src/main/jni/src/dictionary/structu…:53
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… app/src/main/jni/src/dictionary/structu…:49
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… app/src/main/jni/com_android_inputmetho…:34
INFO MINED086 [MINED086] Kotlin Runtime Exception: Throwing bare RuntimeException loses type info. tools/make-emoji-keys/src/main/kotlin/c…:23
INFO MINED086 [MINED086] Kotlin Runtime Exception: Throwing bare RuntimeException loses type info. app/src/main/java/helium314/keyboard/la…:150
INFO MINED083 [MINED083] Java Thread Start: Raw thread creation. Should use ExecutorService for managed… app/src/main/java/helium314/keyboard/la…:44
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… app/src/main/java/helium314/keyboard/la…:24
Reset to top 5 50 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `LeanBitLab/LeanType`

**Score: 84/100 (B)**  ·  50 findings  ·  scanned 2026-06-05 16:47 UTC  ·  109,546 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 23 |
| MEDIUM | 3 |
| LOW | 14 |

📊 [Full filterable report](https://repobility.com/scan/fe9623ea-3456-4547-b271-9aab44bf89ca/)  ·  ![scorecard](https://repobility.com/scan/fe9623ea-3456-4547-b271-9aab44bf89ca/report.png?v=1780678072-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `locale` used but not imported
   `tools/release.py:101` · ✓ Repobility
2. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `tools/release.py:25` · A10:2021 SSRF
3. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `app/src/main/java/helium314/keyboard/settings/preferences/LoadEmojiLibPreference.kt:77` · A10:2021 SSRF
4. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `app/src/main/java/helium314/keyboard/latin/utils/GestureLibraryDownloader.kt:58` · A10:2021 SSRF
5. **HIGH** `MINED009` — Floats For Money
   `app/src/main/java/helium314/keyboard/latin/utils/ColorUtil.kt:41` · CWE-682 · ✓ Repobility

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/fe9623ea-3456-4547-b271-9aab44bf89ca/_
Megaproject â high spam risk
Could not determine 'LeanBitLab/LeanType' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.