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

Push this scan report to facebook/flow

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

Php Eval

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. src/common/lwt/lwtInit.ml:10
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. src/common/dirent/dirent_stubs.c:131
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. src/commands/statusCommands.ml:67
CRIT MINED025 [MINED025] Php Eval: eval() executes arbitrary PHP. Code injection. src/parser_utils/type_sig/type_sig_hash…:150
CRIT MINED025 [MINED025] Php Eval: eval() executes arbitrary PHP. Code injection. src/analysis/env_builder/nonvoid_return…:63
CRIT MINED024 [MINED024] Js Eval Usage: eval() executes arbitrary code. Code injection risk. src/parser_utils/type_sig/type_sig_hash…:150
CRIT MINED024 [MINED024] Js Eval Usage: eval() executes arbitrary code. Code injection risk. src/analysis/env_builder/nonvoid_return…:63
CRIT MINED015 [MINED015] Ruby Eval Call: eval() executes arbitrary code. Code injection. src/lsp/selectionRangeProvider.ml:267
CRIT MINED015 [MINED015] Ruby Eval Call: eval() executes arbitrary code. Code injection. src/codemods/remove_react_import.ml:146
CRIT MINED015 [MINED015] Ruby Eval Call: eval() executes arbitrary code. Code injection. src/analysis/env_builder/nonvoid_return…:63
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… packages/flow-upgrade/flow-typed/npm/ya…:272
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… packages/flow-for-vscode/src/utils/impo…:25
CRIT MINED013 [MINED013] Password In Url: https://user:password@host — leaks creds via logs, referrer, … .circleci/deploy_flow_bin.sh:20
CRIT MINED116 [MINED116] Workflow uses `secrets.NPM_TOKEN` on a `pull_request` trigger: This workflow t… .github/workflows/build_and_test.yml:15
CRIT MINED116 [MINED116] Workflow uses `secrets.FLOW_BOT_TOKEN` on a `pull_request` trigger: This workf… .github/workflows/build_and_test.yml:14
CRIT MINED116 [MINED116] Workflow uses `secrets.FLOW_BOT_EMAIL` on a `pull_request` trigger: This workf… .github/workflows/build_and_test.yml:13
CRIT MINED116 [MINED116] Workflow uses `secrets.FLOW_BIN_PRIVATE_KEY_BASE64` on a `pull_request` trigge… .github/workflows/build_and_test.yml:12
HIGH MINED028 [MINED028] Ts Ignore Comment: // @ts-ignore silences all type errors on the next line. src/typing/errors/suppression_comments.…:89
HIGH MINED011 [MINED011] Scala Get On Option: Option.get throws NoSuchElementException on None. Use get… src/state/heaps/context/context_heaps.ml:36
HIGH MINED011 [MINED011] Scala Get On Option: Option.get throws NoSuchElementException on None. Use get… src/server/serverEnvBuild.ml:9
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… src/commands/foregroundCheckCommands.ml:120
HIGH MINED017 [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic. src/commands/forceRecheckCommand.ml:33
HIGH MINED010 [MINED010] Ruby System Call: system / backtick run shell. Command injection if any arg dy… src/commands/forceRecheckCommand.ml:33
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/third-party/lz4/xxhash.h:53
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). rust_port/crates/flow_server_files/src/…:13
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). rust_port/crates/flow_common_socket/src…:17
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… website/src/try-flow/flow-loader.js:82
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… rust_port/crates/flow_cli/src/extra_com…:27
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … rust_port/crates/flow_analysis/src/ssa_…:52
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … rust_port/crates/flow_analysis/src/scop…:151
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … rust_port/crates/flow_analysis/src/bind…:101
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/flow-upgrade/src/Styled.js:52
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/flow-transform/src/transform/m…:53
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/flow-parser/oxidized-src/getMo…:30
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/flow-for-vscode/src/utils/Flow…:39
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… packages/flow-dev-tools/src/comment/add…:87
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… packages/flow-dev-tools/src/check-test/…:164
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… packages/flow-dev-tools/src/check-test/…:63
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/flow-remove-types/register.js:68
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/flow-dev-tools/src/error-summa…:29
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/flow-dev-tools/src/check-test/…:89
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4.4.0`: `uses: actio… .github/workflows/build_and_test.yml:235
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/build_and_test.yml:218
HIGH MINED115 [MINED115] Action `maxim-lobanov/setup-xcode` pinned to mutable ref `@v1.6.0`: `uses: max… .github/workflows/build_and_test.yml:206
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v3.6.0`: `uses: actions/chec… .github/workflows/build_and_test.yml:205
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4.4.0`: `uses: actio… .github/workflows/build_and_test.yml:197
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/build_and_test.yml:180
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v3.6.0`: `uses: actions/chec… .github/workflows/build_and_test.yml:167
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4.4.0`: `uses: actio… .github/workflows/build_and_test.yml:156
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4.4.0`: `uses: actio… .github/workflows/build_and_test.yml:152
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/build_and_test.yml:133
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v3.6.0`: `uses: actions/chec… .github/workflows/build_and_test.yml:124
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4.4.0`: `uses: actio… .github/workflows/build_and_test.yml:114
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/build_and_test.yml:109
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/build_and_test.yml:105
HIGH MINED115 [MINED115] Action `mymindstorm/setup-emsdk` pinned to mutable ref `@v14`: `uses: mymindst… .github/workflows/build_and_test.yml:104
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@nightly`: `uses: dtoln… .github/workflows/build_and_test.yml:99
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v3.6.0`: `uses: actions/chec… .github/workflows/build_and_test.yml:97
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4.4.0`: `uses: actio… .github/workflows/build_and_test.yml:85
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4.4.0`: `uses: actio… .github/workflows/build_and_test.yml:81
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4.4.0`: `uses: actio… .github/workflows/build_and_test.yml:77
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/build_and_test.yml:53
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v3.6.0`: `uses: actions/chec… .github/workflows/build_and_test.yml:44
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/build_and_test.yml:29
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@nightly`: `uses: dtoln… .github/workflows/build_and_test.yml:27
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v3.6.0`: `uses: actions/chec… .github/workflows/build_and_test.yml:25
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/lsp/selectionRangeProvider.ml:82
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/flow_dot_js_wasm_packager.js:73
MED SEC014 [SEC014] SSL Verification Disabled: SSL certificate verification is disabled, allowing ma… src/commands/foregroundCheckCommands.ml:120
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… packages/flow-for-vscode/src/utils/whic…:13
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/flow-dev-tools/src/comment/add…:87
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/flow-dev-tools/src/check-test/…:164
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/flow-dev-tools/src/check-test/…:63
LOW AIC003 Duplicated implementation block across source files packages/flow-upgrade/flow-typed/npm/je…:1
LOW AIC003 Duplicated implementation block across source files packages/flow-upgrade/flow-typed/npm/ch…:25
LOW AIC003 Duplicated implementation block across source files packages/flow-typed/glob.js:61
LOW AIC003 Duplicated implementation block across source files packages/flow-transform/src/transform/p…:8
LOW AIC003 Duplicated implementation block across source files packages/flow-transform/src/transform/c…:1
LOW AIC003 Duplicated implementation block across source files packages/flow-transform/src/transform/c…:1
LOW AIC003 Duplicated implementation block across source files packages/flow-transform/src/transform/c…:1
LOW AIC003 Duplicated implementation block across source files packages/flow-transform/src/transform/c…:1
LOW AIC003 Duplicated implementation block across source files packages/flow-transform/src/transform/c…:1
LOW AIC003 Duplicated implementation block across source files packages/flow-transform/src/transform/c…:1
LOW AIC003 Duplicated implementation block across source files packages/flow-transform/src/transform/c…:4
LOW AIC003 Duplicated implementation block across source files packages/flow-dev-tools/src/update-supp…:301
LOW AIC003 Duplicated implementation block across source files packages/flow-dev-tools/src/update-supp…:50
LOW AIC003 Duplicated implementation block across source files packages/flow-dev-tools/src/check-test/…:16
LOW AIC003 Duplicated implementation block across source files newtests/lsp/workspaceSymbol/test.js:51
LOW AIC003 Duplicated implementation block across source files newtests/lsp/wait_for_recheck/test.js:20
LOW AIC003 Duplicated implementation block across source files newtests/lsp/wait_for_recheck/outline.js:11
LOW AIC003 Duplicated implementation block across source files newtests/lsp/signatureHelp/calls_overlo…:5
LOW AIC003 Duplicated implementation block across source files newtests/lsp/renameFileImports/test.js:16
LOW AIC003 Duplicated implementation block across source files newtests/lsp/rename/test.js:1
LOW AIC003 Duplicated implementation block across source files newtests/lsp/linkedEditingRange/test.js:1
LOW AIC003 Duplicated implementation block across source files newtests/lsp/globalReferencesAndRename/…:1
LOW AIC003 Duplicated implementation block across source files newtests/lsp/findReferences/test.js:25
LOW AIC003 Duplicated implementation block across source files newtests/lsp/findReferences/__fixtures_…:1
LOW AIC003 Duplicated implementation block across source files newtests/lsp/document_paste/test.js:1
LOW AIC003 Duplicated implementation block across source files newtests/lsp/completion/haste_package_a…:1
LOW AIC003 Duplicated implementation block across source files newtests/lsp/code-action/refactor/test.…:2
LOW AIC003 Duplicated implementation block across source files newtests/lsp/code-action/refactor/reado…:1
LOW AIC003 Duplicated implementation block across source files newtests/lsp/code-action/quickfix/ts_an…:1
LOW AIC003 Duplicated implementation block across source files newtests/lsp/code-action/quickfix/react…:2
LOW AIC005 Duplicate top-level symbol appears in a patch-style file tests/autocomplete_from_m_to_q/optional…:1
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… website/src/theme/Navbar/Content/index.…:39
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. src/third-party/ocaml-base64/src/base64…:116
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/third-party/sedlex/flow_sedlexing.ml:4
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/parser/js_id.ml:8
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/hack_forked/utils/buffered_line_rea…:99
INFO MINED075 [MINED075] C Malloc No Check: malloc/calloc/realloc return value used without checking fo… src/third-party/fuzzy-path/src/fuzzy_pa…:27
INFO MINED075 [MINED075] C Malloc No Check: malloc/calloc/realloc return value used without checking fo… src/hack_forked/utils/core/fast_compare…:50
INFO MINED075 [MINED075] C Malloc No Check: malloc/calloc/realloc return value used without checking fo… src/hack_forked/fsnotify_win/fsnotify_s…:162
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/hack_forked/utils/collections/union…:24
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/common/tarjan/tarjan.ml:9
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/common/semver/semver.ml:9
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/common/lwt/lwtUtils.ml:29
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/hack_forked/dfind/dfindEnv.mli:15
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/hack_forked/dfind/dfindEnv.ml:15
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/common/hint.ml:70
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… src/commands/autofixCommand.ml:125
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… rust_port/crates/flow_lazy/src/lib.rs:29
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… rust_port/crates/flow_flowlib/src/lib.rs:45
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. rust_port/crates/flow_cli/src/env_build…:59
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. rust_port/crates/flow_cli/src/check_con…:145
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. rust_port/crates/flow_cli/src/autocompl…:104
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… rust_port/crates/flow_codemods/src/util…:160
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… rust_port/crates/flow_cli/src/init_comm…:143
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… rust_port/crates/flow_analysis/src/scop…:201
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… scripts/serve-website.sh:51
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… packages/scripts/runOxidizedJestTests.sh:61
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… packages/scripts/build.sh:31
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/flow-for-vscode/src/utils/getF…:42
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/flow-for-vscode/src/PluginComm…:78
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/flow-for-vscode/src/FlowLangua…:152
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/flow-dev-tools/src/comment/rem…:116
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/flow-dev-tools/src/comment/add…:59
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … newtests/lsp/documentHighlight/__fixtur…:30
Reset to top 5 137 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

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

