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.
108 of your 117 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 4.54s · analysis 19.78s · 28.2 MB · GitHub preflight 412ms

facebook/folly

https://github.com/facebook/folly · scanned 2026-06-06 00:34 UTC (3 days, 23 hours ago) · 10 languages

222 raw signals (112 security + 110 graph) 11/13 scanners ran System graph score 90 (lower by 14)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 3 days, 23 hours ago · v2 · 60 actionable findings from 2 signal sources. 100 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 100.0 0.25 25.00
testing_score 77.0 0.20 15.40
documentation_score 80.0 0.15 12.00
practices_score 67.0 0.15 10.05
code_quality 69.0 0.10 6.90
Overall 1.00 75.4
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade B+ (75/100). Dimensions: security 100, maintainability 40. 112 findings (26 security). 672,285 lines analyzed.

Showing 23 of 60 actionable findings. 160 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.

high Security checks quality Quality conf 1.00 ✓ Repobility 3 occurrences [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic.
Review and fix per the pattern semantics. See CWE-78 / for context.
3 files, 3 locations
folly/SharedMutex.cpp:49
folly/concurrency/CoreCachedSharedPtr.h:44
folly/detail/MemoryIdler.cpp:100
high Security checks quality Quality conf 1.00 ✓ Repobility 18 occurrences [MINED108] `self.to_hex` used but never assigned in __init__: Method `get_file_name_and_line` of class `GdbValue` reads `self.to_hex`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
Initialize `self.to_hex = <default>` in __init__, or add a class-level default.
2 files, 18 locations
folly/support/gdb.py:242, 292, 304, 321, 323, 325, 327, 364, +2 more (12 hits)
folly/coro/scripts/co_bt.py:604, 616, 622, 731, 756, 763 (6 hits)
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 19 occurrences GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lo…
5 files, 19 locations
.github/workflows/oss-build-and-test.yml:7, 58, 80, 89, 109, 118, 137 (10 hits)
.github/workflows/TagIt.yml:20, 37, 57, 66 (4 hits)
.github/workflows/getdeps_shared-lib_linux.yml:30, 136 (2 hits)
.github/workflows/getdeps_windows.yml:42, 122 (2 hits)
.github/workflows/getdeps_linux.yml:30
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 241, 503
folly/coro/scripts/co_bt.py:241, 503 (2 hits)
Error handlingquality
medium System graph cicd CI/CD security conf 1.00 20 occurrences GitHub Action is tag-pinned rather than SHA-pinned
docker/setup-buildx-action@v3 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
6 files, 20 locations
.github/workflows/oss-build-and-test.yml:66, 75, 95, 104, 124, 132 (12 hits)
.github/workflows/getdeps_linux.yml:34 (2 hits)
.github/workflows/getdeps_shared-lib_linux.yml:34 (2 hits)
.github/workflows/getdeps_windows.yml:46 (2 hits)
.github/workflows/devcontainer.yml:31
.github/workflows/getdeps_mac.yml:37
CI/CD securitySupply chainGitHub Actions
medium System graph cicd CI/CD security conf 1.00 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.
.github/workflows/TagIt.yml CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 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.
.github/workflows/devcontainer.yml CI/CD securitySupply chainGithub actions
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — folly/debugging/exception_tracer/test/exception_tracer_uncaught_test.py:33
`subprocess.Popen(...)` 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.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — folly/logging/test/fatal_test.py:59
`subprocess.Popen(...)` 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.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — folly/logging/test/log_after_main.py:47
`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.
runtime safetyRobustness
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
low Security checks quality Quality conf 0.60 3 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.
3 files, 3 locations
folly/channels/Transform-inl.h:77
folly/container/detail/F14SetFallback.h:130
folly/coro/RustAdaptors.h:80
duplicationquality
low Security checks quality Quality conf 0.70 Generated build artifact directory is present at repository root
Remove generated output from version control, add it to .gitignore and .dockerignore where relevant, and regenerate it in CI or release jobs.
build:1
low System graph quality Integrity conf 1.00 8 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: folly/coro/scripts/co_bt.py:get_async_stack_addrs_from_initial_frame, folly/coro/scripts/co_bt.py:get_async_stack_addrs This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or …
8 occurrences
repo-level (8 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 11 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: folly/coro/scripts/co_bt.py:nullptr, folly/coro/scripts/co_bt.py:nullptr, folly/coro/scripts/co_bt.py:nullptr This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document w…
11 occurrences
repo-level (11 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: folly/coro/scripts/co_bt.py:from_addr, folly/coro/scripts/co_bt.py:from_addr, folly/coro/scripts/co_bt.py:from_addr, folly/coro/scripts/co_bt.py:from_addr This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.h…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `source_copy` in folly/python/test/test_iobuf_ext.py:69
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: display_hint
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
folly/fibers/scripts/gdb.py:97
low System graph software Dead code conf 1.00 Possibly dead Python function: display_hint
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
folly/support/gdb.py:458
low System graph software Dead code conf 1.00 Possibly dead Python function: filter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
folly/fibers/scripts/gdb.py:282
low System graph software Dead code conf 1.00 Possibly dead Python function: invoke
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
folly/coro/scripts/co_bt.py:640
low System graph quality Integrity conf 1.00 Stub function `get_arg_types` (body is just `pass`/`return`) — folly/fibers/scripts/gdb.py:138
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: folly/rust/dynamic/dynamic.rs (1568 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/fcd61328-6233-4daa-b026-efc81e3e5c28/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/fcd61328-6233-4daa-b026-efc81e3e5c28/

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.