Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
54 of your 103 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 5.06s · analysis 15.61s · 10.2 MB · GitHub API rate-limit (preflight)

ZacSweers/metro

https://github.com/ZacSweers/metro · scanned 2026-06-05 17:40 UTC (4 days, 21 hours ago) · 10 languages

218 raw signals (92 security + 126 graph) 33rd percentile · Kotlin · large (100-500K LoC) System graph score 88 (lower by 17)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 4 days, 21 hours ago · v2 · 41 actionable findings from 2 signal sources. 114 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 40.0 0.15 6.00
security_score 75.4 0.25 18.85
testing_score 80.0 0.20 16.00
documentation_score 92.0 0.15 13.80
practices_score 69.0 0.15 10.35
code_quality 64.1 0.10 6.41
Overall 1.00 71.4
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade B (71/100). Dimensions: security 75, maintainability 40. 92 findings (51 security). 166,458 lines analyzed.

Showing 31 of 41 actionable findings. 155 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

low Security checks cicd CI/CD security conf 0.35 ✓ Repobility 14 occurrences Workflow references repository secrets in a pull_request workflow
Fork pull_request runs do not receive normal repository secrets on GitHub Actions. Review this as a reliability/intent signal, not as direct fork-secret exfiltration. Raise severity only for pull_request_target or another trusted-context path that runs untrusted PR code with secrets.
4 files, 14 locations
.github/workflows/ci.yml:81, 138, 178, 235, 276, 326, 334, 335 (8 hits)
.github/workflows/benchmark-regression.yml:51, 367 (2 hits)
.github/workflows/docs-site.yml:45, 161 (2 hits)
.github/workflows/ide-integration.yml:57, 109 (2 hits)
CI/CD securityworkflow secretsGitHub Actions
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can contain "../" — directory escape.
Review and fix per the pattern semantics. See CWE-22 / A01:2021 for context.
scripts/trace-project.sh:162
high Security checks quality Quality conf 1.00 ✓ Repobility 3 occurrences [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotlins null safety.
Review and fix per the pattern semantics. See CWE-476 / for context.
3 files, 3 locations
build.gradle.kts:44
compiler/build.gradle.kts:188
compiler/src/main/kotlin/dev/zacsweers/metro/compiler/circuit/CircuitSymbols.kt:159
high Security checks software dependencies conf 0.90 ✓ Repobility 5 occurrences Binary file `benchmark/gradle/wrapper/gradle-wrapper.jar` committed in source repo
`benchmark/gradle/wrapper/gradle-wrapper.jar` is a .jar binary (48,462 bytes) committed to a repo that otherwise has 1343 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build …
5 files, 5 locations
benchmark/gradle/wrapper/gradle-wrapper.jar:1
gradle/wrapper/gradle-wrapper.jar:1
ide-integration-tests/gradle/wrapper/gradle-wrapper.jar:1
ide-integration-tests/test-project/gradle/wrapper/gradle-wrapper.jar:1
samples/gradle/wrapper/gradle-wrapper.jar:1
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility 10 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `mikepenz/action-junit-report` pinned to mutable ref `@v6` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
3 files, 10 locations
.github/workflows/ci.yml:105, 159, 197, 258 (7 hits)
.github/workflows/update-ide-mappings.yml:33 (2 hits)
.github/workflows/proto-breaking.yml:20
CI/CD securitySupply chainGitHub Actions
high Security checks software dependencies conf 0.88 serialize-javascript: GHSA-5c6j-r48x-rmvq
Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()
kotlin-js-store/package-lock.json
high Security checks software dependencies conf 0.88 tmp: GHSA-ph9p-34f9-6g65
tmp has Path Traversal via unsanitized prefix/postfix that enables directory escape
kotlin-js-store/package-lock.json
high System graph cicd CI/CD security conf 1.00 GitHub Action tracks a moving branch
jlumbroso/free-disk-space@main can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/ide-integration.yml:86 CI/CD securitySupply chainGithub actions
low Security checks quality Error handling conf 0.55 ✓ Repobility 2 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
lines 100, 116
compiler-compat/fetch-all-ide-kotlin-versions.py:100, 116 (2 hits)
Error handlingquality
medium Security checks software dependencies conf 0.88 qs: GHSA-q8mj-m7cp-5q26
qs has a remotely triggerable DoS: qs.stringify crashes with TypeError on null/undefined entries in comma-format arrays when encodeValuesOnly is set
kotlin-js-store/package-lock.json
medium Security checks software dependencies conf 0.88 serialize-javascript: GHSA-qj8w-gfj5-8c6v
Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects
kotlin-js-store/package-lock.json
medium Security checks software dependencies conf 0.88 uuid: GHSA-w5hq-g745-h8pq
uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided
kotlin-js-store/package-lock.json
medium Security checks software dependencies conf 0.88 webpack-dev-server: GHSA-79cf-xcqc-c78w
webpack-dev-server vulnerable to cross-origin source code exposure on non-HTTPS origins
kotlin-js-store/package-lock.json
medium Security checks software dependencies conf 0.88 ws: GHSA-58qx-3vcg-4xpx
ws: Uninitialized memory disclosure
kotlin-js-store/package-lock.json
medium System graph cicd CI/CD security conf 1.00 4 occurrences GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
4 files, 4 locations
.github/workflows/benchmark-regression.yml
.github/workflows/docs-site-manual.yml
.github/workflows/docs-site.yml
.github/workflows/update-ide-mappings.yml
CI/CD securitySupply chainGithub actions
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
0 test file(s) for 1 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths.
Coverage
low Security checks software dependencies conf 0.88 diff: GHSA-73rr-hh4g-fpgx
jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch
kotlin-js-store/package-lock.json
low Security checks quality Quality conf 0.60 20 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
12 files, 17 locations
compiler-compat/k240_dev_2124/src/main/kotlin/dev/zacsweers/metro/compiler/compat/k240_dev_2124/CompatContextImpl.kt:24, 25 (2 hits)
compiler-compat/k240_dev_2124/src/main/kotlin/dev/zacsweers/metro/compiler/compat/k240_dev_2124/IrConstructorCallIrGeneratedDeclarationsRegistrarCompat.kt:5, 43 (2 hits)
compiler-tests/src/generator2320/kotlin/dev/zacsweers/metro/compiler/GenerateTestsImpl.kt:1, 4 (2 hits)
compiler-tests/src/generator240/kotlin/dev/zacsweers/metro/compiler/GenerateTestsImpl.kt:1, 4 (2 hits)
compiler-tests/src/generator2420/kotlin/dev/zacsweers/metro/compiler/GenerateTestsImpl.kt:1, 4 (2 hits)
compiler-compat/k2320/src/main/kotlin/dev/zacsweers/metro/compiler/compat/k2320/CompatContextImpl.kt:57
compiler-compat/k240/src/main/kotlin/dev/zacsweers/metro/compiler/compat/k240/CompatContextImpl.kt:51
compiler-compat/k240/src/main/kotlin/dev/zacsweers/metro/compiler/compat/k240/IrConstructorCallIrGeneratedDeclarationsRegistrarCompat.kt:46
duplicationquality
low Security checks software dependencies conf 0.88 webpack: GHSA-38r7-794h-5758
webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects → SSRF + cache persistence
kotlin-js-store/package-lock.json
low Security checks software dependencies conf 0.88 webpack: GHSA-8fgc-7cc6-rx7x
webpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behavior
kotlin-js-store/package-lock.json
low System graph cicd CI/CD security conf 1.00 60 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/checkout@v6 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
9 files, 60 locations
.github/workflows/benchmarks.yml:100, 212, 293, 330, 414, 421, 460, 508, +4 more (24 hits)
.github/workflows/ci.yml:28, 34, 98, 152, 190, 251, 287 (12 hits)
.github/workflows/benchmark-regression.yml:26, 275, 324, 344, 375, 521, 544, 565, +3 more (11 hits)
.github/workflows/docs-site.yml:55, 170 (4 hits)
.github/workflows/ide-integration.yml:65, 101, 136 (3 hits)
.github/workflows/check-kotlin-bootstrap.yml:21, 42 (2 hits)
.github/workflows/update-ide-mappings.yml:18, 19 (2 hits)
.github/workflows/docs-site-manual.yml:73
CI/CD securitySupply chainGitHub Actions
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: compiler-compat/fetch-all-ide-kotlin-versions.py:sort_key, compiler-compat/fetch-all-ide-kotlin-versions.py:sort_key This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or doc…
duplicatesduplication
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_history
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
compiler-compat/fetch-all-ide-kotlin-versions.py:155
low System graph software Dead code conf 1.00 Possibly dead Python function: sort_key
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
compiler-compat/fetch-all-ide-kotlin-versions.py:545
low System graph quality Complexity conf 1.00 Very large file: benchmark/run_benchmarks.sh (1879 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: benchmark/run_startup_benchmarks.sh (4568 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compiler-tests/src/test/java/dev/zacsweers/metro/compiler/BoxTestGenerated.java (3205 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compiler-tests/src/test/java/dev/zacsweers/metro/compiler/ContributionProvidersBoxTestGenerated.java (3205 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compiler-tests/src/test/java/dev/zacsweers/metro/compiler/DiagnosticTestGenerated.java (1499 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compiler-tests/src/test/java/dev/zacsweers/metro/compiler/FastInitBoxTestGenerated.java (3205 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/d962c11a-6a7b-4866-89f9-49feb303abec/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/d962c11a-6a7b-4866-89f9-49feb303abec/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.