Cross-platform AirDrop. File transfer between Android, iOS, Linux, macOS, and Windows over ad hoc WiFi. No network infrastructure required, just two devices with WiFi chips (and optionally Bluetooth) in close range.
This report summarizes scanner evidence for spieglt/FlyingCarpet, a Rust project with 5,371 GitHub stars. SynthScan examined 27,985 lines of code across 109 source files, recording 57 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 2.1 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 56 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 57 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 57 distinct pattern matches across 2 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Apple/macOS/FlyingCarpetTests/FlyingCarpetTests.swift | 241 | let respHS = try NoiseHandshakeState(role: .responder, psk: psk, prologue: tampered) | COMMENT |
| LOW | Apple/shared/Bluetooth.swift | 1 | // | COMMENT |
| LOW | Apple/shared/Noise.swift | 1 | // | COMMENT |
| LOW | Apple/shared/Noise.swift | 361 | } | COMMENT |
| LOW | Apple/shared/Receive.swift | 161 | } | COMMENT |
| LOW | Apple/shared/Transfer.swift | 901 | // why slow to send to but fast to receive from android? | COMMENT |
| LOW | Apple/iOS/FlyingCarpetTests/FlyingCarpetTests.swift | 1 | // | COMMENT |
| LOW | Apple/iOS/FlyingCarpetTests/FlyingCarpetTests.swift | 181 | growth, 64 << 20, | COMMENT |
| LOW | Apple/iOS/FlyingCarpet/ViewController.swift | 781 | if message == "mac" || message == "ios" { | COMMENT |
| LOW | core/src/lib.rs | 361 | let role = match peer_resource { | COMMENT |
| LOW | core/src/lib.rs | 761 | fc_error(&format!("The other device is running Flying Carpet version {}, which is not compatible with this v | COMMENT |
| LOW | core/src/lib.rs | 781 | // fix tests | COMMENT |
| LOW | core/src/noise.rs | 1 | // Encrypted transport for all transfers (v10+): both hotspot and shared network mode. | COMMENT |
| LOW | core/src/utils.rs | 81 | // it under. | COMMENT |
| LOW | core/src/linux/peripheral.rs | 21 | /// The address of the central that drove this transfer, filled in by the first characteristic | COMMENT |
| LOW | core/src/linux/central.rs | 1 | //! Bluetooth central (receiving) side of the transfer negotiation. | COMMENT |
| LOW | core/src/linux/central.rs | 81 | ui.output("Peer is running Flying Carpet, connecting over Bluetooth..."); | COMMENT |
| LOW | core/src/linux/central.rs | 221 | } else { | COMMENT |
| LOW | core/src/linux/central.rs | 241 | // Once it is up, Connect() and service resolution ride the existing LE ACL. | COMMENT |
| LOW | core/src/linux/central.rs | 381 | ); | COMMENT |
| LOW | core/src/linux/bluetooth.rs | 41 | /// | COMMENT |
| LOW | core/src/linux/bluetooth.rs | 141 | // re-pair per transfer, so removing is safe". That premise is false for both: the | COMMENT |
| LOW | core/src/linux/bluetooth.rs | 241 | drop(app_handle); | COMMENT |
| LOW | core/src/linux/bluetooth.rs | 281 | // This retry was written for a poisoned bond — classic-only or dual-transport, left | COMMENT |
| LOW | core/src/windows/peripheral.rs | 421 | } | COMMENT |
| LOW | core/src/windows/central.rs | 121 | // let async_result = match _paired_device.GetGattServicesWithCacheModeAsync(BluetoothCacheMode: | COMMENT |
| LOW | core/src/windows/central.rs | 181 | // session.SetMaintainConnection(true)?; | COMMENT |
| LOW | core/src/windows/central.rs | 201 | // println!("get services result: {:?}", services_result.Status()); | COMMENT |
| LOW | core/src/windows/bluetooth.rs | 141 | time::sleep(time::Duration::from_secs(1)).await; | COMMENT |
| LOW | core/src/windows/bluetooth.rs | 281 | // flipped Status() to Started at that instant, making it a no-op by timing luck | COMMENT |
| LOW | core/src/windows/network.rs | 201 | s.encode_utf16().chain(std::iter::once(0)).collect() | COMMENT |
| LOW | core/src/windows/network.rs | 861 | /// re-added it, and the user got a UAC prompt on *every* transfer (issue #129) — on every | COMMENT |
| LOW | core/src/windows/network.rs | 881 | // window won't close. In an MTA, objects are not thread-affine and no pump is needed. | COMMENT |
| LOW | core/src/windows/network.rs | 1061 | fn join_hotspot() { | COMMENT |
| LOW | …src/main/java/dev/spiegl/flyingcarpet/MainViewModel.kt | 301 | } | COMMENT |
| LOW | …src/main/java/dev/spiegl/flyingcarpet/MainViewModel.kt | 501 | COMMENT | |
| LOW | …src/main/java/dev/spiegl/flyingcarpet/MainViewModel.kt | 721 | // The joiner's last BLE step, and where its half of the exchange is complete — the | COMMENT |
| LOW | …src/main/java/dev/spiegl/flyingcarpet/MainViewModel.kt | 1001 | } | COMMENT |
| LOW | …src/main/java/dev/spiegl/flyingcarpet/MainViewModel.kt | 1021 | override fun bluetoothFailed() { | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 81 | // one that had completed its exchange would inherit `true` and spend the whole transfer | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 101 | } | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 481 | // "This transfer's post-bond connection has been opened." Cleared in scan() and | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 501 | // True from stop() until the next scan() or advertise() — i.e. whenever no transfer | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 541 | COMMENT | |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 681 | outputText("Discovered ${gatt.services.size} services") | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 741 | // can keep serving a snapshot that has no Flying Carpet service in it. | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 781 | discoveryOutstanding = false | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 801 | // and key exchange land first, or you enumerate a stale GATT database. We | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 821 | ) | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 961 | // outputText("Reading $characteristicUuid") | COMMENT |
| LOW | …app/src/main/java/dev/spiegl/flyingcarpet/Bluetooth.kt | 1021 | if (!queued) { | COMMENT |
| LOW | …/src/main/java/dev/spiegl/flyingcarpet/MainActivity.kt | 621 | // disabled colors after the transfer ended and only correcting itself on the next drawable | COMMENT |
| LOW | …/src/main/java/dev/spiegl/flyingcarpet/MainActivity.kt | 761 | bluetoothRequestPermissionLauncher = registerForActivityResult(ActivityResultContracts.RequestMultiplePermission | COMMENT |
| LOW | …/src/main/java/dev/spiegl/flyingcarpet/MainActivity.kt | 901 | } | COMMENT |
| LOW | …main/java/dev/spiegl/flyingcarpet/SafDirectoryCache.kt | 1 | package dev.spiegl.flyingcarpet | COMMENT |
| LOW | .github/workflows/linux-release.yml | 1 | name: Linux Release | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Apple/iOS/FlyingCarpet/ViewController.swift | 67 | print("Error emptying documents directory at launch: \(error)") | CODE |