AI Slop Code Risk Monitor

codenotary/immudb

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

immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for codenotary/immudb, a Go project with 9,048 GitHub stars. SynthScan examined 267,715 lines of code across 1052 source files, recording 222 pattern matches distributed across 10 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-21
Last Push
9.0K
Stars
Go
Language
267.7K
Lines of Code
1.1K
Files
222
Pattern Hits
2026-10-31
Scan Date
0.01
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 4.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.2/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 4.8/100 · LOW

Which changes need focused human review? 222 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 2HIGH 4MEDIUM 3LOW 213

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 222 distinct pattern matches across 10 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 Block173 hits · 173 pts
SeverityFileLineSnippetContext
LOW.golangci.yml101 # call graph construction algorithm (cha, rta). In general, use cha for libraries,COMMENT
LOW.golangci.yml141 #- goconst # Finds repeated strings that could be replaced by a constant [fast: true]COMMENT
LOW.golangci.yml181 # Show only new issues: if there are unstaged changes or untracked files,COMMENT
LOWcmd/immutest/command/init.go221 // FIXME OGG:COMMENT
LOWcmd/immuadmin/command/stats/statstest/statsResponse.go41# TYPE go_memstats_buck_hash_sys_bytes gaugeCOMMENT
LOWcmd/immuadmin/command/stats/statstest/statsResponse.go61# HELP go_memstats_heap_objects Number of allocated objects.COMMENT
LOWcmd/immuadmin/command/stats/statstest/statsResponse.go81go_memstats_mcache_inuse_bytes 13888COMMENT
LOWcmd/immuadmin/command/stats/statstest/statsResponse.go1761# TYPE process_max_fds gaugeCOMMENT
LOWtools/mtls/generate.sh41echo "100212" > 1_root/serialCOMMENT
LOWtools/mtls/generate.sh181# -newCOMMENT
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOWhelm/values.yaml21# ImmuDB Configuration OptionsCOMMENT
LOWhelm/values.yaml61 pgsql-server-port = 5432COMMENT
LOWembedded/tbtree/snapshot.go381 return nilCOMMENT
LOWembedded/appendable/remoteapp/remote_storage_reader.go21// DefaultReaderRangeCacheSize is the per-window size used by theCOMMENT
LOWembedded/appendable/remoteapp/remote_storage_reader.go41COMMENT
LOWembedded/appendable/remoteapp/remote_storage_reader.go341}COMMENT
LOWembedded/appendable/remoteapp/rustfs_bench_test.go21 "github.com/codenotary/immudb/embedded/remotestorage/s3"COMMENT
LOWembedded/appendable/remoteapp/options.go41COMMENT
LOWembedded/appendable/multiapp/appendable_cache.go21COMMENT
LOWembedded/appendable/multiapp/multi_app.go681// maybePrefetchAheadLocked so the spawned prefetch goroutine can callCOMMENT
LOWembedded/store/options.go221 // first transaction is included in a bulk, subsequent additions onlyCOMMENT
LOWembedded/store/transiency_collision_test.go21// `ErrCannotUpdateKeyTransiency` firing on UPDATE-after-INSERT within aCOMMENT
LOWembedded/store/ongoing_tx.go601 return snap.NewKeyReader(spec)COMMENT
LOWembedded/sql/order_by_projection_regression_test.go21 "fmt"COMMENT
LOWembedded/sql/joint_sort_regression_test.go21 "fmt"COMMENT
LOWembedded/sql/system_tables.go21 "fmt"COMMENT
LOWembedded/sql/system_tables.go41 // Columns is the table's column schema. Must be non-empty. TheCOMMENT
LOWembedded/sql/system_tables.go121 out = append(out, d)COMMENT
LOWembedded/sql/distinct_row_reader.go21 "bytes"COMMENT
LOWembedded/sql/distinct_row_reader_test.go61 err = rowReader.InferParameters(context.Background(), nil)COMMENT
LOWembedded/sql/options.go81 opts.distinctLimit = distinctLimitCOMMENT
LOWembedded/sql/options.go141// indexed VARCHAR columns. The value is clamped to [64, 65535] by Validate.COMMENT
LOWembedded/sql/hash_grouped_row_reader.go21// hashGroupedRowReader implements GROUP BY aggregation using a hash mapCOMMENT
LOWembedded/sql/catalog.go841// loadCatalog (prefix scans + default-expression re-parse) on every NewTx.COMMENT
LOWembedded/sql/max_key_len_test.go21 "strings"COMMENT
LOWembedded/sql/scalar_subquery_params_test.go21 "testing"COMMENT
LOWembedded/sql/scalar_subquery_params_test.go41COMMENT
LOWembedded/sql/joint_row_reader.go361 }COMMENT
LOWembedded/sql/file_sort_pushdown_regression_test.go21 "fmt"COMMENT
LOWembedded/sql/stmt.go1541 // and XORM's per-repo issue-index counter (INSERT ...COMMENT
LOWembedded/sql/stmt.go3821 collectExpParams(t.Exp, params)COMMENT
LOWembedded/sql/stmt.go3861 }COMMENT
LOWembedded/sql/stmt.go4221 // in order by the index scan (groupBySortExps != nil).COMMENT
LOWembedded/sql/stmt.go4681 err = stmt.where.selectorRanges(table, tableRef.Alias(), params, rangesByColID)COMMENT
LOWembedded/sql/stmt.go6741 return "", falseCOMMENT
LOWembedded/sql/stmt.go7661 return falseCOMMENT
LOWembedded/sql/stmt.go8621COMMENT
LOWembedded/sql/stmt.go8641 // reduce() handles real type resolution.COMMENT
LOWembedded/sql/case_when_widening_test.go21 "testing"COMMENT
LOWembedded/sql/case_when_widening_test.go121// widening must NOT leak into arithmetic or comparison operators.COMMENT
LOWembedded/sql/hash_join_reader.go181//COMMENT
LOWembedded/sql/engine.go101 ErrColumnMismatchInUnionStmt = errors.New("column mismatch in union statement")COMMENT
LOWembedded/sql/engine.go641// tryPopulateCatalogCache call sees a coherent (catalog, version) pair —COMMENT
LOWembedded/sql/predicate_pushdown.go41 res = &BinBoolExp{op: And, left: res, right: p}COMMENT
LOWembedded/sql/predicate_pushdown.go121// reference only an INNER join's inner table to that join's cond, andCOMMENT
LOWpkg/integration/replication/docker.go21// "math/rand"COMMENT
LOWpkg/integration/replication/docker.go41COMMENT
LOWpkg/integration/replication/docker.go61// }COMMENT
LOWpkg/integration/replication/docker.go81// func (s *dockerTestServer) startContainer(t *testing.T, runOptions *dockertest.RunOptions) *dockertest.Resource {COMMENT
113 more matches not shown…
Cross-Language Confusion (JS/TS)4 hits · 30 pts
SeverityFileLineSnippetContext
HIGH⚡tools/comparison/mongodb/load.js19 print("Iterations: " + N)CODE
HIGH⚡tools/comparison/mongodb/load.js20 print("Elapsed t.: " + elapsed + " sec")CODE
HIGH⚡tools/comparison/mongodb/load.js21 print("Throughput: " + txSec)CODE
HIGH⚡tools/comparison/mongodb/load.js24print("Starting test...")CODE
Structural Annotation Overuse16 hits · 26 pts
SeverityFileLineSnippetContext
LOWdocs/CONTRIBUTING_SQL.md59### Step 1: Define the function name constantCOMMENT
LOWdocs/CONTRIBUTING_SQL.md70### Step 2: Implement the Function interfaceCOMMENT
LOWdocs/CONTRIBUTING_SQL.md98### Step 3: Register in the builtinFunctions mapCOMMENT
LOWdocs/CONTRIBUTING_SQL.md107### Step 4: Add testsCOMMENT
LOWdocs/CONTRIBUTING_SQL.md121### Step 1: Add keyword to the lexerCOMMENT
LOWdocs/CONTRIBUTING_SQL.md132### Step 2: Declare the token in the grammarCOMMENT
LOWdocs/CONTRIBUTING_SQL.md140### Step 3: Add grammar rulesCOMMENT
LOWdocs/CONTRIBUTING_SQL.md152### Step 4: Add the statement typeCOMMENT
LOW⚡docs/CONTRIBUTING_SQL.md174### Step 5: Regenerate the parserCOMMENT
LOW⚡docs/CONTRIBUTING_SQL.md182### Step 6: Add testsCOMMENT
LOW⚡docs/CONTRIBUTING_SQL.md188### Step 1: Define columnsCOMMENT
LOWdocs/CONTRIBUTING_SQL.md199### Step 2: Implement the resolverCOMMENT
LOWdocs/CONTRIBUTING_SQL.md222### Step 3: Register the resolverCOMMENT
LOWdocs/CONTRIBUTING_SQL.md233### Step 4: Add testsCOMMENT
LOWembedded/sql/stmt.go5472 // Step 1: Execute the base (non-recursive) termCOMMENT
LOWembedded/sql/stmt.go5507 // Step 2: Iteratively execute the recursive termCOMMENT
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALembedded/sql/row_reader.go403 _, err = r.period.start.instant.exp.inferType(cols, params, r.TableAlias())CODE
CRITICALembedded/sql/row_reader.go410 _, err = r.period.end.instant.exp.inferType(cols, params, r.TableAlias())CODE
Fake / Example Data13 hits · 14 pts
SeverityFileLineSnippetContext
LOWcmd/immuadmin/command/login_test.go131 return &schema.LoginResponse{Token: "fake-token"}, nilCODE
LOWdocs/security/vulnerabilities/linear-fake/README.md2552022/09/01 15:20:34 fake-keyCODE
LOWdocs/security/vulnerabilities/linear-fake/README.md2592022/09/01 15:20:34 FAILURE: Client is vulnerable, was able to read two different datasets for same transaction: 'valid-CODE
LOW…/security/vulnerabilities/linear-fake/server/server.go79 a transaction that will contain "fake-key" entryCODE
LOW…y/vulnerabilities/linear-fake/server/go_client_test.go88 require.Equal(t, "fake-key", string(tx2Fake.GetEntries()[0].GetKey()))CODE
LOW…server/data_generation/state_values_generation_test.go76 err = tx.Set(toKV("fake-key"), nil, toKV("fake-value"))CODE
LOW…server/data_generation/state_values_generation_test.go358 // 2 - diverged TX, in linear linking: {"valid-key-0": "valid-value-0"}, in merkle tree hash for: {"fake-key": "fake-vCOMMENT
LOW…server/data_generation/state_values_generation_test.go406 require.Equal(t, toKV("fake-key"), fakeTx2.Entries()[0].key())CODE
LOWembedded/sql/stmt_test.go1389 src: &Varchar{val: `{"name": "John Doe"}`},CODE
LOWembedded/sql/stmt_test.go1390 dst: &JSON{val: map[string]interface{}{"name": "John Doe"}},CODE
LOWembedded/sql/stmt_test.go1678 jsVal := &JSON{val: map[string]interface{}{"name": "John Doe"}}CODE
LOWembedded/sql/stmt_test.go1679 require.Equal(t, jsVal.String(), `{"name":"John Doe"}`)CODE
LOWpkg/integration/sql/sql_test.go553 `INSERT INTO mytable(id, data) VALUES (1, '{"name": "John Doe"}')`,CODE
Example Usage Blocks9 hits · 14 pts
SeverityFileLineSnippetContext
LOWembedded/tbtree/snapshot.go55// Example usage:COMMENT
LOWembedded/tbtree/snapshot.go105// Example usage:COMMENT
LOWembedded/tbtree/snapshot.go165// Example usage:COMMENT
LOWembedded/tbtree/snapshot.go194// Example usage:COMMENT
LOWembedded/tbtree/snapshot.go208// Example usage:COMMENT
LOWembedded/tbtree/snapshot.go245// Example usage:COMMENT
LOWembedded/tbtree/snapshot.go274// Example usage:COMMENT
LOWembedded/tbtree/snapshot.go359// Example usage:COMMENT
LOWembedded/tbtree/snapshot.go401// Example usage:COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.golangci.yml1# This file contains all available configuration optionsCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/codeql.yml59 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWembedded/sql/stmt.go5472 // Step 1: Execute the base (non-recursive) termCOMMENT
LOWembedded/sql/stmt.go5507 // Step 2: Iteratively execute the recursive termCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpkg/pgsql/server/rewrite/rewriter.go20// programme; this is the B1 scaffold with 3 proof-of-concept rules.COMMENT