{"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-b3f1efe4c1072e79", "name": "Stray `console.log` in TS/JS \u2014 src/player/Character.js:85", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/player/Character.js:85"}, "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-cb7bca9be2056e1a", "name": "Stray `console.log` in TS/JS \u2014 src/systems/Interaction.js:45", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/systems/Interaction.js:45"}, "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-631302b88245f82a", "name": "Stray `console.log` in TS/JS \u2014 src/core/Engine.js:108", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/core/Engine.js:108"}, "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-765d881a26d11935", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/HUD.js:91", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/HUD.js:91"}, "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-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "3 tests / 30 src (ratio 0.10)."}, "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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 16 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, ci. 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-0a12b0d2aa242e37", "name": "Legacy-named symbol `eleven_text_to_sound_v2` in scripts/generate-sfx.mjs:1", "shortDescription": {"text": "Legacy-named symbol `eleven_text_to_sound_v2` in scripts/generate-sfx.mjs:1"}, "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-fd6f4f965fc1654b", "name": "Legacy-named symbol `eleven_multilingual_v2` in scripts/generate-vo.mjs:1", "shortDescription": {"text": "Legacy-named symbol `eleven_multilingual_v2` in scripts/generate-vo.mjs:1"}, "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-0667d7194193ae9f", "name": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/generate-cutscenes.mjs:44", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/generate-cutscenes.mjs:44"}, "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-0fbb9477a563c823", "name": "Legacy-named symbol `lightkeeper_save_v1` in src/main.js:11", "shortDescription": {"text": "Legacy-named symbol `lightkeeper_save_v1` in src/main.js:11"}, "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-a57d82e5b417e7fa", "name": "Commented-code block (10 lines) in src/world/Lighthouse.js:1", "shortDescription": {"text": "Commented-code block (10 lines) in src/world/Lighthouse.js:1"}, "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-197d2623f5f343fb", "name": "Legacy-named symbol `lightkeeper_save_v1` in src/systems/SaveSystem.js:1", "shortDescription": {"text": "Legacy-named symbol `lightkeeper_save_v1` in src/systems/SaveSystem.js:1"}, "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-484d3fe46bc46a40", "name": "`fetch()` without try/.catch or AbortSignal \u2014 test/generate-lighthouse-textures.mjs:44", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 test/generate-lighthouse-textures.mjs:44"}, "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}}]}}, "automationDetails": {"id": "repobility/24722"}, "properties": {"repository": "brnikita/The-Last-Lightkeeper", "repoUrl": "https://github.com/brnikita/The-Last-Lightkeeper", "branch": "main"}, "results": [{"ruleId": "scanner-b3f1efe4c1072e79", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/player/Character.js:85"}, "properties": {"repobilityId": "3007c416c1ab6220", "scanner": "scanner-primary", "fingerprint": "b3f1efe4c1072e79", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-cb7bca9be2056e1a", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/systems/Interaction.js:45"}, "properties": {"repobilityId": "6aaa3eb53632ded6", "scanner": "scanner-primary", "fingerprint": "cb7bca9be2056e1a", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-631302b88245f82a", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/core/Engine.js:108"}, "properties": {"repobilityId": "2665e168713c932e", "scanner": "scanner-primary", "fingerprint": "631302b88245f82a", "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-765d881a26d11935", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/HUD.js:91"}, "properties": {"repobilityId": "d41a944ed230fd3d", "scanner": "scanner-primary", "fingerprint": "765d881a26d11935", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/HUD.js"}, "region": {"startLine": 91}}}]}, {"ruleId": "scanner-ea3b5e389d8c9c0f", "level": "note", "message": {"text": "Low test-to-source ratio"}, "properties": {"repobilityId": "ef7b2552cc00a375", "scanner": "scanner-primary", "fingerprint": "ea3b5e389d8c9c0f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["tests"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "9d06dec040010089", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "554e7342f89354db", "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": "a97ceab15c47d5fb", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-0a12b0d2aa242e37", "level": "note", "message": {"text": "Legacy-named symbol `eleven_text_to_sound_v2` in scripts/generate-sfx.mjs:1"}, "properties": {"repobilityId": "fd5a2c8222a52a43", "scanner": "scanner-primary", "fingerprint": "0a12b0d2aa242e37", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-fd6f4f965fc1654b", "level": "note", "message": {"text": "Legacy-named symbol `eleven_multilingual_v2` in scripts/generate-vo.mjs:1"}, "properties": {"repobilityId": "255cc165511073e8", "scanner": "scanner-primary", "fingerprint": "fd6f4f965fc1654b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-0667d7194193ae9f", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/generate-cutscenes.mjs:44"}, "properties": {"repobilityId": "8a8a27594c338224", "scanner": "scanner-primary", "fingerprint": "0667d7194193ae9f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-0fbb9477a563c823", "level": "note", "message": {"text": "Legacy-named symbol `lightkeeper_save_v1` in src/main.js:11"}, "properties": {"repobilityId": "35647c218ee162a2", "scanner": "scanner-primary", "fingerprint": "0fbb9477a563c823", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-a57d82e5b417e7fa", "level": "none", "message": {"text": "Commented-code block (10 lines) in src/world/Lighthouse.js:1"}, "properties": {"repobilityId": "18391e7c7a09b570", "scanner": "scanner-primary", "fingerprint": "a57d82e5b417e7fa", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-197d2623f5f343fb", "level": "note", "message": {"text": "Legacy-named symbol `lightkeeper_save_v1` in src/systems/SaveSystem.js:1"}, "properties": {"repobilityId": "d36cd7474ef0f8e7", "scanner": "scanner-primary", "fingerprint": "197d2623f5f343fb", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-484d3fe46bc46a40", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 test/generate-lighthouse-textures.mjs:44"}, "properties": {"repobilityId": "de380b085744a876", "scanner": "scanner-primary", "fingerprint": "484d3fe46bc46a40", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}]}]}