{"version": "2.1.0", "$schema": "https://json.schemastore.org/sarif-2.1.0.json", "runs": [{"tool": {"driver": {"name": "Repobility", "informationUri": "https://repobility.com", "rules": [{"id": "scanner-f8880c76d3c9ac85", "name": "Possibly dead Python function: us_today_str", "shortDescription": {"text": "Possibly dead Python function: us_today_str"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2c46284ba7eb79ae", "name": "Possibly dead Python function: by_reject", "shortDescription": {"text": "Possibly dead Python function: by_reject"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-190cdf3587b722f5", "name": "Possibly dead Python function: rsi", "shortDescription": {"text": "Possibly dead Python function: rsi"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-c1b5b7115ced68ce", "name": "Possibly dead Python function: log_message", "shortDescription": {"text": "Possibly dead Python function: log_message"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-04bb0cdf7cbfda7e", "name": "Possibly dead Python function: log_message", "shortDescription": {"text": "Possibly dead Python function: log_message"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-39b3e159a393fff3", "name": "Possibly dead Python function: snap_errors", "shortDescription": {"text": "Possibly dead Python function: snap_errors"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b2d118614b992fc4", "name": "Stray `console.log` in TS/JS \u2014 tools/generate_report.js:676", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 tools/generate_report.js:676"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-963926e85705f348", "name": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-5.js:10", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-5.js:10"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-9a4a9b76fc226087", "name": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-1.js:32", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-1.js:32"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-7953c1b89a76c9d0", "name": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-4.js:31", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-4.js:31"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e6f326cd98df8e72", "name": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-3.js:54", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-3.js:54"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b37f879478e93eac", "name": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-2.js:49", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-2.js:49"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-74effb2b0dd73285", "name": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-5.js:10", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-5.js:10"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-70da776daae3193c", "name": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-1.js:32", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-1.js:32"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-bfef6fe38e1f393c", "name": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-4.js:31", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-4.js:31"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-d876847f07b72d5f", "name": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-3.js:54", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-3.js:54"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b74a18c1ceec9163", "name": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-2.js:49", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-2.js:49"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-3e60a826efa4e22f", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/cache@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "low", "confidence": 1.0}}, {"id": "scanner-766ed1e5fc8480d4", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-620eb0c0424d8ab1", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-93c732a566c79073", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-bfcf560968800b4c", "name": "Very large file: market-analysis/web/app-4.js (1223 lines)", "shortDescription": {"text": "Very large file: market-analysis/web/app-4.js (1223 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-fcd871fabc0e2643", "name": "Very large file: market-analysis/web/app-2.js (903 lines)", "shortDescription": {"text": "Very large file: market-analysis/web/app-2.js (903 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-960b916635dc0193", "name": "Very large file: docs/app-4.js (1223 lines)", "shortDescription": {"text": "Very large file: docs/app-4.js (1223 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-5a3fe268f0baebe0", "name": "Very large file: docs/app-2.js (903 lines)", "shortDescription": {"text": "Very large file: docs/app-2.js (903 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3c6f2d410af528a3", "name": "Node manifest has dependencies but no lockfile: tools/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: tools/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 440 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, lockfile. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing license, lockfile. 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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-ea8f3013f588db25", "name": "Shallow git history limits provenance confidence", "shortDescription": {"text": "Shallow git history limits provenance confidence"}, "fullDescription": {"text": "The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8424db9c75e04ba4", "name": "Very short observed git history", "shortDescription": {"text": "Very short observed git history"}, "fullDescription": {"text": "The repo has multiple source files but two or fewer visible commits. This is not a failure by itself, but it lowers confidence in evolution-based diagnosis."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-0aab13b8962a1222", "name": "Network/subprocess call without timeout or try/except \u2014 market-analysis/scripts/verify_output.py:45", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 market-analysis/scripts/verify_output.py:45"}, "fullDescription": {"text": "`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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-5dd09762f71d5703", "name": "Network/subprocess call without timeout or try/except \u2014 market-analysis/scripts/run_all.py:81", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 market-analysis/scripts/run_all.py:81"}, "fullDescription": {"text": "`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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-83aea4d8e779a1d8", "name": "Commented-code block (5 lines) in market-analysis/scripts/factor_pruning.py:210", "shortDescription": {"text": "Commented-code block (5 lines) in market-analysis/scripts/factor_pruning.py:210"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-c188cc8a59c46151", "name": "Commented-code block (7 lines) in market-analysis/web/app-1.js:446", "shortDescription": {"text": "Commented-code block (7 lines) in market-analysis/web/app-1.js:446"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-0266c0582c460fd1", "name": "Legacy-named symbol `alpha_game_v1` in market-analysis/web/app-4.js:828", "shortDescription": {"text": "Legacy-named symbol `alpha_game_v1` in market-analysis/web/app-4.js:828"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-cb5f5522b7027d4c", "name": "Legacy-named symbol `alpha_portfolio_v2` in market-analysis/web/app-3.js:418", "shortDescription": {"text": "Legacy-named symbol `alpha_portfolio_v2` in market-analysis/web/app-3.js:418"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-c53ece6b7eb93a26", "name": "`fetch()` without try/.catch or AbortSignal \u2014 market-analysis/web/app-3.js:501", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 market-analysis/web/app-3.js:501"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-fb86dd7f5ce85065", "name": "Commented-code block (7 lines) in docs/app-1.js:446", "shortDescription": {"text": "Commented-code block (7 lines) in docs/app-1.js:446"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-74bd04c923d9bf1a", "name": "Legacy-named symbol `alpha_game_v1` in docs/app-4.js:828", "shortDescription": {"text": "Legacy-named symbol `alpha_game_v1` in docs/app-4.js:828"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-7fe831cd63617941", "name": "Legacy-named symbol `alpha_portfolio_v2` in docs/app-3.js:418", "shortDescription": {"text": "Legacy-named symbol `alpha_portfolio_v2` in docs/app-3.js:418"}, "fullDescription": {"text": "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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ca2df402ce5ad446", "name": "`fetch()` without try/.catch or AbortSignal \u2014 docs/app-3.js:501", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 docs/app-3.js:501"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-c0105cb75811a1d0", "name": "Network/subprocess call without timeout or try/except \u2014 tools/post_edit_hook.py:30", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 tools/post_edit_hook.py:30"}, "fullDescription": {"text": "`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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-8e9e415f4dc060b1", "name": "Network/subprocess call without timeout or try/except \u2014 tools/split_appjs.py:62", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 tools/split_appjs.py:62"}, "fullDescription": {"text": "`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."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2c04133e54348533", "name": "Near-duplicate function bodies in 2 places", "shortDescription": {"text": "Near-duplicate function bodies in 2 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nmarket-analysis/scripts/v3_sparse_model.py:run_dev, market-analysis/scripts/v3_sparse_model.py:run\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/22049"}, "properties": {"repository": "Vambrocop/alpha-lab", "repoUrl": "https://github.com/Vambrocop/alpha-lab", "branch": "main"}, "results": [{"ruleId": "scanner-f8880c76d3c9ac85", "level": "note", "message": {"text": "Possibly dead Python function: us_today_str"}, "properties": {"repobilityId": "57c750ac38612356", "scanner": "scanner-primary", "fingerprint": "f8880c76d3c9ac85", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "market-analysis/scripts/util_time.py:12"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2c46284ba7eb79ae", "level": "note", "message": {"text": "Possibly dead Python function: by_reject"}, "properties": {"repobilityId": "14b18cf9f9892d75", "scanner": "scanner-primary", "fingerprint": "2c46284ba7eb79ae", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "market-analysis/scripts/stats_util.py:122"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-190cdf3587b722f5", "level": "note", "message": {"text": "Possibly dead Python function: rsi"}, "properties": {"repobilityId": "8fd0f3a47775dc45", "scanner": "scanner-primary", "fingerprint": "190cdf3587b722f5", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "market-analysis/scripts/signal_model.py:63"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c1b5b7115ced68ce", "level": "note", "message": {"text": "Possibly dead Python function: log_message"}, "properties": {"repobilityId": "965f3150b4af5b2e", "scanner": "scanner-primary", "fingerprint": "c1b5b7115ced68ce", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "tools/site_audit.py:22"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-04bb0cdf7cbfda7e", "level": "note", "message": {"text": "Possibly dead Python function: log_message"}, "properties": {"repobilityId": "965f3150b4af5b2e", "scanner": "scanner-primary", "fingerprint": "04bb0cdf7cbfda7e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "tools/diag_research_view.py:16"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-39b3e159a393fff3", "level": "note", "message": {"text": "Possibly dead Python function: snap_errors"}, "properties": {"repobilityId": "4e29ee7d215429da", "scanner": "scanner-primary", "fingerprint": "39b3e159a393fff3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "tools/diag_research_view.py:23"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b2d118614b992fc4", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 tools/generate_report.js:676"}, "properties": {"repobilityId": "de372182eb16e72d", "scanner": "scanner-primary", "fingerprint": "b2d118614b992fc4", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-963926e85705f348", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-5.js:10"}, "properties": {"repobilityId": "157084ec131a4042", "scanner": "scanner-primary", "fingerprint": "963926e85705f348", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "market-analysis/web/app-5.js"}, "region": {"startLine": 10}}}]}, {"ruleId": "scanner-9a4a9b76fc226087", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-1.js:32"}, "properties": {"repobilityId": "3ee844951d0604e8", "scanner": "scanner-primary", "fingerprint": "9a4a9b76fc226087", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "market-analysis/web/app-1.js"}, "region": {"startLine": 32}}}]}, {"ruleId": "scanner-7953c1b89a76c9d0", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-4.js:31"}, "properties": {"repobilityId": "fbcf433212484eb0", "scanner": "scanner-primary", "fingerprint": "7953c1b89a76c9d0", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "market-analysis/web/app-4.js"}, "region": {"startLine": 31}}}]}, {"ruleId": "scanner-e6f326cd98df8e72", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-3.js:54"}, "properties": {"repobilityId": "a0f08dcdf7075fd6", "scanner": "scanner-primary", "fingerprint": "e6f326cd98df8e72", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "market-analysis/web/app-3.js"}, "region": {"startLine": 54}}}]}, {"ruleId": "scanner-b37f879478e93eac", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in market-analysis/web/app-2.js:49"}, "properties": {"repobilityId": "0a0c787984b8e795", "scanner": "scanner-primary", "fingerprint": "b37f879478e93eac", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "market-analysis/web/app-2.js"}, "region": {"startLine": 49}}}]}, {"ruleId": "scanner-74effb2b0dd73285", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-5.js:10"}, "properties": {"repobilityId": "c1c6467a22da3dfc", "scanner": "scanner-primary", "fingerprint": "74effb2b0dd73285", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "docs/app-5.js"}, "region": {"startLine": 10}}}]}, {"ruleId": "scanner-70da776daae3193c", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-1.js:32"}, "properties": {"repobilityId": "bae2c49c465362c7", "scanner": "scanner-primary", "fingerprint": "70da776daae3193c", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "docs/app-1.js"}, "region": {"startLine": 32}}}]}, {"ruleId": "scanner-bfef6fe38e1f393c", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-4.js:31"}, "properties": {"repobilityId": "8432d42c956df1fd", "scanner": "scanner-primary", "fingerprint": "bfef6fe38e1f393c", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "docs/app-4.js"}, "region": {"startLine": 31}}}]}, {"ruleId": "scanner-d876847f07b72d5f", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-3.js:54"}, "properties": {"repobilityId": "4c42bef0306c1458", "scanner": "scanner-primary", "fingerprint": "d876847f07b72d5f", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "docs/app-3.js"}, "region": {"startLine": 54}}}]}, {"ruleId": "scanner-b74a18c1ceec9163", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in docs/app-2.js:49"}, "properties": {"repobilityId": "4e5e96476a9e8b42", "scanner": "scanner-primary", "fingerprint": "b74a18c1ceec9163", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "docs/app-2.js"}, "region": {"startLine": 49}}}]}, {"ruleId": "scanner-6372cebde0220094", "level": "warning", "message": {"text": "No auth library detected"}, "properties": {"repobilityId": "a5b6035a5bbf8054", "scanner": "scanner-primary", "fingerprint": "6372cebde0220094", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["coverage", "auth"]}}, {"ruleId": "scanner-3e60a826efa4e22f", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "48d52171753f299b", "scanner": "scanner-primary", "fingerprint": "3e60a826efa4e22f", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/refresh-data.yml"}, "region": {"startLine": 43}}}]}, {"ruleId": "scanner-766ed1e5fc8480d4", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "c02a9a38c3311190", "scanner": "scanner-primary", "fingerprint": "766ed1e5fc8480d4", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/refresh-data.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-620eb0c0424d8ab1", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "93c0299246918d5a", "scanner": "scanner-primary", "fingerprint": "620eb0c0424d8ab1", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/quick-quotes.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-93c732a566c79073", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "a6bb082ffe4fd91e", "scanner": "scanner-primary", "fingerprint": "93c732a566c79073", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/weekend-refresh.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-bfcf560968800b4c", "level": "note", "message": {"text": "Very large file: market-analysis/web/app-4.js (1223 lines)"}, "properties": {"repobilityId": "b84b6d4b0d9f1942", "scanner": "scanner-primary", "fingerprint": "bfcf560968800b4c", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-fcd871fabc0e2643", "level": "note", "message": {"text": "Very large file: market-analysis/web/app-2.js (903 lines)"}, "properties": {"repobilityId": "05d9e478509aa838", "scanner": "scanner-primary", "fingerprint": "fcd871fabc0e2643", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-960b916635dc0193", "level": "note", "message": {"text": "Very large file: docs/app-4.js (1223 lines)"}, "properties": {"repobilityId": "67a95bdd9d7fb067", "scanner": "scanner-primary", "fingerprint": "960b916635dc0193", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-5a3fe268f0baebe0", "level": "note", "message": {"text": "Very large file: docs/app-2.js (903 lines)"}, "properties": {"repobilityId": "3fea6d7e6230fd0d", "scanner": "scanner-primary", "fingerprint": "5a3fe268f0baebe0", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "b763516586c516c5", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3c6f2d410af528a3", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: tools/package.json"}, "properties": {"repobilityId": "ae887ca5559e145a", "scanner": "scanner-primary", "fingerprint": "3c6f2d410af528a3", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "tools/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "5d3c2c33fd452406", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "e96ea8cfcdd22350", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "62bd9a1d7543d6d4", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "84cc08c7d92a0f29", "scanner": "scanner-primary", "fingerprint": "ea8f3013f588db25", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-8424db9c75e04ba4", "level": "none", "message": {"text": "Very short observed git history"}, "properties": {"repobilityId": "419baa9c2ce21c54", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-0aab13b8962a1222", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 market-analysis/scripts/verify_output.py:45"}, "properties": {"repobilityId": "7411031d711ff29e", "scanner": "scanner-primary", "fingerprint": "0aab13b8962a1222", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-5dd09762f71d5703", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 market-analysis/scripts/run_all.py:81"}, "properties": {"repobilityId": "4484ded497d3cbae", "scanner": "scanner-primary", "fingerprint": "5dd09762f71d5703", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-83aea4d8e779a1d8", "level": "none", "message": {"text": "Commented-code block (5 lines) in market-analysis/scripts/factor_pruning.py:210"}, "properties": {"repobilityId": "18d20e88e5227134", "scanner": "scanner-primary", "fingerprint": "83aea4d8e779a1d8", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c188cc8a59c46151", "level": "none", "message": {"text": "Commented-code block (7 lines) in market-analysis/web/app-1.js:446"}, "properties": {"repobilityId": "481ae1952fa9be34", "scanner": "scanner-primary", "fingerprint": "c188cc8a59c46151", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-0266c0582c460fd1", "level": "note", "message": {"text": "Legacy-named symbol `alpha_game_v1` in market-analysis/web/app-4.js:828"}, "properties": {"repobilityId": "b39758196272c8e8", "scanner": "scanner-primary", "fingerprint": "0266c0582c460fd1", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-cb5f5522b7027d4c", "level": "note", "message": {"text": "Legacy-named symbol `alpha_portfolio_v2` in market-analysis/web/app-3.js:418"}, "properties": {"repobilityId": "611532e9babe1791", "scanner": "scanner-primary", "fingerprint": "cb5f5522b7027d4c", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-c53ece6b7eb93a26", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 market-analysis/web/app-3.js:501"}, "properties": {"repobilityId": "4fe53556850a83be", "scanner": "scanner-primary", "fingerprint": "c53ece6b7eb93a26", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-fb86dd7f5ce85065", "level": "none", "message": {"text": "Commented-code block (7 lines) in docs/app-1.js:446"}, "properties": {"repobilityId": "9585c32d1ec6f572", "scanner": "scanner-primary", "fingerprint": "fb86dd7f5ce85065", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-74bd04c923d9bf1a", "level": "note", "message": {"text": "Legacy-named symbol `alpha_game_v1` in docs/app-4.js:828"}, "properties": {"repobilityId": "5c8a5511f6f36c42", "scanner": "scanner-primary", "fingerprint": "74bd04c923d9bf1a", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-7fe831cd63617941", "level": "note", "message": {"text": "Legacy-named symbol `alpha_portfolio_v2` in docs/app-3.js:418"}, "properties": {"repobilityId": "dd8bf8d30b79ed80", "scanner": "scanner-primary", "fingerprint": "7fe831cd63617941", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-ca2df402ce5ad446", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 docs/app-3.js:501"}, "properties": {"repobilityId": "ec06d278fa17eb9a", "scanner": "scanner-primary", "fingerprint": "ca2df402ce5ad446", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-c0105cb75811a1d0", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 tools/post_edit_hook.py:30"}, "properties": {"repobilityId": "6b2863d6e75cbaba", "scanner": "scanner-primary", "fingerprint": "c0105cb75811a1d0", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-8e9e415f4dc060b1", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 tools/split_appjs.py:62"}, "properties": {"repobilityId": "3c13ac3330f39e1a", "scanner": "scanner-primary", "fingerprint": "8e9e415f4dc060b1", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "7c97429ed4d78f4d", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "58cbb8429d3e7a5b", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "ef61c453e3ab9f29", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}