Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
30 of your 75 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 5.21s · analysis 13.02s · 13.5 MB · GitHub preflight 471ms

embassy-rs/embassy

https://github.com/embassy-rs/embassy · scanned 2026-06-05 15:24 UTC (5 days, 1 hour ago) · 10 languages

150 raw signals (66 security + 84 graph) 0th percentile · Rust · large (100-500K LoC) System graph score 96 (lower by 46)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 5 days, 1 hour ago · v2 · 62 actionable findings from 2 signal sources. 46 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 40.0 0.15 6.00
security_score 53.0 0.25 13.25
testing_score 27.0 0.20 5.40
documentation_score 72.0 0.15 10.80
practices_score 65.0 0.15 9.75
code_quality 50.7 0.10 5.07
Overall 1.00 50.3
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade C- (50/100). Dimensions: security 53, maintainability 40. 66 findings (7 security). 336,546 lines analyzed.

Showing 49 of 62 actionable findings. 108 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

critical Security checks security secrets conf 0.95 Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
Gitleaks detected a committed secret or credential pattern.
examples/stm32wba6/src/bin/aes_gcm.rs:59
critical Security checks security secrets conf 0.95 Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
Gitleaks detected a committed secret or credential pattern.
examples/stm32wba/src/bin/saes_ecb.rs:47
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED036] Python Os System Call: os.system() invokes shell with no escaping.
Review and fix per the pattern semantics. See CWE-78 / for context.
embassy-time-driver/gen_tick.py:84
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
examples/stm32wba6/convert_wav.py:15
high Security checks security Crypto conf 1.00 [SEC106] Block cipher in ECB mode (AES/DES/Blowfish): ECB mode leaks block-level structure — identical plaintext blocks encrypt to identical ciphertext (the famous Tux image). Bare `Cipher.getInstance("AES")` defaults to ECB on most JVMs.
Use GCM (recommended): `Cipher.getInstance("AES/GCM/NoPadding")`. Or CBC with HMAC. Always pass an explicit IV; never reuse it for GCM.
examples/stm32wba6/verify_rpa.py:36
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 4 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `actions/github-script` pinned to mutable ref `@v8` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
2 files, 4 locations
.github/workflows/matrix-bot-issues.yml:13 (2 hits)
.github/workflows/matrix-bot.yml:13 (2 hits)
CI/CD securitySupply chainGitHub Actions
low Security checks quality Error handling conf 0.55 ✓ Repobility Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
examples/stm32wba6/convert_wav.py:52 Error handlingquality
high Security checks software dependencies conf 0.90 GitHub Action `actions/github-script@v8` is 1 major version(s) behind (latest v9.0.0)
`uses: actions/github-script@v8` is 1 major version(s) behind the latest published release v9.0.0. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/matrix-bot-issues.yml:13
high Security checks software dependencies conf 0.90 GitHub Action `actions/github-script@v8` is 1 major version(s) behind (latest v9.0.0)
`uses: actions/github-script@v8` is 1 major version(s) behind the latest published release v9.0.0. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/matrix-bot.yml:13
medium Security checks quality Quality conf 1.00 ✓ Repobility Mutable default argument in `feature` (list)
`def feature(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
embassy-executor/gen_config.py:10
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in embassy-stm32/src/hash/mod.rs:59
Found a known-risky pattern (weak_hash). Review and replace if possible.
embassy-stm32/src/hash/mod.rs:59 Weak hash
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
56 test file(s) for 902 source file(s) (ratio 0.06). Consider adding integration or unit tests for critical paths.
Coverage
low Security checks quality Quality conf 0.60 30 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
12 files, 20 locations
embassy-boot-rp/src/fmt.rs:1, 111 (2 hits)
embassy-boot-stm32/src/fmt.rs:1, 111 (2 hits)
embassy-boot/src/fmt.rs:1, 111 (2 hits)
embassy-executor/src/fmt.rs:1, 111 (2 hits)
embassy-executor/src/platform/z7.rs:29, 64 (2 hits)
embassy-futures/src/fmt.rs:1, 111 (2 hits)
embassy-hal-internal/src/fmt.rs:1, 111 (2 hits)
embassy-imxrt/src/fmt.rs:112, 118 (2 hits)
duplicationquality
low System graph quality Maintenance conf 1.00 334 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: embassy-time-driver/gen_tick.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/nrf/gen_test.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/stm32/gen_test.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Complexity conf 1.00 Very large file: embassy-imxrt/src/clocks.rs (1661 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-mcxa/src/clocks/operator.rs (1580 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-mcxa/src/dma.rs (2256 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-mcxa/src/flexspi.rs (1610 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-mcxa/src/i2c/controller.rs (1524 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-mcxa/src/i3c/controller.rs (1942 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-mcxa/src/i3c/target.rs (1618 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-mcxa/src/lpuart/bbq.rs (1685 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-net-esp-hosted/src/proto.rs (14137 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-rp/src/clocks.rs (2195 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-rp/src/pio/mod.rs (1595 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-rp/src/uart/mod.rs (1562 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32-wpan/src/wba/linklayer_plat.rs (2016 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/build.rs (3037 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/cryp/mod.rs (1949 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/dma/dma_bdma.rs (1584 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/i2c/v1.rs (2171 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/i2c/v2.rs (2345 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/jpeg.rs (1479 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/ospi/mod.rs (2130 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/pka/mod.rs (2573 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/rcc/h.rs (1387 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/sdmmc/mod.rs (1857 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/spi/mod.rs (1742 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/timer/low_level.rs (1760 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/usart/mod.rs (2259 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-stm32/src/xspi/mod.rs (1985 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-usb-host/src/class/uac/descriptors.rs (2149 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-usb-host/src/descriptor.rs (1592 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-usb-synopsys-otg/src/lib.rs (1645 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: embassy-usb-synopsys-otg/src/otg_v1.rs (5175 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/558fd2c7-9b5e-4c80-aa87-1e599e27c71a/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/558fd2c7-9b5e-4c80-aa87-1e599e27c71a/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.