AI Slop Code Risk Monitor

umputun/remark42

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

comment engine

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for umputun/remark42, a Go project with 5,641 GitHub stars. SynthScan examined 93,029 lines of code across 586 source files, recording 91 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.6K
Stars
Go
Language
93.0K
Lines of Code
586
Files
91
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 2.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.5/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 5.0/100 · LOW

Which changes need focused human review? 91 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 2LOW 89

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 91 distinct pattern matches across 5 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.

Fake / Example Data54 hits · 66 pts
SeverityFileLineSnippetContext
LOWfrontend/apps/remark42/app/embed.test.ts31 const root = await mount('<iframe title="placeholder"></iframe>');CODE
LOW⚡…rk42/app/components/comment-form/comment-form.spec.tsx117 describe('placeholder', () => {CODE
LOW⚡…rk42/app/components/comment-form/comment-form.spec.tsx120 expect(screen.getByTestId('textarea_1')).toHaveAttribute('placeholder', 'Your comment here');CODE
LOW⚡…rk42/app/components/comment-form/comment-form.spec.tsx125 expect(screen.getByTestId('textarea_1')).toHaveAttribute('placeholder', 'Your reply here');CODE
LOW⚡…rk42/app/components/comment-form/comment-form.spec.tsx130 expect(screen.getByTestId('textarea_1')).toHaveAttribute('placeholder', 'Your comment here');CODE
LOW⚡…rk42/app/components/comment-form/comment-form.spec.tsx135 expect(screen.getByTestId('textarea_1')).toHaveAttribute('placeholder', 'Your reply here');CODE
LOW⚡…rk42/app/components/comment-form/comment-form.spec.tsx142 ${'0'} | ${'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean maCODE
LOW⚡…rk42/app/components/comment-form/comment-form.spec.tsx142 ${'0'} | ${'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean maCODE
LOWbackend/app/cmd/server_test.go601 _, err := app.restSrv.DataService.SetUserEmail("remark", "with_email", "user@example.com")CODE
LOWbackend/app/cmd/server_test.go604 assert.Equal(t, "user@example.com", res.User.Email)CODE
LOWbackend/app/cmd/server_test.go1380 cmd.Notify.Email.From = "from@example.org"CODE
LOWbackend/app/cmd/server_test.go1535 tkn, err = e.TokenGenFn("email_user1", "user1@example.org", "remark")CODE
LOWbackend/app/notify/notify_test.go89 Email: "test@example.org",CODE
LOWbackend/app/notify/notify_test.go109 assert.Equal(t, "test@example.org", verifyDest[0].Email)CODE
LOW⚡backend/app/notify/email_test.go107 assert.EqualError(t, e.SendVerification(context.Background(), VerificationRequest{Email: "bad@example.org", Token: "somCODE
LOW⚡backend/app/notify/email_test.go112 assert.EqualError(t, e.Send(context.Background(), Request{Comment: store.Comment{ID: "999"}, parent: store.Comment{UserCODE
LOW⚡backend/app/notify/email_test.go120 assert.EqualError(t, e.Send(ctx, Request{Comment: store.Comment{ID: "999"}, parent: store.Comment{User: store.User{ID: CODE
LOW⚡backend/app/notify/email_test.go123 assert.EqualError(t, e.Send(context.Background(), Request{Comment: store.Comment{ID: "999"}, parent: store.Comment{UserCODE
LOW⚡backend/app/notify/email_test.go129 Request{Comment: store.Comment{ID: "999"}, parent: store.Comment{User: store.User{ID: "error"}}, Emails: []string{"badCODE
LOWbackend/app/notify/email_test.go149 From: "from@example.org",CODE
LOWbackend/app/notify/email_test.go160 Emails: []string{"test@example.org"},CODE
LOWbackend/app/notify/email_test.go179 email.AdminEmails = []string{"admin@example.org"}CODE
LOWbackend/app/notify/email_test.go182 Emails: []string{"test@example.org"},CODE
LOWbackend/app/notify/email_test.go204 From: "from@example.org",CODE
LOWbackend/app/notify/email_test.go214 Emails: []string{"test@example.org"},CODE
LOWbackend/app/notify/email_test.go245 From: "from@example.org",CODE
LOWbackend/app/notify/email_test.go261 req.Email = "test@example.org"CODE
LOW⚡backend/app/notify/telegram_test.go58 Text: "<b>Lorem ipsum <i>dolor sit amet</i>, consectetur adipiscing <code>elit, sed do eiusmod tempor incididunt</codeCODE
LOW⚡backend/app/notify/telegram_test.go58 Text: "<b>Lorem ipsum <i>dolor sit amet</i>, consectetur adipiscing <code>elit, sed do eiusmod tempor incididunt</codeCODE
LOW⚡backend/app/notify/telegram_test.go63<b>Lorem ipsum <i>dolor sit amet</i>, consectetur adipiscing <code>elit, sed do eiusmod tempor incididunt</code> ut...</CODE
LOW⚡backend/app/notify/telegram_test.go63<b>Lorem ipsum <i>dolor sit amet</i>, consectetur adipiscing <code>elit, sed do eiusmod tempor incididunt</code> ut...</CODE
LOWbackend/app/rest/api/middleware_test.go186 resp, err = http.Get(ts.URL + "?fake_id=anonymous_user123&fake_name=test")CODE
LOWbackend/app/rest/api/middleware_test.go191 resp, err = http.Get(ts.URL + "?fake_id=real_user123&fake_name=test")CODE
LOW⚡backend/app/rest/api/admin_test.go736 email, err := srv.DataService.SetUserEmail("remark42", "user1", "test@example.org")CODE
LOW⚡backend/app/rest/api/admin_test.go738 assert.Equal(t, "test@example.org", email, "new email for user1")CODE
LOW⚡backend/app/rest/api/admin_test.go742 assert.Equal(t, "test@example.org", email, "new email for user1 is readable")CODE
LOWbackend/app/rest/api/rest_test.go727// fake auth middleware make user authenticated and uses query's fake_id for ID and fake_name for NameCOMMENT
LOWbackend/app/rest/api/rest_test.go733 Name: r.URL.Query().Get("fake_name"),CODE
LOW⚡backend/app/store/service/service_test.go994 req := engine.UserDetailRequest{Locator: store.Locator{SiteID: "radio-t"}, UserID: "user2", Detail: engine.UserEmail, UCODE
LOW⚡backend/app/store/service/service_test.go997 assert.Equal(t, []engine.UserDetailEntry{{UserID: "user2", Email: "test@example.org"}}, value)CODE
LOW⚡backend/app/store/service/service_test.go1001 assert.Equal(t, []engine.UserDetailEntry{{UserID: "user3", Email: "test@example.org"}}, value)CODE
LOWbackend/app/store/service/service_test.go1013 assert.Equal(t, "test@example.org", um[1].Details.Email)CODE
LOWbackend/app/store/service/service_test.go1015 assert.Equal(t, "test@example.org", um[2].Details.Email)CODE
LOWbackend/app/store/service/service_test.go1033 um1 := UserMetaData{ID: "user1", Verified: true, Details: engine.UserDetailEntry{Email: "test@example.org"}}CODE
LOWbackend/app/store/service/service_test.go1047 assert.Equal(t, []engine.UserDetailEntry{{UserID: "user1", Email: "test@example.org"}}, val)CODE
LOWbackend/app/store/engine/bolt_test.go858 _, err := b.UserDetail(UserDetailRequest{Locator: loc, UserID: userID, Detail: UserEmail, Update: "user@example.com"})CODE
LOWbackend/app/store/engine/bolt_test.go886 _, err := b.UserDetail(UserDetailRequest{Locator: loc, UserID: userID, Detail: UserEmail, Update: "user@example.com"})CODE
LOWbackend/_example/memory_store/main.go59 Email: "admin@example.com",CODE
LOWbackend/_example/memory_store/server/admin_test.go57 assert.Equal(t, "admin@example.com", email)CODE
LOWbackend/_example/memory_store/server/rpc_test.go58 Email: "admin@example.com",CODE
LOWsite/content/docs/configuration/parameters/index.md119| auth.email.from | AUTH_EMAIL_FROM | | email from (e.g. `john.doeCODE
LOWsite/content/docs/configuration/parameters/index.md132| notify.email.from_address | NOTIFY_EMAIL_FROM | | from email address (e.g. `CODE
LOWe2e/widgets_test.go292 got, perr := textarea.GetAttribute("placeholder")CODE
LOWe2e/config_test.go165 placeholder, err := frame.Locator(commentFormSel).First().Locator("textarea").GetAttribute("placeholder")CODE
Over-Commented Block30 hits · 30 pts
SeverityFileLineSnippetContext
LOWcompose-e2e-test.yml41 - AUTH_ANON=trueCOMMENT
LOWfrontend/apps/remark42/app/typings/global.d.ts1import 'jest-fetch-mock';COMMENT
LOWfrontend/apps/remark42/app/typings/global.d.ts21 // Optional, 'dark' or 'light', 'light' by default. Changes UI theme.COMMENT
LOWbackend/app/rest/image_headers.go41// - Content-Security-Policy: strict, with sandbox — blocks inline scripts and event handlersCOMMENT
LOWbackend/app/rest/proxy/image_test.go441 b, err := io.ReadAll(resp.Body)COMMENT
LOWbackend/app/rest/api/middleware.go241// rest.StrictImageCSP value at the handler level and additionally set Content-Disposition:COMMENT
LOWbackend/app/store/admin/admin_mock.go1// Code generated by moq; DO NOT EDIT.COMMENT
LOWbackend/app/store/admin/admin_mock.go21// panic("mock out the Admins method")COMMENT
LOWbackend/app/store/image/image_mock.go21// mockedStore := &StoreMock{COMMENT
LOWbackend/app/store/image/image_mock.go41// panic("mock out the Save method")COMMENT
LOWbackend/app/store/engine/engine_mock.go21// mockedInterface := &InterfaceMock{COMMENT
LOWbackend/app/store/engine/engine_mock.go41// panic("mock out the Get method")COMMENT
LOWe2e/crossorigin_test.go21// addresses remark42 by remark_config.host. What has to hold is that the frame is revealed at all,COMMENT
LOWe2e/profile_test.go21// about it beyond "it opens" is covered by jest alone: the comment list, the pagination and theCOMMENT
LOWe2e/profile_test.go61 // exactly the page size, not at least it: an API that ignored limit and returned all elevenCOMMENT
LOWe2e/subscribe_test.go21// It is also the only place a token out of a real message is exchanged for state the serverCOMMENT
LOWe2e/subscribe_test.go101}COMMENT
LOWe2e/stamp.sh1#!/bin/shCOMMENT
LOWe2e/e2e_test.go1//go:build e2eCOMMENT
LOWe2e/e2e_test.go141 return regexp.MustCompile(`^https?://(?:` + strings.Join(quoted, "|") + `)(?:/|$)`)COMMENT
LOWe2e/e2e_test.go561 // url carrying the separator its storage used to join on is the case that broke it. onlyCOMMENT
LOWe2e/geometry_test.go21const (COMMENT
LOWe2e/https_test.go21//COMMENT
LOWe2e/https_test.go181 }COMMENT
LOWe2e/https_test.go281// settle. Playwright's Context().Cookies() is a browser-session Storage.getCookies that neverCOMMENT
LOWe2e/telegram_test.go21COMMENT
LOWe2e/thread_test.go181// TestThread_WidgetDocumentServesItsOwnChunks covers the widget document loaded directly on theCOMMENT
LOWe2e/jscoverage_test.go41// It is called before every reload and every navigation as well as at cleanup, becauseCOMMENT
LOWe2e/coverage.sh1#!/bin/shCOMMENT
LOWe2e/tls/generate.sh1#!/bin/shCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcompose-e2e-test.yml3# TRUSTED_PROXY stays unset on every instance. The loopback-only harness gives each browser contextCOMMENT
MEDIUMbackend/app/cmd/backup.go15// ExportPath used as a separate element to leverage BACKUP_PATH. If ExportFile has a path (i.e. with /) BACKUP_PATH ignCOMMENT
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOWfrontend/apps/remark42/app/utils/errorUtils.ts118export function extractErrorMessageFromResponse(response: FetcherError, intl: IntlShape): string {CODE
LOWfrontend/apps/remark42/app/utils/email.ts12export function getDeleteInformationMessage(CODE
LOWfrontend/apps/remark42/app/components/auth/auth.api.ts73 async function handleWindowVisibilityChange() {CODE
LOW…ntend/apps/remark42/app/components/profile/profile.tsx93 async function handleClickRequestRemoveData() {CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ntend/apps/remark42/app/components/profile/profile.tsx231 ) : // TODO: implement hiding user commentsCODE