AI Slop Code RIsk Monitor

hyperium/hyper

An HTTP library for Rust

4.5 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for hyperium/hyper, a Rust project with 16,361 GitHub stars. SynthScan examined 31,719 lines of code across 124 source files, recording 142 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 4.5 (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.

4.5
Adjusted Signal
4.5
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
16.4K
Stars
Rust
Language
31.7K
Lines of Code
124
Files
142
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 20.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 142 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 0 finding(s).

Agent Over-Engineering Ratio 0.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 0 finding(s).

PR Review Velocity Impact 20.1/100 · LOW

Which changes need focused human review? 142 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 0LOW 142

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 142 distinct pattern matches across 2 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.

Over-Commented Block140 hits · 140 pts
SeverityFileLineSnippetContext
LOWcapi/examples/upload.c1#include <stdlib.h>COMMENT
LOWcapi/examples/client.c1#include <stdlib.h>COMMENT
LOWtests/h1_shutdown_while_buffered.rs1// Test: Ensures poll_shutdown() is never called with buffered dataCOMMENT
LOWtests/h1_ready_in_flight.rs1// Test: an HTTP/1 client connection must not report ready while a request isCOMMENT
LOWtests/client.rs3241 assert!(res.is_err(), "should timeout waiting for response");COMMENT
LOWtests/client.rs3261 // one byte of connection window for stream B.COMMENT
LOWtests/h1_flush_before_yield.rs1// Test: `poll_loop` must never yield leaving buffered bytes unflushed.COMMENT
LOWexamples/params.rs21static NOTNUMERIC: &[u8] = b"Number field is not numeric";COMMENT
LOWexamples/hello-http2.rs61 // .await point allows the Tokio runtime to pull the task off of the thread until the taskCOMMENT
LOWexamples/single_threaded.rs1#![deny(warnings)]COMMENT
LOWbenches/connect.rs1#![feature(test)]COMMENT
LOWbenches/connect.rs21// .expect("rt build");COMMENT
LOWsrc/upgrade.rs1//! HTTP Upgrades.COMMENT
LOWsrc/upgrade.rs21//! either the appropriate method, if wanting to `CONNECT`, or headers such asCOMMENT
LOWsrc/upgrade.rs61/// was used to speak HTTP before the upgrade. It can be used directlyCOMMENT
LOWsrc/upgrade.rs81/// HTTP state machine may have already read before completing an upgrade.COMMENT
LOWsrc/upgrade.rs301impl<T: Read + Write + Unpin + 'static> Io for T {}COMMENT
LOWsrc/error.rs1//! Error and Result module.COMMENT
LOWsrc/error.rs21/// is unspecified. **You must not depend on it.** The wording and details mayCOMMENT
LOWsrc/error.rs141 ))]COMMENT
LOWsrc/error.rs161 /// The dispatch task is gone.COMMENT
LOWsrc/error.rs201 /// reason phrase.COMMENT
LOWsrc/error.rs221 /// `content-length` and `transfer-encoding`).COMMENT
LOWsrc/error.rs261 ///COMMENT
LOWsrc/lib.rs1#![deny(missing_docs)]COMMENT
LOWsrc/lib.rs21//!COMMENT
LOWsrc/lib.rs41//! closes the underlying TCP connection. Any subsequent call on the sameCOMMENT
LOWsrc/lib.rs61//! more feature flags that are required for that item to be used.COMMENT
LOWsrc/lib.rs81//! The following is a list of feature flags and their corresponding `RUSTFLAG`:COMMENT
LOWsrc/lib.rs101//! Some parts of hyper are documented as NOT being part of the stable API. TheCOMMENT
LOWsrc/ext/h1_reason_phrase.rs1use bytes::Bytes;COMMENT
LOWsrc/ext/h1_reason_phrase.rs21/// // Print out the non-canonical reason phrase, if it has one...COMMENT
LOWsrc/ext/h1_reason_phrase.rs41COMMENT
LOWsrc/ext/informational.rs1use std::sync::Arc;COMMENT
LOWsrc/ext/mod.rs1//! Extensions for HTTP messages in Hyper.COMMENT
LOWsrc/ext/mod.rs21//! // use the extensionCOMMENT
LOWsrc/ext/mod.rs61#[cfg(all(feature = "http1", feature = "client"))]COMMENT
LOWsrc/ext/mod.rs141/// [`preserve_header_case`] was set to true and the response includedCOMMENT
LOWsrc/ext/mod.rs201#[cfg(feature = "ffi")]COMMENT
LOWsrc/body/incoming.rs21use crate::proto::h2::ping;COMMENT
LOWsrc/body/incoming.rs61/// A sender half created through [`Body::channel()`].COMMENT
LOWsrc/body/mod.rs1//! Streaming bodies for Requests and Responses.COMMENT
LOWsrc/body/mod.rs21//!COMMENT
LOWsrc/body/mod.rs41//!COMMENT
LOWsrc/server/mod.rs1//! HTTP Server.COMMENT
LOWsrc/server/conn/http2.rs21pin_project! {COMMENT
LOWsrc/server/conn/http2.rs121 }COMMENT
LOWsrc/server/conn/http2.rs141 /// See <https://rustsec.org/advisories/RUSTSEC-2024-0003.html> for more information.COMMENT
LOWsrc/server/conn/http2.rs221 /// connection alive.COMMENT
LOWsrc/server/conn/mod.rs1//! Server connection API.COMMENT
LOWsrc/server/conn/http1.rs41 whereCOMMENT
LOWsrc/server/conn/http1.rs61/// http.half_close(false);COMMENT
LOWsrc/server/conn/http1.rs81 h1_header_read_timeout: Dur,COMMENT
LOWsrc/server/conn/http1.rs161 /// Poll the connection for completion, but without calling `shutdown`COMMENT
LOWsrc/server/conn/http1.rs301 /// If this is enabled and a header line does not start with a valid headerCOMMENT
LOWsrc/server/conn/http1.rs321 ///COMMENT
LOWsrc/server/conn/http1.rs361 /// Set a timeout for reading client request headers. If a client does notCOMMENT
LOWsrc/server/conn/http1.rs381 ///COMMENT
LOWsrc/server/conn/http1.rs441 ///COMMENT
LOWsrc/rt/timer.rs1//! Provides a timer trait with timer-like functions.COMMENT
80 more matches not shown…
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWexamples/upgrades.rs110 // Don't forget to enable upgrades on the connection.COMMENT
LOWexamples/upgrades.rs163 // Don't forget to enable upgrades on the connection.COMMENT