AI Slop Code Risk Monitor

Unitech/pm2

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

Node.js/Typescript/Bun Production Process Manager with a built-in Load Balancer.

2.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Unitech/pm2, a JavaScript project with 43,331 GitHub stars. SynthScan examined 90,372 lines of code across 647 source files, recording 119 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 2.3 (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.

2.3
Adjusted Signal
2.3
Raw Pattern Score
100%
Time Factor
2026-10-23
Last Push
43.3K
Stars
JavaScript
Language
90.4K
Lines of Code
647
Files
119
Pattern Hits
2026-10-31
Scan Date
0.02
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 5.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.5/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 11.2/100 · LOW

Which changes need focused human review? 119 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 5HIGH 10MEDIUM 0LOW 104

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 119 distinct pattern matches across 9 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 Block87 hits · 78 pts
SeverityFileLineSnippetContext
LOWtest/docker-parallel.sh1#!/usr/bin/env bashCOMMENT
LOWtest/e2e/file-descriptor.sh21# $pm2 start echo.js -i 3COMMENT
LOWtest/e2e/cli/cli-actions-1.sh141# OUT=`$pm2 logs --nostream --lines 100 PM2 | wc -l`COMMENT
LOWtest/e2e/cli/cli-actions-1.sh161# spec "Should start web interface"COMMENT
LOWtest/e2e/cli/cli-actions-1.sh181COMMENT
LOWtest/e2e/cli/app-configuration.sh61# sleep 2COMMENT
LOWtest/e2e/cli/startOrX.sh21COMMENT
LOWtest/e2e/binaries/pm2-runtime.sh41spec "Should application have two watch arguments"COMMENT
LOWtest/e2e/modules/module.sh101# $pm2 set example-module:var2 trueCOMMENT
LOW…ples/test-all-keymetrics-features/process-transpose.js1COMMENT
LOWlib/Utility.js161 // ['logs', 'pids'].forEach(function(n){COMMENT
LOWlib/completion.js41 if(!env.words || !env.point || !env.line) return script(name, completer, function(err, content) {COMMENT
LOWlib/tools/fmt.js1// --------------------------------------------------------------------------------------------------------------------COMMENT
LOWlib/tools/which.js41}COMMENT
LOWlib/tools/json5.js1// json5.jsCOMMENT
LOWlib/templates/init-scripts/pm2-init-amazon.sh1#!/bin/bashCOMMENT
LOWmodules/pm2-axon/test/test.pubsub.missed-messages.js1// COMMENT
LOWmodules/pm2-axon/test/test.pubsub.missed-messages.js21// case 0:COMMENT
LOWmodules/pm2-axon/test/test.socket.reconnect.js1COMMENT
LOWmodules/pm2-axon/test/test.socket.reconnect.js21// pull.on('message', function(msg){COMMENT
LOWmodules/pm2-axon/test/test.socket.reconnect.js41// push.close();COMMENT
LOWmodules/blessed/lib/tput.js1/**COMMENT
LOWmodules/blessed/lib/tput.js441};COMMENT
LOWmodules/blessed/lib/tput.js461// Offset: 2342COMMENT
LOWmodules/blessed/lib/tput.js481// How lastStrTableOffset works:COMMENT
LOWmodules/blessed/lib/tput.js1041 // %? expr %t thenpart %e elsepart %;COMMENT
LOWmodules/blessed/lib/tput.js1201COMMENT
LOWmodules/blessed/lib/tput.js1221 // }COMMENT
LOWmodules/blessed/lib/tput.js1881 break;COMMENT
LOWmodules/blessed/lib/tput.js1901// out += '\\r';COMMENT
LOWmodules/blessed/lib/tput.js1921// out += '\\^';COMMENT
LOWmodules/blessed/lib/tput.js1941// out += '\\';COMMENT
LOWmodules/blessed/lib/tput.js2061// and it does not switch to the DEC SCLD character set. What the hell?COMMENT
LOWmodules/blessed/lib/gpmclient.js61// unsigned short vc;COMMENT
LOWmodules/blessed/lib/events.js141// will always be compatible with node, not to mentionCOMMENT
LOWmodules/blessed/lib/events.js161// do {COMMENT
LOWmodules/blessed/lib/keys.js1/**COMMENT
LOWmodules/blessed/lib/unicode.js1/**COMMENT
LOWmodules/blessed/lib/unicode.js21// conditions:COMMENT
LOWmodules/blessed/lib/unicode.js41// of this software and associated documentation files (the "Software"), to dealCOMMENT
LOWmodules/blessed/lib/unicode.js61// https://github.com/mathiasbynens/String.prototype.codePointAtCOMMENT
LOWmodules/blessed/lib/unicode.js81COMMENT
LOWmodules/blessed/lib/unicode.js141COMMENT
LOWmodules/blessed/lib/unicode.js561 return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;COMMENT
LOWmodules/blessed/lib/program.js541// Relevant files:COMMENT
LOWmodules/blessed/lib/program.js601 // buf = new Buffer(s, 'utf8');COMMENT
LOWmodules/blessed/lib/program.js1161 return;COMMENT
LOWmodules/blessed/lib/program.js1301 }COMMENT
LOWmodules/blessed/lib/program.js1421 }COMMENT
LOWmodules/blessed/lib/program.js1481 out.error = out.text;COMMENT
LOWmodules/blessed/lib/program.js1501 // Pe = 7 -> right button up.COMMENT
LOWmodules/blessed/lib/program.js2181 return this.charset('ascii');COMMENT
LOWmodules/blessed/lib/program.js2461// Ps = 2 7 -> Positive (not inverse).COMMENT
LOWmodules/blessed/lib/program.js2481COMMENT
LOWmodules/blessed/lib/program.js2841// Ps = 6 -> Report Cursor Position (CPR) [row;column] as CSICOMMENT
LOWmodules/blessed/lib/program.js3001// -> CSI ? 1 ; 2 c (``VT100 with Advanced Video Option'')COMMENT
LOWmodules/blessed/lib/program.js3021// this to VT100.COMMENT
LOWmodules/blessed/lib/program.js3081 // if (this.tput) return this.put.hvp(row, col);COMMENT
LOWmodules/blessed/lib/program.js3101// Ps = 8 -> Auto-repeat Keys (DECARM).COMMENT
LOWmodules/blessed/lib/program.js3121// abled by the titeInhibit resource).COMMENT
27 more matches not shown…
Cross-Language Confusion (JS/TS)9 hits · 52 pts
SeverityFileLineSnippetContext
HIGH⚡modules/blessed/lib/tput.js823 print(cap[0]);CODE
HIGH⚡modules/blessed/lib/tput.js833 print(ch);CODE
HIGH⚡modules/blessed/lib/tput.js839 print(String.fromCharCode(parseInt(ch, 8)));CODE
HIGHmodules/blessed/lib/tput.js897 print(ch);CODE
HIGHmodules/blessed/lib/tput.js910 print('%');CODE
HIGHmodules/blessed/lib/tput.js1175 print(code);CODE
HIGHmodules/blessed/lib/tput.js1194 print(part);CODE
HIGHmodules/blessed/lib/tput.js1206 print(part);CODE
HIGHmodules/blessed/lib/tput.js1234 print(part);CODE
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICALtest/programmatic/fclone.mocha.js107 output.c.should.not.have.property('a');CODE
CRITICALtest/programmatic/god.mocha.js137 proc.pm2_env.status.should.be.equal('stopped');CODE
CRITICALtest/programmatic/god.mocha.js146 proc.pm2_env.status.should.be.equal('online');CODE
CRITICALtest/programmatic/send_data_process.mocha.js62 packet.raw.data.success.should.eql(true);CODE
CRITICALtest/programmatic/send_data_process.mocha.js83 packet.raw.data.success.should.eql(true);CODE
Hyper-Verbose Identifiers10 hits · 10 pts
SeverityFileLineSnippetContext
LOWexamples/sourcemap-auto-resolve/API.js668 function restartExistingProcessName(cb) {CODE
LOWexamples/sourcemap-auto-resolve/API.js710 function restartExistingProcessPath(cb) {CODE
LOWlib/ProcessContainer.js251 function getUncaughtExceptionListener(listener) {CODE
LOWlib/API.js755 function restartExistingProcessName(cb) {CODE
LOWlib/API.js819 function restartExistingProcessPathOrStartNew(cb) {CODE
LOWlib/ProcessContainerBun.js293 function getUncaughtExceptionListener(listener) {CODE
LOWlib/API/pm2-plus/helpers.js10function processesAreAlreadyMonitored(CLI, cb) {CODE
LOWlib/API/UX/pm2-ls.js53function listModulesAndAppsManaged(list, commander) {CODE
LOWlib/API/UX/pm2-ls.js417function listHighResourcesProcesses(sys_infos) {CODE
LOWmodules/pm2-io-agent/src/utils/EDS.js8function ExponentiallyDecayingSample (options) {CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHexamples/run-php-python-ruby-bash/leak-mem.py45except Exception:CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/windows.sh6# Usage:COMMENT
LOWtest/docker-parallel.sh6# Usage:COMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexamples/run-php-python-ruby-bash/leak-mem.py17except Exception:CODE
LOWexamples/run-php-python-ruby-bash/leak-mem.py45 except Exception:CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexamples/run-php-python-ruby-bash/leak-mem.py33CODE
LOWexamples/run-php-python-ruby-bash/leak-mem.py56CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtest/docker-parallel.sh165# Check if test is excludedCOMMENT