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.

Alpha162/chatgpt-telegram-bot

https://github.com/Alpha162/chatgpt-telegram-bot · scanned 2026-06-17 01:15 UTC (1 month, 2 weeks ago)

88 raw signals (0 security + 88 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 2 weeks ago · v2 · last Δ -14.3 (diff) · 76 actionable findings from 1 signal source. 12 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 62.4/100 with 88.9% coverage. It contains 2088 nodes across 2 cross-layer flows, written primarily in mixed languages. Engine surfaced 88 findings — concentrated in quality (74), software (7), cicd (4). Risk profile is high: 0 critical, 12 high, 8 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 44 of 76 actionable findings. 88 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 System graph security Agent instructions conf 1.00 Agent instruction/config may expose a secret: .claude/projects/-root-chatgpt-telegram-bot/memory/project_environment.md
Agent-facing files are routinely pasted into LLM/tool contexts. Move literal tokens, keys, and passwords into a secret manager or document them as placeholders only.
.claude/projects/-root-chatgpt-telegram-bot/memory/project_environment.md:9 SecretsClaude instruction
high System graph quality Integrity conf 1.00 Blocking `requests.get(...)` inside `async def _handle_passive_url` — bot/passive_listener.py:704
Sync I/O inside an async function blocks the event loop. While `requests.get(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_th…
bot/passive_listener.py:704 Sync io in asyncPerformance
high System graph quality Integrity conf 1.00 Blocking `requests.get(...)` inside `async def execute` — bot/plugins/crypto.py:44
Sync I/O inside an async function blocks the event loop. While `requests.get(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_th…
bot/plugins/crypto.py:44 Sync io in asyncPerformance
high System graph quality Integrity conf 1.00 Blocking `requests.get(...)` inside `async def execute` — bot/plugins/iplocation.py:33
Sync I/O inside an async function blocks the event loop. While `requests.get(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_th…
bot/plugins/iplocation.py:33 Sync io in asyncPerformance
high System graph quality Integrity conf 1.00 Blocking `requests.get(...)` inside `async def execute` — bot/plugins/url_content.py:145
Sync I/O inside an async function blocks the event loop. While `requests.get(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_th…
bot/plugins/url_content.py:145 Sync io in asyncPerformance
high System graph quality Integrity conf 1.00 Blocking `requests.get(...)` inside `async def execute` — bot/plugins/weather.py:68
Sync I/O inside an async function blocks the event loop. While `requests.get(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_th…
bot/plugins/weather.py:68 Sync io in asyncPerformance
high System graph quality Integrity conf 1.00 Blocking `requests.get(...)` inside `async def execute` — bot/plugins/weather.py:74
Sync I/O inside an async function blocks the event loop. While `requests.get(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_th…
bot/plugins/weather.py:74 Sync io in asyncPerformance
high System graph quality Integrity conf 1.00 Blocking `requests.get(...)` inside `async def execute` — bot/plugins/webshot.py:35
Sync I/O inside an async function blocks the event loop. While `requests.get(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_th…
bot/plugins/webshot.py:35 Sync io in asyncPerformance
high System graph quality Integrity conf 1.00 Blocking `requests.get(...)` inside `async def execute` — bot/plugins/webshot.py:38
Sync I/O inside an async function blocks the event loop. While `requests.get(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_th…
bot/plugins/webshot.py:38 Sync io in asyncPerformance
high System graph quality Integrity conf 1.00 Blocking `requests.get(...)` inside `async def execute` — bot/plugins/worldtimeapi.py:44
Sync I/O inside an async function blocks the event loop. While `requests.get(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_th…
bot/plugins/worldtimeapi.py:44 Sync io in asyncPerformance
high System graph quality Integrity conf 1.00 Blocking `requests.post(...)` inside `async def execute` — bot/plugins/deepl.py:53
Sync I/O inside an async function blocks the event loop. While `requests.post(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_t…
bot/plugins/deepl.py:53 Sync io in asyncPerformance
high System graph security auth conf 1.00 FastAPI POST `transcribe` without auth dependency — deploy/whisper-service/whisper_server.py:51
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
deploy/whisper-service/whisper_server.py:51 securityAuth fastapi unauth mutation
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/projects/-root-chatgpt-telegram-bot/memory/feedback_import_convention.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/projects/-root-chatgpt-telegram-bot/memory/feedback_import_convention.md VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/projects/-root-chatgpt-telegram-bot/memory/feedback_superpowers_workflow.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/projects/-root-chatgpt-telegram-bot/memory/feedback_superpowers_workflow.md VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: CLAUDE.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
CLAUDE.md VerificationClaude instruction
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph cicd CI/CD security conf 1.00 2 occurrences GitHub Action is tag-pinned rather than SHA-pinned
docker/setup-qemu-action@v2 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
lines 21, 24
.github/workflows/publish.yaml:21, 24 (2 hits)
CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/publish.yaml CI/CD securitySupply chainGithub actions
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 133 placeholder/mock markers across 15 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
low System graph quality Integrity conf 1.00 165 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `API_CONNECT_TIMEOUT`, `API_NONSTREAM_READ_TIMEOUT`, `API_READ_TIMEOUT`, `ASSISTANT_PROMPT`, `AUTONOMOUS_COOLDOWN_SECONDS`, `BOT_LANGUAGE`, `BOT_USER_ID`, `BUDGET_PERIOD` + 157 more. Add them (with a placeholder/comment) to .env.example so onboardi…
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 134 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: python:3.9-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
Dockerfile:1 containersPinned dependencies
low System graph cicd CI/CD security conf 1.00 GitHub Action is tag-pinned rather than SHA-pinned
actions/checkout@v3 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/publish.yaml:18 CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 12 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: bot/admin_commands.py:admin_slot_candidates, bot/admin_commands.py:admin_slot This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
12 occurrences
repo-level (12 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_too_old` in bot/memory_store.py:2909
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 quality Integrity conf 1.00 Old/deprecated-named symbol `rest_v1` in bot/plugins/wikipedia_search.py:16
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 quality Integrity conf 1.00 Old/deprecated-named symbol `rest_v1` in bot/quiz/formats.py:17
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 quality Integrity conf 1.00 Old/deprecated-named symbol `win_old` in tools/test_chunk_windows.py:295
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: admin_extraction_stats
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
bot/admin_commands.py:2251
low System graph software Dead code conf 1.00 Possibly dead Python function: admin_extraction_test
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
bot/admin_commands.py:2263
low System graph software Dead code conf 1.00 Possibly dead Python function: enqueue
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
bot/memory_worker.py:55
low System graph software Dead code conf 1.00 Possibly dead Python function: enqueue_batch
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
bot/memory_worker.py:60
low System graph software Dead code conf 1.00 Possibly dead Python function: slot_manage_callback
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
bot/admin_commands.py:1662
low System graph software Dead code conf 1.00 Possibly dead Python function: slot_triage_callback
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
bot/admin_commands.py:1974
low System graph software Dead code conf 1.00 Possibly dead Python function: why
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
bot/admin_commands.py:679
low System graph quality Complexity conf 1.00 Very large file: bot/achievements.py (1385 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: bot/admin_commands.py (3949 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: bot/claude_helper.py (5563 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: bot/creative_features.py (1571 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: bot/memory_store.py (6745 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: bot/ollama_client.py (1935 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: bot/passive_listener.py (2293 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: bot/plugins/image_generation.py (1684 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: bot/telegram_bot.py (7555 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
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/c37264a3-637e-4803-aaba-0ec7f746e3cb/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/c37264a3-637e-4803-aaba-0ec7f746e3cb/

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.