{"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-d25a3cf7a8f50a5e", "name": "Stray `console.log` in TS/JS \u2014 playgate-web/src/lib/log.ts:45", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 playgate-web/src/lib/log.ts: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-e693a39d63447bba", "name": "Insecure pattern 'cors_wildcard' in playgate-signaling/src/cors.ts:10", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in playgate-signaling/src/cors.ts:10"}, "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-4b6a402ccd4d91b0", "name": "Insecure pattern 'cors_wildcard' in playgate-server/README.md:66", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in playgate-server/README.md:66"}, "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-3c5961b6640ed860", "name": "Insecure pattern 'cors_wildcard' in playgate-server/internal/api/server.go:42", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in playgate-server/internal/api/server.go:42"}, "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-e6c9c3e511dc3394", "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-1838a141491ce38c", "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-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-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 112 placeholder/mock markers across 19 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-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-32b16439f959e57e", "name": "Commented-code block (18 lines) in playgate-host/nxbt-daemon/nxbtd.py:45", "shortDescription": {"text": "Commented-code block (18 lines) in playgate-host/nxbt-daemon/nxbtd.py:45"}, "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-a7cd93fd671854fe", "name": "Stub function `close` (body is just `pass`/`return`) \u2014 playgate-host/nxbt-daemon/nxbtd.py:252", "shortDescription": {"text": "Stub function `close` (body is just `pass`/`return`) \u2014 playgate-host/nxbt-daemon/nxbtd.py:252"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9f64e86a29a60828", "name": "Commented-code block (6 lines) in playgate-signaling/vitest.config.ts:5", "shortDescription": {"text": "Commented-code block (6 lines) in playgate-signaling/vitest.config.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-d71b6c950f0ad32e", "name": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/roomDO.ts:75", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/roomDO.ts:75"}, "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-7fb2e05dc4e2e78d", "name": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/index.ts:28", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/index.ts:28"}, "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-d809709926fa0a27", "name": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/__tests__/turn.test.ts:56", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/__tests__/turn.test.ts:56"}, "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-de7132506115606a", "name": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/__tests__/helpers.ts:116", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/__tests__/helpers.ts:116"}, "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-3490fc212c8a9a8b", "name": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/__tests__/rooms.test.ts:31", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/__tests__/rooms.test.ts:31"}, "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-8a15911cd7ea95c4", "name": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-web/src/lib/signaling.ts:150", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-web/src/lib/signaling.ts:150"}, "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-01507f53684c7af2", "name": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-web/src/lib/api.ts:61", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-web/src/lib/api.ts:61"}, "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-e26801b996c1c335", "name": "Commented-code block (5 lines) in playgate-web/src/lib/webrtc.ts:277", "shortDescription": {"text": "Commented-code block (5 lines) in playgate-web/src/lib/webrtc.ts:277"}, "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-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:\nplaygate-host/nxbt-daemon/nxbtd.py:apply_input, playgate-host/nxbt-daemon/nxbtd.py:apply_input\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/22304"}, "properties": {"repository": "virgil724/playgate", "repoUrl": "https://github.com/virgil724/playgate", "branch": "main"}, "results": [{"ruleId": "scanner-d25a3cf7a8f50a5e", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 playgate-web/src/lib/log.ts:45"}, "properties": {"repobilityId": "e835c56a5c29714b", "scanner": "scanner-primary", "fingerprint": "d25a3cf7a8f50a5e", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-e693a39d63447bba", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in playgate-signaling/src/cors.ts:10"}, "properties": {"repobilityId": "bd7e66cbb7088f6b", "scanner": "scanner-primary", "fingerprint": "e693a39d63447bba", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "playgate-signaling/src/cors.ts"}, "region": {"startLine": 10}}}]}, {"ruleId": "scanner-4b6a402ccd4d91b0", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in playgate-server/README.md:66"}, "properties": {"repobilityId": "27751755cafacd4b", "scanner": "scanner-primary", "fingerprint": "4b6a402ccd4d91b0", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "playgate-server/README.md"}, "region": {"startLine": 66}}}]}, {"ruleId": "scanner-3c5961b6640ed860", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in playgate-server/internal/api/server.go:42"}, "properties": {"repobilityId": "01dc941a27a50dbb", "scanner": "scanner-primary", "fingerprint": "3c5961b6640ed860", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "playgate-server/internal/api/server.go"}, "region": {"startLine": 42}}}]}, {"ruleId": "scanner-e6c9c3e511dc3394", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "4174ac511cc23ff9", "scanner": "scanner-primary", "fingerprint": "e6c9c3e511dc3394", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/docker-server.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1838a141491ce38c", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "b8fd4f5048f96576", "scanner": "scanner-primary", "fingerprint": "1838a141491ce38c", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "8c9a646311800e9e", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "66a543987515c812", "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": "57aa343c62321b3a", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "64febc1d926a0387", "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": "3d1fa810caa51182", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-32b16439f959e57e", "level": "none", "message": {"text": "Commented-code block (18 lines) in playgate-host/nxbt-daemon/nxbtd.py:45"}, "properties": {"repobilityId": "206c035719df9be5", "scanner": "scanner-primary", "fingerprint": "32b16439f959e57e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a7cd93fd671854fe", "level": "note", "message": {"text": "Stub function `close` (body is just `pass`/`return`) \u2014 playgate-host/nxbt-daemon/nxbtd.py:252"}, "properties": {"repobilityId": "0a047d5688ad25c5", "scanner": "scanner-primary", "fingerprint": "a7cd93fd671854fe", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-9f64e86a29a60828", "level": "none", "message": {"text": "Commented-code block (6 lines) in playgate-signaling/vitest.config.ts:5"}, "properties": {"repobilityId": "ece406e7c16d6999", "scanner": "scanner-primary", "fingerprint": "9f64e86a29a60828", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-d71b6c950f0ad32e", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/roomDO.ts:75"}, "properties": {"repobilityId": "3284e8780528ac14", "scanner": "scanner-primary", "fingerprint": "d71b6c950f0ad32e", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-7fb2e05dc4e2e78d", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/index.ts:28"}, "properties": {"repobilityId": "64eb13145edf6728", "scanner": "scanner-primary", "fingerprint": "7fb2e05dc4e2e78d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-d809709926fa0a27", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/__tests__/turn.test.ts:56"}, "properties": {"repobilityId": "7e225df05a5dcd70", "scanner": "scanner-primary", "fingerprint": "d809709926fa0a27", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-de7132506115606a", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/__tests__/helpers.ts:116"}, "properties": {"repobilityId": "af521c960e788a2e", "scanner": "scanner-primary", "fingerprint": "de7132506115606a", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-3490fc212c8a9a8b", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-signaling/src/__tests__/rooms.test.ts:31"}, "properties": {"repobilityId": "28f1f53f4af89ccc", "scanner": "scanner-primary", "fingerprint": "3490fc212c8a9a8b", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-8a15911cd7ea95c4", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-web/src/lib/signaling.ts:150"}, "properties": {"repobilityId": "36c04dfb6778c69b", "scanner": "scanner-primary", "fingerprint": "8a15911cd7ea95c4", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-01507f53684c7af2", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 playgate-web/src/lib/api.ts:61"}, "properties": {"repobilityId": "05d764ea0b77b5b0", "scanner": "scanner-primary", "fingerprint": "01507f53684c7af2", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-e26801b996c1c335", "level": "none", "message": {"text": "Commented-code block (5 lines) in playgate-web/src/lib/webrtc.ts:277"}, "properties": {"repobilityId": "af14241aaad7a125", "scanner": "scanner-primary", "fingerprint": "e26801b996c1c335", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "462280442b13fc43", "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": "1c10dd87a0196421", "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": "74e723eb2949cdff", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}