{"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-812720f1019244b3", "name": "Stray `console.log` in TS/JS \u2014 packages/server/scripts/smoke-gateway.ts:32", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 packages/server/scripts/smoke-gateway.ts:32"}, "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-e6d3c707cbf07011", "name": "Stray `console.log` in TS/JS \u2014 packages/server/scripts/trace-latency.ts:76", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 packages/server/scripts/trace-latency.ts:76"}, "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-d8e71468d9561b81", "name": "Stray `console.log` in TS/JS \u2014 packages/server/src/main.ts:17", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 packages/server/src/main.ts:17"}, "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-a3d6802fd801225e", "name": "Stray `console.log` in TS/JS \u2014 packages/server/src/ws.ts:32", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 packages/server/src/ws.ts:32"}, "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-5ff10b197df15853", "name": "Insecure pattern 'direct_innerhtml_assignment' in packages/server/src/trace/viewer/index.html:189", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in packages/server/src/trace/viewer/index.html:189"}, "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-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-b739f2f2be1d714d", "name": "Node manifest has dependencies but no lockfile: packages/server/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: packages/server/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-1b3d0fa3fe79a342", "name": "Node manifest has dependencies but no lockfile: packages/protocol/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: packages/protocol/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 17 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, 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-4e92608ad2738449", "name": "Commented-code block (6 lines) in packages/server/scripts/smoke-gateway.ts:1", "shortDescription": {"text": "Commented-code block (6 lines) in packages/server/scripts/smoke-gateway.ts: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-05b0f54954104f8d", "name": "Commented-code block (5 lines) in packages/server/scripts/trace-latency.ts:80", "shortDescription": {"text": "Commented-code block (5 lines) in packages/server/scripts/trace-latency.ts:80"}, "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-a2ba22697610c5cd", "name": "`fetch()` without try/.catch or AbortSignal \u2014 packages/server/src/main.ts:38", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 packages/server/src/main.ts:38"}, "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-a19cb3497321d94d", "name": "`fetch()` without try/.catch or AbortSignal \u2014 packages/server/src/ws.test.ts:16", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 packages/server/src/ws.test.ts:16"}, "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-e52c3cfa37594677", "name": "Commented-code block (5 lines) in packages/server/src/provider/anthropic.ts:13", "shortDescription": {"text": "Commented-code block (5 lines) in packages/server/src/provider/anthropic.ts:13"}, "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-e51eb564bb29fee1", "name": "Commented-code block (5 lines) in packages/server/src/tools/defineTool.ts:17", "shortDescription": {"text": "Commented-code block (5 lines) in packages/server/src/tools/defineTool.ts:17"}, "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}}]}}, "automationDetails": {"id": "repobility/24037"}, "properties": {"repository": "Alan-Yu-2077/Agent_Kernal", "repoUrl": "https://github.com/Alan-Yu-2077/Agent_Kernal", "branch": "main"}, "results": [{"ruleId": "scanner-812720f1019244b3", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 packages/server/scripts/smoke-gateway.ts:32"}, "properties": {"repobilityId": "7f6e11fdd0a4018b", "scanner": "scanner-primary", "fingerprint": "812720f1019244b3", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-e6d3c707cbf07011", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 packages/server/scripts/trace-latency.ts:76"}, "properties": {"repobilityId": "33a7a3c982f485ec", "scanner": "scanner-primary", "fingerprint": "e6d3c707cbf07011", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-d8e71468d9561b81", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 packages/server/src/main.ts:17"}, "properties": {"repobilityId": "2c8f9bc915352ab0", "scanner": "scanner-primary", "fingerprint": "d8e71468d9561b81", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-a3d6802fd801225e", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 packages/server/src/ws.ts:32"}, "properties": {"repobilityId": "7544df825bfd2ae3", "scanner": "scanner-primary", "fingerprint": "a3d6802fd801225e", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-5ff10b197df15853", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in packages/server/src/trace/viewer/index.html:189"}, "properties": {"repobilityId": "82bfaa5fca05646a", "scanner": "scanner-primary", "fingerprint": "5ff10b197df15853", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "packages/server/src/trace/viewer/index.html"}, "region": {"startLine": 189}}}]}, {"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-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "4b4bc3ed1569e2ad", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b739f2f2be1d714d", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: packages/server/package.json"}, "properties": {"repobilityId": "d7cb4fafc3b292b2", "scanner": "scanner-primary", "fingerprint": "b739f2f2be1d714d", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "packages/server/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1b3d0fa3fe79a342", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: packages/protocol/package.json"}, "properties": {"repobilityId": "0939d10aef433444", "scanner": "scanner-primary", "fingerprint": "1b3d0fa3fe79a342", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "packages/protocol/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "f0a8f31bb0feb54c", "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": "3a4b38e6be30b88c", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-4e92608ad2738449", "level": "none", "message": {"text": "Commented-code block (6 lines) in packages/server/scripts/smoke-gateway.ts:1"}, "properties": {"repobilityId": "d54f32ad13e93f67", "scanner": "scanner-primary", "fingerprint": "4e92608ad2738449", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-05b0f54954104f8d", "level": "none", "message": {"text": "Commented-code block (5 lines) in packages/server/scripts/trace-latency.ts:80"}, "properties": {"repobilityId": "00a13b0a9f096334", "scanner": "scanner-primary", "fingerprint": "05b0f54954104f8d", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a2ba22697610c5cd", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 packages/server/src/main.ts:38"}, "properties": {"repobilityId": "e9e9c2f2f9c617cd", "scanner": "scanner-primary", "fingerprint": "a2ba22697610c5cd", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-a19cb3497321d94d", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 packages/server/src/ws.test.ts:16"}, "properties": {"repobilityId": "0e2565411f577332", "scanner": "scanner-primary", "fingerprint": "a19cb3497321d94d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-e52c3cfa37594677", "level": "none", "message": {"text": "Commented-code block (5 lines) in packages/server/src/provider/anthropic.ts:13"}, "properties": {"repobilityId": "0f592f89874bac6c", "scanner": "scanner-primary", "fingerprint": "e52c3cfa37594677", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e51eb564bb29fee1", "level": "none", "message": {"text": "Commented-code block (5 lines) in packages/server/src/tools/defineTool.ts:17"}, "properties": {"repobilityId": "eface108128b70c1", "scanner": "scanner-primary", "fingerprint": "e51eb564bb29fee1", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}