AI Slop Code Risk Monitor

lerna/lerna

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

Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for lerna/lerna, a TypeScript project with 36,041 GitHub stars. SynthScan examined 85,606 lines of code across 1389 source files, recording 30 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.5 (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.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
36.0K
Stars
TypeScript
Language
85.6K
Lines of Code
1.4K
Files
30
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 1.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 0.8/100 · LOW

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

PR Review Velocity Impact 2.5/100 · LOW

Which changes need focused human review? 30 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 1HIGH 0MEDIUM 2LOW 27

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 30 distinct pattern matches across 6 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 Identifiers14 hits · 14 pts
SeverityFileLineSnippetContext
LOWtools/scripts/e2e-build-package-publish.ts24async function buildPackagePublishAndCleanPorts() {CODE
LOWtools/scripts/e2e-build-package-publish.ts44async function updateVersionsAndPublishPackages() {CODE
LOWlibs/core/src/lib/profiler.ts27export function generateProfileOutputPath(outputDirectory?: string) {CODE
LOWlibs/core/src/lib/get-npm-exec-opts.ts18export function getPnpmLockfileInstallConfigArgs(): string[] {CODE
LOW…bs/core/src/lib/collect-updates/make-diff-predicate.ts31 return function hasDiffSinceThatIsntIgnored(node: ProjectGraphProjectNodeWithPackage) {CODE
LOWlibs/core/src/lib/npmlog/gauge/theme-set.ts106ThemeSetProto.newMissingDefaultThemeError = function newMissingDefaultThemeError(CODE
LOW…e/src/lib/conventional-commits/get-changelog-config.ts19function normalizeLegacyWriterOptions(writer: any): any {CODE
LOW…/src/lib/command/create-project-graph-with-packages.ts16export async function createProjectGraphWithPackages(CODE
LOWlibs/core/src/lib/corepack/exec-package-manager.ts8function withPackageManagerExecEnv(npmClient: string, opts: ExecOptions): ExecOptions {CODE
LOW…/e2e-utils/src/lib/normalize-fixture-command-output.ts5export function normalizeFixtureCommandOutput(command: string, output: string): string {CODE
LOW…mmands/publish/src/lib/get-packages-without-license.ts7export function getPackagesWithoutLicense(CODE
LOW…s/publish/src/lib/get-projects-with-tagged-packages.ts10export async function getProjectsWithTaggedPackages(CODE
LOW…lish/src/lib/get-projects-with-unpublished-packages.ts10export async function getProjectsWithUnpublishedPackages(CODE
LOWpackages/lerna/src/index.ts62function explicitlyHandleLegacyPackageManagementCommands(yargsInstance: ReturnType<typeof lernaCLI>) {CODE
Over-Commented Block12 hits · 12 pts
SeverityFileLineSnippetContext
LOWsocket.yml1# Socket.dev configurationCOMMENT
LOWintegration/__tests__/lerna-exec.spec.ts21const fixturePath = path.resolve(__dirname, "__fixtures__");COMMENT
LOWwebsite/docs/recipes/using-bun-with-lerna.md121```bashCOMMENT
LOWlibs/core/src/lib/package.ts421 // update committishCOMMENT
LOWlibs/core/src/lib/project/index.spec.ts261 // it("returns custom packageConfigs", () => {COMMENT
LOW…core/src/lib/conventional-commits/recommend-version.ts81 //COMMENT
LOWlibs/commands/init/vitest.setup.ts1import path from "path";COMMENT
LOW.github/workflows/nx-migrate.yml1# This workflow is used to augment the capabilities of the renovate GitHub app by running a fullCOMMENT
LOW.github/workflows/update-formatting-for-renovate.yml1# This workflow is used to augment the capabilities of the renovate GitHub app by updating theCOMMENT
LOW.github/workflows/other-node-versions.yml101 # Subkey-Type: defaultCOMMENT
LOW.github/workflows/other-node-versions.yml141 env:COMMENT
LOW.nx/workflows/agents.yaml1# Nx Agent launch templates for Linux CI.COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALlibs/commands/publish/src/index.ts298 pkg.lernaConfig.command.publish.assets = pkg.lernaConfig.command.publish.assets.map((asset) =>CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMlibs/commands/init/vitest.setup.ts7// otherwise let execute() scaffold a real lerna workspace (and run a packageCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/pkg-pr-new.yml5# malicious actor were able to leverage this workflow to publish malware, nobody would receive itCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/pkg-pr-new.yml1# WARNING: This workflow can be run on forks, so it is important to not perform any sensitive operationsCOMMENT