← Back to scan
File as GitHub Issue repo: boltffi/boltffi

Push this scan report to boltffi/boltffi

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

Async function without await — fire-and-forget Promise (AI mistake)

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 MINED108 [MINED108] `self._purge_demo_modules` used but never assigned in __init__: Method `_load_… benchmarks/harnesses/python-bench/bench…:138
HIGH MINED108 [MINED108] `self._cases` used but never assigned in __init__: Method `selected_cases` of … benchmarks/harnesses/python-bench/bench…:71
HIGH MINED021 [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can co… examples/platforms/python/test-demo.sh:67
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… examples/demo/src/builtins/mod.rs:165
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … docs/src/components/Sidebar.tsx:197
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. boltffi_scan/src/items/constant.rs:265
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. boltffi_scan/src/items/class.rs:101
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. boltffi_bindgen/src/render/csharp/lower…:97
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … boltffi_bindgen/src/render/csharp/ast/c…:87
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … boltffi_bindgen/src/lib.rs:95
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … boltffi_bindgen/src/ir/contract.rs:118
HIGH COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 43 (SonarSo… benchmarks/harnesses/swift-macos-bench/…:34
HIGH COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 28 (SonarSo… benchmarks/harnesses/kotlin-jvm-bench/j…:81
HIGH MINED134 [MINED134] Binary file `benchmarks/harnesses/java-jvm-bench/gradle/wrapper/gradle-wrapper… benchmarks/harnesses/java-jvm-bench/gra…:1
HIGH MINED134 [MINED134] Binary file `benchmarks/harnesses/kotlin-jvm-bench/gradle/wrapper/gradle-wrapp… benchmarks/harnesses/kotlin-jvm-bench/g…:1
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:165
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:151
HIGH MINED115 [MINED115] Action `actions-rust-lang/setup-rust-toolchain` pinned to mutable ref `@v1`: `… .github/workflows/ci.yml:147
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:146
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@nightly`: `uses: dtoln… .github/workflows/ci.yml:129
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:128
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:115
HIGH MINED115 [MINED115] Action `actions-rust-lang/setup-rust-toolchain` pinned to mutable ref `@v1`: `… .github/workflows/ci.yml:111
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:110
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:98
HIGH MINED115 [MINED115] Action `actions-rust-lang/setup-rust-toolchain` pinned to mutable ref `@v1`: `… .github/workflows/ci.yml:94
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:93
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:80
HIGH MINED115 [MINED115] Action `actions-rust-lang/setup-rust-toolchain` pinned to mutable ref `@v1`: `… .github/workflows/ci.yml:75
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:74
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:53
HIGH MINED115 [MINED115] Action `actions-rust-lang/setup-rust-toolchain` pinned to mutable ref `@v1`: `… .github/workflows/ci.yml:49
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:48
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:33
HIGH MINED115 [MINED115] Action `actions-rust-lang/setup-rust-toolchain` pinned to mutable ref `@v1`: `… .github/workflows/ci.yml:29
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:28
HIGH MINED115 [MINED115] Action `actions-rust-lang/setup-rust-toolchain` pinned to mutable ref `@v1`: `… .github/workflows/ci.yml:18
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:17
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/docs-ci.yml:19
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/docs-ci.yml:18
HIGH MINED122 [MINED122] package.json dep `@boltffi/demo` pulled from URL/Git: `dependencies.@boltffi/d… examples/platforms/wasm/package.json:1
HIGH MINED122 [MINED122] package.json dep `@boltffi/runtime` pulled from URL/Git: `dependencies.@boltff… examples/platforms/wasm/package.json:1
HIGH MINED122 [MINED122] package.json dep `@boltffi/runtime` pulled from URL/Git: `dependencies.@boltff… benchmarks/harnesses/wasm-bench/package…:1
LOW COMP001 [COMP001] High cognitive complexity: Function `extract_names` has cognitive complexity 10… benchmarks/scripts/audit_benchmark_cata…:120
LOW AIC003 Duplicated implementation block across source files boltffi_macros/src/experimental/syntax/…:33
LOW AIC003 Duplicated implementation block across source files boltffi_macros/src/experimental/render/…:50
LOW AIC003 Duplicated implementation block across source files boltffi_macros/src/experimental/render/…:44
LOW AIC003 Duplicated implementation block across source files boltffi_macros/src/experimental/render/…:90
LOW AIC003 Duplicated implementation block across source files boltffi_ffi_rules/src/primitive.rs:3
LOW AIC003 Duplicated implementation block across source files boltffi_cli/src/pack/python/plan.rs:197
LOW AIC003 Duplicated implementation block across source files boltffi_cli/src/pack/kmp.rs:144
LOW AIC003 Duplicated implementation block across source files boltffi_cli/src/pack/dart/mod.rs:21
LOW AIC003 Duplicated implementation block across source files boltffi_binding/src/lower/callable/retu…:81
LOW AIC003 Duplicated implementation block across source files boltffi_binding/src/ir/primitive.rs:3
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/render/python/primi…:8
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/render/python/plan/…:95
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/render/kotlin/emit.…:7
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/render/dart/lower/r…:140
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/render/csharp/lower…:94
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/render/csharp/lower…:111
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/render/csharp/ast/t…:88
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/stream.rs:32
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/stream.rs:28
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/stream.rs:27
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/record.rs:54
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/record.rs:42
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/method.rs:39
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/method.rs:24
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/function.rs:44
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/enumeration.rs:96
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/enumeration.rs:47
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/model/class.rs:91
LOW AIC003 Duplicated implementation block across source files boltffi_bindgen/src/ir/plan.rs:107
LOW AIC003 Duplicated implementation block across source files boltffi_ast/src/trait_def.rs:17
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … examples/platforms/wasm/test.mjs:73
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… docs/src/components/TypeTable.tsx:60
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… docs/src/components/CodeComparison.tsx:84
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… boltffi_core/src/handle.rs:31
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… boltffi_core/src/callback/wasm.rs:37
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… boltffi_core/src/callback/native.rs:22
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… boltffi_bindgen/src/render/csharp/lower…:80
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… boltffi_bindgen/src/render/csharp/lower…:25
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… boltffi_bindgen/src/ir/lower/codec.rs:40
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. boltffi_bindgen/src/render/csharp/lower…:108
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. boltffi_bindgen/src/render/csharp/lower…:139
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. boltffi_bindgen/src/ir/lower/codec.rs:33
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… benchmarks/scripts/demo_export_inventor…:101
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… benchmarks/adapters/uniffi/build-xcfram…:86
Reset to top 5 88 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `boltffi/boltffi`

**Score: 83/100 (B)**  ·  112 findings  ·  scanned 2026-06-05 20:53 UTC  ·  232,173 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 43 |
| MEDIUM | 0 |
| LOW | 31 |

📊 [Full filterable report](https://repobility.com/scan/3f39cc67-e825-445b-a91e-5e347e06ac6f/)  ·  ![scorecard](https://repobility.com/scan/3f39cc67-e825-445b-a91e-5e347e06ac6f/report.png?v=1780692807-s2)

### Top findings

1. **HIGH** `MINED108` — `self._purge_demo_modules` used but never assigned in __init__
   `benchmarks/harnesses/python-bench/bench.py:138` · ✓ Repobility
2. **HIGH** `MINED108` — `self._cases` used but never assigned in __init__
   `benchmarks/harnesses/python-bench/bench.py:71` · ✓ Repobility
3. **HIGH** `MINED021` — Path Traversal Os Join
   `examples/platforms/python/test-demo.sh:67` · CWE-22 · ✓ Repobility
4. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `examples/demo/src/builtins/mod.rs:165` · A10:2021 SSRF
5. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `docs/src/components/Sidebar.tsx:197`

---

**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/3f39cc67-e825-445b-a91e-5e347e06ac6f/_
Megaproject â high spam risk
Could not determine 'boltffi/boltffi' 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
67/118 findings (57%) 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.