{"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-ee9052455c3d3675", "name": "Possibly dead Python function: fetch_pr", "shortDescription": {"text": "Possibly dead Python function: fetch_pr"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-510371620ab6e429", "name": "Stray `console.log` in TS/JS \u2014 LocalPackages/TKLocalize/codegen/gpt-translate.js:105", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 LocalPackages/TKLocalize/codegen/gpt-translate.js:105"}, "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-c91ead28e7c9fc9e", "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@v6 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": "low", "confidence": 1.0}}, {"id": "scanner-a73afbb9b10154c7", "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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 5 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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 23 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-11825279136b53a3", "name": "CI is configured but no tests are detected", "shortDescription": {"text": "CI is configured but no tests are detected"}, "fullDescription": {"text": "A CI pipeline exists, but the scan found no test files to gate. Opus labeled this generated-code pattern as config theater: release machinery exists, but it has little behavioral signal."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing tests. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable."}, "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-32b2029e46f72d4e", "name": "Agent instruction/config may expose a secret: .codex/skills/figma-implement-design/SKILL.md", "shortDescription": {"text": "Agent instruction/config may expose a secret: .codex/skills/figma-implement-design/SKILL.md"}, "fullDescription": {"text": "Agent-facing files are routinely pasted into LLM/tool contexts. Move literal tokens, keys, and passwords into a secret manager or document them as placeholders only."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-8fdf21616bd0e9a5", "name": "Agent authority lacks a verifier contract: .codex/skills/pr/SKILL.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .codex/skills/pr/SKILL.md"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e3494d4ac926a538", "name": "Agent authority lacks a verifier contract: .codex/skills/tondocs/SKILL.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .codex/skills/tondocs/SKILL.md"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2f94fe8a5c9b11e0", "name": "`fetch()` without try/.catch or AbortSignal \u2014 LocalPackages/TKLocalize/codegen/gpt-translate.js:20", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 LocalPackages/TKLocalize/codegen/gpt-translate.js:20"}, "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-a091994bb73a615d", "name": "Network/subprocess call without timeout or try/except \u2014 .codex/skills/pr/scripts/get_pr_data.py:41", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 .codex/skills/pr/scripts/get_pr_data.py:41"}, "fullDescription": {"text": "`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e39508d376c9c03f", "name": "Network/subprocess call without timeout or try/except \u2014 .codex/skills/tondocs/scripts/tondocs.py:51", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 .codex/skills/tondocs/scripts/tondocs.py:51"}, "fullDescription": {"text": "`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2c04133e54348533", "name": "Near-duplicate function bodies in 2 places", "shortDescription": {"text": "Near-duplicate function bodies in 2 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\n.codex/skills/pr/scripts/get_pr_data.py:load_env_file, .codex/skills/tondocs/scripts/tondocs.py:load_env_file\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/21608"}, "properties": {"repository": "tosnetwork/ios", "repoUrl": "https://github.com/tosnetwork/ios", "branch": "main"}, "results": [{"ruleId": "scanner-ee9052455c3d3675", "level": "note", "message": {"text": "Possibly dead Python function: fetch_pr"}, "properties": {"repobilityId": "354596e6411af2b4", "scanner": "scanner-primary", "fingerprint": "ee9052455c3d3675", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".codex/skills/pr/scripts/get_pr_data.py:80"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-510371620ab6e429", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 LocalPackages/TKLocalize/codegen/gpt-translate.js:105"}, "properties": {"repobilityId": "55b8142cb0236408", "scanner": "scanner-primary", "fingerprint": "510371620ab6e429", "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-c91ead28e7c9fc9e", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "7f83247e7f50515d", "scanner": "scanner-primary", "fingerprint": "c91ead28e7c9fc9e", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/mirror-public-push.yml"}, "region": {"startLine": 20}}}]}, {"ruleId": "scanner-c91ead28e7c9fc9e", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "1fbbfd6ea774e843", "scanner": "scanner-primary", "fingerprint": "c91ead28e7c9fc9e", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/mirror-public-push.yml"}, "region": {"startLine": 23}}}]}, {"ruleId": "scanner-a73afbb9b10154c7", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "de8cf4f3921a4e8a", "scanner": "scanner-primary", "fingerprint": "a73afbb9b10154c7", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/bump_version.yaml"}, "region": {"startLine": 1}}}]}, {"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-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "f7f1e16e26893d15", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-11825279136b53a3", "level": "warning", "message": {"text": "CI is configured but no tests are detected"}, "properties": {"repobilityId": "d83b38a5329b12e4", "scanner": "scanner-primary", "fingerprint": "11825279136b53a3", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "ci", "config-theater", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "846c144ad1f77362", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "fd85f42be9c40246", "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": "11e80aa7f9139b6d", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-32b2029e46f72d4e", "level": "error", "message": {"text": "Agent instruction/config may expose a secret: .codex/skills/figma-implement-design/SKILL.md"}, "properties": {"repobilityId": "141d63b0b5d99d57", "scanner": "scanner-primary", "fingerprint": "32b2029e46f72d4e", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["agent-instructions", "secrets", "codex_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".codex/skills/figma-implement-design/SKILL.md"}, "region": {"startLine": 178}}}]}, {"ruleId": "scanner-8fdf21616bd0e9a5", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .codex/skills/pr/SKILL.md"}, "properties": {"repobilityId": "aea7bdee8a95e24a", "scanner": "scanner-primary", "fingerprint": "8fdf21616bd0e9a5", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "codex_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".codex/skills/pr/SKILL.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e3494d4ac926a538", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .codex/skills/tondocs/SKILL.md"}, "properties": {"repobilityId": "f8bfe1189d9f4748", "scanner": "scanner-primary", "fingerprint": "e3494d4ac926a538", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "codex_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".codex/skills/tondocs/SKILL.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2f94fe8a5c9b11e0", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 LocalPackages/TKLocalize/codegen/gpt-translate.js:20"}, "properties": {"repobilityId": "f3fc609cb4074d76", "scanner": "scanner-primary", "fingerprint": "2f94fe8a5c9b11e0", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-a091994bb73a615d", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 .codex/skills/pr/scripts/get_pr_data.py:41"}, "properties": {"repobilityId": "264d41fa9162d989", "scanner": "scanner-primary", "fingerprint": "a091994bb73a615d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-e39508d376c9c03f", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 .codex/skills/tondocs/scripts/tondocs.py:51"}, "properties": {"repobilityId": "d4b15dfbe28fda16", "scanner": "scanner-primary", "fingerprint": "e39508d376c9c03f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "d54c21f4857b526f", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}