AI Slop Code RIsk Monitor

prometheus/client_js

Prometheus client for node.js

5.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for prometheus/client_js, a JavaScript project with 3,496 GitHub stars. SynthScan examined 16,962 lines of code across 104 source files, recording 93 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 5.5 (Moderate 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.

5.5
Adjusted Signal
5.5
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
3.5K
Stars
JavaScript
Language
17.0K
Lines of Code
104
Files
93
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 24.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 1.2/100 · LOW

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

PR Review Velocity Impact 24.0/100 · LOW

Which changes need focused human review? 93 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 0LOW 93

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 93 distinct pattern matches across 2 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 Block89 hits · 89 pts
SeverityFileLineSnippetContext
LOWindex.js1// Copyright The Prometheus AuthorsCOMMENT
LOWindex.d.ts1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/validationTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/aggregatorsTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/defaultMetricsTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/exemplarsTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/gaugeTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/pushgatewayWithPathTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/browserCompatibilityTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/pushgatewayTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/summaryTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/counterTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/workerTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/histogramTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/bucketGeneratorsTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/utilTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/typescript.ts1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/timeWindowQuantilesTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metricTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/registerTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/clusterTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/processResourcesTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/processStartTimeTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/processOpenFileDescriptorsTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/heapSizeAndUsedTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/versionTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/processRequestsTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/processHandlesTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/eventLoopLagTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/gcTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/maxFileDescriptorsTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/memoryHelpersTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWtest/metrics/heapSpacesSizeAndUsedTest.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/pushgateway.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/exemplars.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/server.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/gauge.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/histogram-1.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/worker.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/histogram-4.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/histogram-large-memory.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/histogram-3.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/histogram-2.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/counter.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/cluster.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/summary.js1// Copyright The Prometheus AuthorsCOMMENT
LOWexample/default-metrics.js1// Copyright The Prometheus AuthorsCOMMENT
LOWbenchmarks/util.js1// Copyright The Prometheus AuthorsCOMMENT
LOWbenchmarks/registry.js1// Copyright The Prometheus AuthorsCOMMENT
LOWbenchmarks/histogram.js1// Copyright The Prometheus AuthorsCOMMENT
LOWbenchmarks/gauge.js1// Copyright The Prometheus AuthorsCOMMENT
LOWbenchmarks/index.js1// Copyright The Prometheus AuthorsCOMMENT
LOWbenchmarks/counter.js1// Copyright The Prometheus AuthorsCOMMENT
LOWbenchmarks/cluster.js1// Copyright The Prometheus AuthorsCOMMENT
LOWbenchmarks/summary.js1// Copyright The Prometheus AuthorsCOMMENT
LOWbenchmarks/utils/labels.js1// Copyright The Prometheus AuthorsCOMMENT
LOWlib/util.js1// Copyright The Prometheus AuthorsCOMMENT
LOWlib/pushgateway.js1// Copyright The Prometheus AuthorsCOMMENT
LOWlib/registry.js1// Copyright The Prometheus AuthorsCOMMENT
LOWlib/histogram.js1// Copyright The Prometheus AuthorsCOMMENT
29 more matches not shown…
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtest/typescript.ts55async function metricObjectTypesAreExported() {CODE
LOWtest/typescript.ts80async function metricTypeMatchesRuntimeStrings() {CODE
LOWlib/histogram.js290function extractBucketValuesForExport(histogram) {CODE
LOWlib/summary.js128function extractSummariesForExport(summaryOfLabels, percentiles) {CODE