A simple, decentralized mesh VPN with WireGuard support.
This report summarizes scanner evidence for EasyTier/EasyTier, a Rust project with 14,477 GitHub stars. SynthScan examined 329,729 lines of code across 1053 source files, recording 137 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.3 (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? 109 finding(s).
Are imports declared and package/API names verified? 28 finding(s).
Are wrappers, guards, and repeated structures necessary? 19 finding(s).
Which changes need focused human review? 137 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 137 distinct pattern matches across 7 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 |
|---|---|---|---|---|
| CRITICAL | easytier/src/tests/ipv6_test.rs | 37 | let ipv6 = config.snapshot.runtime.core.routes.ipv6.unwrap(); | CODE |
| CRITICAL | easytier/src/common/global_ctx.rs | 178 | .and_then(|runtime| runtime.peer.runtime.core.node.hostname.clone()) | CODE |
| CRITICAL | easytier/src/common/global_ctx.rs | 217 | let prefix = peer.runtime.core.routes.ipv4.as_ref()?; | CODE |
| CRITICAL | easytier/src/common/global_ctx.rs | 225 | let prefix = peer.runtime.core.routes.ipv6.as_ref()?; | CODE |
| CRITICAL | easytier/src/arch/windows.rs | 578 | interface.Anonymous.Anonymous.Anonymous.bstrVal.to_string(), | CODE |
| CRITICAL⚡ | easytier/src/instance/config.rs | 171 | initial.peer.snapshot.runtime.core.node.hostname.as_deref(), | CODE |
| CRITICAL⚡ | easytier/src/instance/config.rs | 175 | cleared.peer.snapshot.runtime.core.node.hostname.as_deref(), | CODE |
| CRITICAL⚡ | easytier/src/instance/config.rs | 179 | cleared.peer.snapshot.runtime.core.node.hostname.as_deref(), | CODE |
| CRITICAL | easytier/src/instance/config.rs | 192 | config.peer.snapshot.runtime.core.node.hostname.as_deref(), | CODE |
| CRITICAL | easytier/src/instance/composition.rs | 488 | config_a.connectivity.direct.tcp_bind.context.clone(), | CODE |
| CRITICAL | easytier-core/src/connectivity/direct/mod.rs | 253 | self.data.options.udp_bind.context.clone(), | CODE |
| CRITICAL | easytier-core/src/connectivity/direct/mod.rs | 278 | self.data.options.udp_bind.context.clone(), | CODE |
| CRITICAL | easytier-core/src/config/runtime.rs | 193 | before.peer.runtime.core.node.hostname.as_deref(), | CODE |
| CRITICAL | easytier-core/src/config/runtime.rs | 199 | after.peer.runtime.core.node.hostname.as_deref(), | CODE |
| CRITICAL | easytier-core/src/config/runtime.rs | 268 | snapshot.peer.runtime.core.node.hostname.as_deref(), | CODE |
| CRITICAL | easytier-core/src/instance/tests.rs | 2831 | final_config.peer.runtime.core.node.hostname.as_deref(), | CODE |
| CRITICAL | easytier-core/src/instance/lifecycle.rs | 87 | let has_proxy_networks = !config.peer.runtime.core.routes.proxy_networks.is_empty(); | CODE |
| CRITICAL⚡ | easytier-core/src/peers/attached.rs | 413 | snapshot.runtime.core.routes.advertised_routes.clear(); | CODE |
| CRITICAL⚡ | easytier-core/src/peers/attached.rs | 414 | snapshot.runtime.core.routes.proxy_networks.clear(); | CODE |
| CRITICAL⚡ | easytier-core/src/peers/attached.rs | 415 | snapshot.runtime.core.routes.foreign_networks.clear(); | CODE |
| CRITICAL | easytier-core/src/peers/peer_manager.rs | 285 | next_peer.runtime.core.routes.ipv4 = current.peer.runtime.core.routes.ipv4.clone(); | CODE |
| CRITICAL | easytier-core/src/peers/peer_manager.rs | 288 | next_peer.runtime.core.routes.ipv6 = current.peer.runtime.core.routes.ipv6.clone(); | CODE |
| CRITICAL | easytier-core/src/gateway/dhcp.rs | 1123 | assert!(runtime.snapshot().peer.runtime.core.routes.ipv4.is_some()); | CODE |
| CRITICAL⚡ | easytier-core/src/gateway/dhcp.rs | 1157 | assert!(runtime.snapshot().peer.runtime.core.routes.ipv6.is_none()); | CODE |
| CRITICAL⚡ | easytier-core/src/gateway/dhcp.rs | 1161 | assert!(runtime.snapshot().peer.runtime.core.routes.ipv4.is_some()); | CODE |
| CRITICAL⚡ | easytier-core/src/gateway/dhcp.rs | 1162 | assert!(runtime.snapshot().peer.runtime.core.routes.ipv6.is_some()); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | easytier/src/easytier-cli.rs | 321 | COMMENT | |
| LOW | easytier/src/tests/credential_tests.rs | 541 | /// Regression coverage for a public-server-mediated credential topology: | COMMENT |
| LOW | easytier/src/tests/credential_tests.rs | 1481 | "10.144.144.3", | COMMENT |
| LOW | easytier/src/tunnel/quic.rs | 341 | // as happens when reordering exceeds the RFC 9000 Appendix A | COMMENT |
| LOW | easytier/src/tunnel/common.rs | 181 | } | COMMENT |
| LOW | easytier/src/tunnel/common.rs | 201 | /// * **(default) `BindDev::Auto`**: Enables **auto-discovery**. The function will attempt to automatically | COMMENT |
| LOW | easytier/src/common/config.rs | 221 | /// | COMMENT |
| LOW | easytier/src/common/env_parser.rs | 1 | //! 环境变量解析模块 | COMMENT |
| LOW | easytier/src/common/ifcfg/route.rs | 41 | #[cfg(target_os = "windows")] | COMMENT |
| LOW | easytier/src/instance/virtual_nic.rs | 1981 | } | COMMENT |
| LOW | easytier/src/socket/fake_tcp/stack.rs | 1 | //! A minimum, userspace TCP based datagram stack | COMMENT |
| LOW | easytier/src/socket/fake_tcp/stack.rs | 21 | //! | COMMENT |
| LOW | …ytier-contrib/easytier-android-jni/example_config.toml | 1 | # EasyTier Android JNI 示例配置文件 | COMMENT |
| LOW | …ytier-contrib/easytier-android-jni/example_config.toml | 21 | COMMENT | |
| LOW | …ytier-contrib/easytier-android-jni/example_config.toml | 41 | # enable_ipv6 = false | COMMENT |
| LOW | easytier-contrib/easytier-android-jni/src/lib.rs | 1 | //! JNI facade for Android callers of EasyTier. | COMMENT |
| LOW | easytier-contrib/easytier-android-jni/src/lib.rs | 61 | /// `EasyTierJNI.parseConfig(config: String): Int` | COMMENT |
| LOW | easytier-contrib/easytier-android-jni/src/lib.rs | 81 | /// On failure this returns `-1` and throws `RuntimeException`. | COMMENT |
| LOW | easytier-contrib/easytier-android-jni/src/lib.rs | 201 | env: JNIEnv, | COMMENT |
| LOW | easytier-contrib/easytier-android-jni/src/lib.rs | 241 | /// | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 1 | //! C ABI facade for EasyTier. | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 21 | //! | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 61 | /// `cfg_str` must be a non-null pointer to a null-terminated UTF-8 string. | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 81 | /// Returns `0` after the instance is started and registered in the FFI name | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 101 | /// | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 121 | /// | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 141 | /// key/value strings are allocated by this library and must be released with | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 161 | /// instance name and each returned value is a JSON string containing that | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 181 | COMMENT | |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 201 | /// This generic bridge intentionally excludes instance lifecycle management | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 241 | } | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 281 | user_data, | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 321 | data_plane_tcp_read_result_take, data_plane_tcp_read_submit, data_plane_tcp_write_result_take, | COMMENT |
| LOW | easytier-contrib/easytier-ffi/src/lib.rs | 341 | /// | COMMENT |
| LOW | easytier-contrib/easytier-ios/build-xcframework.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | easytier-contrib/easytier-ios/src/lib.rs | 1 | //! iOS-facing C ABI for EasyTier. | COMMENT |
| LOW | easytier-contrib/easytier-ios/src/lib.rs | 81 | /// Configure persistent EasyTier diagnostic logging for the embedding app. | COMMENT |
| LOW | easytier-contrib/easytier-ios/src/lib.rs | 381 | /// generic management registry). `payload_json` must contain the protobuf | COMMENT |
| LOW | easytier-gui/src-tauri/src/elevate/macos.rs | 181 | impl Command { | COMMENT |
| LOW | easytier-gui/src-tauri/src/elevate/macos.rs | 201 | (0, 0) => true, | COMMENT |
| LOW | easytier-gui/src-tauri/src/elevate/mod.rs | 21 | /// instance, it would read the following configuration from | COMMENT |
| LOW | easytier-gui/src-tauri/src/elevate/windows.rs | 21 | /// Check the state the current program running | COMMENT |
| LOW | easytier-gui/src-tauri/src/elevate/windows.rs | 61 | /// Prompting the user with a graphical OS dialog for the root password, | COMMENT |
| LOW | easytier-web/src/restful/captcha/mod.rs | 1 | //! Rust图形验证码,由Java同名开源库[whvcse/EasyCaptcha](https://github.com/ele-admin/EasyCaptcha)移植而来👏,100%纯Rust实现,支持gif、算术等类型。 | COMMENT |
| LOW | easytier-web/src/restful/captcha/mod.rs | 21 | //! dependencies into you system. | COMMENT |
| LOW | easytier-web/src/restful/captcha/mod.rs | 41 | //! /// 接口:获取验证码 | COMMENT |
| LOW | easytier-web/src/restful/captcha/mod.rs | 61 | //! CaptchaUtil::clear(&session).await; // 如果愿意的话,你可以从Session中清理掉验证码 You may clear the Captcha from the Ses | COMMENT |
| LOW | easytier-web/src/restful/captcha/mod.rs | 81 | //! | COMMENT |
| LOW | easytier-web/src/restful/captcha/mod.rs | 101 | //! | COMMENT |
| LOW | easytier-web/src/restful/captcha/mod.rs | 121 | pub mod extension; | COMMENT |
| LOW | easytier-web/src/restful/captcha/utils/font.rs | 1 | use ab_glyph::FontArc; | COMMENT |
| LOW | easytier-web/src/restful/captcha/base/captcha.rs | 181 | /// Initialize the Captcha with the size of output image and the character length of the Captcha. | COMMENT |
| LOW | easytier-web/src/restful/captcha/base/captcha.rs | 281 | fn out(&mut self, out: impl Write) -> Result<(), Self::Error>; | COMMENT |
| LOW | easytier-web/src/central_network/compiler.rs | 61 | #[error("virtual subnet has no free host address for member {0}")] | COMMENT |
| LOW | easytier-core/src/host/mod.rs | 1 | //! Host capability seams. | COMMENT |
| LOW | easytier-core/src/host/environment.rs | 1 | //! Host-operation bridge for connector environment queries. | COMMENT |
| LOW | easytier-core/src/host/socket/mod.rs | 1 | //! Host-backed socket seams. | COMMENT |
| LOW | easytier-core/src/connectivity/connector_host.rs | 1 | //! Host-operation Adapter for the shared connector composition. | COMMENT |
| LOW | easytier-core/src/config/toml.rs | 361 | fn default_true() -> bool { | COMMENT |
| LOW | easytier-core/src/management/full/config_patch.rs | 181 | // the durable write is in flight, without holding a synchronous | COMMENT |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | easytier/docs/credential_peer.md | 44 | ### Step 1: Protobuf 定义 | COMMENT |
| LOW | easytier/docs/credential_peer.md | 108 | ### Step 2: 凭据管理模块 | COMMENT |
| LOW | easytier/docs/credential_peer.md | 160 | ### Step 3: Noise 握手适配(最小改动) | COMMENT |
| LOW | easytier/docs/credential_peer.md | 185 | ### Step 4: RoutePeerInfo 传播凭据信息 | COMMENT |
| LOW | easytier/docs/credential_peer.md | 195 | ### Step 5: 全网校验与自动踢出(核心逻辑) | COMMENT |
| LOW | easytier/docs/credential_peer.md | 246 | ### Step 6: GlobalCtx / Config 集成 | COMMENT |
| LOW | easytier/docs/credential_peer.md | 269 | ### Step 7: RPC 服务 + CLI | COMMENT |
| LOW | easytier/docs/credential_peer.md | 295 | ### Step 8: 连接时验证(握手后快速拒绝,必选) | COMMENT |
| LOW | easytier/docs/credential_peer.md | 371 | ### Step 9: 临时节点 OSPF 路由限制 | COMMENT |
| LOW | easytier/docs/credential_peer.md | 535 | ### Step 10: 禁止通过临时节点接入网络 | COMMENT |
| LOW⚡ | easytier-core/src/peers/route/peer_ospf_route.rs | 399 | // Step 1: first Dijkstra, compute shortest hop count. | COMMENT |
| LOW⚡ | easytier-core/src/peers/route/peer_ospf_route.rs | 402 | // Step 2: build subgraph containing only shortest-hop and AVOID RELAY edges. | COMMENT |
| LOW | easytier-core/src/peers/route/peer_ospf_route.rs | 425 | // Step 3: second Dijkstra on subgraph, choose least-cost among shortest-hop paths. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | easytier-gui/src/composables/config.ts | 10 | export function saveLastNetworkInstanceId(instanceId: string) { | CODE |
| LOW⚡ | easytier-gui/src/composables/config.ts | 18 | export function loadLastNetworkInstanceId(): string | null { | CODE |
| LOW⚡ | easytier-gui/src/composables/config.ts | 22 | export function saveVpnTileStoppedInstanceIds(instanceIds: string[]) { | CODE |
| LOW⚡ | easytier-gui/src/composables/config.ts | 26 | export function loadVpnTileStoppedInstanceIds(): string[] { | CODE |
| LOW | easytier-gui/src/composables/event.ts | 35 | function normalizeInstanceIdPayload(payload: unknown): string { | CODE |
| LOW | easytier-gui/src/composables/event.ts | 81 | async function onVpnServiceConfigChanged(event: Event<unknown>) { | CODE |
| LOW | easytier-gui/src/composables/mobile_vpn.ts | 55 | export function setMobileVpnTileActionHandler( | CODE |
| LOW | easytier-gui/src/composables/mobile_vpn.ts | 61 | export async function consumePendingMobileVpnTileAction() { | CODE |
| LOW | easytier-gui/src/composables/mobile_vpn.ts | 299 | async function registerVpnServiceListener() { | CODE |
| LOW | easytier-gui/src/pages/index.vue | 272 | async function handleMobileVpnTileAction(action: 'start' | 'stop') { | CODE |
| LOW | easytier-web/frontend-lib/tests/status-display.spec.ts | 18 | function peerRoutePairWithDefaultConn(conns: any[], defaultConnId: string) { | CODE |
| LOW | …eb/frontend-lib/tests/remote-management-config.spec.ts | 150 | function snapshotBooleanConfigFields(config: NetworkConfig): Record<string, unknown> { | CODE |
| LOW | easytier-web/frontend-lib/src/types/networkCompat.ts | 12 | export function prepareNetworkConfigForProtoJson(config: NetworkConfig): NetworkConfig { | CODE |
| LOW | easytier-web/frontend-lib/src/types/networkCompat.ts | 45 | function dropUnsupportedJsonValues(value: unknown): unknown { | CODE |
| LOW | easytier-web/frontend-lib/src/components/Config.vue | 109 | function searchExitNodesSuggestions(e: { query: string }) { | CODE |
| LOW | easytier-web/frontend-lib/src/components/Config.vue | 117 | function searchWhitelistSuggestions(e: { query: string }) { | CODE |
| LOW | easytier-web/frontend-lib/src/components/Config.vue | 212 | function parseInstanceRecvBpsLimitInput(value: string): number | string | null | undefined { | CODE |
| LOW | easytier-web/frontend-lib/src/modules/vpnPortal.ts | 38 | export function normalizeVpnPortalEndpoint(value: string, port: string): string { | CODE |
| LOW | easytier-js/browser/src/create.ts | 20 | export async function createEasyTierWithArtifact( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | easytier-core/src/peers/route/peer_ospf_route.rs | 399 | // Step 1: first Dijkstra, compute shortest hop count. | COMMENT |
| LOW⚡ | easytier-core/src/peers/route/peer_ospf_route.rs | 402 | // Step 2: build subgraph containing only shortest-hop and AVOID RELAY edges. | COMMENT |
| LOW | easytier-core/src/peers/route/peer_ospf_route.rs | 425 | // Step 3: second Dijkstra on subgraph, choose least-cost among shortest-hop paths. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | easytier/src/socket/fake_tcp/stack.rs | 456 | /// of reader will be spawned later. This allows user to utilize the performance | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | easytier-web/frontend-lib/src/components/UrlInput.vue | 209 | <Dialog v-model:visible="editing" modal :header="placeholder" :style="{ width: '90vw', maxWidth: '500px' }"> | CODE |
| LOW | …ytier-web/frontend-lib/src/components/UrlListInput.vue | 26 | <UrlInput v-model="list[index]" :protos="protos" :placeholder="placeholder"> | CODE |