A native gRPC client & server implementation with async/await support.
This report summarizes scanner evidence for grpc/grpc-rust, a Rust project with 12,519 GitHub stars. SynthScan examined 136,261 lines of code across 541 source files, recording 586 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 4.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? 582 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 586 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 586 distinct pattern matches across 8 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 | grpc-protobuf/src/lib.rs | 141 | /// across threads), | COMMENT |
| LOW | grpc-protobuf/src/lib.rs | 161 | /// | COMMENT |
| LOW | grpc-protobuf/src/status.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc-protobuf/src/status.rs | 41 | /// from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments | COMMENT |
| LOW | grpc-protobuf/src/status.rs | 61 | AlreadyExists = 6, | COMMENT |
| LOW | grpc-protobuf/src/status.rs | 81 | /// (a) Use `UNAVAILABLE` if the client can retry just the failing call. | COMMENT |
| LOW | grpc-protobuf/src/status.rs | 101 | /// be fixed if the system state changes. For example, a 32-bit file | COMMENT |
| LOW | grpc-protobuf/src/server/client_streaming.rs | 41 | use crate::server::GrpcStreamingRequest; | COMMENT |
| LOW | grpc-protobuf/src/server/server_streaming.rs | 41 | use crate::server::GrpcStreamingResponse; | COMMENT |
| LOW | grpc-protobuf/src/server/mod.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc-protobuf/src/client/mod.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | tonic-build/src/manual.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | tonic-build/src/manual.rs | 41 | //! .input_type("crate::HelloRequest") | COMMENT |
| LOW | tonic-build/src/manual.rs | 61 | path::{Path, PathBuf}, | COMMENT |
| LOW | tonic-build/src/manual.rs | 261 | /// This builder can be used to manually define gRPC method, which can be added to a gRPC service, | COMMENT |
| LOW | tonic-build/src/manual.rs | 301 | impl MethodBuilder { | COMMENT |
| LOW | tonic-build/src/lib.rs | 61 | COMMENT | |
| LOW | tonic-build/src/lib.rs | 141 | pub fn push_mod(&mut self, pattern: impl Into<String>, attr: impl Into<String>) { | COMMENT |
| LOW | …gen-grpc-rust/src/cpp_source/src/grpc_rust_generator.h | 1 | // Copyright 2025 gRPC authors. | COMMENT |
| LOW | …gen-grpc-rust/src/cpp_source/src/grpc_rust_generator.h | 101 | // | COMMENT |
| LOW | grpc-xds/build.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc-xds/src/lib.rs | 61 | COMMENT | |
| LOW | grpc-xds/src/xds_config.rs | 61 | /// Every cluster transitively reachable from [`Self::virtual_host`], keyed | COMMENT |
| LOW | grpc-xds/src/xds_config.rs | 161 | pub(crate) struct AggregateClusters { | COMMENT |
| LOW | grpc-xds/src/load_balancing/cluster_manager.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc-xds/src/dependency_manager/cluster_graph.rs | 201 | /// On the current path from a root: reaching it again closes a cycle. | COMMENT |
| LOW | grpc-xds/src/dependency_manager/cluster_graph.rs | 221 | /// * A pending child doesn't stop the search, so the watches of its siblings | COMMENT |
| LOW | grpc-xds/src/dependency_manager/mod.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc-xds/src/resource/listener.rs | 41 | /// The only `api_listener` extension gRPC supports. | COMMENT |
| LOW | grpc-xds/src/resource/string_matcher.rs | 101 | /// Parses and validates an `envoy.type.matcher.v3.StringMatcher`. | COMMENT |
| LOW | grpc-xds/src/resource/cluster.rs | 41 | COMMENT | |
| LOW | grpc/benches/call_options.rs | 141 | #[inline(always)] | COMMENT |
| LOW | grpc/src/send_future.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/send_future.rs | 41 | /// analysis incorrectly believes it is held across the await. | COMMENT |
| LOW | grpc/src/send_future.rs | 61 | /// | COMMENT |
| LOW | grpc/src/lib.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/attributes.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/attributes.rs | 81 | } | COMMENT |
| LOW | grpc/src/macros.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/macros.rs | 41 | /// are unmodified.** By default: | COMMENT |
| LOW | grpc/src/macros.rs | 61 | /// } | COMMENT |
| LOW | grpc/src/macros.rs | 81 | /// // Include message code. | COMMENT |
| LOW | grpc/src/macros.rs | 121 | /// | COMMENT |
| LOW | grpc/src/core/mod.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/codec/compression.rs | 41 | /// | COMMENT |
| LOW | grpc/src/codec/compression/gzip.rs | 121 | } | COMMENT |
| LOW | grpc/src/server/mod.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/server/mod.rs | 81 | COMMENT | |
| LOW | grpc/src/server/mod.rs | 121 | /// | COMMENT |
| LOW | grpc/src/server/mod.rs | 221 | } | COMMENT |
| LOW | grpc/src/server/mod.rs | 241 | self.serve_with_shutdown(listener, std::future::pending()) | COMMENT |
| LOW | grpc/src/server/mod.rs | 381 | } | COMMENT |
| LOW | grpc/src/server/mod.rs | 461 | /// if the stream encountered an error before the client's final request | COMMENT |
| LOW | grpc/src/rt/mod.rs | 61 | async fn accept(&self) -> Result<Box<dyn GrpcEndpoint>, String>; | COMMENT |
| LOW | grpc/src/rt/mod.rs | 161 | } | COMMENT |
| LOW | grpc/src/status/status_code.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/status/status_code.rs | 41 | COMMENT | |
| LOW | grpc/src/status/status_code.rs | 61 | /// even if the operation has completed successfully. For example, a | COMMENT |
| LOW | grpc/src/status/status_code.rs | 81 | /// instead for those errors). This error code does not imply the | COMMENT |
| LOW | grpc/src/status/status_code.rs | 101 | /// fails because the directory is non-empty, `FAILED_PRECONDITION` | COMMENT |
| 516 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/data/tls/create.sh | 3 | # Create the server CA certs. | COMMENT |
| MEDIUM | examples/data/tls/create.sh | 15 | # Create the client CA certs. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check_license.py | 142 | except Exception as e: | CODE |
| MEDIUM | tools/check_license.py | 168 | print(f"Error running git ls-files: {e}", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | grpc/src/client/load_balancing/mod.rs | 428 | // TODO: implement me. | COMMENT |
| LOW | grpc/src/client/load_balancing/mod.rs | 432 | // TODO: implement me. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tonic/src/codec/decode.rs | 336 | /// # Return value | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check_license.py | 10 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tonic/Cargo.toml | 57 | # harness = false | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tonic-xds/src/xds/resource/san_matcher.rs | 301 | matcher: Some(exact("user@example.com")), | CODE |