← Back to scan
File as GitHub Issue repo: facebookincubator/Glean

Push this scan report to facebookincubator/Glean

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

Ruby Eval Call

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 MINED025 [MINED025] Php Eval: eval() executes arbitrary PHP. Code injection. glean/shell/Glean/Shell/Types.hs:15
CRIT MINED025 [MINED025] Php Eval: eval() executes arbitrary PHP. Code injection. glean/shell/Glean/Shell/Index.hs:42
CRIT MINED024 [MINED024] Js Eval Usage: eval() executes arbitrary code. Code injection risk. glean/shell/Glean/Shell/Types.hs:15
CRIT MINED024 [MINED024] Js Eval Usage: eval() executes arbitrary code. Code injection risk. glean/shell/Glean/Shell/Index.hs:42
CRIT MINED015 [MINED015] Ruby Eval Call: eval() executes arbitrary code. Code injection. glean/shell/Glean/Shell/Types.hs:15
CRIT MINED015 [MINED015] Ruby Eval Call: eval() executes arbitrary code. Code injection. glean/shell/Glean/Shell/Index.hs:42
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… glean/website/src/pages/index.js:77
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … glean/lang/kotlin/indexer/KotlinIndexer…:15
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). glean/glass/Glean/Glass/Handler/Cxx.hs:190
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). glean/client/swift/hash.cpp:22
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). glean/angle/Glean/Angle/Hash.hs:33
HIGH MINED126 [MINED126] Workflow container/services image `ubuntu:24.04` unpinned: `container/services… .github/workflows/ci.yml:19
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/ci.yml:221
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/ci.yml:216
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:214
HIGH MINED115 [MINED115] Action `actions/setup-go` pinned to mutable ref `@v5`: `uses: actions/setup-go… .github/workflows/ci.yml:79
HIGH MINED115 [MINED115] Action `actions/setup-dotnet` pinned to mutable ref `@v4`: `uses: actions/setu… .github/workflows/ci.yml:69
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/ci.yml:47
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:23
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/glean-docker.yml:22
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/ci-aarch64.yml:129
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/ci-aarch64.yml:124
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci-aarch64.yml:122
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci-aarch64.yml:20
HIGH MINED115 [MINED115] Action `JamesIves/github-pages-deploy-action` pinned to mutable ref `@releases… .github/workflows/gh_pages.yml:32
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v3`: `uses: actions/checkout… .github/workflows/gh_pages.yml:18
HIGH MINED119 [MINED119] Dockerfile `ADD https://api.github.com/repos/facebookincubator/hsthrift/compar… Dockerfile:9
HIGH MINED118 [MINED118] Dockerfile FROM `ubuntu:20.04` not pinned by digest: `FROM ubuntu:20.04` resol… Dockerfile:42
HIGH MINED118 [MINED118] Dockerfile FROM `ghcr.io/facebookincubator/hsthrift/ci-base:latest` not pinned… Dockerfile:1
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … glean/shell/Glean/Shell/Types.hs:15
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … glean/shell/Glean/Shell/Index.hs:42
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… glean/lang/java-alpha/index_and_extract…:40
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… glean/lang/java-alpha/debug.py:39
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … glean/db/Glean/Database/Env.hs:162
MED DKR003 Dockerfile base image uses the latest tag Dockerfile:1
MED DKR013 Dockerfile ADD downloads remote content Dockerfile:9
MED DKR001 Docker final stage has no non-root USER Dockerfile:43
MED AGT015 Remote install command pipes network code directly to a shell .github/workflows/ci.yml:96
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… glean/lang/java-alpha/indexer/java/com/…:18
LOW COMP001 [COMP001] High cognitive complexity: Function `new` has cognitive complexity 10 (SonarSou… glean/glass/client/py3/__init__.py:101
LOW AIC003 Duplicated implementation block across source files glean/rts/query.h:19
LOW AIC003 Duplicated implementation block across source files glean/rts/lookup.h:65
LOW AIC003 Duplicated implementation block across source files glean/rocksdb/database-impl.h:13
LOW AIC003 Duplicated implementation block across source files glean/rocksdb/database-impl.cpp:4
LOW AIC003 Duplicated implementation block across source files glean/rocksdb/container-impl.h:25
LOW AIC003 Duplicated implementation block across source files glean/lang/java-alpha/indexer/java/com/…:37
LOW AIC003 Duplicated implementation block across source files glean/lang/java-alpha/index_and_extract…:12
LOW AIC003 Duplicated implementation block across source files glean/client/swift/GlassSwiftRemoteClie…:11
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKR011 Dockerfile installs recommended OS packages Dockerfile:50
LOW DKR011 Dockerfile installs recommended OS packages Dockerfile:5
INFO MINED075 [MINED075] C Malloc No Check: malloc/calloc/realloc return value used without checking fo… glean/lmdb-clib/midl.c:104
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… glean/hs/Glean/RTS.hs:207
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… glean/client/swift/GlassSwiftRemoteClie…:21
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… glean/client/swift/GlassSwiftLocalClien…:21
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… glean/bench/ServerQueryBench.hs:190
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. glean/client/hs/Glean/Write.hs:39
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. glean/bench/ServerQueryBench.hs:37
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. glean/bench/FactSetBench.hs:41
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … glean/glass/Glean/Glass/Range.hs:104
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … glean/client/hs/Glean/Repo.hs:46
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … glean/bench/CompileBench.hs:242
Reset to top 5 62 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `facebookincubator/Glean`

**Score: 77/100 (A-)**  ·  93 findings  ·  scanned 2026-06-05 16:45 UTC  ·  83,909 LOC

| Severity | Count |
|---|---|
| CRITICAL | 6 |
| HIGH | 23 |
| MEDIUM | 9 |
| LOW | 13 |

📊 [Full filterable report](https://repobility.com/scan/9f7b24e9-5493-41b2-9242-dd59f1f83a99/)  ·  ![scorecard](https://repobility.com/scan/9f7b24e9-5493-41b2-9242-dd59f1f83a99/report.png?v=1780677945-s2)

### Top findings

1. **CRITICAL** `MINED025` — Php Eval
   `glean/shell/Glean/Shell/Types.hs:15` · CWE-95 · ✓ Repobility
2. **CRITICAL** `MINED025` — Php Eval
   `glean/shell/Glean/Shell/Index.hs:42` · CWE-95 · ✓ Repobility
3. **CRITICAL** `MINED024` — Js Eval Usage
   `glean/shell/Glean/Shell/Types.hs:15` · CWE-95 · ✓ Repobility
4. **CRITICAL** `MINED024` — Js Eval Usage
   `glean/shell/Glean/Shell/Index.hs:42` · CWE-95 · ✓ Repobility
5. **CRITICAL** `MINED015` — Ruby Eval Call
   `glean/shell/Glean/Shell/Types.hs:15` · CWE-95 · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/9f7b24e9-5493-41b2-9242-dd59f1f83a99/_
Megaproject â high spam risk
Could not determine 'facebookincubator/Glean' 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
47/97 findings (48%) 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.