{"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-fb0d8e08a6d0c2c3", "name": "Stray `console.log` in TS/JS \u2014 server.js:93", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server.js:93"}, "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-d63da3583b14afc0", "name": "Dockerfile runs as root: Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: 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-8987d6d1c30c7202", "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-1e295b5504038f82", "name": "Insecure pattern 'local_storage_auth_token' in server.js:150", "shortDescription": {"text": "Insecure pattern 'local_storage_auth_token' in server.js:150"}, "fullDescription": {"text": "Found a known-risky pattern (local_storage_auth_token). Review and replace if possible."}, "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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 8 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-efd4b5359d955d17", "name": "`fetch()` without try/.catch or AbortSignal \u2014 server.js:76", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 server.js:76"}, "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-27c3db5b93e4cb9a", "name": "Dangling fetch: POST https://accounts.spotify.com/api/token (server.js:76)", "shortDescription": {"text": "Dangling fetch: POST https://accounts.spotify.com/api/token (server.js:76)"}, "fullDescription": {"text": "`server.js:76` calls `POST https://accounts.spotify.com/api/token` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/https:/accounts.spotify.com/api/token`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-b148b4b9f1e19cd7", "name": "Dangling fetch: POST https://accounts.spotify.com/api/token (server.js:176)", "shortDescription": {"text": "Dangling fetch: POST https://accounts.spotify.com/api/token (server.js:176)"}, "fullDescription": {"text": "`server.js:176` calls `POST https://accounts.spotify.com/api/token` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/https:/accounts.spotify.com/api/token`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-123e9cf7f03f730e", "name": "Dangling fetch: POST https://accounts.spotify.com/api/token (server.js:208)", "shortDescription": {"text": "Dangling fetch: POST https://accounts.spotify.com/api/token (server.js:208)"}, "fullDescription": {"text": "`server.js:208` calls `POST https://accounts.spotify.com/api/token` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/https:/accounts.spotify.com/api/token`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-f9acc16af6683236", "name": "Dangling fetch: GET https://api.spotify.com/v1/search?${params} (server.js:240)", "shortDescription": {"text": "Dangling fetch: GET https://api.spotify.com/v1/search?${params} (server.js:240)"}, "fullDescription": {"text": "`server.js:240` calls `GET https://api.spotify.com/v1/search?${params}` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/https:/api.spotify.com/v1/search`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-c81213bd0e1365e4", "name": "Unused endpoint: GET /auth/spotify", "shortDescription": {"text": "Unused endpoint: GET /auth/spotify"}, "fullDescription": {"text": "`server.js` declares `GET /auth/spotify` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-1e31f568b7a49180", "name": "Unused endpoint: GET /auth/spotify/callback", "shortDescription": {"text": "Unused endpoint: GET /auth/spotify/callback"}, "fullDescription": {"text": "`server.js` declares `GET /auth/spotify/callback` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-44c760b7cc2a21ac", "name": "Unused endpoint: POST /auth/spotify/refresh", "shortDescription": {"text": "Unused endpoint: POST /auth/spotify/refresh"}, "fullDescription": {"text": "`server.js` declares `POST /auth/spotify/refresh` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-5baa8971ebe192a1", "name": "Unused endpoint: GET /", "shortDescription": {"text": "Unused endpoint: GET /"}, "fullDescription": {"text": "`server.js` declares `GET /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-c3aea19db3a80550", "name": "Unused endpoint: GET /quiz/:id", "shortDescription": {"text": "Unused endpoint: GET /quiz/:id"}, "fullDescription": {"text": "`server.js` declares `GET /quiz/:id` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b0f7d9657bda6854", "name": "Unused endpoint: GET /quizmaster", "shortDescription": {"text": "Unused endpoint: GET /quizmaster"}, "fullDescription": {"text": "`server.js` declares `GET /quizmaster` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-0bcd7faa2e8c0b86", "name": "Unused endpoint: GET /master/:id", "shortDescription": {"text": "Unused endpoint: GET /master/:id"}, "fullDescription": {"text": "`server.js` declares `GET /master/:id` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-194de08752f8d70d", "name": "Unused endpoint: GET /screen/:id", "shortDescription": {"text": "Unused endpoint: GET /screen/:id"}, "fullDescription": {"text": "`server.js` declares `GET /screen/:id` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-5b7c079bd08a29bf", "name": "Unused endpoint: GET /quiz/:id/qr.png", "shortDescription": {"text": "Unused endpoint: GET /quiz/:id/qr.png"}, "fullDescription": {"text": "`server.js` declares `GET /quiz/:id/qr.png` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-dea9e610a378dfeb", "name": "Unused endpoint: POST /api/auth", "shortDescription": {"text": "Unused endpoint: POST /api/auth"}, "fullDescription": {"text": "`server.js` declares `POST /api/auth` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-1731be30b7b9e5c9", "name": "Unused endpoint: POST /api/quizzes", "shortDescription": {"text": "Unused endpoint: POST /api/quizzes"}, "fullDescription": {"text": "`server.js` declares `POST /api/quizzes` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-e83347b112b00596", "name": "Unused endpoint: POST /api/quiz/:id", "shortDescription": {"text": "Unused endpoint: POST /api/quiz/:id"}, "fullDescription": {"text": "`server.js` declares `POST /api/quiz/:id` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-4a06f29bbd3ab6d6", "name": "Unused endpoint: DELETE /api/quiz/:id", "shortDescription": {"text": "Unused endpoint: DELETE /api/quiz/:id"}, "fullDescription": {"text": "`server.js` declares `DELETE /api/quiz/:id` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/30433"}, "properties": {"repository": "Wisemeninc/musikquiz", "repoUrl": "https://github.com/Wisemeninc/musikquiz", "branch": "main"}, "results": [{"ruleId": "scanner-fb0d8e08a6d0c2c3", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server.js:93"}, "properties": {"repobilityId": "a9deebb5fdc93edc", "scanner": "scanner-primary", "fingerprint": "fb0d8e08a6d0c2c3", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-d63da3583b14afc0", "level": "warning", "message": {"text": "Dockerfile runs as root: Dockerfile"}, "properties": {"repobilityId": "a2ed1bd120e507db", "scanner": "scanner-primary", "fingerprint": "d63da3583b14afc0", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-8987d6d1c30c7202", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:20-alpine"}, "properties": {"repobilityId": "068fbf45727eac17", "scanner": "scanner-primary", "fingerprint": "8987d6d1c30c7202", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1e295b5504038f82", "level": "warning", "message": {"text": "Insecure pattern 'local_storage_auth_token' in server.js:150"}, "properties": {"repobilityId": "da29e950f6e0baa8", "scanner": "scanner-primary", "fingerprint": "1e295b5504038f82", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "local_storage_auth_token"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server.js"}, "region": {"startLine": 150}}}]}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "dbf2f8fb1ab6cf66", "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": "369a8900d1cc6abd", "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": "c5eda3d2de8c1d89", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-efd4b5359d955d17", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 server.js:76"}, "properties": {"repobilityId": "fc2e074ae61c3bf0", "scanner": "scanner-primary", "fingerprint": "efd4b5359d955d17", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-27c3db5b93e4cb9a", "level": "error", "message": {"text": "Dangling fetch: POST https://accounts.spotify.com/api/token (server.js:76)"}, "properties": {"repobilityId": "796bbbc8a718662d", "scanner": "scanner-primary", "fingerprint": "27c3db5b93e4cb9a", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-b148b4b9f1e19cd7", "level": "error", "message": {"text": "Dangling fetch: POST https://accounts.spotify.com/api/token (server.js:176)"}, "properties": {"repobilityId": "0924dbde3b482ab8", "scanner": "scanner-primary", "fingerprint": "b148b4b9f1e19cd7", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-123e9cf7f03f730e", "level": "error", "message": {"text": "Dangling fetch: POST https://accounts.spotify.com/api/token (server.js:208)"}, "properties": {"repobilityId": "2756eae5b38ac7c3", "scanner": "scanner-primary", "fingerprint": "123e9cf7f03f730e", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-f9acc16af6683236", "level": "error", "message": {"text": "Dangling fetch: GET https://api.spotify.com/v1/search?${params} (server.js:240)"}, "properties": {"repobilityId": "b703a57e3e802e06", "scanner": "scanner-primary", "fingerprint": "f9acc16af6683236", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-c81213bd0e1365e4", "level": "note", "message": {"text": "Unused endpoint: GET /auth/spotify"}, "properties": {"repobilityId": "ff109a6056e58e0d", "scanner": "scanner-primary", "fingerprint": "c81213bd0e1365e4", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-1e31f568b7a49180", "level": "note", "message": {"text": "Unused endpoint: GET /auth/spotify/callback"}, "properties": {"repobilityId": "4df8761d50a306a8", "scanner": "scanner-primary", "fingerprint": "1e31f568b7a49180", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-44c760b7cc2a21ac", "level": "note", "message": {"text": "Unused endpoint: POST /auth/spotify/refresh"}, "properties": {"repobilityId": "802d004214aeae1b", "scanner": "scanner-primary", "fingerprint": "44c760b7cc2a21ac", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5baa8971ebe192a1", "level": "note", "message": {"text": "Unused endpoint: GET /"}, "properties": {"repobilityId": "9b883326e67da4e4", "scanner": "scanner-primary", "fingerprint": "5baa8971ebe192a1", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-c3aea19db3a80550", "level": "note", "message": {"text": "Unused endpoint: GET /quiz/:id"}, "properties": {"repobilityId": "21b8766c35d135b9", "scanner": "scanner-primary", "fingerprint": "c3aea19db3a80550", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b0f7d9657bda6854", "level": "note", "message": {"text": "Unused endpoint: GET /quizmaster"}, "properties": {"repobilityId": "6730b5d36d80eab2", "scanner": "scanner-primary", "fingerprint": "b0f7d9657bda6854", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-0bcd7faa2e8c0b86", "level": "note", "message": {"text": "Unused endpoint: GET /master/:id"}, "properties": {"repobilityId": "07af93969e444685", "scanner": "scanner-primary", "fingerprint": "0bcd7faa2e8c0b86", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-194de08752f8d70d", "level": "note", "message": {"text": "Unused endpoint: GET /screen/:id"}, "properties": {"repobilityId": "a3b5ca61825614dc", "scanner": "scanner-primary", "fingerprint": "194de08752f8d70d", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5b7c079bd08a29bf", "level": "note", "message": {"text": "Unused endpoint: GET /quiz/:id/qr.png"}, "properties": {"repobilityId": "db993e91cf55570a", "scanner": "scanner-primary", "fingerprint": "5b7c079bd08a29bf", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-dea9e610a378dfeb", "level": "note", "message": {"text": "Unused endpoint: POST /api/auth"}, "properties": {"repobilityId": "860d5793ddb39a13", "scanner": "scanner-primary", "fingerprint": "dea9e610a378dfeb", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-1731be30b7b9e5c9", "level": "note", "message": {"text": "Unused endpoint: POST /api/quizzes"}, "properties": {"repobilityId": "f290ed913a050721", "scanner": "scanner-primary", "fingerprint": "1731be30b7b9e5c9", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-e83347b112b00596", "level": "note", "message": {"text": "Unused endpoint: POST /api/quiz/:id"}, "properties": {"repobilityId": "951265180f816ab0", "scanner": "scanner-primary", "fingerprint": "e83347b112b00596", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-4a06f29bbd3ab6d6", "level": "note", "message": {"text": "Unused endpoint: DELETE /api/quiz/:id"}, "properties": {"repobilityId": "a3b65c7b6b20d889", "scanner": "scanner-primary", "fingerprint": "4a06f29bbd3ab6d6", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}