AI Slop Code Risk Monitor

redis/node-redis

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

Redis Node.js client

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for redis/node-redis, a TypeScript project with 17,592 GitHub stars. SynthScan examined 165,589 lines of code across 1608 source files, recording 133 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
17.6K
Stars
TypeScript
Language
165.6K
Lines of Code
1.6K
Files
133
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 3.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.0/100 · LOW

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

Agent Over-Engineering Ratio 1.4/100 · LOW

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

PR Review Velocity Impact 4.9/100 · LOW

Which changes need focused human review? 133 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 6MEDIUM 1LOW 126

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 133 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 Block78 hits · 77 pts
SeverityFileLineSnippetContext
LOWdoctests/query-agg.js41 expression: '@price - (@price * 0.1)',COMMENT
LOWdoctests/query-ft.js61// REMOVE_ENDCOMMENT
LOWdoctests/cmds-servermgmt.js21COMMENT
LOWdoctests/query-combined.js81// documents: [ { id: 'bicycle:5', value: [Object: null prototype] } ]COMMENT
LOWdoctests/query-combined.js101// STEP_START combined3COMMENT
LOWdoctests/query-combined.js121//{COMMENT
LOWdoctests/query-combined.js141// { id: 'bicycle:0', value: [Object: null prototype] },COMMENT
LOWdoctests/query-combined.js181//}COMMENT
LOWdoctests/query-em.js61}COMMENT
LOWdoctests/dt-ss.js41COMMENT
LOWdoctests/dt-time-series.js261// label in the results.COMMENT
LOWdoctests/dt-time-series.js281const res31 = await client.ts.mRevRangeSelectedLabels(COMMENT
LOWdoctests/dt-time-series.js461COMMENT
LOWdoctests/query-vector.js101// REMOVE_STARTCOMMENT
LOWdoctests/query-geo.js61console.log(res3.total); // >>> 5COMMENT
LOWdoctests/query-range.js41const res1 = await client.ft.search('idx:bicycle', '@price:[500 1000]');COMMENT
LOWdoctests/query-range.js61// STEP_ENDCOMMENT
LOWexamples/time-series.js81COMMENT
LOWexamples/time-series.js101 // {COMMENT
LOWexamples/search-json.js101// "total": 1,COMMENT
LOWexamples/search-json.js141// {COMMENT
LOWexamples/rate-limiter.js1// This example demonstrates a simple fixed-window rate limiter using Redis.COMMENT
LOWexamples/cuckoo-filter.js61COMMENT
LOWexamples/search-hashes.js61// { COMMENT
LOWexamples/stream-consumer-group.js1// A sample stream consumer using the blocking variant of XREADGROUP.COMMENT
LOWexamples/stream-consumer-group.js61 id: '>' // Next entry ID that no consumer in this group has readCOMMENT
LOWexamples/stream-consumer-group.js81 // "num": "999"COMMENT
LOWexamples/bloom-filter.js61]);COMMENT
LOWexamples/search-knn.js61// results:COMMENT
LOWexamples/search-knn.js81// }COMMENT
LOWexamples/topk.js61// [COMMENT
LOWexamples/multi-db-failover.js1// Multi-database client with automatic failover between two Redis endpoints.COMMENT
LOWexamples/search-hybrid.js121// results:COMMENT
LOWexamples/search-hybrid.js141// price: '79',COMMENT
LOWpackages/time-series/README.md81const toTimestamp = 1640995260000; // Jan 1 2022 00:01:00COMMENT
LOWpackages/time-series/README.md141### Retrieving Information about the timeseries Stored in RedisCOMMENT
LOWpackages/time-series/README.md161// chunkType: 'uncompressed',COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts1// import { RedisCommandArguments } from '@redis/client/lib/commands';COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts21// transformRangeReply,COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts41// );COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts61// describe('pushRetentionArgument', () => {COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts81// });COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts101// );COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts121// );COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts141COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts161COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts181// assert.deepEqual(COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts201COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts221// it('without options', () => {COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts241// }),COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts261// assert.deepEqual(COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts281// });COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts301COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts321// pushMRangeArguments([], '-', '+', 'label=value'),COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts341// pushMRangeWithLabelsArguments([], '-', '+', 'label=value'),COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts361// transformMRangeReply([[COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts381// transformMRangeWithLabelsReply([[COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts401COMMENT
LOWpackages/time-series/lib/commands/index.spec.ts421// );COMMENT
LOWpackages/json/lib/commands/RESP.spec.ts21 });COMMENT
18 more matches not shown…
Cross-Language Confusion (JS/TS)6 hits · 68 pts
SeverityFileLineSnippetContext
HIGH⚡examples/check-connection-status.js8// isOpen will return False here as the client's socket is not open yet.COMMENT
HIGH⚡examples/check-connection-status.js9// isReady will return False here, client is not yet ready to use.COMMENT
HIGH⚡examples/check-connection-status.js17// isOpen will return True here as the client's socket is open now.COMMENT
HIGH⚡examples/check-connection-status.js18// isReady will return False here as the promise hasn't resolved yet.COMMENT
HIGH⚡examples/check-connection-status.js24// isOpen will return True here as the client's socket is open now.COMMENT
HIGH⚡examples/check-connection-status.js25// isReady will return True here, client is ready to use.COMMENT
Hyper-Verbose Identifiers48 hits · 48 pts
SeverityFileLineSnippetContext
LOW…eries/lib/commands/MRANGE_SELECTED_LABELS_MULTIAGGR.ts41export function createTransformMRangeSelectedLabelsMultiArguments(command: RedisArgument) {CODE
LOWpackages/time-series/lib/commands/helpers.ts57export function transformTimestampArgument(timestamp: Timestamp): string {CODE
LOWpackages/time-series/lib/commands/helpers.ts86export function parseRangeCommonArguments(CODE
LOWpackages/time-series/lib/commands/helpers.ts128export function parseExcludeEmptyArgument(parser: CommandParser, excludeEmpty?: boolean) {CODE
LOWpackages/time-series/lib/commands/helpers.ts329export function parseSelectedLabelsArguments(CODE
LOWpackages/time-series/lib/commands/helpers.ts344export function parseQueryLabelsFilterArgument(CODE
LOW…ime-series/lib/commands/MRANGE_WITHLABELS_MULTIAGGR.ts39export function createTransformMRangeWithLabelsMultiArguments(command: RedisArgument) {CODE
LOWpackages/time-series/lib/commands/RANGE_MULTIAGGR.ts71export function transformRangeMultiArguments(CODE
LOWpackages/time-series/lib/commands/MRANGE_MULTIAGGR.ts36export function createTransformMRangeMultiArguments(command: RedisArgument) {CODE
LOWpackages/time-series/lib/commands/MRANGE_WITHLABELS.ts32export function createTransformMRangeWithLabelsArguments(command: RedisArgument) {CODE
LOW…ges/time-series/lib/commands/MRANGE_SELECTED_LABELS.ts34export function createTransformMRangeSelectedLabelsArguments(command: RedisArgument) {CODE
LOWpackages/time-series/lib/commands/MRANGE.ts29export function createTransformMRangeArguments(command: RedisArgument) {CODE
LOWpackages/time-series/lib/commands/MRANGE_GROUPBY.ts71export function createTransformMRangeGroupByArguments(command: RedisArgument) {CODE
LOW…-series/lib/commands/MRANGE_SELECTED_LABELS_GROUPBY.ts24export function createMRangeSelectedLabelsGroupByTransformArguments(CODE
LOW…/time-series/lib/commands/MRANGE_WITHLABELS_GROUPBY.ts30export function createMRangeWithLabelsGroupByTransformArguments(command: RedisArgument) {CODE
LOWpackages/test-utils/lib/dockers.ts182export async function spawnProxiedRedisServerDocker(CODE
LOWpackages/test-utils/lib/dockers.ts327export async function spawnTlsRedisServerDocker(CODE
LOWpackages/test-utils/lib/dockers.ts457function clusterNodeExtraArguments(dockersConfig: RedisServerDockerOptions): Promise<Array<string>> {CODE
LOWpackages/test-utils/lib/dockers.ts481async function spawnRedisClusterNodeDockers(CODE
LOWpackages/test-utils/lib/dockers.ts540async function spawnRedisClusterNodeDocker(CODE
LOWpackages/search/lib/commands/PROFILE_SEARCH.ts23export function extractProfileResultsReply(reply: ReplyUnion): ReplyUnion {CODE
LOWpackages/search/lib/commands/PROFILE_SEARCH.ts46function normalizeLegacyProfileReply(profile: ReplyUnion): ReplyUnion {CODE
LOWpackages/search/lib/commands/HYBRID.ts439function transformHybridSearchResults(reply: unknown): HybridSearchResult {CODE
LOWpackages/search/lib/commands/CREATE.ts179function parseCommonSchemaFieldOptions(parser: CommandParser, fieldOptions: SchemaCommonField) {CODE
LOW…kages/client/scripts/generate-command-metadata-data.ts50function sortModuleMetadataRecords(records: ModuleMetadataRecords): ModuleMetadataRecords {CODE
LOW…s/client/lib/tests/test-scenario/test-scenario.util.ts251export function newConnectionReceivedSmigraging(cluster: RedisClusterType<{}, {}, {}, 3, {}>, timeout = 500) {CODE
LOWpackages/client/lib/commands/GEORADIUS_WITH.ts7export function parseGeoRadiusWithArguments(CODE
LOW…kages/client/lib/commands/generic-transformers.spec.ts80function pushOptionalVariadicArgument(CODE
LOWpackages/client/lib/commands/GEORADIUSBYMEMBER_WITH.ts6export function parseGeoRadiusByMemberWithArguments(CODE
LOWpackages/client/lib/commands/GEORADIUSBYMEMBER.ts5export function parseGeoRadiusByMemberArguments(CODE
LOWpackages/client/lib/commands/generic-transformers.ts41export function transformStringDoubleArgument(num: RedisArgument | number): RedisArgument {CODE
LOWpackages/client/lib/commands/generic-transformers.ts256export function pushVariadicNumberArguments(CODE
LOWpackages/client/lib/commands/generic-transformers.ts286export function parseOptionalVariadicArgument(CODE
LOWpackages/client/lib/commands/generic-transformers.ts576export function transformFunctionListItemReply(reply: FunctionListRawItemReply): FunctionListItemReply {CODE
LOWpackages/client/lib/commands/generic-transformers.ts713export function transformStreamMessageReply(typeMapping: TypeMapping | undefined, reply: StreamMessageRawReply): StreamMCODE
LOWpackages/client/lib/commands/generic-transformers.ts725export function transformStreamMessageNullReply(typeMapping: TypeMapping | undefined, reply: StreamMessageRawReply | NulCODE
LOWpackages/client/lib/commands/generic-transformers.ts736export function transformStreamMessagesReply(CODE
LOWpackages/client/lib/commands/generic-transformers.ts924export function transformRedisJsonArgument(json: RedisJSON): string {CODE
LOWpackages/client/lib/commands/generic-transformers.ts935export function transformRedisJsonNullReply(json: NullReply | BlobStringReply, reviver?: JsonReviver ): NullReply | RediCODE
LOWpackages/client/lib/commands/VLINKS_WITHSCORES.ts6function transformVLinksWithScoresReply(CODE
LOWpackages/client/lib/client/index.ts48function assertNoHimportSessionCommands(commands: Array<RedisMultiQueuedCommand>) {CODE
LOWpackages/client/lib/client/index.ts74function assertNoCscManagedCommands(commands: Array<RedisMultiQueuedCommand>) {CODE
LOWpackages/client/types-tests/hello.types-test.ts17export function helloModulesAreStructured(entry: ModuleEntry): void {CODE
LOWpackages/client/types-tests/migrate-reply.types-test.ts13export function migrateReplyIncludesNokey(reply: Awaited<ReturnType<Client['migrate']>>): void {CODE
LOW…ckages/client/types-tests/latency-events.types-test.ts12export async function latencyCommandsAcceptSampledEvents(client: ReturnType<typeof createClient>): Promise<void> {CODE
LOWpackages/client/types-tests/role-states.types-test.ts18export function roleSlaveStateCoversServerStates(reply: RoleReply): void {CODE
LOWpackages/client/types-tests/command-docs.types-test.ts20export function commandDocsArgumentFlagsAreSets(arg: CommandDocsArgument): void {CODE
LOWpackages/client/types-tests/xtrim-limit.types-test.ts12export function xtrimLimitRequiresApproximateModifier(): void {CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…lient/lib/tests/test-scenario/fault-injector-client.ts3// TODO remove types and utilize IFaultInjectorClientCOMMENT