← Back to scan
File as GitHub Issue repo: facebook/folly

Push this scan report to facebook/folly

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

`self.int_value` used but never assigned in __init__

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. folly/portability/Time.cpp:285
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. folly/portability/Stdlib.cpp:44
HIGH MINED108 [MINED108] `self._get_symbol_context` used but never assigned in __init__: Method `get_fi… folly/coro/scripts/co_bt.py:763
HIGH MINED108 [MINED108] `self.int_value` used but never assigned in __init__: Method `_get_symbol_cont… folly/coro/scripts/co_bt.py:756
HIGH MINED108 [MINED108] `self.int_value` used but never assigned in __init__: Method `get_field` of cl… folly/coro/scripts/co_bt.py:731
HIGH MINED108 [MINED108] `self.int_value` used but never assigned in __init__: Method `__eq__` of class… folly/coro/scripts/co_bt.py:622
HIGH MINED108 [MINED108] `self.to_hex` used but never assigned in __init__: Method `get_func_name` of c… folly/coro/scripts/co_bt.py:616
HIGH MINED108 [MINED108] `self.to_hex` used but never assigned in __init__: Method `get_file_name_and_l… folly/coro/scripts/co_bt.py:604
HIGH MINED108 [MINED108] `self.capacity` used but never assigned in __init__: Method `to_string` of cla… folly/support/gdb.py:382
HIGH MINED108 [MINED108] `self.size` used but never assigned in __init__: Method `to_string` of class `… folly/support/gdb.py:381
HIGH MINED108 [MINED108] `self.size` used but never assigned in __init__: Method `children` of class `S… folly/support/gdb.py:364
HIGH MINED108 [MINED108] `self.hashtable` used but never assigned in __init__: Method `children` of cla… folly/support/gdb.py:323
HIGH MINED108 [MINED108] `self.format_one_map` used but never assigned in __init__: Method `children` o… folly/support/gdb.py:327
HIGH MINED108 [MINED108] `self.hashtable` used but never assigned in __init__: Method `children` of cla… folly/support/gdb.py:325
HIGH MINED108 [MINED108] `self.size` used but never assigned in __init__: Method `children` of class `F… folly/support/gdb.py:323
HIGH MINED108 [MINED108] `self.flatten` used but never assigned in __init__: Method `children` of class… folly/support/gdb.py:327
HIGH MINED108 [MINED108] `self.format_count` used but never assigned in __init__: Method `children` of … folly/support/gdb.py:321
HIGH MINED108 [MINED108] `self.size` used but never assigned in __init__: Method `to_string` of class `… folly/support/gdb.py:304
HIGH MINED108 [MINED108] `self.hashtable` used but never assigned in __init__: Method `size` of class `… folly/support/gdb.py:292
HIGH MINED108 [MINED108] `self.chunk_iter` used but never assigned in __init__: Method `__next__` of cl… folly/support/gdb.py:242
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … folly/rust/request_context/request_cont…:216
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … folly/rust/request_context/benches/requ…:38
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … folly/rust/memory/lib.rs:138
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). folly/ssl/OpenSSLHash.h:150
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). folly/io/async/ssl/TLSDefinitions.h:65
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). folly/io/async/SSLOptions.h:84
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… folly/detail/base64_detail/Base64Api.h:61
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … folly/coro/detail/InlineTask.h:167
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … folly/coro/detail/BarrierTask.h:99
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … folly/coro/WithAsyncStack.h:83
HIGH MINED017 [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic. folly/detail/MemoryIdler.cpp:100
HIGH MINED017 [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic. folly/concurrency/CoreCachedSharedPtr.h:44
HIGH MINED017 [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic. folly/SharedMutex.cpp:49
HIGH MINED115 [MINED115] Action `mozilla-actions/sccache-action` pinned to mutable ref `@v0.0.9`: `uses… .github/workflows/getdeps_linux.yml:34
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/getdeps_linux.yml:30
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v6`: `uses: actions/u… .github/workflows/getdeps_windows.yml:122
HIGH MINED115 [MINED115] Action `mozilla-actions/sccache-action` pinned to mutable ref `@v0.0.9`: `uses… .github/workflows/getdeps_windows.yml:46
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/getdeps_windows.yml:42
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v5`: `uses: actions/setu… .github/workflows/oss-build-and-test.yml:137
HIGH MINED115 [MINED115] Action `ocaml/setup-ocaml` pinned to mutable ref `@v2`: `uses: ocaml/setup-oca… .github/workflows/oss-build-and-test.yml:132
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/oss-build-and-test.yml:124
HIGH MINED115 [MINED115] Action `facebook/install-dotslash` pinned to mutable ref `@latest`: `uses: fac… .github/workflows/oss-build-and-test.yml:121
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/oss-build-and-test.yml:118
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v5`: `uses: actions/setu… .github/workflows/oss-build-and-test.yml:109
HIGH MINED115 [MINED115] Action `ocaml/setup-ocaml` pinned to mutable ref `@v2`: `uses: ocaml/setup-oca… .github/workflows/oss-build-and-test.yml:104
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/oss-build-and-test.yml:95
HIGH MINED115 [MINED115] Action `facebook/install-dotslash` pinned to mutable ref `@latest`: `uses: fac… .github/workflows/oss-build-and-test.yml:92
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/oss-build-and-test.yml:89
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v5`: `uses: actions/setu… .github/workflows/oss-build-and-test.yml:80
HIGH MINED115 [MINED115] Action `ocaml/setup-ocaml` pinned to mutable ref `@v2`: `uses: ocaml/setup-oca… .github/workflows/oss-build-and-test.yml:75
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/oss-build-and-test.yml:66
HIGH MINED115 [MINED115] Action `facebook/install-dotslash` pinned to mutable ref `@latest`: `uses: fac… .github/workflows/oss-build-and-test.yml:63
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/oss-build-and-test.yml:58
HIGH MINED115 [MINED115] Action `facebook/install-dotslash` pinned to mutable ref `@latest`: `uses: fac… .github/workflows/oss-build-and-test.yml:10
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/oss-build-and-test.yml:7
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v6`: `uses: actions/u… .github/workflows/getdeps_shared-lib_li…:136
HIGH MINED115 [MINED115] Action `mozilla-actions/sccache-action` pinned to mutable ref `@v0.0.9`: `uses… .github/workflows/getdeps_shared-lib_li…:34
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/getdeps_shared-lib_li…:30
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… folly/coro/scripts/co_bt.py:503
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… folly/coro/scripts/co_bt.py:241
LOW AIC003 Duplicated implementation block across source files folly/coro/RustAdaptors.h:80
LOW AIC003 Duplicated implementation block across source files folly/container/detail/F14SetFallback.h:130
LOW AIC003 Duplicated implementation block across source files folly/channels/Transform-inl.h:77
LOW AIC007 Generated build artifact directory is present at repository root build:1
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… folly/rust/request_context/request_cont…:206
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… folly/rust/string/string.rs:41
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… folly/rust/iobuf/src/iobufmut.rs:95
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… folly/rust/iobuf/src/iobuf.rs:184
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. folly/rust/request_context/request_cont…:77
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. folly/rust/compression/compression.rs:200
INFO MINED075 [MINED075] C Malloc No Check: malloc/calloc/realloc return value used without checking fo… folly/memory/Malloc.cpp:66
INFO MINED080 [MINED080] Cpp Using Namespace Std: using namespace std; pollutes the global namespace. folly/io/async/ScopedEventBaseThread.cpp:26
INFO MINED080 [MINED080] Cpp Using Namespace Std: using namespace std; pollutes the global namespace. folly/io/async/PasswordInFile.cpp:22
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… folly/ThreadCachedInt.h:48
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… folly/Poly-inl.h:63
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… folly/DefaultKeepAliveExecutor.h:78
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… folly/MoveWrapper.h:26
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… folly/AtomicIntrusiveLinkedList.h:121
Reset to top 5 78 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `facebook/folly`

**Score: 81/100 (B+)**  ·  112 findings  ·  scanned 2026-06-06 00:34 UTC  ·  672,285 LOC

| Severity | Count |
|---|---|
| CRITICAL | 2 |
| HIGH | 56 |
| MEDIUM | 2 |
| LOW | 4 |

📊 [Full filterable report](https://repobility.com/scan/fcd61328-6233-4daa-b026-efc81e3e5c28/)  ·  ![scorecard](https://repobility.com/scan/fcd61328-6233-4daa-b026-efc81e3e5c28/report.png?v=1780706057-s2)

### Top findings

1. **CRITICAL** `MINED022` — C Strcpy
   `folly/portability/Time.cpp:285` · CWE-120 · ✓ Repobility
2. **CRITICAL** `MINED022` — C Strcpy
   `folly/portability/Stdlib.cpp:44` · CWE-120 · ✓ Repobility
3. **HIGH** `MINED108` — `self._get_symbol_context` used but never assigned in __init__
   `folly/coro/scripts/co_bt.py:763` · ✓ Repobility
4. **HIGH** `MINED108` — `self.int_value` used but never assigned in __init__
   `folly/coro/scripts/co_bt.py:756` · ✓ Repobility
5. **HIGH** `MINED108` — `self.int_value` used but never assigned in __init__
   `folly/coro/scripts/co_bt.py:731` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/fcd61328-6233-4daa-b026-efc81e3e5c28/_
Already filed
'facebook' is on the known-megaproject org list. These projects use auto-triage bots and established security disclosure channels. Unsolicited automated issues from Repobility would be perceived as AI-generated spam. For security findings, follow the project's SECURITY.md policy. For non-security findings, open a focused PR or community discussion instead.
Megaproject â high spam risk
Could not determine 'facebook/folly' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
59/117 findings (50%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.