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.

Trujillofa/crypto-trading-agent

https://github.com/Trujillofa/crypto-trading-agent · scanned 2026-06-16 00:42 UTC (2 months, 1 week ago)

132 raw signals (68 security + 64 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 54 actionable findings from 2 signal sources. 248 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 67.8/100 with 88.9% coverage. It contains 3696 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 64 findings — concentrated in quality (40), software (12), cicd (6). Risk profile is high: 0 critical, 3 high, 7 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 47 of 54 actionable findings. 302 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.

critical Security checks quality Practices conf 0.82 13 occurrences Foundry mined mock as real or placeholder: Trujillofa/crypto-trading-agent
Graph query export: Mock, sample, placeholder, or self-attested behavior treated as real Query id: mock_as_real_or_placeholder Query type: motif_query Intent: Hard negatives for fake completeness and missing real data paths. Motif: mock_as_real_or_placeholder Training usage: hard_negative Graph gol…
13 occurrences
repo-level (13 hits)
critical Security checks security auth conf 0.78 2 occurrences Foundry mined security auth guardrail gaps: Trujillofa/crypto-trading-agent
Graph query export: Security/auth changes without enough guardrails Query id: security_auth_guardrail_gaps Query type: motif_query Intent: Assumption-check security/auth examples requiring stronger tests or CI. Motif: security_auth_without_guardrails Training usage: assumption_check Graph gold labe…
2 occurrences
repo-level (2 hits)
high Security checks quality Practices conf 0.84 20 occurrences Foundry mined bad chains: Trujillofa/crypto-trading-agent
Comment chain pattern product: bad_chains Repo: Trujillofa/crypto-trading-agent Thread: Trujillofa/crypto-trading-agent#87 Outcome: self_attested_unverified Thread label: thread_has_human_issue_and_fix_context Source graph label: source_backed_multi_signal_graph Reasons: source_graph_has_real_artif…
20 occurrences
repo-level (20 hits)
high Security checks quality Quality conf 0.76 8 occurrences Foundry mined schema ui api mismatch: Trujillofa/crypto-trading-agent
Graph query export: Schema, UI, and API mismatch Query id: schema_ui_api_mismatch Query type: motif_query Intent: Assumption-check examples for data-path consistency across layers. Motif: schema_ui_api_mismatch Training usage: assumption_check Graph gold label: supported_by_high_confidence_link Rep…
8 occurrences
repo-level (8 hits)
high Security checks quality Testing conf 0.78 45 occurrences Foundry mined test ci gap after feedback: Trujillofa/crypto-trading-agent
Graph query export: Feedback exposes missing tests or CI Query id: test_ci_gap_after_feedback Query type: motif_query Intent: Hard negatives for feedback/fix chains without adequate guardrails. Motif: test_ci_gap_after_feedback Training usage: hard_negative Graph gold label: weak_supervision_needs_…
45 occurrences
repo-level (45 hits)
high System graph quality Integrity conf 1.00 Blocking `time.sleep(...)` inside `async def main` — scripts/close_sentiment_macro_spot.py:140
Sync I/O inside an async function blocks the event loop. While `time.sleep(...)` 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_thre…
scripts/close_sentiment_macro_spot.py:140 Sync io in asyncPerformance
high System graph cicd CI/CD security conf 1.00 2 occurrences GitHub Action tracks a moving branch
appleboy/telegram-action@master can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
lines 54, 65
.github/workflows/deploy.yml:54, 65 (2 hits)
CI/CD securitySupply chainGithub actions
medium Security checks quality Practices conf 0.62 55 occurrences Foundry mined assumption checks: Trujillofa/crypto-trading-agent
Comment chain pattern product: assumption_checks Repo: Trujillofa/crypto-trading-agent Thread: Trujillofa/crypto-trading-agent#9 Outcome: ambiguous_needs_more_evidence Thread label: thread_needs_classification Source graph label: source_backed_multi_signal_graph Reasons: source_graph_has_real_artif…
55 occurrences
repo-level (55 hits)
medium Security checks quality maintenance conf 0.70 53 occurrences Foundry mined blueprint gap alignment: Trujillofa/crypto-trading-agent
Graph query export: Human feedback aligned with blueprint or architecture gaps Query id: blueprint_gap_alignment Query type: motif_query Intent: Curriculum-gap examples connecting issue threads to helicopter-view gaps. Motif: blueprint_gap_alignment Training usage: curriculum_gap Graph gold label: …
53 occurrences
repo-level (53 hits)
medium Security checks quality Practices conf 0.70 42 occurrences Foundry mined unresolved feedback: Trujillofa/crypto-trading-agent
Graph query export: Human feedback without linked fix evidence Query id: unresolved_feedback Query type: motif_query Intent: Negative/unresolved examples that should not be hallucinated into fixes. Motif: unlinked_feedback_needs_evidence Training usage: negative_or_unresolved Graph gold label: need…
42 occurrences
repo-level (42 hits)
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. 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 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 cicd CI/CD security conf 1.00 2 occurrences GitHub Action is tag-pinned rather than SHA-pinned
astral-sh/setup-uv@v5 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
lines 15, 32
.github/workflows/ci.yml:15, 32 (2 hits)
CI/CD securitySupply chainGithub actions
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/autoresearch_loop.py:1384
`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 network Security conf 1.00 Privileged port 18 in use
Port 18 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
scripts/run_session_router_phase2_ab.sh Ports
medium System graph network Security conf 1.00 Privileged port 999 in use
Port 999 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
scripts/run_autoresearch_campaign_remote.sh Ports
low System graph quality Integrity conf 1.00 17 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `AGENT_ID`, `CDN_URL`, `CHUB_BUNDLE_URL`, `CHUB_CDN_URL`, `CHUB_FEEDBACK`, `CHUB_TELEMETRY`, `CI`, `DATABASE_URL` + 9 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break.
config drift
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 969 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.11-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 cicd CI/CD security conf 1.00 2 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/setup-python@v5 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
lines 17, 34
.github/workflows/ci.yml:17, 34 (2 hits)
CI/CD securitySupply chainGithub actions
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 13 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: research/btc_eth_4h_trend_pullback_sweep.py:make_variant_config, research/sol_4h_trend_pullback_sweep.py:make_variant_config This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidat…
13 occurrences
repo-level (13 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: research/btc_eth_4h_trend_pullback_sweep.py:parse_wfo_csv, research/vol_squeeze_4h_sweep.py:parse_wfo_csv, research/sol_4h_trend_pullback_sweep.py:parse_wfo_csv This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https:…
duplicatesduplication
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: research/btc_eth_4h_trend_pullback_sweep.py:parse_backtest_output, research/vol_squeeze_4h_sweep.py:parse_backtest_output, research/sol_4h_panic_block_sweep.py:parse_backtest_output, research/sol_4h_trend_pullback_sweep.py:parse_backtest_output This …
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: scripts/mtf_thesis_investigation.py:main, scripts/mtf_bounded_sweep.py:main, scripts/mtf_extended_research.py:main, scripts/debug_relative_value.py:main This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 7 places
Functions with the same first-5-line body hash: scripts/probe_short_crowding.py:build_db_config, scripts/probe_liquidity_sweep.py:build_db_config, scripts/probe_volatility_squeeze_breakout.py:build_db_config, scripts/probe_range_break_continuation.py:build_db_config This is *the* AI-coder failure …
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 quality Integrity conf 1.00 Old/deprecated-named symbol `trend_pullback_v2` in scripts/run_config_search.py:93
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: available_languages
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/chub/lib/normalize.py:39
low System graph software Dead code conf 1.00 Possibly dead Python function: build_frontmatter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/chub/lib/frontmatter.py:25
low System graph software Dead code conf 1.00 Possibly dead Python function: cancel_all_open_orders
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/execution/futures_client.py:637
low System graph software Dead code conf 1.00 Possibly dead Python function: clear_reconciliation_block
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/risk/manager.py:508
low System graph software Dead code conf 1.00 Possibly dead Python function: do_GET
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/ingest/metrics.py:333
low System graph software Dead code conf 1.00 Possibly dead Python function: entry_threshold_positive_tail
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/probe_funding_normalization.py:223
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_multi_symbol
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/research_relative_value.py:131
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_rows
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/db/pool.py:187
low System graph software Dead code conf 1.00 Possibly dead Python function: log_message
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/ingest/metrics.py:379
low System graph software Dead code conf 1.00 Possibly dead Python function: record_order_rejected
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/execution/metrics.py:123
low System graph software Dead code conf 1.00 Possibly dead Python function: sample
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/rl/agent.py:38
low System graph software Dead code conf 1.00 Possibly dead Python function: subscribe
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/core/event_log.py:151
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 quality Complexity conf 1.00 Very large file: scripts/autoresearch_loop.py (1482 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/execution/futures_executor.py (1434 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/execution/paper_executor.py (1351 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/main.py (1647 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_futures_executor.py (1424 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/d9151951-7c0d-4adb-ba6a-eaeda6945f3f/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/d9151951-7c0d-4adb-ba6a-eaeda6945f3f/

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.