AI Slop Code Risk Monitor

openclaw/mcporter

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

Call MCPs via TypeScript, masquerading as simple TypeScript API. Or package them as cli.

2.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for openclaw/mcporter, a TypeScript project with 5,098 GitHub stars. SynthScan examined 91,030 lines of code across 521 source files, recording 234 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.7
Adjusted Signal
2.7
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
5.1K
Stars
TypeScript
Language
91.0K
Lines of Code
521
Files
234
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 12.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 234 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 12.1/100 · LOW

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

PR Review Velocity Impact 12.2/100 · LOW

Which changes need focused human review? 234 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 1LOW 233

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 234 distinct pattern matches across 3 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 Identifiers230 hits · 236 pts
SeverityFileLineSnippetContext
LOWtests/e2e-fixture-servers.test.ts521async function startDelayedSseHeadersProxy(targetUrl: string, delayMs: number): Promise<RunningHttpProxy> {CODE
LOWtests/oauth-bridge-get-post-concurrency.test.ts235function installFakeCallbackServer(): void {CODE
LOWtests/record-replay-cli.test.ts161async function expectPrivateRecordingPermissions(filePath: string): Promise<void> {CODE
LOWtests/chrome-devtools-relay-proxy.test.ts291function expectEphemeralAuthorization(authorization: string): void {CODE
LOWtests/runtime-elicitation.test.ts28function expectNoInjectedControlSequences(output: string): void {CODE
LOWtests/runtime-elicitation.test.ts396function promoteInMemoryPairToModern(CODE
LOWtests/oauth-session.test.ts1067async function startSeparatedOAuthDiscoveryServers(): Promise<{CODE
LOWtests/chrome-relay-fixture.test.ts11function caseInsensitiveEnvironment(values: NodeJS.ProcessEnv): NodeJS.ProcessEnv {CODE
LOWtests/runtime-chrome-relay-handoff.test.ts169function assertCredentialFreeSpawn(shape: SpawnShape): void {CODE
LOWtests/emit-ts.test.ts934function compileUnderRepositoryConfig(rootNames: string[]): EmittedDiagnostic[] {CODE
LOWtests/helpers/runtime-test-helpers.ts32export function getRuntimeConnectionCache(runtime: Runtime): RuntimeConnectionCache {CODE
LOWtests/helpers/runtime-test-helpers.ts89export function createPendingAuthorizationSession() {CODE
LOWtests/helpers/chrome-relay-fixture.ts4export function isolateChromeRelayTestEnvironment(home: string, env: NodeJS.ProcessEnv = process.env): () => void {CODE
LOWtests/helpers/chrome-relay-fixture.ts26export function assertSyntheticRelayCredentialPath(CODE
LOWsrc/browser-relay-auth-v2.ts41export function canonicalizeBrowserRelayProof(CODE
LOWsrc/fs-json.ts214async function resolvePathFollowingSymlinks(filePath: string): Promise<string> {CODE
LOWsrc/fs-json.ts237async function canonicalizeParentDirectory(filePath: string): Promise<string> {CODE
LOWsrc/oauth-client-info.ts4export function buildStaticClientInformation(CODE
LOWsrc/runtime-process-utils.ts18export async function captureTransportProcessTree(transport: Transport): Promise<TransportProcessTree> {CODE
LOWsrc/runtime-process-utils.ts83async function ensureProcessTreeTerminated(CODE
LOWsrc/runtime-process-utils.ts184async function listDescendantPidsWindows(rootPid: number): Promise<number[]> {CODE
LOWsrc/runtime-process-utils.ts236function collectDescendantsFromChildren(rootPid: number, children: Map<number, number[]>): number[] {CODE
LOWsrc/config-normalize.ts113function resolveConfigEnvPlaceholders(name: string, raw: RawEntry, env = process.env): RawEntry {CODE
LOW⚡src/chrome-devtools-relay.ts168export function recordChromeDevtoolsRelayDecision(server: string, decision: ChromeDevtoolsRelayDecision): void {CODE
LOW⚡src/chrome-devtools-relay.ts172export function getChromeDevtoolsRelayDecision(server: string): ChromeDevtoolsRelayDecision | undefined {CODE
LOW⚡src/chrome-devtools-relay.ts176export function formatChromeDevtoolsRelayDecision(decision: ChromeDevtoolsRelayDecision): string {CODE
LOW⚡src/chrome-devtools-relay.ts180export function resolveChromeDevtoolsRelayProbeTimeoutMs(env: NodeJS.ProcessEnv = process.env): number {CODE
LOW⚡src/chrome-devtools-relay.ts188export function resolveChromeDevtoolsRelayPolicy(CODE
LOW⚡src/chrome-devtools-relay.ts473export function hashChromeDevtoolsRelayEnvironment(CODE
LOW⚡src/chrome-devtools-relay.ts480export function resolveChromeDevtoolsRelayEnvironment(CODE
LOW⚡src/chrome-devtools-relay.ts487function selectChromeDevtoolsRelayRuntimeEnvironment(env: NodeJS.ProcessEnv): NodeJS.ProcessEnv {CODE
LOW⚡src/chrome-devtools-relay.ts496function sanitizeRelayIdentityEnvironment(env: NodeJS.ProcessEnv): NodeJS.ProcessEnv {CODE
LOWsrc/chrome-devtools-relay.ts199export function isChromeDevtoolsAutoConnectCommand(command: string, args: readonly string[]): boolean {CODE
LOWsrc/chrome-devtools-relay.ts225function resolveOpenClawCredentialDir(env: NodeJS.ProcessEnv): string {CODE
LOWsrc/chrome-devtools-relay.ts308export function shouldAttemptChromeDevtoolsRelay(CODE
LOWsrc/chrome-devtools-relay.ts321export async function rewriteChromeDevtoolsArgsForRelay(CODE
LOWsrc/chrome-devtools-relay.ts507export function chromeDevtoolsRelayEnvironmentKeys(CODE
LOWsrc/chrome-devtools-relay.ts551export function hashChromeDevtoolsRelayProcessEnvironment(CODE
LOWsrc/chrome-devtools-relay.ts559export async function resolveChromeDevtoolsRelayRuntimeIdentity(CODE
LOWsrc/chrome-devtools-relay.ts577function createRelayCredentialIdResolver(): (credentialPath: string) => string {CODE
LOWsrc/chrome-devtools-relay.ts609function relayEnvironmentIdentityValues(CODE
LOWsrc/chrome-devtools-relay.ts672function relayEnvironmentIdentityValue(key: string, env: NodeJS.ProcessEnv): string | number | null {CODE
LOWsrc/chrome-devtools-relay.ts690function relayIdentityDependsOnCwd(env: NodeJS.ProcessEnv): boolean {CODE
LOWsrc/chrome-devtools-relay.ts714function parseRelayDiscoveryIdentity(encoded: string): RelayDiscoveryIdentity | undefined {CODE
LOWsrc/chrome-devtools-relay.ts753function referencedEnvironmentVariables(value: string): string[] {CODE
LOWsrc/chrome-devtools-relay.ts762function resolveRelayDefinitionEnvOverrides(CODE
LOWsrc/chrome-devtools-relay.ts774function resolveRelayIdentityEnvOverrides(CODE
LOWsrc/chrome-devtools-relay-discovery.ts160export function runOpenClawRelayDiscovery(CODE
LOWsrc/chrome-devtools-relay-discovery.ts228export function resolveOpenClawRelayDiscoveryCommandPlan(CODE
LOWsrc/chrome-devtools-relay-discovery.ts251function resolveWindowsCommandInterpreter(env: NodeJS.ProcessEnv): string | undefined {CODE
LOWsrc/chrome-devtools-relay-discovery.ts268function resolveWindowsOpenClawShim(CODE
LOWsrc/chrome-devtools-relay-discovery.ts289function isSafeWindowsSystemToolPath(value: string, basename: string): boolean {CODE
LOWsrc/chrome-devtools-relay-discovery.ts305function isConventionalWindowsSystemCmd(value: string): boolean {CODE
LOWsrc/chrome-devtools-relay-discovery.ts314function isSafeWindowsAbsolutePath(value: string): boolean {CODE
LOWsrc/chrome-devtools-relay-discovery.ts368function sanitizeOpenClawDiscoveryCommandEnvironment(CODE
LOWsrc/chrome-devtools-relay-discovery.ts391function createOpenClawRelayDiscoveryTerminationPlan(CODE
LOWsrc/chrome-devtools-relay-discovery.ts410async function terminateOpenClawRelayDiscoveryProcessTree(CODE
LOWsrc/chrome-devtools-relay-discovery.ts478function validateDiscoveryCommandResult(CODE
LOWsrc/chrome-devtools-relay-discovery.ts617function openClawDiscoveryEnvironment(env: NodeJS.ProcessEnv): NodeJS.ProcessEnv {CODE
LOWsrc/chrome-devtools-compat.ts24export function applyChromeDevtoolsCompat(CODE
170 more matches not shown…
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/cli-stdout-pipe-truncation.integration.test.ts21COMMENT
LOWtests/setup/isolate-home.ts1import fs from 'node:fs';COMMENT
LOWtests/helpers/timing.ts1// Shared platform scaling for test timing budgets.COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMscripts/test-release.sh483# Workflow and orchestration boundaries: protected current default branch,COMMENT