A small, fast container runtime for macOS, Windows and Linux with free Ngrok alternative
This report summarizes scanner evidence for libracoder/kiri, a Rust project with 7,117 GitHub stars. SynthScan examined 158,101 lines of code across 346 source files, recording 151 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.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-11-16.
Can maintainers explain intent, assumptions, and trade-offs? 141 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 4 finding(s).
Which changes need focused human review? 151 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 151 distinct pattern matches across 9 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 | packaging/linux/build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | packaging/linux/test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | bench/compare.sh | 1 | #!/bin/bash | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 1 | //! Wire protocol between the Kiri host and the guest agent. | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 21 | /// Largest frame either side will accept. Anything bigger is a protocol error, | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 81 | CloseStdin { id: &'a str }, | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 101 | /// before anything runs. No reply. | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 121 | /// the VM's memory. No reply. | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 141 | ContainerStats(ContainerStats), | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 161 | /// the device was attached on (the agent's answer to it), PATH the node | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 181 | /// (attributes changed) or `D` (deleted), PATH the file's path in the VM | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 321 | /// What the guest holds and cannot give back: anonymous, shared and | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 361 | pub const REMOVE: u32 = 1; | COMMENT |
| LOW | crates/kiri-proto/src/lib.rs | 401 | pub dns_names: StrList<'a>, | COMMENT |
| LOW | crates/kiri-image/src/registry.rs | 281 | agent | COMMENT |
| LOW | crates/kiri-image/src/connect.rs | 1 | //! Opens TCP connections to registries the way browsers and curl do, Happy | COMMENT |
| LOW | crates/kiri-init/src/linux/fsnotify.rs | 1 | //! Files the Mac changed under bind mounts, raised as inotify events in the | COMMENT |
| LOW | crates/kiri-init/src/linux/netlink.rs | 541 | rule.end(); | COMMENT |
| LOW | crates/kiri-init/src/linux/netlink.rs | 561 | /// ``` | COMMENT |
| LOW | crates/kiri-init/src/linux/netlink.rs | 641 | /// The input filter that keeps containers off the host's loopback: | COMMENT |
| LOW | crates/kiri-init/src/linux/netlink.rs | 681 | rule.nest(1).attr_str(1, "immediate").nest(2).attr_be32(1, 0).nest(2).nest(2).attr_be32(1, libc::NF_DROP as u32).end | COMMENT |
| LOW | crates/kiri-init/src/linux/netlink.rs | 801 | let mut end = Msg::new(NFNL_MSG_BATCH_END, 0); | COMMENT |
| LOW | crates/kiri-init/src/linux/dns.rs | 1 | //! The embedded DNS server for user-defined networks, as Docker has: at | COMMENT |
| LOW | crates/kiri-init/src/linux/pid1.rs | 1 | //! `--init`: the container's PID 1 stays ours and runs the program as its | COMMENT |
| LOW | crates/kiri-init/src/linux/devices.rs | 1 | //! A container's device access, as Docker's default device cgroup is: a | COMMENT |
| LOW | crates/kiri-init/src/linux/mod.rs | 121 | m(c"tmp", c"/tmp", c"tmpfs", libc::MS_NOSUID | libc::MS_NODEV, Some(c"mode=1777"))?; | COMMENT |
| LOW | crates/kiri-init/src/linux/mod.rs | 241 | /// controllers down; containers go in its `kiri`. | COMMENT |
| LOW | crates/kiri-init/src/linux/sys.rs | 161 | } | COMMENT |
| LOW | crates/kiri-init/src/linux/usb.rs | 1 | //! USB passthrough: the Mac captures a device and speaks USB/IP for it over | COMMENT |
| LOW | crates/kiri-init/src/linux/container.rs | 321 | // The child makes its mounts before it waits for its network, and a | COMMENT |
| LOW | crates/kiri-init/src/linux/container.rs | 1041 | COMMENT | |
| LOW | crates/kiri-init/src/linux/container.rs | 1481 | /// the container's /etc/passwd and /etc/group when not numeric. | COMMENT |
| LOW | crates/kiri-init/src/linux/relay.rs | 1 | //! Port forwarding, guest side: the host opens a vsock stream per client | COMMENT |
| LOW | crates/kiri-win/src/win.rs | 1 | //! Running Windows tools safely. `Command::new("reg")` (and friends) search | COMMENT |
| LOW | crates/kiri-win/src/serve.rs | 21 | /// The connection is gone, both ways. | COMMENT |
| LOW | crates/kiri-win/src/hub.rs | 1 | //! Pull image's suggestions: Docker Hub's search and each image's tags, | COMMENT |
| LOW | crates/kiri-win/src/update.rs | 1 | //! Updates on Windows: the newest release, downloaded, checked and installed, | COMMENT |
| LOW | crates/kiri-win/src/main.rs | 1 | //! kiri-win: Kiri's Windows side. Serves the Docker API on a named pipe, | COMMENT |
| LOW | crates/kiri-win/src/main.rs | 21 | #[cfg(windows)] | COMMENT |
| LOW | crates/kiri-win/src/main.rs | 41 | #[path = "../../kiri/src/hostrelay.rs"] | COMMENT |
| LOW | crates/kiri-win/src/main.rs | 61 | #[cfg(windows)] | COMMENT |
| LOW | crates/kiri-win/src/main.rs | 81 | // only Windows' lexical `..` forgives that. | COMMENT |
| LOW | crates/kiri-win/src/main.rs | 101 | #[cfg(windows)] | COMMENT |
| LOW | crates/kiri-win/src/k8s.rs | 1 | //! The window's Kubernetes section on Windows: Pods and Services of the | COMMENT |
| LOW | crates/kiri-win/src/k8s.rs | 41 | const API_PORT: u16 = 6443; | COMMENT |
| LOW | crates/kiri-win/src/k8s.rs | 101 | Err(_) => emit(notice("error", &tr("Couldn't copy to the clipboard"))), | COMMENT |
| LOW | crates/kiri-win/src/engine.rs | 21 | // Share in the window, the Mac's own file: it needs only emit, notice, crate::client and crate::share. | COMMENT |
| LOW | crates/kiri-win/src/engine.rs | 301 | } | COMMENT |
| LOW | crates/kiri-share-proto/src/lib.rs | 1 | //! Wire protocol between `kiri share` and the Kiri Share edge. | COMMENT |
| LOW | crates/kiri-share-proto/src/lib.rs | 21 | //! Lanes: a client that sets [`FEATURE_LANES`] may be told in `Welcome` it | COMMENT |
| LOW | crates/kiri-share-proto/src/lib.rs | 141 | /// Bytes per second each direction may use; 0 means no limit. | COMMENT |
| LOW | crates/kiri-share-proto/src/attest.rs | 1 | //! Telling official Kiri builds from forks and scripts. | COMMENT |
| LOW | crates/kiri/src/builds.rs | 301 | COMMENT | |
| LOW | crates/kiri/src/kubeconfig.rs | 1 | //! The cluster's entry in kubectl's own file, written by Kiri itself with | COMMENT |
| LOW | crates/kiri/src/bridge.rs | 1 | //! `kiri bridge`: the WSL2 end of kiri-win.exe. The Windows docker CLI's | COMMENT |
| LOW | crates/kiri/src/appwatch.rs | 1 | //! Noticing that Kiri's own program is gone from where it started: the app | COMMENT |
| LOW | crates/kiri/src/hostrelay.rs | 1 | //! `kiri hostrelay`: lets Kiri's engine in WSL2 reach a proxy on Windows' own | COMMENT |
| LOW | crates/kiri/src/buildwith.rs | 1 | //! Which builder plain `docker build` uses: Docker's own, or Kiri's. | COMMENT |
| LOW | crates/kiri/src/buildwith.rs | 21 | //! they did before Kiri: OrbStack's builds stay OrbStack's, and once | COMMENT |
| LOW | crates/kiri/src/update.rs | 1 | //! Updates: the newest release, downloaded, checked and installed. | COMMENT |
| 71 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/ui-test.py | 55 | " const answer = () => window.kiriWords && kiriWords({ [o.name]: HOST_WORDS[o.name] });\n" | CODE |
| HIGH | scripts/ui-test.py | 56 | " if (hostHold) hostHeld.push(answer); else answer(); }; }\n") | CODE |
| HIGH | scripts/ui-test.py | 88 | 'window.webkit = { messageHandlers: { kiri: { postMessage: (m) => { const o = JSON.parse(m); sent.push({ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | crates/kiri/src/ui/xterm/xterm.js | 1 | !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/kiri-win/src/setup.rs | 464 | /// Step 1: download WSL, then in one elevated run turn on Virtual Machine | COMMENT |
| LOW | crates/kiri-win/src/setup.rs | 526 | /// Step 2: Kiri Linux from the bundle, or Ubuntu (already here, or downloaded). | COMMENT |
| LOW | crates/kiri-win/src/setup.rs | 613 | /// Step 3: the engine answers through the pipe and runs a container. | COMMENT |
| LOW | crates/kiri-win/src/setup.rs | 686 | /// Step 4: the Docker tools (setup-tools.ps1), task by task. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/kiri-win/src/setup.rs | 464 | /// Step 1: download WSL, then in one elevated run turn on Virtual Machine | COMMENT |
| LOW | crates/kiri-win/src/setup.rs | 526 | /// Step 2: Kiri Linux from the bundle, or Ubuntu (already here, or downloaded). | COMMENT |
| LOW | crates/kiri-win/src/setup.rs | 613 | /// Step 3: the engine answers through the pipe and runs a container. | COMMENT |
| LOW | crates/kiri-win/src/setup.rs | 686 | /// Step 4: the Docker tools (setup-tools.ps1), task by task. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/testcontainers-api.py | 174 | except socket.timeout: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/testcontainers-api.py | 227 | except Exception as e: # noqa: BLE001 — every failure is a line | CODE |
| LOW | tests/lifecycle-status.py | 109 | except Exception as error: | CODE |
| LOW | scripts/perf.py | 105 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/lifecycle-status.py | 21 | CODE | |
| LOW | scripts/i18n-check.py | 67 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ui/langswitch.js | 17 | const attrs = [...c.querySelectorAll("[title], [aria-label], [placeholder]")].map((el) => [el.title, el.getAttribute(" | CODE |
| LOW | tests/ui/fixture.js | 44 | for (const a of ["title", "aria-label", "placeholder"]) { | CODE |