{"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-b0610bc26428393d", "name": "Stray `console.log` in TS/JS \u2014 server/llmProxy.ts:240", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server/llmProxy.ts:240"}, "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-7479f15eb98eede7", "name": "Stray `console.log` in TS/JS \u2014 server/agentServer.ts:419", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server/agentServer.ts:419"}, "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-93f4f1278c5afa7c", "name": "Stray `console.log` in TS/JS \u2014 src/cli.ts:19", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/cli.ts:19"}, "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-0c6ad0e96fec6497", "name": "Insecure pattern 'cors_wildcard' in server/agentServer.ts:341", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in server/agentServer.ts:341"}, "fullDescription": {"text": "Found a known-risky pattern (cors_wildcard). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-d8ab138fb64b074e", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/tutorial.ts:89", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/tutorial.ts:89"}, "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-f87bce2aab107eca", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/SimpleTechTree.ts:37", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/SimpleTechTree.ts:37"}, "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-cb9ef9a1b983bea3", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/statistics.ts:109", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/statistics.ts:109"}, "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-a80588b16d73b254", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/main.ts:258", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/main.ts:258"}, "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-90d77b26a5ba0243", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/FreeformActions.ts:234", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/FreeformActions.ts:234"}, "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-50ccbc138280fce7", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/saveManager.ts:66", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/saveManager.ts:66"}, "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-7c51f98b5d892db4", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/EndgameAnalysis.ts:415", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/EndgameAnalysis.ts:415"}, "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-8253d55e11f35fc7", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/ActionReviewModal.ts:127", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/ActionReviewModal.ts:127"}, "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-17f6ca28fa75852d", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionCard.ts:130", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionCard.ts:130"}, "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-918dec921954d207", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/IntroSequence.ts:255", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/IntroSequence.ts:255"}, "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-c2a4595ed7c880de", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionComparison.ts:183", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionComparison.ts:183"}, "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-7c47a6c4650490f2", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionDetailScreen.ts:96", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionDetailScreen.ts:96"}, "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-8dd263433fda73a1", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/TechTree.ts:374", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/TechTree.ts:374"}, "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-b23af0ec58807a21", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/base.ts:18", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/base.ts:18"}, "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-ec331ab375b40e47", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/WorldMapCanvas.ts:776", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/WorldMapCanvas.ts:776"}, "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-db9f1e813cb4b63b", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/Modal.ts:221", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/Modal.ts:221"}, "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-a0c08acfb1adf550", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/BranchScreen.ts:92", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/BranchScreen.ts:92"}, "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-2a0ca86f32b95096", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/TabbedTechTree.ts:41", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/TabbedTechTree.ts:41"}, "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-4d46b1a4c912c0ab", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/WorldMap.ts:524", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/WorldMap.ts:524"}, "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-c3e0d0d62f88bd18", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionRelationships.ts:365", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionRelationships.ts:365"}, "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-e5ba8859dc7dd54a", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/EventModal.ts:136", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/EventModal.ts:136"}, "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-4601e3ad3bb28677", "name": "No CI/CD pipelines detected", "shortDescription": {"text": "No CI/CD pipelines detected"}, "fullDescription": {"text": "No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-46de75d4bd5272e6", "name": "Very large file: src/ui/main.ts (3070 lines)", "shortDescription": {"text": "Very large file: src/ui/main.ts (3070 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-4163d917fadb2bc0", "name": "Very large file: src/ui/components/ExpandedCommandCenter.ts (2128 lines)", "shortDescription": {"text": "Very large file: src/ui/components/ExpandedCommandCenter.ts (2128 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-faccb9061e9b52a0", "name": "No README detected", "shortDescription": {"text": "No README detected"}, "fullDescription": {"text": "No README file was found. Generated repos without README context are hard to operate, validate, or safely hand off."}, "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 30 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-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 14 placeholder/mock markers across 8 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "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, operator-readme. 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-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, ci, operator-readme. 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-0cb3aca4fd45a560", "name": "Commented-code block (5 lines) in server/agentServer.ts:348", "shortDescription": {"text": "Commented-code block (5 lines) in server/agentServer.ts:348"}, "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-5fa5af25316da646", "name": "16 env vars used in code but missing from .env.example", "shortDescription": {"text": "16 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `AGENT_SERVER_EFFORT`, `AGENT_SERVER_MODEL`, `AGENT_SERVER_PORT`, `AGENT_SERVER_TIMEOUT_MS`, `BASE_URL`, `CI`, `GM_EFFORT`, `GM_MAX_HISTORY_EVENTS` + 8 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/19686"}, "properties": {"repository": "simonkral1/AI_RACE", "repoUrl": "https://github.com/simonkral1/AI_RACE", "branch": "main"}, "results": [{"ruleId": "scanner-b0610bc26428393d", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server/llmProxy.ts:240"}, "properties": {"repobilityId": "f7568417ff1cbef9", "scanner": "scanner-primary", "fingerprint": "b0610bc26428393d", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-7479f15eb98eede7", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server/agentServer.ts:419"}, "properties": {"repobilityId": "13faa78566331c37", "scanner": "scanner-primary", "fingerprint": "7479f15eb98eede7", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-93f4f1278c5afa7c", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/cli.ts:19"}, "properties": {"repobilityId": "435b83b5315abc65", "scanner": "scanner-primary", "fingerprint": "93f4f1278c5afa7c", "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-0c6ad0e96fec6497", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in server/agentServer.ts:341"}, "properties": {"repobilityId": "a6730161a5478d27", "scanner": "scanner-primary", "fingerprint": "0c6ad0e96fec6497", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server/agentServer.ts"}, "region": {"startLine": 341}}}]}, {"ruleId": "scanner-d8ab138fb64b074e", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/tutorial.ts:89"}, "properties": {"repobilityId": "50e91b87a6cf10ef", "scanner": "scanner-primary", "fingerprint": "d8ab138fb64b074e", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/tutorial.ts"}, "region": {"startLine": 89}}}]}, {"ruleId": "scanner-f87bce2aab107eca", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/SimpleTechTree.ts:37"}, "properties": {"repobilityId": "631ef77b176b13d6", "scanner": "scanner-primary", "fingerprint": "f87bce2aab107eca", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/SimpleTechTree.ts"}, "region": {"startLine": 37}}}]}, {"ruleId": "scanner-cb9ef9a1b983bea3", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/statistics.ts:109"}, "properties": {"repobilityId": "57029e61492fb93f", "scanner": "scanner-primary", "fingerprint": "cb9ef9a1b983bea3", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/statistics.ts"}, "region": {"startLine": 109}}}]}, {"ruleId": "scanner-a80588b16d73b254", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/main.ts:258"}, "properties": {"repobilityId": "0b355542676aa674", "scanner": "scanner-primary", "fingerprint": "a80588b16d73b254", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/main.ts"}, "region": {"startLine": 258}}}]}, {"ruleId": "scanner-90d77b26a5ba0243", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/FreeformActions.ts:234"}, "properties": {"repobilityId": "b10f9ae37211bc26", "scanner": "scanner-primary", "fingerprint": "90d77b26a5ba0243", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/FreeformActions.ts"}, "region": {"startLine": 234}}}]}, {"ruleId": "scanner-50ccbc138280fce7", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/saveManager.ts:66"}, "properties": {"repobilityId": "b9c0a1bbd584ff56", "scanner": "scanner-primary", "fingerprint": "50ccbc138280fce7", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/saveManager.ts"}, "region": {"startLine": 66}}}]}, {"ruleId": "scanner-7c51f98b5d892db4", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/EndgameAnalysis.ts:415"}, "properties": {"repobilityId": "aaee8be9e620bbf3", "scanner": "scanner-primary", "fingerprint": "7c51f98b5d892db4", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/EndgameAnalysis.ts"}, "region": {"startLine": 415}}}]}, {"ruleId": "scanner-8253d55e11f35fc7", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/ActionReviewModal.ts:127"}, "properties": {"repobilityId": "795292836b1c9607", "scanner": "scanner-primary", "fingerprint": "8253d55e11f35fc7", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/ActionReviewModal.ts"}, "region": {"startLine": 127}}}]}, {"ruleId": "scanner-17f6ca28fa75852d", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionCard.ts:130"}, "properties": {"repobilityId": "310ca4bb769d6147", "scanner": "scanner-primary", "fingerprint": "17f6ca28fa75852d", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/FactionCard.ts"}, "region": {"startLine": 130}}}]}, {"ruleId": "scanner-918dec921954d207", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/IntroSequence.ts:255"}, "properties": {"repobilityId": "84781b1bb1297eb5", "scanner": "scanner-primary", "fingerprint": "918dec921954d207", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/IntroSequence.ts"}, "region": {"startLine": 255}}}]}, {"ruleId": "scanner-c2a4595ed7c880de", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionComparison.ts:183"}, "properties": {"repobilityId": "2fe7148dd4c03a6b", "scanner": "scanner-primary", "fingerprint": "c2a4595ed7c880de", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/FactionComparison.ts"}, "region": {"startLine": 183}}}]}, {"ruleId": "scanner-7c47a6c4650490f2", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionDetailScreen.ts:96"}, "properties": {"repobilityId": "fb50d3da0b01fc01", "scanner": "scanner-primary", "fingerprint": "7c47a6c4650490f2", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/FactionDetailScreen.ts"}, "region": {"startLine": 96}}}]}, {"ruleId": "scanner-8dd263433fda73a1", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/TechTree.ts:374"}, "properties": {"repobilityId": "66e608f2995379fd", "scanner": "scanner-primary", "fingerprint": "8dd263433fda73a1", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/TechTree.ts"}, "region": {"startLine": 374}}}]}, {"ruleId": "scanner-b23af0ec58807a21", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/base.ts:18"}, "properties": {"repobilityId": "d217512a969c7599", "scanner": "scanner-primary", "fingerprint": "b23af0ec58807a21", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/base.ts"}, "region": {"startLine": 18}}}]}, {"ruleId": "scanner-ec331ab375b40e47", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/WorldMapCanvas.ts:776"}, "properties": {"repobilityId": "08ca08096005f5e2", "scanner": "scanner-primary", "fingerprint": "ec331ab375b40e47", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/WorldMapCanvas.ts"}, "region": {"startLine": 776}}}]}, {"ruleId": "scanner-db9f1e813cb4b63b", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/Modal.ts:221"}, "properties": {"repobilityId": "10be74e812762239", "scanner": "scanner-primary", "fingerprint": "db9f1e813cb4b63b", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/Modal.ts"}, "region": {"startLine": 221}}}]}, {"ruleId": "scanner-a0c08acfb1adf550", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/BranchScreen.ts:92"}, "properties": {"repobilityId": "64c34ee2c65a0f54", "scanner": "scanner-primary", "fingerprint": "a0c08acfb1adf550", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/BranchScreen.ts"}, "region": {"startLine": 92}}}]}, {"ruleId": "scanner-2a0ca86f32b95096", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/TabbedTechTree.ts:41"}, "properties": {"repobilityId": "98c03e4bf4300e2f", "scanner": "scanner-primary", "fingerprint": "2a0ca86f32b95096", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/TabbedTechTree.ts"}, "region": {"startLine": 41}}}]}, {"ruleId": "scanner-4d46b1a4c912c0ab", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/WorldMap.ts:524"}, "properties": {"repobilityId": "68d68d8ad45594d8", "scanner": "scanner-primary", "fingerprint": "4d46b1a4c912c0ab", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/WorldMap.ts"}, "region": {"startLine": 524}}}]}, {"ruleId": "scanner-c3e0d0d62f88bd18", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/FactionRelationships.ts:365"}, "properties": {"repobilityId": "f2aed8f5e9c579a6", "scanner": "scanner-primary", "fingerprint": "c3e0d0d62f88bd18", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/FactionRelationships.ts"}, "region": {"startLine": 365}}}]}, {"ruleId": "scanner-e5ba8859dc7dd54a", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/components/EventModal.ts:136"}, "properties": {"repobilityId": "1628f798e96c76e8", "scanner": "scanner-primary", "fingerprint": "e5ba8859dc7dd54a", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/components/EventModal.ts"}, "region": {"startLine": 136}}}]}, {"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-4601e3ad3bb28677", "level": "warning", "message": {"text": "No CI/CD pipelines detected"}, "properties": {"repobilityId": "c3ee439bce2bc51e", "scanner": "scanner-primary", "fingerprint": "4601e3ad3bb28677", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-46de75d4bd5272e6", "level": "note", "message": {"text": "Very large file: src/ui/main.ts (3070 lines)"}, "properties": {"repobilityId": "22aefc16d0fb28ef", "scanner": "scanner-primary", "fingerprint": "46de75d4bd5272e6", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-4163d917fadb2bc0", "level": "note", "message": {"text": "Very large file: src/ui/components/ExpandedCommandCenter.ts (2128 lines)"}, "properties": {"repobilityId": "d7a9bba3a872a5c8", "scanner": "scanner-primary", "fingerprint": "4163d917fadb2bc0", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "eff7c480981ca0bf", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-faccb9061e9b52a0", "level": "note", "message": {"text": "No README detected"}, "properties": {"repobilityId": "40205480affd6364", "scanner": "scanner-primary", "fingerprint": "faccb9061e9b52a0", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["docs", "readme", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "03072fc3eba1967b", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "494708a126469358", "scanner": "scanner-primary", "fingerprint": "72b2a6250083a784", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "incomplete", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "83ee8fb7888b2354", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "390ab247e840d042", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "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": "14d3b0d17897d492", "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": "2ce0ba0b3dbb4348", "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": "d7e543c7c1a2d09b", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-0cb3aca4fd45a560", "level": "none", "message": {"text": "Commented-code block (5 lines) in server/agentServer.ts:348"}, "properties": {"repobilityId": "722c1de740105c90", "scanner": "scanner-primary", "fingerprint": "0cb3aca4fd45a560", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-5fa5af25316da646", "level": "note", "message": {"text": "16 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "e0919a3f6a45e8c2", "scanner": "scanner-primary", "fingerprint": "5fa5af25316da646", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}]}]}