← Back to scan
File as GitHub Issue repo: embassy-rs/embassy

Push this scan report to embassy-rs/embassy

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 Unimplemented Macro

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 generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… examples/stm32wba6/src/bin/aes_gcm.rs:59
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… examples/stm32wba/src/bin/saes_ecb.rs:47
HIGH SEC106 [SEC106] Block cipher in ECB mode (AES/DES/Blowfish): ECB mode leaks block-level structur… examples/stm32wba6/verify_rpa.py:36
HIGH MINED036 [MINED036] Python Os System Call: os.system() invokes shell with no escaping. embassy-time-driver/gen_tick.py:84
HIGH MINED041 [MINED041] Rust Unimplemented Macro: unimplemented!() panics. Same as todo!() but convent… embassy-rp/src/bootsel.rs:32
HIGH MINED041 [MINED041] Rust Unimplemented Macro: unimplemented!() panics. Same as todo!() but convent… embassy-nxp/src/fmt.rs:111
HIGH MINED041 [MINED041] Rust Unimplemented Macro: unimplemented!() panics. Same as todo!() but convent… embassy-nrf/src/usb/usbhs.rs:362
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … embassy-executor/src/raw/state_critical…:42
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … embassy-boot/src/lib.rs:319
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … embassy-boot/src/digest_adapters/salty.…:14
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … docs/examples/layer-by-layer/blinky-irq…:40
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … docs/examples/basic/src/main.rs:32
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … docs/examples/basic/build.rs:19
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. embassy-boot-rp/src/fmt.rs:86
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. embassy-boot-nrf/src/fmt.rs:86
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. cyw43/src/fmt.rs:86
HIGH MINED115 Action `actions/github-script` pinned to mutable ref `@v8` .github/workflows/matrix-bot-issues.yml:13
HIGH MINED115 Action `actions/github-script` pinned to mutable ref `@v8` .github/workflows/matrix-bot.yml:13
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… examples/stm32wba6/convert_wav.py:15
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … embassy-stm32-wpan/src/wba/controller.rs:219
MED MINED111 Bare except continues silently examples/stm32wba6/convert_wav.py:52
MED MINED109 Mutable default argument in `feature` (list) embassy-executor/gen_config.py:10
MED DEPCUR-GHA GitHub Action `actions/github-script@v8` is 1 major version(s) behind (latest v9.0.0) .github/workflows/matrix-bot-issues.yml:13
MED DEPCUR-GHA GitHub Action `actions/github-script@v8` is 1 major version(s) behind (latest v9.0.0) .github/workflows/matrix-bot.yml:13
LOW COMP001 [COMP001] High cognitive complexity: Function `convert_wav_to_pcm` has cognitive complexi… examples/stm32wba6/convert_wav.py:9
LOW COMP001 [COMP001] High cognitive complexity: Function `feature` has cognitive complexity 14 (Sona… embassy-executor/gen_config.py:10
LOW AIC003 Duplicated implementation block across source files embassy-imxrt/src/fmt.rs:118
LOW AIC003 Duplicated implementation block across source files embassy-imxrt/src/fmt.rs:112
LOW AIC003 Duplicated implementation block across source files embassy-imxrt/src/flexcomm/uart.rs:812
LOW AIC003 Duplicated implementation block across source files embassy-imxrt/src/chips/mimxrt685s.rs:2
LOW AIC003 Duplicated implementation block across source files embassy-hal-internal/src/fmt.rs:111
LOW AIC003 Duplicated implementation block across source files embassy-hal-internal/src/fmt.rs:1
LOW AIC003 Duplicated implementation block across source files embassy-hal-internal/build_common.rs:1
LOW AIC003 Duplicated implementation block across source files embassy-futures/src/fmt.rs:111
LOW AIC003 Duplicated implementation block across source files embassy-futures/src/fmt.rs:1
LOW AIC003 Duplicated implementation block across source files embassy-executor/src/platform/z7.rs:64
LOW AIC003 Duplicated implementation block across source files embassy-executor/src/platform/z7.rs:29
LOW AIC003 Duplicated implementation block across source files embassy-executor/src/platform/spin.rs:8
LOW AIC003 Duplicated implementation block across source files embassy-executor/src/platform/riscv.rs:7
LOW AIC003 Duplicated implementation block across source files embassy-executor/src/platform/cortex_m.…:32
LOW AIC003 Duplicated implementation block across source files embassy-executor/src/fmt.rs:111
LOW AIC003 Duplicated implementation block across source files embassy-executor/src/fmt.rs:1
LOW AIC003 Duplicated implementation block across source files embassy-executor-macros/src/macros/task…:14
LOW AIC003 Duplicated implementation block across source files embassy-embedded-hal/src/shared_bus/blo…:96
LOW AIC003 Duplicated implementation block across source files embassy-embedded-hal/src/flash/partitio…:24
LOW AIC003 Duplicated implementation block across source files embassy-boot/src/fmt.rs:111
LOW AIC003 Duplicated implementation block across source files embassy-boot/src/fmt.rs:1
LOW AIC003 Duplicated implementation block across source files embassy-boot/src/firmware_updater/block…:25
LOW AIC003 Duplicated implementation block across source files embassy-boot-stm32/src/lib.rs:21
LOW AIC003 Duplicated implementation block across source files embassy-boot-stm32/src/fmt.rs:111
LOW AIC003 Duplicated implementation block across source files embassy-boot-stm32/src/fmt.rs:1
LOW AIC003 Duplicated implementation block across source files embassy-boot-rp/src/lib.rs:15
LOW AIC003 Duplicated implementation block across source files embassy-boot-rp/src/fmt.rs:111
LOW AIC003 Duplicated implementation block across source files embassy-boot-rp/src/fmt.rs:1
LOW AIC003 Duplicated implementation block across source files embassy-boot-nrf/src/fmt.rs:1
LOW AIC003 Duplicated implementation block across source files cyw43/src/spi.rs:62
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… embassy-usb/src/class/web_usb.rs:29
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. embassy-stm32/src/dsihost/phy.rs:124
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. embassy-rp/src/bootsel.rs:40
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. embassy-mcxa/src/ostimer.rs:83
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… embassy-boot-nrf/src/lib.rs:28
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… embassy-boot-nrf/src/fmt.rs:110
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… cyw43/src/fmt.rs:110
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… docs/examples/layer-by-layer/blinky-irq…:28
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… cyw43/src/ioctl.rs:113
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… cyw43-pio/src/lib.rs:235
Reset to top 5 66 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `embassy-rs/embassy`

**Score: 72/100 (C-)**  ·  66 findings  ·  scanned 2026-06-05 15:24 UTC  ·  336,546 LOC

| Severity | Count |
|---|---|
| CRITICAL | 2 |
| HIGH | 17 |
| MEDIUM | 5 |
| LOW | 32 |

📊 [Full filterable report](https://repobility.com/scan/558fd2c7-9b5e-4c80-aa87-1e599e27c71a/)  ·  ![scorecard](https://repobility.com/scan/558fd2c7-9b5e-4c80-aa87-1e599e27c71a/report.png?v=1780673073-s2)

### Top findings

1. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `examples/stm32wba6/src/bin/aes_gcm.rs:59`
2. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `examples/stm32wba/src/bin/saes_ecb.rs:47`
3. **HIGH** `SEC106` — Block cipher in ECB mode (AES/DES/Blowfish)
   `examples/stm32wba6/verify_rpa.py:36` · A02:2021 Cryptographic Failures
4. **HIGH** `MINED036` — Python Os System Call
   `embassy-time-driver/gen_tick.py:84` · CWE-78 · ✓ Repobility
5. **HIGH** `MINED041` — Rust Unimplemented Macro
   `embassy-rp/src/bootsel.rs:32` · CWE-1188 · ✓ 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/558fd2c7-9b5e-4c80-aa87-1e599e27c71a/_
Megaproject â high spam risk
Could not determine 'embassy-rs/embassy' 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.