AI Slop Code Risk Monitor

nestjs/nest

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

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

0.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for nestjs/nest, a TypeScript project with 76,952 GitHub stars. SynthScan examined 256,238 lines of code across 2536 source files, recording 45 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.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.

0.2
Adjusted Signal
0.2
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
77.0K
Stars
TypeScript
Language
256.2K
Lines of Code
2.5K
Files
45
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 0.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 1.1/100 · LOW

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

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 45 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.

Hyper-Verbose Identifiers24 hits · 24 pts
SeverityFileLineSnippetContext
LOWtools/gulp/tasks/samples.ts18async function executeNpmScriptInSamples(CODE
LOWtools/gulp/tasks/samples.ts94async function executeNPMScriptInDirectory(CODE
LOWpackages/microservices/context/rpc-context-creator.ts52export function getHandlerObservableNotifier(CODE
LOWpackages/core/middleware/utils.ts194export function isMiddlewareRouteExcluded(CODE
LOWpackages/core/middleware/utils.ts257export function createRequestedVersionMatcher(CODE
LOWpackages/core/security/cross-origin-protection.ts91export function evaluateCrossOriginRequest(CODE
LOWpackages/core/security/security-headers.ts136export function serializeContentSecurityPolicy(CODE
LOWpackages/core/repl/repl-native-commands.ts20export function defineDefaultCommandsOnRepl(replServer: REPLServer): void {CODE
LOWpackages/core/hooks/before-app-shutdown.hook.ts14function hasBeforeApplicationShutdownHook(CODE
LOWpackages/core/hooks/before-app-shutdown.hook.ts44export async function callBeforeAppShutdownHook(CODE
LOW…ooks/utils/get-instances-grouped-by-hierarchy-level.ts4export function getInstancesGroupedByHierarchyLevel(CODE
LOWpackages/core/helpers/safe-instance-decorator.ts14export function makeSafeInstanceDecorator(CODE
LOWpackages/core/injector/injector.ts532 function isOptionalFactoryDependency(CODE
LOW…latform-fastify/multipart/multipart/multipart.utils.ts89function isFastifyMultipartLimitCode(CODE
LOW…y/multipart/multipart/multipart-interceptor.factory.ts135export function createMultipartInterceptor(CODE
LOW…y/multipart/multipart/multipart-interceptor.factory.ts192export function createMultipartStreamInterceptor(CODE
LOW…/common/decorators/core/exception-filters.decorator.ts32function addExceptionFiltersMetadata(CODE
LOW…kages/common/decorators/http/route-params.decorator.ts83function createRouteParamDecorator(paramtype: RouteParamtypes) {CODE
LOWpackages/common/utils/assign-custom-metadata.util.ts10export function assignCustomParameterMetadata(CODE
LOW…kages/common/utils/parameter-decorator-options.util.ts24export function isParameterDecoratorOptions(CODE
LOW…mon/module-utils/utils/get-injection-providers.util.ts14function isOptionalFactoryDependency(CODE
LOW…e-utils/utils/generate-options-injection-token.util.ts3export function generateOptionsInjectionToken() {CODE
LOW…de-first/src/common/directives/upper-case.directive.ts4export function upperDirectiveTransformer(CODE
LOW…ma-first/src/common/directives/upper-case.directive.ts4export function upperDirectiveTransformer(CODE
Slop Phrases4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…tion/graphql-code-first/src/recipes/recipes.service.ts11 * Left for demonstration purposesCOMMENT
MEDIUMsample/20-cache/src/app.controller.ts9 // For demonstration purposes, we will simulate a delayCOMMENT
MEDIUM…le/33-graphql-mercurius/src/recipes/recipes.service.ts11 * Left for demonstration purposesCOMMENT
MEDIUM…e/23-graphql-code-first/src/recipes/recipes.service.ts11 * Left for demonstration purposesCOMMENT
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…ion/hello-world/e2e/standard-schema-serializer.spec.ts16// ─── Test schemas ──────────────────────────────────────────────COMMENT
MEDIUM…ion/hello-world/e2e/standard-schema-serializer.spec.ts71// ─── Controllers ───────────────────────────────────────────────COMMENT
MEDIUM…ion/hello-world/e2e/standard-schema-serializer.spec.ts177// ─── Tests ─────────────────────────────────────────────────────COMMENT
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOW…ct/src/versioned-wildcard/versioned-wildcard.module.ts1import { Module } from '@nestjs/common';COMMENT
LOW…egration/versioning/e2e/custom-versioning-node.spec.ts61 // it cannot handle selection of the highest matched version properly.COMMENT
LOWpackages/core/nest-application.ts281 // On adapters that reject duplicate registrations the policyCOMMENT
LOWpackages/core/test/middleware/builder.spec.ts161 path: '/users/:id',COMMENT
LOWpackages/core/router/router-response-controller.ts181 // The controller is reused if one was already attached upstream (e.g. when theCOMMENT
LOW.github/lock.yml21setLockReason: trueCOMMENT
LOW.github/workflows/codeql-analysis.yml41 # 📚 https://git.io/JvXDlCOMMENT
Fake / Example Data7 hits · 7 pts
SeverityFileLineSnippetContext
LOWintegration/hello-world/e2e/fastify-multiple.spec.ts3 it('placeholder', () => {});CODE
LOW…ration/nest-application/app-locals/e2e/express.spec.ts29 app.setLocal('email', 'admin@example.com');CODE
LOW…ration/nest-application/app-locals/e2e/express.spec.ts32 expect(response.body.email).toBe('admin@example.com');CODE
LOW…ode-first/posts-application/src/posts/posts.service.ts7 { authorId: 1, id: 1, title: 'Lorem Ipsum' },CODE
LOW…ode-first/users-application/src/users/users.service.ts7 { id: 1, name: 'John Doe' },CODE
LOW…ema-first/posts-application/src/posts/posts.service.ts7 { authorId: 1, id: 1, title: 'Lorem Ipsum' },CODE
LOW…ema-first/users-application/src/users/users.service.ts6 { id: 1, name: 'John Doe' },CODE