AI Slop Code Risk Monitor

mempool/mempool

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

Explore the full Bitcoin ecosystem with mempool.space, or be your own explorer and self-host your own instance with one-click installation on popular Raspberry Pi fullnode distros including Umbrel, Raspiblitz, Start9, and more!

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for mempool/mempool, a TypeScript project with 2,880 GitHub stars. SynthScan examined 195,550 lines of code across 1097 source files, recording 57 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.

0.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
2.9K
Stars
TypeScript
Language
195.6K
Lines of Code
1.1K
Files
57
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 1.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.9/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 3.4/100 · LOW

Which changes need focused human review? 57 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 7HIGH 1MEDIUM 5LOW 44

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 57 distinct pattern matches across 11 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.

Hallucination Indicators7 hits · 70 pts
SeverityFileLineSnippetContext
CRITICAL…tning/nodes-per-isp/nodes-per-isp-preview.component.ts45 id: this.route.snapshot.params.isp.split(',').join(', ')CODE
CRITICAL…app/lightning/nodes-per-isp/nodes-per-isp.component.ts45 id: this.route.snapshot.params.isp.split(',').join(', ')CODE
CRITICAL…ponents/custom-dashboard/custom-dashboard.component.ts310 if (this.stateService.env.customize && this.stateService.env.customize.dashboard.widgets.some(w => w.props?.address)CODE
CRITICAL…ponents/custom-dashboard/custom-dashboard.component.ts311 let addressString = this.stateService.env.customize.dashboard.widgets.find(w => w.props?.address).props.address;CODE
CRITICAL…ponents/custom-dashboard/custom-dashboard.component.ts383 if (this.stateService.env.customize && this.stateService.env.customize.dashboard.widgets.some(w => w.props?.wallet))CODE
CRITICAL…ponents/custom-dashboard/custom-dashboard.component.ts384 const walletName = this.stateService.env.customize.dashboard.widgets.find(w => w.props?.wallet).props.wallet;CODE
CRITICAL…t-address-scripts/taproot-address-scripts.component.ts443 const [txid, vinIndex] = e.data.value.script.vinId.split(':');CODE
Hyper-Verbose Identifiers23 hits · 23 pts
SeverityFileLineSnippetContext
LOWfrontend/src/app/shared/transaction.utils.ts205export function extractDERSignaturesWitness(witness: string[]): SigInfo[] {CODE
LOWfrontend/src/app/shared/transaction.utils.ts699function isNonStandardLegacySigops(tx: Transaction, height?: number, network?: string): boolean {CODE
LOWfrontend/src/app/shared/transaction.utils.ts979export function identifyPrioritizedTransactions(transactions: TransactionStripped[]): { prioritized: string[], deprioritCODE
LOWfrontend/src/app/shared/script.utils.ts422export function parseTapscriptUnanimousMultisig(script: string): undefined | number {CODE
LOWfrontend/src/app/shared/address-utils.ts390export function checkedCompareAddressStrings(a: string, b: string, type: AddressType, network: string): AddressSimilaritCODE
LOWfrontend/src/app/shared/ord/inscription.utils.ts286export function littleEndianBytesToNumber(byteArray: Uint8Array): number {CODE
LOW…d/src/app/components/cluster-diagram/cluster-layout.ts492function initialHorizontalOrdering(cellIndex: Map<string, Seg[]>, edges: GridEdge[]): Map<string, CellOrder> {CODE
LOW…d/src/app/components/cluster-diagram/cluster-layout.ts1153function computeAlternativeWaypoints(CODE
LOW…d/src/app/components/cluster-diagram/cluster-layout.ts1243function connectDisconnectedRegions(cells: Set<string>, bridges: Set<string>, blocked: Set<string>): void {CODE
LOW…d/src/app/components/block-overview-graph/tx-sprite.ts177function interpolateAttributeStart(attribute: InterpolatedAttribute, start: DOMHighResTimeStamp): void {CODE
LOWfrontend/src/resources/wallycore/wallycore.js380 function updateGlobalBufferAndViews(buf) {CODE
LOWfrontend/src/resources/wallycore/wallycore.js547 function receiveInstantiatedSource(output) {CODE
LOWbackend/eslint-local-rules/index.js305 function thisMethodIsAnnotatedSafe(memberExpr) {CODE
LOWbackend/src/utils/file-read.ts252export function getBlockFirstSeenFromLogs(hash: string, blockTimestamp: number, oldestLogTimestamp: number): number | nuCODE
LOWbackend/src/utils/file-read.ts274export function scanLogsForBlocksFirstSeen(blocks: { hash: string; timestamp: number }[], oldestLogTimestamp: number): {CODE
LOWbackend/src/utils/file-read.ts380export function getOldestLogTimestampFromLogs(filePath: string): number | null {CODE
LOWbackend/src/utils/bitcoin-script.ts206export function parseDATUMTemplateCreator(coinbaseRaw: string): string[] | null {CODE
LOWbackend/src/cluster-mempool/linearize.ts1307function insertSortedCanonicalChunk(ready: number[], idx: number, chunks: LinearizationChunk[], maxOrder: number[]): voiCODE
LOWbackend/src/api/cpfp.ts183export function calculateClusterMempoolBlockCpfp(height: number, transactions: MempoolTransactionExtended[], acceleratioCODE
LOWbackend/src/api/block-processor.ts175function saveCpfpDataToTransactions(transactions: MempoolTransactionExtended[], cpfpData: BlockCpfpData): void {CODE
LOWbackend/src/api/block-processor.ts183export function saveCpfpDataToCpfpSummary(transactions: MempoolTransactionExtended[], cpfpData: BlockCpfpData): CpfpSummCODE
LOW…end/src/api/lightning/clightning/clightning-convert.ts161export async function convertAndmergeBidirectionalChannels(clChannels: any[]): Promise<ILightningApi.Channel[]> {CODE
LOWbackend/src/api/services/wallets.ts322function convertBalancesToWalletAddress(wallet: string, balances: { balance: number, time: number }[]): WalletAddress {CODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…end/src/__e2e__/cluster-mempool/harness/run-harness.ts25// ─── CLI Parsing (must happen before backend imports) ───────────────────────COMMENT
MEDIUM…end/src/__e2e__/cluster-mempool/harness/run-harness.ts72// ─── Backend Module Loading ─────────────────────────────────────────────────COMMENT
MEDIUM…end/src/__e2e__/cluster-mempool/harness/run-harness.ts92// ─── Main Harness ───────────────────────────────────────────────────────────COMMENT
MEDIUM…end/src/__e2e__/cluster-mempool/harness/run-harness.ts448// ─── Entry Point ────────────────────────────────────────────────────────────COMMENT
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOWdocker/backend/wait-for-it.sh151 # Check if busybox timeout uses -t flagCOMMENT
LOWfrontend/src/locale/duplicates.sh5# Check if file existsCOMMENT
LOWbackend/scripts/test-with-db.sh42# Set trap to cleanup on exitCOMMENT
LOWbackend/scripts/test-with-db.sh97# Check if server is still runningCOMMENT
LOWbackend/scripts/debug-integration-tests.sh20# Check if MariaDB is runningCOMMENT
LOW.github/workflows/backend-integration.yml123 # Check if server is still runningCOMMENT
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOWfrontend/cypress/support/commands.ts1// ***********************************************COMMENT
LOWfrontend/cypress/support/commands.ts21// create various custom commands and overwriteCOMMENT
LOWfrontend/cypress/support/e2e.ts1// ***********************************************************COMMENT
LOWfrontend/src/app/shared/sha256.ts1// SHA-256 (+ HMAC and PBKDF2) for JavaScript.COMMENT
LOWrust/gbt/src/lib.rs141/// clusters: A 2D Vector of transaction IDs representing clusters of dependent mempool transactionsCOMMENT
LOWbackend/testSetup.integration.ts1// Integration test setup - uses real implementations, not mocksCOMMENT
LOWscripts/update-umbrel-mempool.sh1#!/usr/bin/env bashCOMMENT
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡…end/src/__e2e__/cluster-mempool/harness/run-harness.ts129 // Step 1: Fetch full mempoolCOMMENT
LOW⚡…end/src/__e2e__/cluster-mempool/harness/run-harness.ts139 // Step 2: Initialize ClusterMempoolCOMMENT
LOW…end/src/__e2e__/cluster-mempool/harness/run-harness.ts283 // Step 1: Get Core's block templateCOMMENT
Structural Annotation Overuse3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡…end/src/__e2e__/cluster-mempool/harness/run-harness.ts129 // Step 1: Fetch full mempoolCOMMENT
LOW⚡…end/src/__e2e__/cluster-mempool/harness/run-harness.ts139 // Step 2: Initialize ClusterMempoolCOMMENT
LOW…end/src/__e2e__/cluster-mempool/harness/run-harness.ts283 // Step 1: Get Core's block templateCOMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHbackend/mempool-config.sample.json172 "API_KEY": "your-api-key-from-freecurrencyapi.com"CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMbackend/src/api/common.ts1232 // Definitely taproot. Get scriptCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/update-umbrel-mempool.sh16# Usage:COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ock-overview-graph/block-overview-graph.component.html22 <div *ngIf="!webGlEnabled" class="placeholder">CODE