{"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-28205abd431912e0", "name": "`dangerouslySetInnerHTML` used in a React component \u2014 components/JsonLd.tsx:8", "shortDescription": {"text": "`dangerouslySetInnerHTML` used in a React component \u2014 components/JsonLd.tsx:8"}, "fullDescription": {"text": "Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library.\n\nWhy: OWASP basics. Already partially flagged by the security analyzer.\nRule id: fq.dangerous-html"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-5a275a9dabebe187", "name": "`dangerouslySetInnerHTML` used in a React component \u2014 components/tools/MarkdownToHtml.tsx:87", "shortDescription": {"text": "`dangerouslySetInnerHTML` used in a React component \u2014 components/tools/MarkdownToHtml.tsx:87"}, "fullDescription": {"text": "Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library.\n\nWhy: OWASP basics. Already partially flagged by the security analyzer.\nRule id: fq.dangerous-html"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-a449ca0ad68d27a0", "name": "`dangerouslySetInnerHTML` used in a React component \u2014 app/layout.tsx:41", "shortDescription": {"text": "`dangerouslySetInnerHTML` used in a React component \u2014 app/layout.tsx:41"}, "fullDescription": {"text": "Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library.\n\nWhy: OWASP basics. Already partially flagged by the security analyzer.\nRule id: fq.dangerous-html"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2a8fdc3fd41b17a0", "name": "Insecure pattern 'dangerous_innerhtml' in components/JsonLd.tsx:8", "shortDescription": {"text": "Insecure pattern 'dangerous_innerhtml' in components/JsonLd.tsx:8"}, "fullDescription": {"text": "Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-4a501c3ba2a3e6be", "name": "Insecure pattern 'domparser_html_parse' in components/tools/HtmlEntityTool.tsx:15", "shortDescription": {"text": "Insecure pattern 'domparser_html_parse' in components/tools/HtmlEntityTool.tsx:15"}, "fullDescription": {"text": "Found a known-risky pattern (domparser_html_parse). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-d475a025f5a87692", "name": "Insecure pattern 'dangerous_innerhtml' in components/tools/MarkdownToHtml.tsx:87", "shortDescription": {"text": "Insecure pattern 'dangerous_innerhtml' in components/tools/MarkdownToHtml.tsx:87"}, "fullDescription": {"text": "Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-beb1d7ff1c2367e0", "name": "Insecure pattern 'dangerous_innerhtml' in app/layout.tsx:41", "shortDescription": {"text": "Insecure pattern 'dangerous_innerhtml' in app/layout.tsx:41"}, "fullDescription": {"text": "Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-d93db437bfe09d5d", "name": "Insecure pattern 'weak_hash' in lib/registry/tools/dev.ts:139", "shortDescription": {"text": "Insecure pattern 'weak_hash' in lib/registry/tools/dev.ts:139"}, "fullDescription": {"text": "Found a known-risky pattern (weak_hash). 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-447d094a3342ce04", "name": "Very large file: lib/registry/tools/dev.ts (834 lines)", "shortDescription": {"text": "Very large file: lib/registry/tools/dev.ts (834 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-512c11286e1c0d9a", "name": "Very large file: lib/registry/tools/finance.ts (1493 lines)", "shortDescription": {"text": "Very large file: lib/registry/tools/finance.ts (1493 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "1 test file(s) for 218 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "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 12 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-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 94 placeholder/mock markers across 59 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-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci, tests. 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-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-d040ebf65e65cd93", "name": "Commented-code block (6 lines) in scripts/validate-keywords.mjs:8", "shortDescription": {"text": "Commented-code block (6 lines) in scripts/validate-keywords.mjs:8"}, "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-b0dea4f982e72c6d", "name": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/validate-keywords.mjs:102", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/validate-keywords.mjs:102"}, "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-7ba8dcb2ec0edfe3", "name": "Commented-code block (5 lines) in lib/registry/articles/finance.ts:3", "shortDescription": {"text": "Commented-code block (5 lines) in lib/registry/articles/finance.ts:3"}, "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-d0b17c8c07a7421d", "name": "8 env vars used in code but missing from .env.example", "shortDescription": {"text": "8 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `DATAFORSEO_LANGUAGE_CODE`, `DATAFORSEO_LOCATION_CODE`, `DATAFORSEO_LOCATION_CODES`, `MAX_KD`, `MAX_VOLUME`, `MIN_CPC`, `MIN_VOLUME`, `NEXT_PUBLIC_GA_ID`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/20748"}, "properties": {"repository": "tak-umi13/toolnest", "repoUrl": "https://github.com/tak-umi13/toolnest", "branch": "main"}, "results": [{"ruleId": "scanner-28205abd431912e0", "level": "warning", "message": {"text": "`dangerouslySetInnerHTML` used in a React component \u2014 components/JsonLd.tsx:8"}, "properties": {"repobilityId": "fbf18bcbf2b0182e", "scanner": "scanner-primary", "fingerprint": "28205abd431912e0", "layer": "frontend", "severity": "medium", "confidence": 1.0, "tags": ["frontend-quality", "fq.dangerous-html"]}}, {"ruleId": "scanner-5a275a9dabebe187", "level": "warning", "message": {"text": "`dangerouslySetInnerHTML` used in a React component \u2014 components/tools/MarkdownToHtml.tsx:87"}, "properties": {"repobilityId": "1bb4835d71817066", "scanner": "scanner-primary", "fingerprint": "5a275a9dabebe187", "layer": "frontend", "severity": "medium", "confidence": 1.0, "tags": ["frontend-quality", "fq.dangerous-html"]}}, {"ruleId": "scanner-a449ca0ad68d27a0", "level": "warning", "message": {"text": "`dangerouslySetInnerHTML` used in a React component \u2014 app/layout.tsx:41"}, "properties": {"repobilityId": "6f16eb9b82a2dcd6", "scanner": "scanner-primary", "fingerprint": "a449ca0ad68d27a0", "layer": "frontend", "severity": "medium", "confidence": 1.0, "tags": ["frontend-quality", "fq.dangerous-html"]}}, {"ruleId": "scanner-2a8fdc3fd41b17a0", "level": "warning", "message": {"text": "Insecure pattern 'dangerous_innerhtml' in components/JsonLd.tsx:8"}, "properties": {"repobilityId": "46019c83bb7b6575", "scanner": "scanner-primary", "fingerprint": "2a8fdc3fd41b17a0", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "dangerous_innerhtml"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "components/JsonLd.tsx"}, "region": {"startLine": 8}}}]}, {"ruleId": "scanner-4a501c3ba2a3e6be", "level": "warning", "message": {"text": "Insecure pattern 'domparser_html_parse' in components/tools/HtmlEntityTool.tsx:15"}, "properties": {"repobilityId": "6e879ac06212c843", "scanner": "scanner-primary", "fingerprint": "4a501c3ba2a3e6be", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "domparser_html_parse"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "components/tools/HtmlEntityTool.tsx"}, "region": {"startLine": 15}}}]}, {"ruleId": "scanner-d475a025f5a87692", "level": "warning", "message": {"text": "Insecure pattern 'dangerous_innerhtml' in components/tools/MarkdownToHtml.tsx:87"}, "properties": {"repobilityId": "2ad3ede9b2e920d0", "scanner": "scanner-primary", "fingerprint": "d475a025f5a87692", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "dangerous_innerhtml"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "components/tools/MarkdownToHtml.tsx"}, "region": {"startLine": 87}}}]}, {"ruleId": "scanner-beb1d7ff1c2367e0", "level": "warning", "message": {"text": "Insecure pattern 'dangerous_innerhtml' in app/layout.tsx:41"}, "properties": {"repobilityId": "69d4743587f721a0", "scanner": "scanner-primary", "fingerprint": "beb1d7ff1c2367e0", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "dangerous_innerhtml"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/layout.tsx"}, "region": {"startLine": 41}}}]}, {"ruleId": "scanner-d93db437bfe09d5d", "level": "warning", "message": {"text": "Insecure pattern 'weak_hash' in lib/registry/tools/dev.ts:139"}, "properties": {"repobilityId": "e738f9b1d64f0c66", "scanner": "scanner-primary", "fingerprint": "d93db437bfe09d5d", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "weak_hash"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "lib/registry/tools/dev.ts"}, "region": {"startLine": 139}}}]}, {"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-447d094a3342ce04", "level": "note", "message": {"text": "Very large file: lib/registry/tools/dev.ts (834 lines)"}, "properties": {"repobilityId": "7cefb2ee36dd2a0b", "scanner": "scanner-primary", "fingerprint": "447d094a3342ce04", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-512c11286e1c0d9a", "level": "note", "message": {"text": "Very large file: lib/registry/tools/finance.ts (1493 lines)"}, "properties": {"repobilityId": "86adbf98a42ef536", "scanner": "scanner-primary", "fingerprint": "512c11286e1c0d9a", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-6893a6c8b0861585", "level": "warning", "message": {"text": "Very low test-to-source ratio"}, "properties": {"repobilityId": "54a7de3f06314bf0", "scanner": "scanner-primary", "fingerprint": "6893a6c8b0861585", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "coverage"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "2f11c7d3937f4fcb", "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": "b339ab25e9e0cb8d", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "8cfbe0595a898c04", "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": "316c8e643e7e1da4", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "8932df2da37e2353", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "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": "e3e7bf3e487cc149", "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": "266d2bf1392a2d3d", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-d040ebf65e65cd93", "level": "none", "message": {"text": "Commented-code block (6 lines) in scripts/validate-keywords.mjs:8"}, "properties": {"repobilityId": "fdb219937aabbba6", "scanner": "scanner-primary", "fingerprint": "d040ebf65e65cd93", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-b0dea4f982e72c6d", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/validate-keywords.mjs:102"}, "properties": {"repobilityId": "76bd8dedcdc62619", "scanner": "scanner-primary", "fingerprint": "b0dea4f982e72c6d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-7ba8dcb2ec0edfe3", "level": "none", "message": {"text": "Commented-code block (5 lines) in lib/registry/articles/finance.ts:3"}, "properties": {"repobilityId": "62d04b05e65750e7", "scanner": "scanner-primary", "fingerprint": "7ba8dcb2ec0edfe3", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-d0b17c8c07a7421d", "level": "note", "message": {"text": "8 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "17fe720e8247f9df", "scanner": "scanner-primary", "fingerprint": "d0b17c8c07a7421d", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}]}]}