{"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-a2415466f4bbe925", "name": "Stray `console.log` in TS/JS \u2014 worker/src/index.ts:148", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 worker/src/index.ts:148"}, "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-af1d0f45b0476a52", "name": "Stray `console.log` in TS/JS \u2014 src/index.ts:62", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/index.ts:62"}, "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-ed845cfc1164c032", "name": "Stray `console.log` in TS/JS \u2014 src/agent.ts:53", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/agent.ts:53"}, "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-0b8d71312586670e", "name": "Stray `console.log` in TS/JS \u2014 src/pipeline.ts:120", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/pipeline.ts:120"}, "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-100e9263bd020c23", "name": "Stray `console.log` in TS/JS \u2014 src/audio/ingest.ts:217", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/audio/ingest.ts:217"}, "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-db38d6c6027f9b39", "name": "Stray `console.log` in TS/JS \u2014 src/discord/console-notifier.ts:10", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/discord/console-notifier.ts:10"}, "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-cf1f04cd8c92866b", "name": "Insecure pattern 'exec_used' in src/watcher.ts:17", "shortDescription": {"text": "Insecure pattern 'exec_used' in src/watcher.ts:17"}, "fullDescription": {"text": "Found a known-risky pattern (exec_used). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-a945f3e7d3c5645a", "name": "Insecure pattern 'node_child_process' in src/watcher.ts:1", "shortDescription": {"text": "Insecure pattern 'node_child_process' in src/watcher.ts:1"}, "fullDescription": {"text": "Found a known-risky pattern (node_child_process). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-1da97dfbb8f14dd0", "name": "Insecure pattern 'node_child_process' in src/audio/ingest.ts:1", "shortDescription": {"text": "Insecure pattern 'node_child_process' in src/audio/ingest.ts:1"}, "fullDescription": {"text": "Found a known-risky pattern (node_child_process). 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-a8671f5150c6f0b1", "name": "Node manifest has dependencies but no lockfile: worker/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: worker/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 22 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-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-eed3f64370a44294", "name": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/register-commands.mjs:34", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/register-commands.mjs:34"}, "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-f6824bd50c1c8b15", "name": "`fetch()` without try/.catch or AbortSignal \u2014 worker/src/index.ts:44", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 worker/src/index.ts:44"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-3e608b4ee6e7cf20", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/index.ts:223", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/index.ts:223"}, "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-0a4c884a1f431c07", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/agent.ts:17", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/agent.ts:17"}, "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-c9614b22af39b611", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/discord/notifier.ts:37", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/discord/notifier.ts:37"}, "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-1b5a76780c3df9aa", "name": "1 env vars used in code but missing from .env.example", "shortDescription": {"text": "1 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `DISCORD_APP_ID`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/20751"}, "properties": {"repository": "TakalaWang/potus-live-bot", "repoUrl": "https://github.com/TakalaWang/potus-live-bot", "branch": "main"}, "results": [{"ruleId": "scanner-a2415466f4bbe925", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 worker/src/index.ts:148"}, "properties": {"repobilityId": "9d920df95db5924f", "scanner": "scanner-primary", "fingerprint": "a2415466f4bbe925", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-af1d0f45b0476a52", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/index.ts:62"}, "properties": {"repobilityId": "867f5b4f120dafeb", "scanner": "scanner-primary", "fingerprint": "af1d0f45b0476a52", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-ed845cfc1164c032", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/agent.ts:53"}, "properties": {"repobilityId": "c1d501df4d9340ff", "scanner": "scanner-primary", "fingerprint": "ed845cfc1164c032", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-0b8d71312586670e", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/pipeline.ts:120"}, "properties": {"repobilityId": "e07bc681a2ecf92f", "scanner": "scanner-primary", "fingerprint": "0b8d71312586670e", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-100e9263bd020c23", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/audio/ingest.ts:217"}, "properties": {"repobilityId": "c91b7650193f18e7", "scanner": "scanner-primary", "fingerprint": "100e9263bd020c23", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-db38d6c6027f9b39", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/discord/console-notifier.ts:10"}, "properties": {"repobilityId": "3ba00a05df64c597", "scanner": "scanner-primary", "fingerprint": "db38d6c6027f9b39", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-cf1f04cd8c92866b", "level": "error", "message": {"text": "Insecure pattern 'exec_used' in src/watcher.ts:17"}, "properties": {"repobilityId": "cdae9c4ff0a468cf", "scanner": "scanner-primary", "fingerprint": "cf1f04cd8c92866b", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "exec_used"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/watcher.ts"}, "region": {"startLine": 17}}}]}, {"ruleId": "scanner-a945f3e7d3c5645a", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in src/watcher.ts:1"}, "properties": {"repobilityId": "8f5da2a352c64eae", "scanner": "scanner-primary", "fingerprint": "a945f3e7d3c5645a", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/watcher.ts"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1da97dfbb8f14dd0", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in src/audio/ingest.ts:1"}, "properties": {"repobilityId": "7168c75882691d4f", "scanner": "scanner-primary", "fingerprint": "1da97dfbb8f14dd0", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/audio/ingest.ts"}, "region": {"startLine": 1}}}]}, {"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-a8671f5150c6f0b1", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: worker/package.json"}, "properties": {"repobilityId": "6b6e5cd436057d48", "scanner": "scanner-primary", "fingerprint": "a8671f5150c6f0b1", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "worker/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "24e8045cf220da82", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "a228bd994bae3d47", "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": "cc738130faae22df", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-eed3f64370a44294", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/register-commands.mjs:34"}, "properties": {"repobilityId": "e4706531df3de173", "scanner": "scanner-primary", "fingerprint": "eed3f64370a44294", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-f6824bd50c1c8b15", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 worker/src/index.ts:44"}, "properties": {"repobilityId": "afbf6b8191f228a7", "scanner": "scanner-primary", "fingerprint": "f6824bd50c1c8b15", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-3e608b4ee6e7cf20", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/index.ts:223"}, "properties": {"repobilityId": "7550fc15aab0d83f", "scanner": "scanner-primary", "fingerprint": "3e608b4ee6e7cf20", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-0a4c884a1f431c07", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/agent.ts:17"}, "properties": {"repobilityId": "970049bbd59df0a3", "scanner": "scanner-primary", "fingerprint": "0a4c884a1f431c07", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-c9614b22af39b611", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/discord/notifier.ts:37"}, "properties": {"repobilityId": "819bf1b18b51d3d3", "scanner": "scanner-primary", "fingerprint": "c9614b22af39b611", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-1b5a76780c3df9aa", "level": "none", "message": {"text": "1 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "d04379b337b44a15", "scanner": "scanner-primary", "fingerprint": "1b5a76780c3df9aa", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}]}]}