← Back to scan
File as GitHub Issue repo: kylecorry31/Trail-Sense

Push this scan report to kylecorry31/Trail-Sense

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

Ruby YAML.load / Marshal.load on untrusted input

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… scripts/update-guide.py:10
CRIT MINED107 [MINED107] Missing import: `html` used but not imported: The file uses `html.something(..… site/build.py:116
CRIT MINED018 [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo… site/generation/markdown_converter.py:33
CRIT MINED018 [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo… site/build.py:16
CRIT SEC116 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Mar… site/generation/markdown_converter.py:33
CRIT SEC116 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Mar… site/build.py:16
CRIT SEC079 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader ca… site/generation/markdown_converter.py:33
CRIT SEC079 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader ca… site/build.py:16
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… app/src/main/java/com/kylecorry/trail_s…:8
HIGH MINED108 [MINED108] `self.__get_format_args` used but never assigned in __init__: Method `check` o… scripts/string-fixer.py:146
HIGH MINED108 [MINED108] `self.__get_format_args` used but never assigned in __init__: Method `check` o… scripts/string-fixer.py:143
HIGH MINED108 [MINED108] `self.__get_urls` used but never assigned in __init__: Method `check` of class… scripts/string-fixer.py:93
HIGH MINED108 [MINED108] `self.__get_urls` used but never assigned in __init__: Method `check` of class… scripts/string-fixer.py:92
HIGH MINED036 [MINED036] Python Os System Call: os.system() invokes shell with no escaping. survival-guide-book/generate-book.py:39
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… site/src/devices.js:26
HIGH SEC006 [SEC006] XSS Risk: Direct HTML injection without sanitization. site/src/devices.js:40
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … scripts/update_contributors.py:12
HIGH MINED104 [MINED104] Chmod 777: chmod 777 makes a file or directory world-readable, world-writable,… scripts/run-staging-smoke-test.sh:11
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… release.py:16
HIGH MINED009 [MINED009] Floats For Money: Variable named price/amount/cost typed as float instead of D… app/src/main/java/com/kylecorry/trail_s…:28
HIGH MINED009 [MINED009] Floats For Money: Variable named price/amount/cost typed as float instead of D… app/src/main/java/com/kylecorry/trail_s…:22
HIGH MINED009 [MINED009] Floats For Money: Variable named price/amount/cost typed as float instead of D… app/src/main/java/com/kylecorry/trail_s…:42
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… app/src/main/java/com/kylecorry/trail_s…:13
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… app/src/main/java/com/kylecorry/trail_s…:7
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… app/src/main/java/com/kylecorry/trail_s…:49
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … app/src/main/java/com/kylecorry/trail_s…:61
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … app/src/main/java/com/kylecorry/trail_s…:37
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … app/src/androidTest/java/com/kylecorry/…:36
HIGH MINED029 [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotli… app/src/main/java/com/kylecorry/trail_s…:41
HIGH MINED029 [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotli… app/src/main/java/com/kylecorry/trail_s…:281
HIGH MINED029 [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotli… app/src/androidTest/java/com/kylecorry/…:48
HIGH COMP001 [COMP001] High cognitive complexity: Function `parse_diff` has cognitive complexity 38 (S… .agents/skills/android-check-pr-transla…:44
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 `reactivecircus/android-emulator-runner` pinned to mutable ref `@v2`: `… .github/workflows/android-test.yml:41
HIGH MINED115 [MINED115] Action `gradle/actions/setup-gradle` pinned to mutable ref `@v3`: `uses: gradl… .github/workflows/android-test.yml:36
HIGH MINED115 [MINED115] Action `actions/setup-java` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/android-test.yml:23
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/android-test.yml:17
HIGH MINED115 [MINED115] Action `Shopify/upload-to-release` pinned to mutable ref `@v2.0.0`: `uses: Sho… .github/workflows/release.yml:39
HIGH MINED115 [MINED115] Action `actions/setup-java` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/release.yml:20
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yml:14
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/debug-apk.yml:31
HIGH MINED115 [MINED115] Action `actions/setup-java` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/debug-apk.yml:19
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/debug-apk.yml:13
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/nightly.yml:66
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/nightly.yml:59
HIGH MINED115 [MINED115] Action `actions/setup-java` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/nightly.yml:30
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v2`: `uses: actions/setu… .github/workflows/nightly.yml:21
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/nightly.yml:15
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/staging-smoke-test.yml:52
HIGH MINED115 [MINED115] Action `reactivecircus/android-emulator-runner` pinned to mutable ref `@v2`: `… .github/workflows/staging-smoke-test.yml:43
HIGH MINED115 [MINED115] Action `gradle/actions/setup-gradle` pinned to mutable ref `@v3`: `uses: gradl… .github/workflows/staging-smoke-test.yml:37
HIGH MINED115 [MINED115] Action `actions/setup-java` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/staging-smoke-test.yml:24
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/staging-smoke-test.yml:18
HIGH MINED115 [MINED115] Action `actions/setup-java` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/android.yml:24
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/android.yml:18
HIGH MINED115 [MINED115] Action `github/codeql-action/analyze` pinned to mutable ref `@v4`: `uses: gith… .github/workflows/codeql.yml:95
HIGH MINED115 [MINED115] Action `github/codeql-action/init` pinned to mutable ref `@v4`: `uses: github/… .github/workflows/codeql.yml:71
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/codeql.yml:61
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… site/generation/markdown_converter.py:6
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… site/build.py:41
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… site/watch.py:25
MED MINED109 [MINED109] Mutable default argument in `convert_to_book` (list): `def convert_to_book(...… survival-guide-book/generate-book.py:15
MED SEC037 [SEC037] Uncontrolled Recursion — stack/depth exhaustion: Parsing arbitrary-depth user in… site/build.py:16
MED AIC004 Suspicious implementation file appears unreferenced scripts/files-to-refactor.py:1
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… release.py:22
LOW COMP001 [COMP001] High cognitive complexity: Function `classify` has cognitive complexity 8 (Sona… scripts/experiments/clouds.py:141
LOW COMP001 [COMP001] High cognitive complexity: Function `calculate_precision_recall_f1` has cogniti… scripts/experiments/clouds.py:171
LOW AIC003 Duplicated implementation block across source files app/src/main/java/com/kylecorry/trail_s…:40
LOW AIC003 Duplicated implementation block across source files app/src/main/java/com/kylecorry/trail_s…:22
LOW AIC003 Duplicated implementation block across source files app/src/main/java/com/kylecorry/trail_s…:34
LOW AIC003 Duplicated implementation block across source files app/src/main/java/com/kylecorry/trail_s…:114
LOW AIC003 Duplicated implementation block across source files app/src/main/java/com/kylecorry/trail_s…:37
LOW AIC003 Duplicated implementation block across source files app/src/main/java/com/kylecorry/trail_s…:22
LOW AIC003 Duplicated implementation block across source files app/src/main/java/com/kylecorry/trail_s…:36
LOW AIC003 Duplicated implementation block across source files app/src/androidTest/java/com/kylecorry/…:40
LOW AIC002 Source file name looks like an AI patch artifact scripts/files-to-refactor.py:1
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… site/build.py:95
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… scripts/update_contributors.py:12
INFO MINED063 [MINED063] Toctou Os Path Exists: if os.path.exists(p): open(p) — file can be replaced/de… scripts/experiments/clouds.py:202
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. release.py:11
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… scripts/sonarscan.sh:30
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… app/src/main/java/com/kylecorry/trail_s…:12
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… app/src/androidTest/java/com/kylecorry/…:19
Reset to top 5 83 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `kylecorry31/Trail-Sense`

**Score: 76/100 (B-)**  ·  83 findings  ·  scanned 2026-06-05 17:11 UTC  ·  124,618 LOC

| Severity | Count |
|---|---|
| CRITICAL | 9 |
| HIGH | 51 |
| MEDIUM | 4 |
| LOW | 12 |

📊 [Full filterable report](https://repobility.com/scan/b8370e42-e9ba-48ce-add9-d84d2a1bf5ca/)  ·  ![scorecard](https://repobility.com/scan/b8370e42-e9ba-48ce-add9-d84d2a1bf5ca/report.png?v=1780679478-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `locale` used but not imported
   `scripts/update-guide.py:10` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `html` used but not imported
   `site/build.py:116` · ✓ Repobility
3. **CRITICAL** `MINED018` — Unsafe Deserialization Pickle
   `site/generation/markdown_converter.py:33` · CWE-502 · ✓ Repobility
4. **CRITICAL** `MINED018` — Unsafe Deserialization Pickle
   `site/build.py:16` · CWE-502 · ✓ Repobility
5. **CRITICAL** `SEC116` — Ruby YAML.load / Marshal.load on untrusted input
   `site/generation/markdown_converter.py:33` · A08:2021 Software & Data Integrity Failures

---

**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/b8370e42-e9ba-48ce-add9-d84d2a1bf5ca/_
Megaproject â high spam risk
Could not determine 'kylecorry31/Trail-Sense' 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.