AI Slop Code Risk Monitor

colyseus/colyseus

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

⚔ Multiplayer Framework for Node.js

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for colyseus/colyseus, a TypeScript project with 7,499 GitHub stars. SynthScan examined 125,188 lines of code across 654 source files, recording 66 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.5K
Stars
TypeScript
Language
125.2K
Lines of Code
654
Files
66
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 2.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 1.6/100 · LOW

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

PR Review Velocity Impact 3.7/100 · LOW

Which changes need focused human review? 66 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 2MEDIUM 9LOW 55

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 66 distinct pattern matches across 7 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 Block35 hits · 35 pts
SeverityFileLineSnippetContext
LOWpackages/database/test/backends.ts61 // name: 'pglite',COMMENT
LOWpackages/database/src/GameDatabase.ts501 // The segments service was created at construction time so users couldCOMMENT
LOWpackages/database/src/GameDatabase.ts561 // -------------------------------------------------------------------------COMMENT
LOWpackages/drivers/drizzle-driver/src/PostgresDriver.ts201 // 1. Client A reserves seat, sees 1 reserved seat, locked should stay falseCOMMENT
LOWpackages/core/src/Room.ts1401 // it goes out. No-op unless the state declares such a field, and skippedCOMMENT
LOWpackages/core/src/MatchMaker.ts1081 // bots/tests/cron) skip auth — there's no transport, no headers, noCOMMENT
LOWpackages/auth/src/index.ts61// Behavior matrix:COMMENT
LOWpackages/admin/src-backend/index.ts501 // `rooms` resource for RBAC — guard() against `list` for read,COMMENT
LOWpackages/admin/src-backend/auth/guard.ts81COMMENT
LOWpackages/admin/src-backend/catalog/builder.ts121 ...(linkTo ? { linkTo } : {}),COMMENT
LOWpackages/admin/src/pages/show.tsx41 // Default tab differs by layout:COMMENT
LOWpackages/admin/src/pages/internals/format-cell.tsx121 );COMMENT
LOWpackages/admin/src/pages/rooms/show.tsx81 // otherwise the 2s tick can replace the field's value out fromCOMMENT
LOWpackages/admin/src/pages/rooms/show.tsx541 // copies into a log query. Tiny drift (theCOMMENT
LOWpackages/admin/src/pages/rooms/show.tsx801 // 'all' filters on either key or value matches — most naturalCOMMENT
LOWpackages/sdk/test/reconciler-roundtrip.test.ts1import './util';COMMENT
LOWpackages/sdk/test/tree-shaking.test.ts1import { describe, test } from "vitest";COMMENT
LOWpackages/sdk/test/predict-reckon-elapsed.test.ts1import './util';COMMENT
LOWpackages/sdk/test/predict-lagcomp-metadata.test.ts1import './util';COMMENT
LOWpackages/sdk/src/Room.ts621 if (this.leaveCode !== undefined) { return; }COMMENT
LOWpackages/sdk/src/core/schema-reflect.ts1// -----------------------------------------------------------------------------COMMENT
LOWpackages/sdk/src/input/InputHandle.ts301 // Cached framed-packet view into `_scratch`; re-made when the packet sizeCOMMENT
LOWpackages/sdk/src/input/InputHandle.ts321 private static readonly BUFFER_HEADROOM = 1.5;COMMENT
LOWpackages/sdk/src/input/InputHandle.ts341 private _lastStamp = 0;COMMENT
LOWpackages/sdk/src/input/InputHandle.ts361 private _stampRender = false;COMMENT
LOWpackages/sdk/src/predict/Predictor.ts241// homogeneous attachAll groups collapse to a single packed record. MutatingCOMMENT
LOWpackages/sdk/src/predict/Predictor.ts261//COMMENT
LOWpackages/sdk/src/predict/Predictor.ts281const SLOT_RING_HEAD = 6;COMMENT
LOWpackages/sdk/src/predict/Predictor.ts841 onRemove: (...args: any[]) => () => void;COMMENT
LOWpackages/sdk/src/predict/Predictor.ts1021 // Default ON: reckon draws on renderNow() when the clock offers itCOMMENT
LOWpackages/sdk/src/predict/Predictor.ts1781 // Default forward horizon = SNAPSHOT AGE, exactly.COMMENT
LOWpackages/sdk/src/predict/Predictor.ts1801 const elapsedMs = opts.elapsedMs ?? (present ?? (() => performance.now()));COMMENT
LOWpackages/sdk/src/predict/Predictor.ts1821 // instance of the same type; each frame we refill its `$values`COMMENT
LOWbundles/colyseus/test/RoomReconnection.test.ts601COMMENT
LOWbundles/colyseus/test/RoomReconnection.test.ts641 assert.ok(!matchMaker.getLocalRoomById(newConn.roomId));COMMENT
Decorative Section Separators8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMbundles/colyseus/src/vite.ts42// ─── Virtual module IDs ───────────────────────────────────────────────COMMENT
MEDIUMbundles/colyseus/src/vite.ts58// ─── Options ──────────────────────────────────────────────────────────COMMENT
MEDIUMbundles/colyseus/src/vite.ts88// ─── Internal types ───────────────────────────────────────────────────COMMENT
MEDIUMbundles/colyseus/src/vite.ts99// ─── Helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUMbundles/colyseus/src/vite.ts112// ─── Virtual module generators ────────────────────────────────────────COMMENT
MEDIUMbundles/colyseus/src/vite.ts175// ─── Exported helpers (for testing) ───────────────────────────────────COMMENT
MEDIUMbundles/colyseus/src/vite.ts205// ─── Module runner ────────────────────────────────────────────────────COMMENT
MEDIUMbundles/colyseus/src/vite.ts250// ─── Plugin ───────────────────────────────────────────────────────────COMMENT
Hyper-Verbose Identifiers15 hits · 15 pts
SeverityFileLineSnippetContext
LOWpackages/database/src/utils.ts197export function generateAlterAddColumnSQL(CODE
LOWpackages/transport/h3-transport/src/utils/mkcert.ts349export async function generateWebTransportCertificate(attrs: any, options: { days?: number, extensions?: any[] }) {CODE
LOWpackages/core/src/RoomPlugin.ts429export function installPluginHookWrappers(CODE
LOWpackages/core/src/MatchMaker.ts1280async function concurrentJoinOrCreateRoomLock(CODE
LOWpackages/core/src/Server.ts653export function unregisterRoomDefinitions(roomNames: Iterable<string>) {CODE
LOWpackages/core/src/router/node.ts93export function createNodeMatchmakingMiddleware() {CODE
LOWpackages/auth/src/endpoints.ts237export function resetPasswordPostEndpoint(prefix: string = auth.prefix) {CODE
LOWpackages/admin/src-backend/index.ts238function assertJwtSecretConfigured(): void {CODE
LOWpackages/admin/src-backend/index.ts286function applyBuiltInResourceDefaults(CODE
LOWpackages/sdk/src/debug.ts46function ensureGlobalUpdateInterval() {CODE
LOWpackages/sdk/src/debug/state-inspector.ts64 function saveStateInspectorPreferences() {CODE
LOWpackages/room-plugins/geoip/src/GeoIPPlugin.ts151function scheduleRefreshIfApplicable(key: string, opts: GeoIPPluginOptions): void {CODE
LOWpackages/traefik/src/index.ts149async function getTraefikConfigFromRedis(presence: RedisPresence, options: TraefikOptions): Promise<object> {CODE
LOWpackages/traefik/src/index.ts300async function isKeyspaceNotificationsEnabled(presence: RedisPresence): Promise<boolean> {CODE
LOWbundles/colyseus/src/vite.ts118export function createColyseusViteServerEntry(options: ColyseusViteOptions) {CODE
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpackages/playground/src/components/SDKCodeExamples.tsx240 print("Error:", err)CODE
HIGHpackages/playground/src/components/SDKCodeExamples.tsx242 print(response)CODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWpackages/core/src/Room.ts818 * username: "John Doe",COMMENT
LOWpackages/example/test/admin-e2e.test.ts33const BOOTSTRAP_EMAIL = 'admin@example.com';CODE
LOWpackages/example/src/app.config.ts58 description: "List all things lorem ipsum dolor sit amet lorem ipsum dolor sit amet lorem ipsum dolor sit amet lorCODE
LOWpackages/example/src/app.config.ts58 description: "List all things lorem ipsum dolor sit amet lorem ipsum dolor sit amet lorem ipsum dolor sit amet lorCODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/transport/h3-transport/src/H3Transport.ts114 // Dev: prefer a browser-TRUSTED cert via mkcert (seamless — no flags, noCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/publish_and_release.yml140 # Check if build-release-assets script existsCOMMENT