AI Slop Code Risk Monitor

valyala/fasthttp

SlopCodeMonitor badge for valyala/fasthttp Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http

2.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for valyala/fasthttp, a Go project with 23,499 GitHub stars. SynthScan examined 83,173 lines of code across 180 source files, recording 223 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.3
Adjusted Signal
2.3
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
23.5K
Stars
Go
Language
83.2K
Lines of Code
180
Files
223
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 11.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 223 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 12.6/100 · LOW

Which changes need focused human review? 223 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 223

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 223 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.

Over-Commented Block213 hits · 180 pts
SeverityFileLineSnippetContext
LOWheader.go241COMMENT
LOWheader.go561//COMMENT
LOWheader.go581// SetTrailerBytes sets Trailer header value for chunked responseCOMMENT
LOWheader.go741COMMENT
LOWheader.go781 ErrNonNumericChars = errors.New("fasthttp: non-numeric chars found")COMMENT
LOWheader.go961// as defined by RFC 7230.COMMENT
LOWheader.go1401// Examples:COMMENT
LOWheader.go1661// is passed in value on each f invocation. Value may be parsedCOMMENT
LOWheader.go1761// To get the headers in order they were received use VisitAllInOrder.COMMENT
LOWheader.go2061 return falseCOMMENT
LOWheader.go2081// Multiple headers with the same key may be added with this function.COMMENT
LOWheader.go2101// while Set-Cookie will not clear previous cookies.COMMENT
LOWheader.go2141}COMMENT
LOWheader.go2161//COMMENT
LOWheader.go2221func (h *RequestHeader) SetCookieBytesK(key []byte, value string) {COMMENT
LOWheader.go2261// c.SetExpire(CookieExpireDelete)COMMENT
LOWheader.go2321// Multiple headers with the same key may be added with this function.COMMENT
LOWheader.go2341// AddBytesKV adds the given 'key: value' header.COMMENT
LOWheader.go2361// Set sets the given 'key: value' header.COMMENT
LOWheader.go2381// it will be sent after the chunked request body.COMMENT
LOWheader.go2401}COMMENT
LOWheader.go2441 return h.peek(h.bufK)COMMENT
LOWheader.go3161 // Content-Length is allowed, because it describes the corresponding 200COMMENT
LOWheader.go3241}COMMENT
LOWheader.go4181COMMENT
LOWheader_regression_test.go41 t.Fatalf("missing custom content-type: %q", s)COMMENT
LOWserver.go21var errNoCertOrKeyProvided = errors.New("cert or key has not provided")COMMENT
LOWserver.go141// Consider wrapping RequestHandler into TimeoutHandler if response timeCOMMENT
LOWserver.go181 // * io.EOFCOMMENT
LOWserver.go201 // The default is to automatically read request bodies of Expect 100 Continue requestsCOMMENT
LOWserver.go221 // The default behavior (when neither handler is set) is to automatically acceptCOMMENT
LOWserver.go261COMMENT
LOWserver.go281COMMENT
LOWserver.go301 // By default request read timeout is unlimited.COMMENT
LOWserver.go321COMMENT
LOWserver.go341 // TCP keep-alive period is determined by operation system by default.COMMENT
LOWserver.go381 //COMMENT
LOWserver.go401 //COMMENT
LOWserver.go421 DisablePreParseMultipartForm boolCOMMENT
LOWserver.go441 // Header names are passed as-is without normalizationCOMMENT
LOWserver.go461 //COMMENT
LOWserver.go481COMMENT
LOWserver.go501COMMENT
LOWserver.go561 // writes of the response.COMMENT
LOWserver.go601// CompressHandlerBrotliLevel returns RequestHandler that transparently compressesCOMMENT
LOWserver.go641// If holding RequestCtx references after the return is unavoidableCOMMENT
LOWserver.go681 connRequestNum uint64COMMENT
LOWserver.go701// See: https://developer.chrome.com/docs/web-platform/early-hints andCOMMENT
LOWserver.go761COMMENT
LOWserver.go781// of the following holds:COMMENT
LOWserver.go821}COMMENT
LOWserver.go1181COMMENT
LOWserver.go1201//COMMENT
LOWserver.go1221// isn't 'multipart/form-data'.COMMENT
LOWserver.go1241//COMMENT
LOWserver.go1341//COMMENT
LOWserver.go1541}COMMENT
LOWserver.go1561// The redirect uri may be either absolute or relative to the currentCOMMENT
LOWserver.go1581 ReleaseURI(u)COMMENT
LOWserver.go1641// SetBodyString sets response body to the given value.COMMENT
153 more matches not shown…
Example Usage Blocks8 hits · 12 pts
SeverityFileLineSnippetContext
LOWfasthttpproxy/http.go13// Example usage:COMMENT
LOWfasthttpproxy/http.go26// Example usage:COMMENT
LOWfasthttpproxy/http.go40// Example usage:COMMENT
LOWfasthttpproxy/http.go53// Example usage:COMMENT
LOWfasthttpproxy/proxy_env.go17// Example usage:COMMENT
LOWfasthttpproxy/proxy_env.go30// Example usage:COMMENT
LOWfasthttpproxy/socks5.go11// Example usage:COMMENT
LOWfasthttpproxy/socks5.go25// Example usage:COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtcplisten/tcplisten_other.go10 // TODO: implement SO_ACCEPTFILTER:dataready hereCOMMENT
LOWtcplisten/tcplisten_other.go15 // TODO: implement TCP_FASTOPEN when it will be readyCOMMENT