{"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-d9a15e98245a930e", "name": "math random used \u2014 cat-ascii/cmd/root.go:4", "shortDescription": {"text": "math random used \u2014 cat-ascii/cmd/root.go:4"}, "fullDescription": {"text": "Do not use `math/rand`. Use `crypto/rand` instead.\n\nRule: go.lang.security.audit.crypto.math_random.math-random-used\nSeverity: WARNING\nOWASP: A02:2021 - Cryptographic Failures, A04:2025 - Cryptographic Failures\nCWE: CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)\nCategory: security\nContext: production"}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 0.7}}, {"id": "scanner-be7d2e5a954539e8", "name": "potential dos via decompression bomb \u2014 pkg/file-handler/zip.go:159", "shortDescription": {"text": "potential dos via decompression bomb \u2014 pkg/file-handler/zip.go:159"}, "fullDescription": {"text": "Detected a possible denial-of-service via a zip bomb attack. By limiting the max bytes read, you can mitigate this attack. `io.CopyN()` can specify a size.\n\nRule: go.lang.security.decompression_bomb.potential-dos-via-decompression-bomb\nSeverity: WARNING\nOWASP: \u2014\nCWE: CWE-400: Uncontrolled Resource Consumption\nCategory: security\nContext: production"}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 0.55}}, {"id": "scanner-e3e59b9429948539", "name": "CVE-2026-46603: golang.org/x/image v0.43.0 \u2014 go.mod", "shortDescription": {"text": "CVE-2026-46603: golang.org/x/image v0.43.0 \u2014 go.mod"}, "fullDescription": {"text": "VP8L decoding in golang.org/x/image/vp8l can allocate an excessive amo ...\n\nVP8L decoding in golang.org/x/image/vp8l can allocate an excessive amount of memory when processing a crafted VP8L image containing many unused Huffman tree groups. This allows a remote attacker to cause a denial of service via memory exhaustion.\n\nPackage: golang.org/x/image\nInstalled: v0.43.0\nFixed in: 0.45.0\nSeverity: UNKNOWN\nFix: Upgrade golang.org/x/image to 0.45.0"}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "info", "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-035967405ba88d1f", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "golangci/golangci-lint-action@v9 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-46c644c6227e4d4a", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/checkout@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "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-63c6427e18febd13", "name": "Very large file: epub-lint/internal/epub-check/handle-validation-errors_test.go (1736 lines)", "shortDescription": {"text": "Very large file: epub-lint/internal/epub-check/handle-validation-errors_test.go (1736 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-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}}]}}, "automationDetails": {"id": "repobility/30818"}, "properties": {"repository": "pjkaufman/go-go-gadgets", "repoUrl": "https://github.com/pjkaufman/go-go-gadgets", "branch": "main"}, "results": [{"ruleId": "scanner-d9a15e98245a930e", "level": "warning", "message": {"text": "math random used \u2014 cat-ascii/cmd/root.go:4"}, "properties": {"repobilityId": "2dc17f1d9bf66d1d", "scanner": "scanner-primary", "fingerprint": "d9a15e98245a930e", "layer": "security", "severity": "medium", "confidence": 0.7, "tags": ["semgrep", "security", "go"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "cat-ascii/cmd/root.go"}, "region": {"startLine": 4}}}]}, {"ruleId": "scanner-be7d2e5a954539e8", "level": "warning", "message": {"text": "potential dos via decompression bomb \u2014 pkg/file-handler/zip.go:159"}, "properties": {"repobilityId": "c090dba95cad098a", "scanner": "scanner-primary", "fingerprint": "be7d2e5a954539e8", "layer": "security", "severity": "medium", "confidence": 0.55, "tags": ["semgrep", "security", "go"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "pkg/file-handler/zip.go"}, "region": {"startLine": 159}}}]}, {"ruleId": "scanner-e3e59b9429948539", "level": "none", "message": {"text": "CVE-2026-46603: golang.org/x/image v0.43.0 \u2014 go.mod"}, "properties": {"repobilityId": "a6c3560531e09513", "scanner": "scanner-primary", "fingerprint": "e3e59b9429948539", "layer": "security", "severity": "info", "confidence": 1.0, "tags": ["trivy", "vuln", "CVE-2026-46603"]}}, {"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-035967405ba88d1f", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "deb721ec45bf6abd", "scanner": "scanner-primary", "fingerprint": "035967405ba88d1f", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/change.yml"}, "region": {"startLine": 30}}}]}, {"ruleId": "scanner-46c644c6227e4d4a", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "2644034c718fb80d", "scanner": "scanner-primary", "fingerprint": "46c644c6227e4d4a", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 17}}}]}, {"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-63c6427e18febd13", "level": "note", "message": {"text": "Very large file: epub-lint/internal/epub-check/handle-validation-errors_test.go (1736 lines)"}, "properties": {"repobilityId": "8c1c2c46bf8ad1a5", "scanner": "scanner-primary", "fingerprint": "63c6427e18febd13", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "09c36d7a1b0239a8", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}]}]}