{"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-2675032fd716a5a0", "name": "Stray `console.log` in TS/JS \u2014 contracts/scripts/keeper/index.ts:64", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 contracts/scripts/keeper/index.ts:64"}, "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-c32ef3f6f4e92b79", "name": "Dockerfile runs as root: contracts/scripts/keeper/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: contracts/scripts/keeper/Dockerfile"}, "fullDescription": {"text": "No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-8fc6b7966a23325f", "name": "Docker base image is tag-pinned but not digest-pinned: node:20-alpine", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: node:20-alpine"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "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-03ef4fe9ec2457a1", "name": "Node manifest has dependencies but no lockfile: contracts/scripts/keeper/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: contracts/scripts/keeper/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 484 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: ci, tests, 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": "medium", "confidence": 1.0}}, {"id": "scanner-383678796b5aef05", "name": "Legacy-named symbol `estimate_hurst_v2` in backtest/src/estimate_hurst_v2.py:23", "shortDescription": {"text": "Legacy-named symbol `estimate_hurst_v2` in backtest/src/estimate_hurst_v2.py:23"}, "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-fcda459bfa1ecad7", "name": "Commented-code block (7 lines) in backtest/src/exp_b5_mcb_refit.py:287", "shortDescription": {"text": "Commented-code block (7 lines) in backtest/src/exp_b5_mcb_refit.py:287"}, "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-3fc4e2f9c416d625", "name": "Commented-code block (5 lines) in backtest/src/madrigal_comparison.py:398", "shortDescription": {"text": "Commented-code block (5 lines) in backtest/src/madrigal_comparison.py:398"}, "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-aa5292b11d42b767", "name": "Commented-code block (5 lines) in backtest/src/exp_c2_truncated_normal.py:84", "shortDescription": {"text": "Commented-code block (5 lines) in backtest/src/exp_c2_truncated_normal.py:84"}, "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-9d68c5de468f59dc", "name": "Legacy-named symbol `estimate_hurst_v2` in backtest/src/blob_hurst_diagnostics.py:6", "shortDescription": {"text": "Legacy-named symbol `estimate_hurst_v2` in backtest/src/blob_hurst_diagnostics.py:6"}, "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-0f0b4043b579e23b", "name": "Commented-code block (6 lines) in backtest/src/sensitivity_analysis.py:211", "shortDescription": {"text": "Commented-code block (6 lines) in backtest/src/sensitivity_analysis.py:211"}, "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-237682f33c0bd186", "name": "Commented-code block (5 lines) in backtest/src/mcb_comparison.py:224", "shortDescription": {"text": "Commented-code block (5 lines) in backtest/src/mcb_comparison.py:224"}, "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-627229cb730940fd", "name": "Commented-code block (9 lines) in contracts/scripts/keeper/index.ts:5", "shortDescription": {"text": "Commented-code block (9 lines) in contracts/scripts/keeper/index.ts:5"}, "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-be46ea126aa5d8dc", "name": "Near-duplicate function bodies in 3 places", "shortDescription": {"text": "Near-duplicate function bodies in 3 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nbacktest/src/exp_b5_mcb_refit.py:main, backtest/src/exp_f1_lp_apr.py:main, backtest/src/exp_c2_truncated_normal.py:main\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}}, {"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:\nbacktest/src/gaussian_tests.py:main, backtest/src/esscher_sensitivity.py:main\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/23908"}, "properties": {"repository": "admnov38/GLOB", "repoUrl": "https://github.com/admnov38/GLOB", "branch": "main"}, "results": [{"ruleId": "scanner-2675032fd716a5a0", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 contracts/scripts/keeper/index.ts:64"}, "properties": {"repobilityId": "819a86a5b35fa940", "scanner": "scanner-primary", "fingerprint": "2675032fd716a5a0", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-c32ef3f6f4e92b79", "level": "warning", "message": {"text": "Dockerfile runs as root: contracts/scripts/keeper/Dockerfile"}, "properties": {"repobilityId": "d67f5b103a392bba", "scanner": "scanner-primary", "fingerprint": "c32ef3f6f4e92b79", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-8fc6b7966a23325f", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:20-alpine"}, "properties": {"repobilityId": "fa309f719d643eda", "scanner": "scanner-primary", "fingerprint": "8fc6b7966a23325f", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "contracts/scripts/keeper/Dockerfile"}, "region": {"startLine": 4}}}]}, {"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-03ef4fe9ec2457a1", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: contracts/scripts/keeper/package.json"}, "properties": {"repobilityId": "015ac796d36bd1c9", "scanner": "scanner-primary", "fingerprint": "03ef4fe9ec2457a1", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "contracts/scripts/keeper/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "0f0fa6302319d697", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "7068326bd352111a", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-383678796b5aef05", "level": "note", "message": {"text": "Legacy-named symbol `estimate_hurst_v2` in backtest/src/estimate_hurst_v2.py:23"}, "properties": {"repobilityId": "d78964b172a79a18", "scanner": "scanner-primary", "fingerprint": "383678796b5aef05", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-fcda459bfa1ecad7", "level": "none", "message": {"text": "Commented-code block (7 lines) in backtest/src/exp_b5_mcb_refit.py:287"}, "properties": {"repobilityId": "a57d879bec832453", "scanner": "scanner-primary", "fingerprint": "fcda459bfa1ecad7", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-3fc4e2f9c416d625", "level": "none", "message": {"text": "Commented-code block (5 lines) in backtest/src/madrigal_comparison.py:398"}, "properties": {"repobilityId": "28fa7852658be5a4", "scanner": "scanner-primary", "fingerprint": "3fc4e2f9c416d625", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-aa5292b11d42b767", "level": "none", "message": {"text": "Commented-code block (5 lines) in backtest/src/exp_c2_truncated_normal.py:84"}, "properties": {"repobilityId": "5bf136d42ea6de72", "scanner": "scanner-primary", "fingerprint": "aa5292b11d42b767", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-9d68c5de468f59dc", "level": "note", "message": {"text": "Legacy-named symbol `estimate_hurst_v2` in backtest/src/blob_hurst_diagnostics.py:6"}, "properties": {"repobilityId": "6707f4650f3bb8b7", "scanner": "scanner-primary", "fingerprint": "9d68c5de468f59dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-0f0b4043b579e23b", "level": "none", "message": {"text": "Commented-code block (6 lines) in backtest/src/sensitivity_analysis.py:211"}, "properties": {"repobilityId": "9478c6a3f0df9305", "scanner": "scanner-primary", "fingerprint": "0f0b4043b579e23b", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-237682f33c0bd186", "level": "none", "message": {"text": "Commented-code block (5 lines) in backtest/src/mcb_comparison.py:224"}, "properties": {"repobilityId": "f58d327f4e36930f", "scanner": "scanner-primary", "fingerprint": "237682f33c0bd186", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-627229cb730940fd", "level": "none", "message": {"text": "Commented-code block (9 lines) in contracts/scripts/keeper/index.ts:5"}, "properties": {"repobilityId": "7df21f0ad2160990", "scanner": "scanner-primary", "fingerprint": "627229cb730940fd", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "4b2dde942887c8a2", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "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": "9f3fdf116796e6ef", "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": "ab9e657f393df6fd", "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": "ac2ac645fb2ab16a", "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": "78545400c83c57b2", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}