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.

WarrenLim1122/arbitrage-trading

https://github.com/WarrenLim1122/arbitrage-trading · scanned 2026-06-16 00:54 UTC (2 months, 1 week ago)

32 raw signals (0 security + 32 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 31 actionable findings from 1 signal source. 1 repeated signal 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 84.1/100 with 88.9% coverage. It contains 596 nodes across 3 cross-layer flows, written primarily in mixed languages. Engine surfaced 32 findings — concentrated in quality (20), software (5), security (3). Risk profile is high: 0 critical, 2 high, 4 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 22 of 31 actionable findings. 32 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 auth conf 1.00 FastAPI POST `receive_signal` without auth dependency — layer1/main.py:125
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
layer1/main.py:125 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `receive_signal` without auth dependency — layer2/logic_core.py:1283
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
layer2/logic_core.py:1283 securityAuth fastapi unauth mutation
medium System graph quality Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing license, ci. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable.
Repo hardeningGenerated repo pattern
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 security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
low System graph quality Integrity conf 1.00 8 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `JOURNAL_ACCOUNT_CURRENCY`, `LIMIT_ONLY_EXECUTION`, `MT5_MAGIC`, `MT5_SERVER_UTC_OFFSET_HOURS`, `MT5_TERMINAL_PATH`, `WORKER_NAME`, `ZMQ_PULL_ADDR`, `ZMQ_REP_ADDR`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break.
config drift
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 49 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 quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: layer3/symbol_mapper.py:resolve_one, layer3/symbol_mapper.py:resolve 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.
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph software Dead code conf 1.00 Possibly dead Python function: currencies_for
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
layer2/symbols.py:63
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_events_sync
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
layer1/ff_calendar.py:46
low System graph software Dead code conf 1.00 Possibly dead Python function: is_supported
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
layer2/symbols.py:59
low System graph software Dead code conf 1.00 Possibly dead Python function: registry
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
layer2/symbols.py:73
low System graph software Dead code conf 1.00 Possibly dead Python function: tier_of
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
layer2/symbols.py:68
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph api Wiring conf 1.00 Unused endpoint: GET /news_status
`layer2/logic_core.py` declares `GET /news_status` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /signal
`layer2/logic_core.py` declares `POST /signal` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: layer2/logic_core.py (1715 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: layer2/telegram_handlers.py (4323 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: layer3/_worker_core.py (1761 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/39027c59-491d-4097-a5f6-9a6ee8e8dbbb/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/39027c59-491d-4097-a5f6-9a6ee8e8dbbb/

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.