← Back to scan
File as GitHub Issue repo: 13145125121/BotTG

Push this scan report to 13145125121/BotTG

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

Admin endpoint without auth: PUT /api/projects/:id/admin-ids: Express route on /admin path

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 MINED007 [MINED007] Sql String Concat: cursor.execute(f"... {user_input} ...") — SQL injection. tools/_list_tables.py:9
CRIT MINED007 [MINED007] Sql String Concat: cursor.execute(f"... {user_input} ...") — SQL injection. tools/_check_orphans.py:38
CRIT MINED007 [MINED007] Sql String Concat: cursor.execute(f"... {user_input} ...") — SQL injection. tools/_check_db.py:17
CRIT MINED114 [MINED114] Admin endpoint without auth: POST /api/projects/:id/admin-ids/remove: Express … server/routes/setupProjectRoutes.ts:70
CRIT MINED114 [MINED114] Admin endpoint without auth: PUT /api/projects/:id/admin-ids: Express route on… server/routes/setupProjectRoutes.ts:69
HIGH MINED108 [MINED108] `self.handle_command` used but never assigned in __init__: Method `run` of cla… server/python/worker.py:349
HIGH MINED108 [MINED108] `self._shutdown` used but never assigned in __init__: Method `run` of class `B… server/python/worker.py:362
HIGH MINED108 [MINED108] `self._stop_bot` used but never assigned in __init__: Method `_shutdown` of cl… server/python/worker.py:306
HIGH MINED108 [MINED108] `self._stop_bot` used but never assigned in __init__: Method `_start_bot` of c… server/python/worker.py:141
HIGH MINED108 [MINED108] `self._run_bot` used but never assigned in __init__: Method `_start_bot` of cl… server/python/worker.py:150
HIGH MINED108 [MINED108] `self._shutdown` used but never assigned in __init__: Method `handle_command` … server/python/worker.py:122
HIGH MINED108 [MINED108] `self._emit_status` used but never assigned in __init__: Method `handle_comman… server/python/worker.py:120
HIGH MINED108 [MINED108] `self._stop_bot` used but never assigned in __init__: Method `handle_command` … server/python/worker.py:118
HIGH MINED108 [MINED108] `self._start_bot` used but never assigned in __init__: Method `handle_command`… server/python/worker.py:116
HIGH MINED108 [MINED108] `self.format` used but never assigned in __init__: Method `emit` of class `Wor… server/python/worker.py:44
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… tools/generate_tree_json.py:49
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … tools/_add_cryptoflow_159.py:223
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … tools/_add_crazybtc_159.py:216
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … tools/_add_casper_159.py:181
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). server/utils/seed-templates.ts:43
HIGH SEC135 [SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint g… server/routes/setupGithubPushRoute.ts:24
HIGH SEC135 [SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint g… server/database/db-routes.ts:87
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… server/database/db-cache.ts:89
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… scripts/utils/validate.py:5
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… server/database/db.ts:49
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… scripts/migrate.ts:18
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… scripts/init-db.ts:20
HIGH MINED099 [MINED099] Hardcoded Secret: API key, AWS access key, GitHub token, Slack token, OpenAI k… scripts/force-push.sh:38
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… server/routes/auth/handlers/miniAppAuth…:26
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… client/components/ui/chart.tsx:83
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… scripts/find-unused-ts.mjs:45
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… client/components/editor/sidebar/parseP…:44
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… client/components/editor/sidebar/hooks/…:106
HIGH SEC027 [SEC027] XML External Entity (XXE) — Node.js xml parsers: Node.js XML parsers can expand … client/components/editor/inline-rich/ut…:180
HIGH SEC027 [SEC027] XML External Entity (XXE) — Node.js xml parsers: Node.js XML parsers can expand … client/components/editor/inline-rich/ut…:76
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … client/components/editor/sidebar/compon…:50
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … client/components/editor/header/hooks/u…:95
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … client/components/editor/database/dialo…:193
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… client/components/editor/canvas/canvas-…:51
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… client/components/editor/broadcast/comp…:11
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… client/components/editor/bot/card/BotLa…:117
HIGH COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 27 (SonarSo… scripts/add_set_variable_test_nodes.py:93
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/build-tree.yml:16
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… Dockerfile:18
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… Dockerfile:5
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… scripts/fetch-user-avatars.ts:35
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… scripts/fetch-bot-avatar.ts:36
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… scripts/auto-push-github.ts:92
HIGH JRN009 Secret-like setting is echoed into a password input value client/components/editor/telegram-clien…:54
HIGH JRN009 Secret-like setting is echoed into a password input value client/components/editor/properties/com…:294
HIGH JRN009 Secret-like setting is echoed into a password input value client/components/editor/bot/card/BotUs…:345
HIGH MINED113 [MINED113] Express DELETE /api/projects/:projectId/files has no auth: Express route DELET… server/routes/setupBotIntegrationRoutes…:105
HIGH MINED113 [MINED113] Express POST /api/projects/:projectId/files has no auth: Express route POST /a… server/routes/setupBotIntegrationRoutes…:94
HIGH MINED113 [MINED113] Express DELETE /api/user/templates/:id has no auth: Express route DELETE /api/… server/routes/setupUserTemplateRoutes.ts:27
HIGH MINED113 [MINED113] Express PATCH /api/user/templates/:id has no auth: Express route PATCH /api/us… server/routes/setupUserTemplateRoutes.ts:26
HIGH MINED113 [MINED113] Express POST /api/user/templates has no auth: Express route POST /api/user/tem… server/routes/setupUserTemplateRoutes.ts:25
HIGH MINED113 [MINED113] Express POST /api/push-to-github has no auth: Express route POST /api/push-to-… server/routes/setupGithubPushRoute.ts:24
HIGH MINED113 [MINED113] Express POST /api/auth/dev-login has no auth: Express route POST /api/auth/dev… server/routes/setupAuthRoutes.ts:31
HIGH MINED113 [MINED113] Express POST /api/auth/telegram/miniapp has no auth: Express route POST /api/a… server/routes/setupAuthRoutes.ts:30
HIGH MINED113 [MINED113] Express POST /api/auth/telegram has no auth: Express route POST /api/auth/tele… server/routes/setupAuthRoutes.ts:28
HIGH MINED113 [MINED113] Express POST /api/bot-folders/cleanup has no auth: Express route POST /api/bot… server/routes/setupProjectRoutes.ts:80
HIGH MINED113 [MINED113] Express POST /api/media/upload-from-url has no auth: Express route POST /api/m… server/routes/setupProjectRoutes.ts:77
HIGH MINED113 [MINED113] Express POST /api/projects/:id/export-structure-to-google-sheets has no auth: … server/routes/setupProjectRoutes.ts:74
HIGH MINED113 [MINED113] Express POST /api/projects/:id/export-to-google-sheets has no auth: Express ro… server/routes/setupProjectRoutes.ts:73
HIGH MINED113 [MINED113] Express POST /api/settings/comments-generation has no auth: Express route POST… server/routes/setupProjectRoutes.ts:65
HIGH MINED113 [MINED113] Express DELETE /api/projects/:id/token has no auth: Express route DELETE /api/… server/routes/setupProjectRoutes.ts:62
HIGH MINED113 [MINED113] Express POST /api/projects/:id/generate has no auth: Express route POST /api/p… server/routes/setupProjectRoutes.ts:58
HIGH MINED113 [MINED113] Express POST /api/projects/:id/export has no auth: Express route POST /api/pro… server/routes/setupProjectRoutes.ts:55
HIGH MINED113 [MINED113] Express PUT /api/projects/:id has no auth: Express route PUT /api/projects/:id… server/routes/setupProjectRoutes.ts:49
HIGH MINED113 [MINED113] Express PUT /api/projects/reorder has no auth: Express route PUT /api/projects… server/routes/setupProjectRoutes.ts:48
HIGH MINED113 [MINED113] Express POST /api/projects has no auth: Express route POST /api/projects decla… server/routes/setupProjectRoutes.ts:47
HIGH MINED113 [MINED113] Express DELETE /api/projects/:projectId/tokens/:tokenId/logs has no auth: Expr… server/routes/setupBotManagementRoutes.…:42
HIGH MINED113 [MINED113] Express POST /api/projects/:id/bot/restart-all has no auth: Express route POST… server/routes/setupBotManagementRoutes.…:41
HIGH MINED113 [MINED113] Express POST /api/projects/:id/bot/restart has no auth: Express route POST /ap… server/routes/setupBotManagementRoutes.…:40
HIGH MINED113 [MINED113] Express POST /api/projects/:id/bot/stop has no auth: Express route POST /api/p… server/routes/setupBotManagementRoutes.…:39
HIGH MINED113 [MINED113] Express POST /api/projects/:id/bot/start has no auth: Express route POST /api/… server/routes/setupBotManagementRoutes.…:38
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… server/routes/setupProjectRoutes.ts:45
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… server/routes/setupProjectRoutes.ts:44
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… server/routes/setupBotManagementRoutes.…:42
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… server/routes/setupBotManagementRoutes.…:41
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… server/routes/setupBotManagementRoutes.…:40
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… server/routes/setupBotManagementRoutes.…:39
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… server/routes/setupBotManagementRoutes.…:38
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… server/routes/setupBotManagementRoutes.…:37
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… server/routes/setupBotManagementRoutes.…:36
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… server/routes/setupBotManagementRoutes.…:35
HIGH SEC004 [SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection. tools/_list_tables.py:9
HIGH SEC004 [SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection. tools/_check_orphans.py:38
HIGH SEC004 [SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection. tools/_check_db.py:17
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… server/python/worker.py:356
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… server/python/worker.py:58
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… server/bots/userbotAuth.py:126
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/utils/update_bot_project_data.py:128
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/utils/update_bot_project_data.py:25
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/check_db_queries.py:174
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/check_db_queries.py:117
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/check_db_queries.py:142
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/check_db_queries.py:36
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/_check_apis2.py:55
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/generate_tree_json.py:31
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/generate_tree_json.py:91
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/_check_db.py:20
MED SEC042 [SEC042] SQL identifier injection via f-string in cursor execute: f-string SQL normalizes… tools/inspect_db.py:25
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… tools/generate_tree_json.py:49
MED SEC014 [SEC014] SSL Verification Disabled: SSL certificate verification is disabled, allowing ma… tools/_check_apis2.py:12
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … scripts/find-unused-ts.mjs:45
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … client/components/editor/sidebar/parseP…:44
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … client/components/editor/sidebar/hooks/…:106
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … client/components/editor/properties/com…:52
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… client/components/editor/telegram-clien…:87
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… client/components/editor/header/hooks/u…:147
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… client/components/editor/google-sheets/…:181
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. server/redis/redisPlatformSubscriber.ts:164
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. server/redis/redisClient.ts:63
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. client/components/editor/bot/profile/us…:72
MED COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 15 (SonarSo… scripts/add_reload_token_node.py:16
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR001 Docker final stage has no non-root USER Dockerfile:18
MED AGT007 localStorage write failures are swallowed silently client/components/editor/canvas/canvas/…:89
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile:14
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/groups/groups-…:646
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/google-sheets/…:171
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/database/user-…:47
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/database/user-…:45
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/database/dialo…:74
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/database/dialo…:62
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/database/dialo…:102
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/code/panel/Cod…:113
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/code/hooks/use…:64
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/bot/token/useT…:71
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/bot/token/Toke…:59
MED JRN003 Frontend API reference is not matched by discovered backend routes client/components/editor/bot/bot-contro…:279
MED JRN003 Frontend API reference is not matched by discovered backend routes client/App.tsx:192
MED JRN003 Frontend API reference is not matched by discovered backend routes client/App.tsx:188
MED JRN003 Frontend API reference is not matched by discovered backend routes client/App.tsx:187
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 14.5% of discovered …
MED WEB015 Public web app has no Content Security Policy index.html
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes/setupBotManagementRoutes.…:42
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes/setupBotManagementRoutes.…:41
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes/setupBotManagementRoutes.…:40
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes/setupBotManagementRoutes.…:39
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes/setupBotManagementRoutes.…:38
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes/setupBotManagementRoutes.…:37
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes/setupBotManagementRoutes.…:36
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes/setupBotManagementRoutes.…:35
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … server/routes/setupBotManagementRoutes.…:32
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… server/routes/setupBotIntegrationRoutes…:201
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… server/routes/setupBotIntegrationRoutes…:200
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… server/routes/setupBotIntegrationRoutes…:197
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… server/routes/setupProjectRoutes.ts:74
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… server/routes/setupProjectRoutes.ts:73
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… server/routes/setupProjectRoutes.ts:70
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… server/routes/setupProjectRoutes.ts:69
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… server/routes/setupProjectRoutes.ts:68
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… server/routes/setupProjectRoutes.ts:65
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… server/routes/setupProjectRoutes.ts:62
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… scripts/sync-github.ts:25
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… scripts/auto-push-github.ts:25
LOW COMP001 [COMP001] High cognitive complexity: Function `run_checks` has cognitive complexity 14 (S… scripts/check_db_queries.py:21
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW DKC015 Database service has no healthcheck docker-compose.yml:22
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKC016 App service does not wait for database health docker-compose.yml:31
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:31
LOW DKC017 Database password is wired through an environment variable placeholder docker-compose.yml:6
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:31
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… tools/generate_tree_json.py:50
INFO MINED063 [MINED063] Toctou Os Path Exists: if os.path.exists(p): open(p) — file can be replaced/de… tools/check_tables.py:11
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… tools/_add_cryptoflow_159.py:223
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… tools/_add_crazybtc_159.py:216
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… tools/_add_casper_159.py:181
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. scripts/utils/validate.py:3
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… client/components/ui/chart.tsx:81
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. scripts/auto-push-github.ts:92
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. scripts/add_reload_token_node.py:30
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. client/components/editor/terminal/use-t…:127
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… client/components/editor/properties/com…:14
INFO MINED074 [MINED074] Ai Tell Fake Citation: Plausible-looking but non-existent URLs (e.g., docs.exa… client/components/editor/properties/com…:113
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… client/components/editor/database/user-…:180
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… client/components/editor/database/respo…:83
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… client/components/editor/database/respo…:142
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … client/components/editor/broadcast/wiza…:77
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … client/components/editor/bot/contexts/A…:118
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … client/components/editor/bot/bot-contro…:162
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. client/components/editor/bot/add-bot/Ad…:16
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. client/components/editor/bot/add-bot/Ad…:19
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. client/components/editor/bot/add-bot/Ad…:49
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… client/components/editor/broadcast/broa…:118
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… client/components/editor/bot/panel/BotC…:18
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… client/components/editor/analytics/anal…:65
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. client/components/editor/canvas/canvas-…:21
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. client/components/editor/app-sidebar/co…:59
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. client/components/editor/analytics/anal…:191
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … client/components/editor/bot/profile/Bo…:79
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … client/components/ErrorBoundary.tsx:24
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … client/App.tsx:177
Reset to top 5 200 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `13145125121/BotTG`

**Score: 74/100 (B+)**  ·  206 findings  ·  scanned 2026-05-28 22:10 UTC  ·  295,689 LOC

| Severity | Count |
|---|---|
| CRITICAL | 11 |
| HIGH | 84 |
| MEDIUM | 68 |
| LOW | 13 |

📊 [Full filterable report](https://repobility.com/scan/82a13e96-2f14-4509-b156-00a97ca752ff/)  ·  ![scorecard](https://repobility.com/scan/82a13e96-2f14-4509-b156-00a97ca752ff/report.png?v=1780006208-s2)

### Top findings

1. **CRITICAL** `MINED007` — Sql String Concat
   `tools/_list_tables.py:9` · CWE-89 · ✓ Repobility
2. **CRITICAL** `MINED007` — Sql String Concat
   `tools/_check_orphans.py:38` · CWE-89 · ✓ Repobility
3. **CRITICAL** `MINED007` — Sql String Concat
   `tools/_check_db.py:17` · CWE-89 · ✓ Repobility
4. **CRITICAL** `MINED114` — Admin endpoint without auth: POST /api/projects/:id/admin-ids/remove: Express route on /ad
   `server/routes/setupProjectRoutes.ts:70` · ✓ Repobility
5. **CRITICAL** `MINED114` — Admin endpoint without auth: PUT /api/projects/:id/admin-ids: Express route on /admin path
   `server/routes/setupProjectRoutes.ts:69` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/82a13e96-2f14-4509-b156-00a97ca752ff/_
Premium account
This scan was submitted by a Enterprise-tier account. Premium accounts have full outreach control â Repobility doesn't pre-fill the 'file as GitHub issue' button for paid users. You can still file the issue manually using the markdown body above (Copy markdown), or contact us if you'd like batch-filing enabled for your account.
Megaproject â high spam risk
Could not determine '13145125121/BotTG' 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.