← Back to scan
File as GitHub Issue repo: AppFlowy-IO/AppFlowy

Push this scan report to AppFlowy-IO/AppFlowy

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

Rust Unwrap In Prod

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
HIGH MINED012 [MINED012] Curl Pipe Bash: curl ... | sh / bash — runs unverified network code. frontend/scripts/install_dev_env/instal…:30
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). frontend/rust-lib/lib-infra/src/util.rs:68
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … frontend/rust-lib/flowy-ai/src/local_ai…:75
HIGH MINED041 [MINED041] Rust Unimplemented Macro: unimplemented!() panics. Same as todo!() but convent… frontend/rust-lib/build-tool/flowy-ast/…:40
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … frontend/rust-lib/build-tool/flowy-ast/…:36
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … frontend/rust-lib/build-tool/flowy-ast/…:21
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … frontend/rust-lib/build-tool/flowy-ast/…:202
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… frontend/appflowy_flutter/integration_t…:90
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… frontend/appflowy_flutter/integration_t…:255
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… frontend/appflowy_flutter/integration_t…:31
HIGH MINED002 [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check. frontend/appflowy_flutter/integration_t…:56
HIGH MINED002 [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check. frontend/appflowy_flutter/integration_t…:51
HIGH MINED002 [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check. frontend/appflowy_flutter/integration_t…:91
HIGH DKR006 Dockerfile pipes a remote script into a shell frontend/scripts/docker-buildfiles/Dock…:23
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/flutter_ci.yaml:356
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/flutter_ci.yaml:318
HIGH MINED115 [MINED115] Action `taiki-e/install-action` pinned to mutable ref `@v2`: `uses: taiki-e/in… .github/workflows/flutter_ci.yaml:300
HIGH MINED115 [MINED115] Action `subosito/flutter-action` pinned to mutable ref `@v2`: `uses: subosito/… .github/workflows/flutter_ci.yaml:295
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/flutter_ci.yaml:291
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/flutter_ci.yaml:233
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/flutter_ci.yaml:192
HIGH MINED115 [MINED115] Action `taiki-e/install-action` pinned to mutable ref `@v2`: `uses: taiki-e/in… .github/workflows/flutter_ci.yaml:165
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/flutter_ci.yaml:158
HIGH MINED115 [MINED115] Action `subosito/flutter-action` pinned to mutable ref `@v2`: `uses: subosito/… .github/workflows/flutter_ci.yaml:153
HIGH MINED115 [MINED115] Action `actions-rs/toolchain` pinned to mutable ref `@v1`: `uses: actions-rs/t… .github/workflows/flutter_ci.yaml:144
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/flutter_ci.yaml:140
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/flutter_ci.yaml:113
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/flutter_ci.yaml:86
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/flutter_ci.yaml:60
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/docker_ci.yml:20
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/rust_coverage.yml:45
HIGH MINED115 [MINED115] Action `subosito/flutter-action` pinned to mutable ref `@v2`: `uses: subosito/… .github/workflows/rust_coverage.yml:34
HIGH MINED115 [MINED115] Action `actions-rs/toolchain` pinned to mutable ref `@v1`: `uses: actions-rs/t… .github/workflows/rust_coverage.yml:25
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/rust_coverage.yml:21
HIGH MINED115 [MINED115] Action `opral/ninja-i18n-action` pinned to mutable ref `@main`: `uses: opral/n… .github/workflows/ninja_i18n.yml:22
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ninja_i18n.yml:18
HIGH MINED115 [MINED115] Action `VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_packa… frontend/appflowy_flutter/packages/flow…:23
HIGH MINED115 [MINED115] Action `VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.y… frontend/appflowy_flutter/packages/flow…:17
HIGH MINED115 [MINED115] Action `VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull… frontend/appflowy_flutter/packages/flow…:14
HIGH MINED118 [MINED118] Dockerfile FROM `archlinux/archlinux (no tag)` not pinned by digest: `FROM arc… frontend/scripts/docker-buildfiles/Dock…:60
HIGH MINED118 [MINED118] Dockerfile FROM `archlinux/archlinux:base-devel` not pinned by digest: `FROM a… frontend/scripts/docker-buildfiles/Dock…:4
HIGH DKC009 Compose service bind-mounts a sensitive host path frontend/scripts/docker-buildfiles/dock…:9
HIGH DKC002 Compose service uses host networking frontend/scripts/docker-buildfiles/dock…:9
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … frontend/rust-lib/flowy-sqlite/src/sqli…:32
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … frontend/rust-lib/flowy-sqlite/src/sqli…:14
MED DKR003 Compose service `app` image uses the latest tag frontend/scripts/docker-buildfiles/dock…:9
MED DKR002 Dockerfile base image has no explicit tag frontend/scripts/docker-buildfiles/Dock…:61
MED DKR018 Database dump or local database file is included in Docker build context .dockerignore
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore frontend/scripts/docker-buildfiles/Dock…:47
MED AGT015 Remote install command pipes network code directly to a shell frontend/scripts/makefile/env.toml:126
MED AGT015 Remote install command pipes network code directly to a shell frontend/scripts/install_dev_env/instal…:30
MED AGT015 Remote install command pipes network code directly to a shell codemagic.yaml:14
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/mobile/pr…:15
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/mobile/pr…:76
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/mobile/pr…:21
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/mobile/pr…:22
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/mobile/pr…:278
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/mobile/pr…:142
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/mobile/pr…:312
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/mobile/pr…:40
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/mobile/pr…:54
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/features/…:34
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/ai/widget…:52
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/ai/widget…:185
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/ai/widget…:63
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/lib/ai/servic…:24
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:13
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:9
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:40
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:101
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:92
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:20
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:50
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:49
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:86
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:46
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:117
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:14
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:8
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:10
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:72
LOW AIC003 Duplicated implementation block across source files frontend/appflowy_flutter/integration_t…:71
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKC010 Compose service lacks no-new-privileges hardening frontend/scripts/docker-buildfiles/dock…:9
INFO MINED047 [MINED047] Emoji In Source: Emoji ✅ ❌ 🚀 in code/comments — common AI output unless explic… frontend/rust-lib/flowy-ai/src/local_ai…:24
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… install.sh:109
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… frontend/rust-lib/event-integration-tes…:371
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… frontend/rust-lib/dart-ffi/src/lib.rs:115
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… frontend/rust-lib/dart-ffi/src/c.rs:13
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… frontend/rust-lib/collab-integrate/src/…:66
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. frontend/rust-lib/build-tool/flowy-code…:139
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. frontend/rust-lib/build-tool/flowy-code…:150
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. frontend/rust-lib/build-tool/flowy-code…:129
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… frontend/rust-lib/build-tool/flowy-code…:19
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… frontend/rust-lib/build-tool/flowy-ast/…:38
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… frontend/rust-lib/build-tool/flowy-ast/…:41
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… frontend/appflowy_flutter/packages/flow…:48
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… frontend/appflowy_flutter/packages/appf…:48
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… frontend/appflowy_flutter/packages/appf…:48
INFO MINED046 [MINED046] Dart Print: print() in Flutter goes to console. Use debugPrint / logger. frontend/appflowy_flutter/packages/appf…:55
INFO MINED046 [MINED046] Dart Print: print() in Flutter goes to console. Use debugPrint / logger. frontend/appflowy_flutter/integration_t…:16
Reset to top 5 101 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `AppFlowy-IO/AppFlowy`

**Score: 73/100 (B-)**  ·  101 findings  ·  scanned 2026-06-05 08:18 UTC  ·  423,257 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 43 |
| MEDIUM | 9 |
| LOW | 32 |

📊 [Full filterable report](https://repobility.com/scan/4b6bbd79-6a10-4b1c-852c-53d1dc74ab1e/)  ·  ![scorecard](https://repobility.com/scan/4b6bbd79-6a10-4b1c-852c-53d1dc74ab1e/report.png?v=1780647500-s2)

### Top findings

1. **HIGH** `MINED012` — Curl Pipe Bash
   `frontend/scripts/install_dev_env/install_linux.sh:30` · CWE-494 · ✓ Repobility
2. **HIGH** `MINED004` — Weak Crypto
   `frontend/rust-lib/lib-infra/src/util.rs:68` · CWE-327 · ✓ Repobility
3. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `frontend/rust-lib/flowy-ai/src/local_ai/request.rs:75`
4. **HIGH** `MINED041` — Rust Unimplemented Macro
   `frontend/rust-lib/build-tool/flowy-ast/src/event_attrs.rs:40` · CWE-1188 · ✓ Repobility
5. **HIGH** `MINED003` — Rust Unwrap In Prod
   `frontend/rust-lib/build-tool/flowy-ast/src/event_attrs.rs:36` · CWE-755 · ✓ Repobility

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/4b6bbd79-6a10-4b1c-852c-53d1dc74ab1e/_
Megaproject â high spam risk
Could not determine 'AppFlowy-IO/AppFlowy' 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.