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.

Melly-999/alpha_data_scraper_ai

https://github.com/Melly-999/alpha_data_scraper_ai · scanned 2026-06-16 04:33 UTC (1 month, 4 weeks ago)

37 raw signals (0 security + 37 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 4 weeks ago · v1 · 36 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 79.9/100 with 77.8% coverage. It contains 343 nodes across 2 cross-layer flows, written primarily in mixed languages. Engine surfaced 37 findings — concentrated in software (20), quality (13), hardware (2). Risk profile is high: 0 critical, 1 high, 10 medium. Recommended next step: open the software layer findings first — that's where the highest-impact wins live.

Showing 36 of 36 actionable findings. 37 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 `tradingview_webhook` without auth dependency — webhook_server.py:14
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
webhook_server.py:14 securityAuth fastapi unauth mutation
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .mcp.json
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.
.mcp.json VerificationMcp config
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 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 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 hardware Security conf 1.00 Dockerfile runs as root: Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — github_integration.py:57
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — main.py:348
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — rate_limiter.py:12
`requests.get(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
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 quality Tests conf 1.00 Very low test-to-source ratio
2 test file(s) for 29 source file(s) (ratio 0.07). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Integrity conf 1.00 7 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `ANTHROPIC_API_KEY`, `BOT_VERSION`, `ENVIRONMENT`, `GITHUB_EMAIL`, `GITHUB_REPOSITORY`, `GITHUB_TOKEN`, `GITHUB_USER`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break.
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 19 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.12-slim
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 quality Agent instructions conf 1.00 Multiple root agent instruction files without precedence
The repo has multiple top-level AI-coder instruction files. Without precedence rules, different agents may follow different policies.
Governance
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: example_runner.py:signal_func, example_runner.py:signal_func 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 software Dead code conf 1.00 Possibly dead Python function: analyze_sentiment
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
news_sentiment.py:306
low System graph software Dead code conf 1.00 Possibly dead Python function: claude_limiter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rate_limiter.py:140
low System graph software Dead code conf 1.00 Possibly dead Python function: clear_logs
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
grok_alpha_advanced.py:1184
low System graph software Dead code conf 1.00 Possibly dead Python function: commit_audit_snapshots
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
github_integration.py:407
low System graph software Dead code conf 1.00 Possibly dead Python function: export_all
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
github_integration.py:297
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_multi_timeframe_data
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
multi_timeframe.py:218
low System graph software Dead code conf 1.00 Possibly dead Python function: forward
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
grok_alpha_advanced.py:294
low System graph software Dead code conf 1.00 Possibly dead Python function: handle_dashboard_payload
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
run_telegram_stream.py:8
low System graph software Dead code conf 1.00 Possibly dead Python function: is_connected
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
grok_alpha_advanced.py:123
low System graph software Dead code conf 1.00 Possibly dead Python function: limit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rate_limiter.py:119
low System graph software Dead code conf 1.00 Possibly dead Python function: mt5_limiter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rate_limiter.py:150
low System graph software Dead code conf 1.00 Possibly dead Python function: news_api_limiter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rate_limiter.py:145
low System graph software Dead code conf 1.00 Possibly dead Python function: next_snapshot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
main.py:205
low System graph software Dead code conf 1.00 Possibly dead Python function: record_error
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
metrics_server.py:123
low System graph software Dead code conf 1.00 Possibly dead Python function: reset_secrets
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
secrets_manager.py:166
low System graph software Dead code conf 1.00 Possibly dead Python function: test_connection
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
claude_ai.py:488
low System graph software Dead code conf 1.00 Possibly dead Python function: try_acquire
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rate_limiter.py:71
low System graph software Dead code conf 1.00 Possibly dead Python function: wrapped_daily
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scheduler.py:17
low System graph software Dead code conf 1.00 Possibly dead Python function: wrapped_monthly
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scheduler.py:27
low System graph software Dead code conf 1.00 Possibly dead Python function: wrapped_weekly
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scheduler.py:22
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/ab45e3bf-d957-4576-a0ce-7cc8d38ada85/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/ab45e3bf-d957-4576-a0ce-7cc8d38ada85/

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.