**Score: 72/100 (A)**  ·  137 findings  ·  scanned 2026-06-06 00:54 UTC  ·  3,309,196 LOC

| Severity | Count |
|---|---|
| CRITICAL | 17 |
| HIGH | 49 |
| MEDIUM | 7 |
| LOW | 31 |

📊 [Full filterable report](https://repobility.com/scan/4930b5ba-4f83-4e87-9857-7da8af461489/)  ·  ![scorecard](https://repobility.com/scan/4930b5ba-4f83-4e87-9857-7da8af461489/report.png?v=1780707285-s2)

### Top findings

1. **CRITICAL** `MINED022` — C Strcpy
   `src/common/lwt/lwtInit.ml:10` · CWE-120 · ✓ Repobility
2. **CRITICAL** `MINED022` — C Strcpy
   `src/common/dirent/dirent_stubs.c:131` · CWE-120 · ✓ Repobility
3. **CRITICAL** `MINED022` — C Strcpy
   `src/commands/statusCommands.ml:67` · CWE-120 · ✓ Repobility
4. **CRITICAL** `MINED025` — Php Eval
   `src/parser_utils/type_sig/type_sig_hash.ml:150` · CWE-95 · ✓ Repobility
5. **CRITICAL** `MINED025` — Php Eval
   `src/analysis/env_builder/nonvoid_return.ml:63` · CWE-95 · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/4930b5ba-4f83-4e87-9857-7da8af461489/_
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/flow' 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.

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.