AI Slop Code Risk Monitor

axllent/mailpit

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

An email and SMTP testing tool with API for developers

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for axllent/mailpit, a Go project with 10,805 GitHub stars. SynthScan examined 53,586 lines of code across 220 source files, recording 74 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.4 (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.

1.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.8K
Stars
Go
Language
53.6K
Lines of Code
220
Files
74
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 6.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 7.2/100 · LOW

Which changes need focused human review? 74 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 3LOW 71

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 74 distinct pattern matches across 4 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 Block63 hits · 63 pts
SeverityFileLineSnippetContext
LOWinternal/thumbnail/thumbnail.go21 xdraw "golang.org/x/image/draw"COMMENT
LOWinternal/thumbnail/exif.go21 jpegRSTMax = 0xD7COMMENT
LOWinternal/smtpd/smtpd_test.go1021// file, err = os.CreateTemp("", "")COMMENT
LOWinternal/smtpd/smtpd_test.go1041// BAMMCWxvY2FsaG9zdDAgFw0xODA0MjAxMzMxNTBaGA8yMDg2MDUwODEzMzE1MFowCOMMENT
LOWinternal/smtpd/smtpd_test.go1061// Proc-Type: 4,ENCRYPTEDCOMMENT
LOWinternal/smtpd/smtpd_test.go1081// ehzHKGHXVGf7ZiSFF+zAHMXZRSwNVMkOYwlIoRg1IbvIRbAXqAR6xXQTCVzNG0SUCOMMENT
LOWinternal/smtpd/smtpd_test.go1381 cmdCode(t, tlsConn, "EHLO host.example.com", "250")COMMENT
LOWinternal/smtpd/smtpd_test.go1441COMMENT
LOWinternal/smtpd/smtpd_test.go1501 // AUTH PLAIN with TLS in use can proceed.COMMENT
LOWinternal/smtpd/smtpd_test.go1601func TestCmdAUTHCRAMMD5(t *testing.T) {COMMENT
LOWinternal/smtpd/smtpd.go161// certPEMBlock, err := os.ReadFile(certFile)COMMENT
LOWinternal/htmlcheck/structs.go41// Result structCOMMENT
LOWserver/cors.go21 // attacker who rebinds a name they control to Mailpit's listen addressCOMMENT
LOWserver/cors.go61// the configured allowlist. When AllowedHosts is unset the check is a no-opCOMMENT
LOWserver/cors_test.go121 allowed := corsOriginAccessControl(req)COMMENT
LOWserver/apiv1/swaggerParams.go1// Package apiv1 provides the API v1 endpoints for Mailpit.COMMENT
LOWserver/apiv1/swaggerParams.go21 // in: pathCOMMENT
LOWserver/apiv1/swaggerParams.go41// swagger:parameters GetMessageParamsCOMMENT
LOWserver/apiv1/swaggerParams.go61 // Pagination offsetCOMMENT
LOWserver/apiv1/swaggerParams.go81type setReadStatusParams struct {COMMENT
LOWserver/apiv1/swaggerParams.go101 // example: tag:backupsCOMMENT
LOWserver/apiv1/swaggerParams.go121 // example: ["4oRBnPtCXgAqZniRhzLNmS", "hXayS6wnCgNnt6aFTvmOF6"]COMMENT
LOWserver/apiv1/swaggerParams.go141 Start string `json:"start"`COMMENT
LOWserver/apiv1/swaggerParams.go161 // Search queryCOMMENT
LOWserver/apiv1/swaggerParams.go181 // description: Message database ID or "latest"COMMENT
LOWserver/apiv1/swaggerParams.go201COMMENT
LOWserver/apiv1/swaggerParams.go221// swagger:parameters SendMessageParamsCOMMENT
LOWserver/apiv1/swaggerParams.go241 // example: Jane DoeCOMMENT
LOWserver/apiv1/swaggerParams.go261 // example: ["jack@example.com"]COMMENT
LOWserver/apiv1/swaggerParams.go281 Text stringCOMMENT
LOWserver/apiv1/swaggerParams.go321 // in: bodyCOMMENT
LOWserver/apiv1/swaggerParams.go341 // in: pathCOMMENT
LOWserver/apiv1/swaggerParams.go361 // required: trueCOMMENT
LOWserver/apiv1/swaggerParams.go381 // type: stringCOMMENT
LOWserver/apiv1/swaggerParams.go401}COMMENT
LOWserver/apiv1/release.go21 // swagger:route POST /api/v1/message/{ID}/release message ReleaseMessageParamsCOMMENT
LOWserver/apiv1/tags.go21 //COMMENT
LOWserver/apiv1/tags.go41 //COMMENT
LOWserver/apiv1/tags.go81COMMENT
LOWserver/apiv1/tags.go121 _, _ = w.Write([]byte("ok"))COMMENT
LOWserver/apiv1/other.go21 //COMMENT
LOWserver/apiv1/other.go81COMMENT
LOWserver/apiv1/other.go141 // swagger:route GET /api/v1/message/{ID}/sa-check other SpamAssassinCheckParamsCOMMENT
LOWserver/apiv1/message.go21 // Returns the summary of a message, marking the message as read.COMMENT
LOWserver/apiv1/message.go61func GetHeaders(w http.ResponseWriter, r *http.Request) {COMMENT
LOWserver/apiv1/message.go121 //COMMENT
LOWserver/apiv1/chaos.go41// SetChaos sets the Chaos configuration.COMMENT
LOWserver/apiv1/send.go21// SendMessageHandler handles HTTP requests to send a new messageCOMMENT
LOWserver/apiv1/messages.go41COMMENT
LOWserver/apiv1/messages.go81 if err := json.NewEncoder(w).Encode(res); err != nil {COMMENT
LOWserver/apiv1/messages.go161 }COMMENT
LOWserver/apiv1/messages.go201 }COMMENT
LOWserver/apiv1/messages.go261 httpError(w, err.Error())COMMENT
LOWserver/apiv1/swaggerResponses.go21COMMENT
LOWserver/apiv1/swaggerResponses.go101type webUIConfigurationResponse struct {COMMENT
LOWserver/apiv1/application.go21 // Produces:COMMENT
LOWserver/apiv1/application.go41 //COMMENT
LOWserver/apiv1/thumbnails.go21 //COMMENT
LOWserver/apiv1/testing.go21 //COMMENT
LOWserver/apiv1/testing.go121 //COMMENT
3 more matches not shown…
Fake / Example Data7 hits · 7 pts
SeverityFileLineSnippetContext
LOWinternal/storage/utils_test.go15 {"plain address unchanged", "user@example.com", "user@example.com"},CODE
LOWserver/server_test.go289 "Name": "John Doe"CODE
LOWserver/server_test.go294 "Name": "Jane Doe"CODE
LOWserver/server_test.go363 assertEqual(t, `"John Doe" <john@example.com>`, msg.From.String(), "wrong HTML")CODE
LOWserver/server_test.go365 assertEqual(t, `"Jane Doe" <jane@example.com>`, msg.To[0].String(), "wrong To address")CODE
LOWserver/ui/api/v1/swagger.json910 "example": "John Doe"CODE
LOWserver/ui/api/v1/swagger.json989 "example": "Jane Doe"CODE
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMserver/apiv1/release.go43 httpError(w, "this functionality has been disabled for demonstration purposes")CODE
MEDIUMserver/apiv1/other.go103 httpError(w, "this functionality has been disabled for demonstration purposes")CODE
MEDIUMserver/apiv1/send.go42 httpJSONError(w, "this functionality has been disabled for demonstration purposes")CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinstall.sh43# Check if the OS is supported.COMMENT