{"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-270a37e3304b1417", "name": "Stray `console.log` in TS/JS \u2014 server.js:141", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server.js:141"}, "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-3f5e55eef3e00563", "name": "Stray `console.log` in TS/JS \u2014 test/verify.js:142", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 test/verify.js:142"}, "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-96b953ba54ac5815", "name": "Stray `console.log` in TS/JS \u2014 tools/gen-brightness.js:37", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 tools/gen-brightness.js:37"}, "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-9afada422efc0705", "name": "Stray `console.log` in TS/JS \u2014 tools/extract.js:89", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 tools/extract.js:89"}, "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-6e935bcf2b39f689", "name": "Stray `console.log` in TS/JS \u2014 tools/browser-test.js:23", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 tools/browser-test.js:23"}, "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-fd2c4927510e4b4a", "name": "Insecure pattern 'cors_wildcard' in server.js:28", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in server.js:28"}, "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-51e86f1174b81ccf", "name": "Insecure pattern 'direct_innerhtml_assignment' in public/index.html:390", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in public/index.html:390"}, "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-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-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "2 tests / 12 src (ratio 0.17)."}, "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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 28 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-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-deecbb70c3e24850", "name": "Unused endpoint: GET /api/v1/natal", "shortDescription": {"text": "Unused endpoint: GET /api/v1/natal"}, "fullDescription": {"text": "`server.js` declares `GET /api/v1/natal` 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-dc0b22c25345b33b", "name": "Unused endpoint: POST /api/v1/natal", "shortDescription": {"text": "Unused endpoint: POST /api/v1/natal"}, "fullDescription": {"text": "`server.js` declares `POST /api/v1/natal` 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-cf2a5788c1e834bb", "name": "Unused endpoint: GET /api/v1/horoscope", "shortDescription": {"text": "Unused endpoint: GET /api/v1/horoscope"}, "fullDescription": {"text": "`server.js` declares `GET /api/v1/horoscope` 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-cb616c70af16d629", "name": "Unused endpoint: POST /api/v1/horoscope", "shortDescription": {"text": "Unused endpoint: POST /api/v1/horoscope"}, "fullDescription": {"text": "`server.js` declares `POST /api/v1/horoscope` 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-65b6190b78ccdf8c", "name": "Unused endpoint: GET /api/v1/text", "shortDescription": {"text": "Unused endpoint: GET /api/v1/text"}, "fullDescription": {"text": "`server.js` declares `GET /api/v1/text` 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-4db529cf96cb66df", "name": "Unused endpoint: POST /api/v1/text", "shortDescription": {"text": "Unused endpoint: POST /api/v1/text"}, "fullDescription": {"text": "`server.js` declares `POST /api/v1/text` 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-a436691337284d03", "name": "Unused endpoint: GET /api/v1/health", "shortDescription": {"text": "Unused endpoint: GET /api/v1/health"}, "fullDescription": {"text": "`server.js` declares `GET /api/v1/health` 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-6cd74e2f1290a63c", "name": "Unused endpoint: GET /api/v1/doc", "shortDescription": {"text": "Unused endpoint: GET /api/v1/doc"}, "fullDescription": {"text": "`server.js` declares `GET /api/v1/doc` 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/22244"}, "properties": {"repository": "Vinbcent/ziwei-chart", "repoUrl": "https://github.com/Vinbcent/ziwei-chart", "branch": "main"}, "results": [{"ruleId": "scanner-270a37e3304b1417", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server.js:141"}, "properties": {"repobilityId": "a9deebb5fdc93edc", "scanner": "scanner-primary", "fingerprint": "270a37e3304b1417", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-3f5e55eef3e00563", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 test/verify.js:142"}, "properties": {"repobilityId": "dbb40cb3e13b15b9", "scanner": "scanner-primary", "fingerprint": "3f5e55eef3e00563", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-96b953ba54ac5815", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 tools/gen-brightness.js:37"}, "properties": {"repobilityId": "fceddd07e0099cd4", "scanner": "scanner-primary", "fingerprint": "96b953ba54ac5815", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-9afada422efc0705", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 tools/extract.js:89"}, "properties": {"repobilityId": "639100a0b2430467", "scanner": "scanner-primary", "fingerprint": "9afada422efc0705", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-6e935bcf2b39f689", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 tools/browser-test.js:23"}, "properties": {"repobilityId": "e6a59243979da04b", "scanner": "scanner-primary", "fingerprint": "6e935bcf2b39f689", "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-fd2c4927510e4b4a", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in server.js:28"}, "properties": {"repobilityId": "0d9bca6c0839725e", "scanner": "scanner-primary", "fingerprint": "fd2c4927510e4b4a", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server.js"}, "region": {"startLine": 28}}}]}, {"ruleId": "scanner-51e86f1174b81ccf", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in public/index.html:390"}, "properties": {"repobilityId": "fcd975cc51168fca", "scanner": "scanner-primary", "fingerprint": "51e86f1174b81ccf", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "public/index.html"}, "region": {"startLine": 390}}}]}, {"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-ea3b5e389d8c9c0f", "level": "note", "message": {"text": "Low test-to-source ratio"}, "properties": {"repobilityId": "ef7b2552cc00a375", "scanner": "scanner-primary", "fingerprint": "ea3b5e389d8c9c0f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["tests"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "b91eb0b3b94f07ce", "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": "2ebdead82c8b6645", "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": "6d20cc433b74562d", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "3f22e4ec20503e37", "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": "ed8bf04e05e30ac1", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-deecbb70c3e24850", "level": "note", "message": {"text": "Unused endpoint: GET /api/v1/natal"}, "properties": {"repobilityId": "93f944500a1be0b8", "scanner": "scanner-primary", "fingerprint": "deecbb70c3e24850", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-dc0b22c25345b33b", "level": "note", "message": {"text": "Unused endpoint: POST /api/v1/natal"}, "properties": {"repobilityId": "25242df1d8845408", "scanner": "scanner-primary", "fingerprint": "dc0b22c25345b33b", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-cf2a5788c1e834bb", "level": "note", "message": {"text": "Unused endpoint: GET /api/v1/horoscope"}, "properties": {"repobilityId": "58c063b941851f17", "scanner": "scanner-primary", "fingerprint": "cf2a5788c1e834bb", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-cb616c70af16d629", "level": "note", "message": {"text": "Unused endpoint: POST /api/v1/horoscope"}, "properties": {"repobilityId": "0e432c7735898af2", "scanner": "scanner-primary", "fingerprint": "cb616c70af16d629", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-65b6190b78ccdf8c", "level": "note", "message": {"text": "Unused endpoint: GET /api/v1/text"}, "properties": {"repobilityId": "bceccfa1733a2eb6", "scanner": "scanner-primary", "fingerprint": "65b6190b78ccdf8c", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-4db529cf96cb66df", "level": "note", "message": {"text": "Unused endpoint: POST /api/v1/text"}, "properties": {"repobilityId": "dc2d0d7e20c47d25", "scanner": "scanner-primary", "fingerprint": "4db529cf96cb66df", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-a436691337284d03", "level": "note", "message": {"text": "Unused endpoint: GET /api/v1/health"}, "properties": {"repobilityId": "f5133e6963466953", "scanner": "scanner-primary", "fingerprint": "a436691337284d03", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-6cd74e2f1290a63c", "level": "note", "message": {"text": "Unused endpoint: GET /api/v1/doc"}, "properties": {"repobilityId": "8cafab57a6e483a1", "scanner": "scanner-primary", "fingerprint": "6cd74e2f1290a63c", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}