Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
This report summarizes scanner evidence for actix/actix-web, a Rust project with 24,863 GitHub stars. SynthScan examined 96,769 lines of code across 387 source files, recording 506 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 5.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? 483 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 8 finding(s).
Which changes need focused human review? 506 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 506 distinct pattern matches across 6 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 | actix-http/examples/tls_rustls.rs | 1 | //! Demonstrates TLS configuration (via Rustls) for HTTP/1.1 and HTTP/2 connections. | COMMENT |
| LOW | actix-http/src/error.rs | 181 | COMMENT | |
| LOW | actix-http/src/error.rs | 261 | COMMENT | |
| LOW | actix-http/src/config.rs | 61 | COMMENT | |
| LOW | actix-http/src/lib.rs | 1 | //! HTTP types and services for the Actix ecosystem. | COMMENT |
| LOW | actix-http/src/service.rs | 41 | /// # Automatic HTTP Version Selection | COMMENT |
| LOW | actix-http/src/keep_alive.rs | 1 | use std::time::Duration; | COMMENT |
| LOW | actix-http/src/extensions.rs | 41 | pub fn new() -> Extensions { | COMMENT |
| LOW | actix-http/src/extensions.rs | 61 | .insert(TypeId::of::<T>(), Box::new(val)) | COMMENT |
| LOW | actix-http/src/extensions.rs | 81 | /// ``` | COMMENT |
| LOW | actix-http/src/extensions.rs | 101 | pub fn get_mut<T: 'static>(&mut self) -> Option<&mut T> { | COMMENT |
| LOW | actix-http/src/extensions.rs | 121 | pub fn get_or_insert<T: 'static>(&mut self, value: T) -> &mut T { | COMMENT |
| LOW | actix-http/src/extensions.rs | 141 | .entry(TypeId::of::<T>()) | COMMENT |
| LOW | actix-http/src/extensions.rs | 161 | pub fn remove<T: 'static>(&mut self) -> Option<T> { | COMMENT |
| LOW | actix-http/src/builder.rs | 101 | self | COMMENT |
| LOW | actix-http/src/responses/builder.rs | 21 | /// | COMMENT |
| LOW | actix-http/src/responses/builder.rs | 61 | /// | COMMENT |
| LOW | actix-http/src/responses/builder.rs | 101 | } | COMMENT |
| LOW | actix-http/src/body/size.rs | 1 | /// Body size hint. | COMMENT |
| LOW | actix-http/src/body/size.rs | 21 | COMMENT | |
| LOW | actix-http/src/body/message_body.rs | 21 | /// - Empty body: `()` | COMMENT |
| LOW | actix-http/src/body/message_body.rs | 41 | /// fn size(&self) -> BodySize { | COMMENT |
| LOW | actix-http/src/body/message_body.rs | 61 | COMMENT | |
| LOW | actix-http/src/body/message_body.rs | 81 | /// method again may panic, block forever, or cause other kinds of problems; this trait places | COMMENT |
| LOW | actix-http/src/body/either.rs | 21 | /// middleware's own error responses use the default `Right` variant of `BoxBody`. Of course, | COMMENT |
| LOW | actix-http/src/body/utils.rs | 1 | use std::{pin::pin, task::Poll}; | COMMENT |
| LOW | actix-http/src/body/utils.rs | 21 | /// | COMMENT |
| LOW | actix-http/src/body/utils.rs | 41 | #[non_exhaustive] | COMMENT |
| LOW | actix-http/src/requests/request.rs | 181 | COMMENT | |
| LOW | actix-http/src/h1/dispatcher.rs | 61 | /// Set if write-half is disconnected. | COMMENT |
| LOW | actix-http/src/h1/dispatcher.rs | 1181 | // | COMMENT |
| LOW | actix-http/src/header/map.rs | 1 | //! A multi-value [`HeaderMap`] and its iterators. | COMMENT |
| LOW | actix-http/src/header/map.rs | 21 | /// | COMMENT |
| LOW | actix-http/src/header/map.rs | 81 | COMMENT | |
| LOW | actix-http/src/header/map.rs | 101 | HeaderMap::default() | COMMENT |
| LOW | actix-http/src/header/map.rs | 161 | /// map.insert(header::ACCEPT, HeaderValue::from_static("text/plain")); | COMMENT |
| LOW | actix-http/src/header/map.rs | 181 | /// | COMMENT |
| LOW | actix-http/src/header/map.rs | 201 | /// map.insert(header::ACCEPT, HeaderValue::from_static("text/plain")); | COMMENT |
| LOW | actix-http/src/header/map.rs | 241 | /// consistent for each call to `get` if the map has not changed. | COMMENT |
| LOW | actix-http/src/header/map.rs | 261 | /// assert!(map.get(header::HOST).is_none()); | COMMENT |
| LOW | actix-http/src/header/map.rs | 281 | /// let mut map = HeaderMap::new(); | COMMENT |
| LOW | actix-http/src/header/map.rs | 301 | /// Returns an iterator over all values associated with a header name. | COMMENT |
| LOW | actix-http/src/header/map.rs | 321 | /// assert!(set_cookies_iter.next().is_none()); | COMMENT |
| LOW | actix-http/src/header/map.rs | 341 | /// | COMMENT |
| LOW | actix-http/src/header/map.rs | 361 | /// # use actix_http::header::{self, HeaderMap, HeaderValue}; | COMMENT |
| LOW | actix-http/src/header/map.rs | 381 | /// let removed = map.insert(header::ACCEPT, HeaderValue::from_static("text/plain")); | COMMENT |
| LOW | actix-http/src/header/map.rs | 401 | /// let mut map = HeaderMap::new(); | COMMENT |
| LOW | actix-http/src/header/map.rs | 421 | } | COMMENT |
| LOW | actix-http/src/header/map.rs | 441 | /// assert!(removed.next().is_none()); | COMMENT |
| LOW | actix-http/src/header/map.rs | 461 | Ok(Cow::Borrowed(name)) => self.inner.remove(name), | COMMENT |
| LOW | actix-http/src/header/map.rs | 481 | /// assert!(map.is_empty()); | COMMENT |
| LOW | actix-http/src/header/map.rs | 501 | /// | COMMENT |
| LOW | actix-http/src/header/map.rs | 521 | /// let mut iter = map.iter(); | COMMENT |
| LOW | actix-http/src/header/map.rs | 541 | } | COMMENT |
| LOW | actix-http/src/header/map.rs | 561 | /// assert_eq!(keys.len(), 2); | COMMENT |
| LOW | actix-http/src/header/map.rs | 601 | COMMENT | |
| LOW | actix-http/src/header/common.rs | 1 | //! Common header names not defined in [`http`]. | COMMENT |
| LOW | actix-http/src/header/common.rs | 21 | /// Response header field that sends a signal to the user agent that it ought to remove all data of | COMMENT |
| LOW | actix-http/src/header/shared/extended.rs | 21 | pub language_tag: Option<LanguageTag>, | COMMENT |
| LOW | actix-http/src/header/shared/extended.rs | 41 | /// mime-charset = 1*mime-charsetc | COMMENT |
| 418 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | actix-web/src/middleware/mod.rs | 87 | //! ╭────────────────────┼────╮ | COMMENT |
| MEDIUM⚡ | actix-web/src/middleware/mod.rs | 89 | //! │ ╭──────────────────┼───╮│ | COMMENT |
| MEDIUM⚡ | actix-web/src/middleware/mod.rs | 91 | //! │ │ ╭────────────────┼──╮││ | COMMENT |
| MEDIUM⚡ | actix-web/src/middleware/mod.rs | 93 | //! │ │ │ ╭──────────────┼─╮│││ | COMMENT |
| MEDIUM⚡ | actix-web/src/middleware/mod.rs | 99 | //! │ │ │ ╰──────────────┼─╯│││ | COMMENT |
| MEDIUM⚡ | actix-web/src/middleware/mod.rs | 100 | //! │ │ ╰────────────────┼──╯││ | COMMENT |
| MEDIUM⚡ | actix-web/src/middleware/mod.rs | 101 | //! │ ╰──────────────────┼───╯│ | COMMENT |
| MEDIUM⚡ | actix-web/src/middleware/mod.rs | 102 | //! ╰────────────────────┼────╯ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | actix-multipart/src/test.rs | 66 | /// Bytes::from_static(b"Lorem ipsum."), | COMMENT |
| LOW | actix-multipart/src/test.rs | 72 | /// assert!(find(&body, b"Lorem ipsum.").is_some()); | COMMENT |
| LOW | actix-multipart/src/test.rs | 267 | Bytes::from_static(b"Lorem ipsum dolor\nsit ame."), | CODE |
| LOW⚡ | actix-multipart/src/test.rs | 281 | Lorem ipsum dolor\n\ | CODE |
| LOW⚡ | actix-multipart/src/test.rs | 291 | Bytes::from_static(b"Lorem ipsum dolor\nsit ame."), | CODE |
| LOW⚡ | actix-multipart/src/test.rs | 301 | Lorem ipsum dolor\n\ | CODE |
| LOW⚡ | actix-multipart/src/test.rs | 309 | TestFormField::new("foo", Bytes::from_static(b"Lorem ipsum dolor\nsit ame.")), | CODE |
| LOW | actix-multipart/src/test.rs | 320 | Lorem ipsum dolor\n\ | CODE |
| LOW | actix-multipart/src/test.rs | 338 | Bytes::from_static(b"Lorem ipsum dolor\nsit ame."), | CODE |
| LOW⚡ | actix-web/src/types/readlines.rs | 185 | b"Lorem Ipsum is simply dummy text of the printing and typesetting\n\ | CODE |
| LOW⚡ | actix-web/src/types/readlines.rs | 186 | industry. Lorem Ipsum has been the industry's standard dummy\n\ | CODE |
| LOW⚡ | actix-web/src/types/readlines.rs | 187 | Contrary to popular belief, Lorem Ipsum is not simply random text.", | CODE |
| LOW⚡ | actix-web/src/types/readlines.rs | 194 | "Lorem Ipsum is simply dummy text of the printing and typesetting\n" | CODE |
| LOW⚡ | actix-web/src/types/readlines.rs | 199 | "industry. Lorem Ipsum has been the industry's standard dummy\n" | CODE |
| LOW⚡ | actix-web/src/types/readlines.rs | 204 | "Contrary to popular belief, Lorem Ipsum is not simply random text." | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | actix-web/src/extract.rs | 23 | /// leverage extractors when implementing middlewares. | COMMENT |
| MEDIUM | actix-web/src/app.rs | 69 | /// Any [`Data<T>`] type added here can utilize its extractor implementation in handlers. | COMMENT |
| MEDIUM | actix-web/src/guard/mod.rs | 9 | //! Fundamentally, a guard is a predicate function that receives a reference to a request context | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | actix-web/src/web.rs | 108 | #[doc = concat!(" In this example, one `", stringify!($method_const), " /{project_id}` route is set up:")] | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | actix-web/src/info.rs | 122 | // TODO: implement https://datatracker.ietf.org/doc/html/rfc7239#section-5.1 | COMMENT |