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.

zeynelgun-afk/portfolio-tracker

https://github.com/zeynelgun-afk/portfolio-tracker · scanned 2026-06-16 01:12 UTC (2 months, 1 week ago)

147 raw signals (0 security + 147 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 100 actionable findings from 1 signal source. 47 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 90.5/100 with 88.9% coverage. It contains 3438 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 147 findings — concentrated in quality (79), cicd (34), software (27). Risk profile is low: 0 critical, 0 high, 28 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 66 of 100 actionable findings. 147 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.

medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — docs/dashboard.js:59
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph cicd CI/CD security conf 1.00 15 occurrences 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.
12 files, 12 locations
.github/workflows/agent.yml
.github/workflows/ai_orchestrator.yml
.github/workflows/fill_calibrator_outcomes.yml
.github/workflows/log_rotation.yml
.github/workflows/macro_dashboard.yml
.github/workflows/marketpulse.yml
.github/workflows/polymarket_refresh.yml
.github/workflows/portnews.yml
CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in docs/dashboard.js:422
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
docs/dashboard.js:422 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in docs/research/index.html:494
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
docs/research/index.html:494 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in reports/research/DC_CHAIN_2026-04-19.html:1335
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
reports/research/DC_CHAIN_2026-04-19.html:1335 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in reports/research/SPACE_CHAIN_2026-04-27.html:1289
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
reports/research/SPACE_CHAIN_2026-04-27.html:1289 Direct innerhtml assignment
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — agent/legacy/darwin_evolution.py:666
`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 — agent/legacy/orchestrator.py:1109
`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 — agent/legacy/rule_updater.py:367
`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 — scripts/_archive/daily_update_3portfolio_pre_2026_05_13.py:827
`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 — scripts/_cleanup_secrets.py:134
`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 — scripts/consistency_check.py:239
`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 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 Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 12 placeholder/mock markers across 5 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 Debug conf 1.00 Debug logging residue appears in source files
Found 1721 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 cicd CI/CD security conf 1.00 19 occurrences 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.
10 files, 19 locations
.github/workflows/consistency_check.yml:22, 25 (2 hits)
.github/workflows/fill_calibrator_outcomes.yml:27, 32 (2 hits)
.github/workflows/macro_calendar.yml:30, 33 (2 hits)
.github/workflows/migration_health_check.yml:41, 44 (2 hits)
.github/workflows/news_radar.yml:12, 15 (2 hits)
.github/workflows/polymarket_refresh.yml:28, 33 (2 hits)
.github/workflows/research_tracker.yml:24, 32 (2 hits)
.github/workflows/update_workflow_status.yml:27, 30 (2 hits)
CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 16 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: scripts/migrate_2026_05_20_duplicate_themes.py:main, scripts/migrate_2026_05_20_ai_hardware_pilot.py:main 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 t…
16 occurrences
repo-level (16 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: agent/legacy/analist_takip/revision_fetcher.py:fetch_price_target_revisions, agent/legacy/analist_takip/revision_fetcher.py:fetch_grades, agent/legacy/analist_takip/revision_fetcher.py:fetch_grades_latest_news This is *the* AI-coder failure mode (4× …
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: agent/legacy/valuation/backtest.py:fmp_get, agent/legacy/valuation/classifier.py:fmp_get, agent/legacy/valuation/cycle_detector.py:fmp_get, agent/legacy/valuation/market_regime.py:fmp_get This is *the* AI-coder failure mode (4× more duplication in vi…
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 `e_old` in scripts/weekly_pre_check.py:302
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 `eps_old` in agent/legacy/conviction_scorer.py:138
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 `etf_old` in agent/legacy/valuation/cycle_detector.py:152
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 `kijun_bounce_v2` in scripts/legacy/swing_entry_engine.py:274
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 `market_v1` in tests/test_polymarket_snapshots.py:341
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 `mv_copy` in agent/legacy/valuation/framework.py:88
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 `original_legacy` in tests/conftest.py:37
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 `pos_copy` in scripts/k_rules_common.py:83
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 `score_pending_predictions_v2` in agent/legacy/prediction_logger.py:376
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 `test_partial_exit_formatted_legacy` in tests/test_thm_integration.py:84
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 `test_scan_with_mocked_legacy` in tests/test_scanner_analyst_revisions.py:222
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 `test_stale_old` in tests/test_polymarket.py:447
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: aggressive_strateji
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/_archive/cash_deployment_engine_3portfolio_pre_2026_05_13.py:139
low System graph software Dead code conf 1.00 Possibly dead Python function: all_catalysts
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent/meta_catalysts.py:176
low System graph software Dead code conf 1.00 Possibly dead Python function: archive_theme
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent/themes.py:306
low System graph software Dead code conf 1.00 Possibly dead Python function: balanced_strateji
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/_archive/cash_deployment_engine_3portfolio_pre_2026_05_13.py:400
low System graph software Dead code conf 1.00 Possibly dead Python function: calc_position_size
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/swing_ichimoku.py:452
low System graph software Dead code conf 1.00 Possibly dead Python function: check_correlation
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/legacy/portfolio_scan_common.py:948
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_add
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/watchlist_manager.py:120
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_cleanup
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/watchlist_manager.py:261
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_cooldown
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/watchlist_manager.py:325
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_list
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/watchlist_manager.py:84
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_refresh
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/watchlist_manager.py:207
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_remove
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/watchlist_manager.py:194
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_show
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/watchlist_manager.py:109
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_consolidation_breakout
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/legacy/swing_entry_engine.py:601
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_kijun_bounce_v2
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/legacy/swing_entry_engine.py:668
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_nr7_setup
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/legacy/swing_entry_engine.py:711
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_sma50_bounce
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/legacy/swing_entry_engine.py:544
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_tenkan_bounce
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/legacy/swing_entry_engine.py:488
low System graph software Dead code conf 1.00 Possibly dead Python function: dividend_strateji
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/_archive/cash_deployment_engine_3portfolio_pre_2026_05_13.py:497
low System graph software Dead code conf 1.00 Possibly dead Python function: format_havuz
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/telegram_bot.py:1345
low System graph software Dead code conf 1.00 Possibly dead Python function: format_memory_context
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/_archive/trade_memory.py:357
low System graph software Dead code conf 1.00 Possibly dead Python function: history_append
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/k12_dynamic_limits.py:312
low System graph software Dead code conf 1.00 Possibly dead Python function: score_aggressive
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/legacy/full_universe_screener.py:370
low System graph software Dead code conf 1.00 Possibly dead Python function: score_balanced
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/legacy/full_universe_screener.py:290
low System graph software Dead code conf 1.00 Possibly dead Python function: score_dividend
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/legacy/full_universe_screener.py:327
low System graph software Dead code conf 1.00 Possibly dead Python function: temettu_ve_kritik_haber_kontrolu
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/_archive/daily_update_3portfolio_pre_2026_05_13.py:353
low System graph software Dead code conf 1.00 Possibly dead Python function: update_lifecycle
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent/themes.py:283
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 frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — scripts/finzora-bot.js:77
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph quality Integrity conf 1.00 Stub function `fiyatı` (body is just `pass`/`return`) — agent/legacy/valuation/methods/registry.py:708
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: agent/legacy/orchestrator.py (2756 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: agent/position_manager.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: agent/scanners/thematic.py (1207 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/telegram_bot.py (2943 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/f714ddbe-4fae-422c-ae16-796b3ca6347e/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/f714ddbe-4fae-422c-ae16-796b3ca6347e/

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.