← Back to scan
File as GitHub Issue repo: leon-ai/leon

Push this scan report to leon-ai/leon

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

`self._execute_sync_command` used but never assigned in __init__

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: `time` used but not imported: The file uses `time.something(..… tcp_server/src/lib/tts/text/english_uti…:31
CRIT MINED107 [MINED107] Missing import: `signal` used but not imported: The file uses `signal.somethin… tcp_server/src/lib/tts/commons.py:79
CRIT MINED035 [MINED035] Js New Function: new Function(...) compiles strings to functions. server/src/helpers/file-helper.ts:358
HIGH MINED108 [MINED108] `self._execute_async_command` used but never assigned in __init__: Method `exe… bridges/python/src/sdk/base_tool.py:264
HIGH MINED108 [MINED108] `self._execute_sync_command` used but never assigned in __init__: Method `exec… bridges/python/src/sdk/base_tool.py:260
HIGH MINED108 [MINED108] `self._execute_terminal_command` used but never assigned in __init__: Method `… bridges/python/src/sdk/base_tool.py:255
HIGH MINED108 [MINED108] `self.tool_name` used but never assigned in __init__: Method `execute_command`… bridges/python/src/sdk/base_tool.py:246
HIGH MINED108 [MINED108] `self.toolkit` used but never assigned in __init__: Method `execute_command` o… bridges/python/src/sdk/base_tool.py:246
HIGH MINED108 [MINED108] `self.report` used but never assigned in __init__: Method `execute_command` of… bridges/python/src/sdk/base_tool.py:248
HIGH MINED108 [MINED108] `self.get_binary_path` used but never assigned in __init__: Method `execute_co… bridges/python/src/sdk/base_tool.py:240
HIGH MINED108 [MINED108] `self._get_bundled_library_paths` used but never assigned in __init__: Method … bridges/python/src/sdk/base_tool.py:208
HIGH MINED108 [MINED108] `self.report` used but never assigned in __init__: Method `_report_command_out… bridges/python/src/sdk/base_tool.py:192
HIGH MINED108 [MINED108] `self._format_command_output` used but never assigned in __init__: Method `_re… bridges/python/src/sdk/base_tool.py:188
HIGH MINED108 [MINED108] `self.report` used but never assigned in __init__: Method `_report_command_out… bridges/python/src/sdk/base_tool.py:179
HIGH MINED108 [MINED108] `self._format_command_output` used but never assigned in __init__: Method `_re… bridges/python/src/sdk/base_tool.py:175
HIGH MINED108 [MINED108] `self._get_settings_path` used but never assigned in __init__: Method `_check_… bridges/python/src/sdk/base_tool.py:132
HIGH MINED108 [MINED108] `self.toolkit` used but never assigned in __init__: Method `_get_settings_path… bridges/python/src/sdk/base_tool.py:112
HIGH MINED108 [MINED108] `self.tool_name` used but never assigned in __init__: Method `_get_settings_pa… bridges/python/src/sdk/base_tool.py:109
HIGH MINED108 [MINED108] `self.tool_name` used but never assigned in __init__: Method `alias_tool_name`… bridges/python/src/sdk/base_tool.py:106
HIGH MINED108 [MINED108] `self.tool_name` used but never assigned in __init__: Method `alias_tool_name`… bridges/python/src/sdk/base_tool.py:104
HIGH MINED108 [MINED108] `self.tool_name` used but never assigned in __init__: Method `alias_tool_name`… bridges/python/src/sdk/base_tool.py:103
HIGH MINED108 [MINED108] `self.toolkit` used but never assigned in __init__: Method `alias_tool_name` o… bridges/python/src/sdk/base_tool.py:103
HIGH MINED108 [MINED108] `self.clear` used but never assigned in __init__: Method `read` of class `Memo… bridges/python/src/sdk/memory.py:63
HIGH MINED108 [MINED108] `self.write` used but never assigned in __init__: Method `clear` of class `Mem… bridges/python/src/sdk/memory.py:50
HIGH MINED108 [MINED108] `self.set_answer_data` used but never assigned in __init__: Method `answer` of… bridges/python/src/sdk/leon.py:104
HIGH MINED108 [MINED108] `self._get_answer_text` used but never assigned in __init__: Method `answer` o… bridges/python/src/sdk/leon.py:105
HIGH MINED108 [MINED108] `self._inject_variables` used but never assigned in __init__: Method `set_answ… bridges/python/src/sdk/leon.py:89
HIGH MINED108 [MINED108] `self._inject_variables` used but never assigned in __init__: Method `set_answ… bridges/python/src/sdk/leon.py:88
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… tools/music_audio/faster_whisper/src/py…:125
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… skills/native/partner_assistant_skill/s…:14
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… skills/native/color_skill/src/actions/t…:26
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… tools/music_audio/chatterbox_onnx/src/n…:60
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… skills/agent/tiny-web-crawler/scripts/f…:226
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… skills/agent/tiny-web-crawler/scripts/f…:225
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… server/src/helpers/system-helper.ts:288
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… server/src/helpers/string-helper.ts:25
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… server/src/core/context-manager/context…:24
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… server/src/core/context-manager/context…:75
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… server/src/core/context-manager/context…:44
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). scripts/generate/generate-client-interf…:21
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … server/src/core/context-manager/context…:63
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … server/src/core/context-manager/context…:87
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … scripts/generate/generate-client-interf…:24
HIGH MINED021 [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can co… tcp_server/src/main.py:21
HIGH MINED021 [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can co… bridges/python/src/constants.py:32
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… bridges/nodejs/src/tool-runtime.ts:111
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… bridges/nodejs/src/sdk/utils.ts:146
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… bridges/nodejs/src/sdk/toolkit-config.ts:159
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v2`: `uses: actions/setup-… .github/workflows/build.yml:24
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v2`: `uses: actions/setu… .github/workflows/build.yml:19
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/build.yml:16
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v2`: `uses: actions/setup-… .github/workflows/tests.yml:24
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v2`: `uses: actions/setu… .github/workflows/tests.yml:19
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/tests.yml:16
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v2`: `uses: actions/setup-… .github/workflows/lint.yml:24
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v2`: `uses: actions/setu… .github/workflows/lint.yml:19
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/lint.yml:16
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… tools/music_audio/openai_audio/src/pyth…:78
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… tools/music_audio/elevenlabs_audio/src/…:81
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… tools/music_audio/assemblyai_audio/src/…:77
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/operating_system_control/shell/sr…:168
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/weather/openmeteo/src/python/open…:198
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/coding_development/opencode/src/p…:946
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/coding_development/opencode/src/p…:1800
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/coding_development/opencode/src/p…:934
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/coding_development/opencode/src/p…:900
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/coding_development/opencode/src/p…:643
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/coding_development/opencode/src/p…:431
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/coding_development/opencode/src/p…:329
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/coding_development/opencode/src/p…:279
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/coding_development/opencode/src/p…:202
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/search_web/grok/src/python/grok_t…:188
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/search_web/grok/src/python/grok_t…:97
MED MINED109 [MINED109] Mutable default argument in `summarize` (dict): `def summarize(... = []/{}/set… tcp_server/src/lib/tts/utils.py:136
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tcp_server/src/lib/audio_input.py:24
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/sdk/base_tool.py:604
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/sdk/base_tool.py:996
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/sdk/base_tool.py:930
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/sdk/base_tool.py:105
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/sdk/leon.py:156
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/sdk/leon.py:34
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/sdk/network.py:119
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/sdk/network.py:90
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/sdk/network.py:32
MED MINED109 [MINED109] Mutable default argument in `__init__` (dict): `def __init__(... = []/{}/set()… bridges/python/src/sdk/network.py:46
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/main.py:122
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bridges/python/src/main.py:114
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. skills/native/podcast_generator_skill/s…:256
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … tools/music_audio/chatterbox_onnx/src/n…:60
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … skills/agent/tiny-web-crawler/scripts/f…:226
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … server/src/helpers/file-helper.ts:358
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… aurora/src/components/link/link.tsx:19
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … server/src/core/nlp/conversation.ts:256
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … bridges/nodejs/src/sdk/widget.ts:127
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … app/src/js/voice-energy.js:56
MED COMP001 [COMP001] High cognitive complexity: Function `request` has cognitive complexity 19 (Sona… bridges/python/src/sdk/network.py:49
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AGT014 Codex auth.json is read or copied without visible secret-file hardening tools/coding_development/opencode/src/p…:127
MED AGT012 Agent control bridge may listen on a network interface without visible auth server/src/core/http-server/http-server…:5
MED AGT012 Agent control bridge may listen on a network interface without visible auth server/src/core/context-manager/context…:62
MED WEB015 Public web app has no Content Security Policy index.html
MED AGT015 Remote install command pipes network code directly to a shell .github/CONTRIBUTING.md:169
LOW COMP001 [COMP001] High cognitive complexity: Function `_inject_variables` has cognitive complexit… bridges/python/src/sdk/leon.py:50
LOW COMP001 [COMP001] High cognitive complexity: Function `answer` has cognitive complexity 14 (Sonar… bridges/python/src/sdk/leon.py:96
LOW AIC003 Duplicated implementation block across source files server/src/core/tts/synthesizers/watson…:38
LOW AIC003 Duplicated implementation block across source files server/src/core/llm-manager/llm-provide…:94
LOW AIC003 Duplicated implementation block across source files server/src/core/llm-manager/llm-duties/…:94
LOW AIC003 Duplicated implementation block across source files server/src/core/llm-manager/llm-duties/…:27
LOW AIC003 Duplicated implementation block across source files server/src/core/context-manager/context…:44
LOW AIC003 Duplicated implementation block across source files server/src/core/context-manager/context…:46
LOW AIC003 Duplicated implementation block across source files server/src/core/context-manager/context…:144
LOW AIC003 Duplicated implementation block across source files server/src/core/context-manager/context…:55
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/to…:83
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/to…:10
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/to…:1
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/to…:30
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/to…:20
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/to…:27
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/to…:1
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/to…:27
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/sk…:26
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/sk…:1
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/sk…:21
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/sk…:27
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/sk…:1
LOW AIC003 Duplicated implementation block across source files server/src/built-in-command/commands/sk…:27
LOW AIC003 Duplicated implementation block across source files scripts/setup/setup-runtime-binary.js:28
LOW AIC003 Duplicated implementation block across source files scripts/setup/setup-runtime-binary.js:20
LOW AIC003 Duplicated implementation block across source files scripts/setup/setup-runtime-binary.js:19
LOW AIC003 Duplicated implementation block across source files scripts/setup/setup-qmd-llm.js:27
LOW AIC003 Duplicated implementation block across source files scripts/setup/setup-pytorch.js:62
LOW AIC003 Duplicated implementation block across source files scripts/setup/setup-dotenv.js:10
LOW AIC003 Duplicated implementation block across source files scripts/run-tcp-server.js:44
LOW AIC003 Duplicated implementation block across source files aurora/src/components/lists/list-item/l…:40
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. tools/communication/openrouter/src/node…:182
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. tools/communication/cerebras/src/nodejs…:204
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … server/src/helpers/profile-helper.ts:326
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … server/src/helpers/conversation-history…:161
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… tools/video_streaming/ffprobe/src/pytho…:249
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… bridges/python/src/sdk/widget.py:66
INFO MINED063 [MINED063] Toctou Os Path Exists: if os.path.exists(p): open(p) — file can be replaced/de… bridges/python/src/sdk/leon.py:30
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. bridges/python/src/sdk/aurora/input.py:4
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. aurora/src/components/circular-progress…:10
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. aurora/src/components/card/card.tsx:9
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. aurora/src/components/button/button.tsx:15
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … app/src/js/render-aurora-component.js:25
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … app/src/js/recorder.js:20
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … app/src/js/main.js:163
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… skills/native/is_it_down_skill/src/acti…:16
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… app/src/js/constants.js:17
Reset to top 5 155 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `leon-ai/leon`

**Score: 83/100 (B)**  ·  155 findings  ·  scanned 2026-06-05 18:35 UTC  ·  122,037 LOC

| Severity | Count |
|---|---|
| CRITICAL | 3 |
| HIGH | 57 |
| MEDIUM | 43 |
| LOW | 36 |

📊 [Full filterable report](https://repobility.com/scan/672a583a-861d-47a6-880c-08e510bfe10f/)  ·  ![scorecard](https://repobility.com/scan/672a583a-861d-47a6-880c-08e510bfe10f/report.png?v=1780684500-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `time` used but not imported
   `tcp_server/src/lib/tts/text/english_utils/time_norm.py:31` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `signal` used but not imported
   `tcp_server/src/lib/tts/commons.py:79` · ✓ Repobility
3. **CRITICAL** `MINED035` — Js New Function
   `server/src/helpers/file-helper.ts:358` · CWE-95 · ✓ Repobility
4. **HIGH** `MINED108` — `self._execute_async_command` used but never assigned in __init__
   `bridges/python/src/sdk/base_tool.py:264` · ✓ Repobility
5. **HIGH** `MINED108` — `self._execute_sync_command` used but never assigned in __init__
   `bridges/python/src/sdk/base_tool.py:260` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/672a583a-861d-47a6-880c-08e510bfe10f/_
Megaproject â high spam risk
Could not determine 'leon-ai/leon' 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.