IP addresses break, dial keys instead. A library that adds QUIC + NAT Traversal to your apps.
This report summarizes scanner evidence for n0-computer/iroh, a Rust project with 12,676 GitHub stars. SynthScan examined 70,130 lines of code across 227 source files, recording 427 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 7.6 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 416 finding(s).
Are imports declared and package/API names verified? 11 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 427 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 427 distinct pattern matches across 3 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 | iroh-base/src/key.rs | 301 | PublicKey(CompressedEdwardsY(key)) | COMMENT |
| LOW | iroh-base/src/endpoint_addr.rs | 1 | //! Addressing for iroh endpoints. | COMMENT |
| LOW | iroh-base/src/endpoint_addr.rs | 21 | /// | COMMENT |
| LOW | iroh-base/src/endpoint_addr.rs | 161 | /// A custom transport address consisting of a transport id and opaque address data. | COMMENT |
| LOW | iroh-base/src/endpoint_addr.rs | 221 | #[stack_error(derive)] | COMMENT |
| LOW | iroh-base/src/endpoint_addr.rs | 341 | COMMENT | |
| LOW | iroh-base/src/relay_url.rs | 1 | use std::{fmt, ops::Deref, str::FromStr, sync::Arc}; | COMMENT |
| LOW | iroh-relay/proptest-regressions/protos/send_recv.txt | 1 | # Seeds for failure cases proptest has generated in the past. It is | COMMENT |
| LOW | iroh-relay/proptest-regressions/protos/relay.txt | 1 | # Seeds for failure cases proptest has generated in the past. It is | COMMENT |
| LOW | iroh-relay/tests/multiple-hostnames-pebble.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | iroh-relay/tests/runtime_auth.rs | 1 | //! Runtime revocation of relay access via the [`AccessControl`] trait. | COMMENT |
| LOW | iroh-relay/src/client.rs | 41 | mod tls; | COMMENT |
| LOW | iroh-relay/src/client.rs | 141 | /// Build a Client. | COMMENT |
| LOW | iroh-relay/src/client.rs | 181 | key_cache: KeyCache::new(128), | COMMENT |
| LOW | iroh-relay/src/client.rs | 201 | /// | COMMENT |
| LOW | iroh-relay/src/quic.rs | 81 | pub(crate) fn bind_addr(&self) -> SocketAddr { | COMMENT |
| LOW | iroh-relay/src/quic.rs | 281 | // enable the receive side of address discovery | COMMENT |
| LOW | iroh-relay/src/quic.rs | 321 | let connecting = self | COMMENT |
| LOW | iroh-relay/src/lib.rs | 1 | //! Iroh's relay is a feature within [iroh](https://github.com/n0-computer/iroh), a peer-to-peer | COMMENT |
| LOW | iroh-relay/src/lib.rs | 61 | pub trait ExportKeyingMaterial { | COMMENT |
| LOW | iroh-relay/src/server.rs | 1 | //! A fully-fledged iroh-relay server over HTTP or HTTPS. | COMMENT |
| LOW | iroh-relay/src/server.rs | 121 | /// Configuration for the Relay HTTP and HTTPS server. | COMMENT |
| LOW | iroh-relay/src/server.rs | 241 | /// Each item is a `(name, value)` pair. Both names and values are percent-decoded. | COMMENT |
| LOW | iroh-relay/src/server.rs | 281 | /// Implement this trait to gate access to a relay server. | COMMENT |
| LOW | iroh-relay/src/server.rs | 361 | /// | COMMENT |
| LOW | iroh-relay/src/server.rs | 421 | if let Some(access) = self.access.as_ref() { | COMMENT |
| LOW | iroh-relay/src/server.rs | 481 | } | COMMENT |
| LOW | iroh-relay/src/server.rs | 521 | } | COMMENT |
| LOW | iroh-relay/src/server.rs | 601 | /// | COMMENT |
| LOW | iroh-relay/src/main.rs | 41 | const ENV_HTTP_BEARER_TOKEN: &str = "IROH_RELAY_HTTP_BEARER_TOKEN"; | COMMENT |
| LOW | iroh-relay/src/main.rs | 101 | /// the QUIC server running (if `enable_quic_addr_discovery` is `true`), which helps | COMMENT |
| LOW | iroh-relay/src/main.rs | 121 | http_bind_addr: Option<SocketAddr>, | COMMENT |
| LOW | iroh-relay/src/main.rs | 141 | limits: Option<Limits>, | COMMENT |
| LOW | iroh-relay/src/main.rs | 161 | #[derive(Debug, Clone, Serialize, Deserialize, Default, PartialEq, Eq)] | COMMENT |
| LOW | iroh-relay/src/main.rs | 181 | /// Allows only clients that present one of the configured bearer tokens. | COMMENT |
| LOW | iroh-relay/src/main.rs | 401 | /// The socket address to bind the Relay HTTPS server on. | COMMENT |
| LOW | iroh-relay/src/main.rs | 421 | /// Defaults to the servers' current working directory. | COMMENT |
| LOW | iroh-relay/src/main.rs | 441 | /// While in development, LetsEncrypt prefers you to use the staging server. However, | COMMENT |
| LOW | iroh-relay/src/main.rs | 521 | /// | COMMENT |
| LOW | iroh-relay/src/http.rs | 41 | strum::EnumString, | COMMENT |
| LOW | iroh-relay/src/defaults.rs | 1 | //! Default values used in the relay. | COMMENT |
| LOW | iroh-relay/src/defaults.rs | 21 | /// memory usage will be (32 + 8 + 8 + 8) * 1_000_000 = 56MB on 64 bit, | COMMENT |
| LOW | iroh-relay/src/relay_map.rs | 221 | fmt::Debug::fmt(&self, f) | COMMENT |
| LOW | iroh-relay/src/tls.rs | 1 | //! TLS verification configuration for iroh and iroh-relay. | COMMENT |
| LOW | iroh-relay/src/tls.rs | 21 | #[derive(Debug, Clone)] | COMMENT |
| LOW | iroh-relay/src/tls.rs | 121 | /// The [`CryptoProvider`] passed to the callback should be used for all cryptographic operations. | COMMENT |
| LOW | iroh-relay/src/protos/streams.rs | 21 | pub(crate) struct WsBytesFramed<T> { | COMMENT |
| LOW | iroh-relay/src/protos/handshake.rs | 1 | //! Implements the handshake protocol that authenticates and authorizes clients connecting to the relays. | COMMENT |
| LOW | iroh-relay/src/protos/handshake.rs | 61 | pub(crate) struct KeyMaterialClientAuth { | COMMENT |
| LOW | iroh-relay/src/protos/handshake.rs | 81 | pub(crate) challenge: [u8; 16], | COMMENT |
| LOW | iroh-relay/src/protos/handshake.rs | 141 | #[allow(missing_docs)] | COMMENT |
| LOW | iroh-relay/src/protos/handshake.rs | 201 | /// Generates a new challenge. | COMMENT |
| LOW | iroh-relay/src/protos/handshake.rs | 381 | /// | COMMENT |
| LOW | iroh-relay/src/protos/handshake.rs | 401 | SignedChallenge, | COMMENT |
| LOW | iroh-relay/src/protos/handshake.rs | 501 | Access::Deny { reason } => Err(self.deny(reason, io).await), | COMMENT |
| LOW | iroh-relay/src/protos/relay.rs | 21 | /// (This only includes the data bytes visible to the socket, not | COMMENT |
| LOW | iroh-relay/src/protos/relay.rs | 41 | COMMENT | |
| LOW | iroh-relay/src/protos/relay.rs | 81 | /// Indicates that the client identified by the underlying public key had previously sent you a | COMMENT |
| LOW | iroh-relay/src/protos/relay.rs | 101 | /// with the payload sent previously in the ping. | COMMENT |
| LOW | iroh-relay/src/protos/relay.rs | 181 | /// Reply to a [`RelayToClientMsg::Ping`] from a server | COMMENT |
| 355 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | iroh/src/socket.rs | 1526 | self.sock.metrics.socket.actor_tick_other.inc(); | CODE |
| CRITICAL⚡ | iroh/src/socket.rs | 1532 | self.sock.metrics.socket.actor_tick_msg.inc(); | CODE |
| CRITICAL⚡ | iroh/src/socket.rs | 1537 | self.sock.metrics.socket.actor_tick_re_stun.inc(); | CODE |
| CRITICAL⚡ | iroh/src/socket.rs | 1582 | self.sock.metrics.socket.actor_tick_other.inc(); | CODE |
| CRITICAL⚡ | iroh/src/socket.rs | 1589 | self.sock.metrics.socket.actor_tick_portmap_changed.inc(); | CODE |
| CRITICAL⚡ | iroh/src/socket.rs | 1592 | self.sock.metrics.net_report.portmap_external_address_updated.inc(); | CODE |
| CRITICAL⚡ | iroh/src/socket.rs | 1600 | self.sock.metrics.socket.actor_tick_other.inc(); | CODE |
| CRITICAL | iroh/src/socket.rs | 801 | self.sock.metrics.net_report.portmap_attempts.inc(); | CODE |
| CRITICAL | iroh/src/socket.rs | 1507 | self.sock.metrics.socket.actor_tick_main.inc(); | CODE |
| CRITICAL | iroh/src/socket.rs | 1611 | self.sock.metrics.socket.actor_link_change.inc(); | CODE |
| CRITICAL | iroh/src/endpoint.rs | 1198 | self.inner.static_config.tls_config.secret_key.public() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | iroh/src/lib.rs | 243 | //! Please see the examples directory for more nuanced examples. | COMMENT |