AI Slop Code Risk Monitor

open-webui/open-terminal

SlopCodeMonitor badge for open-webui/open-terminal Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A computer you can curl ⚡

48.6 High pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for open-webui/open-terminal, a Python project with 3,460 GitHub stars. SynthScan examined 7,644 lines of code across 32 source files, recording 161 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 48.6 (High 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.

48.6
Adjusted Signal
48.6
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
3.5K
Stars
Python
Language
7.6K
Lines of Code
32
Files
161
Pattern Hits
2026-10-31
Scan Date
1.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 22.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 10.8/100 · LOW

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

Agent Over-Engineering Ratio 87.5/100 · CRITICAL

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

PR Review Velocity Impact 94.1/100 · CRITICAL

Which changes need focused human review? 161 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 32MEDIUM 56LOW 73

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 161 distinct pattern matches across 11 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.

Empty Error Handlers30 hits · 150 pts
SeverityFileLineSnippetContext
HIGHopen_terminal/cli.py139except Exception:CODE
HIGHopen_terminal/main.py422except FileNotFoundError:CODE
HIGHopen_terminal/main.py712except UnicodeDecodeError:CODE
HIGHopen_terminal/main.py1541except asyncio.TimeoutError:CODE
HIGHopen_terminal/main.py1594except asyncio.TimeoutError:CODE
HIGHopen_terminal/main.py1038except (UnicodeDecodeError, ValueError, OSError):CODE
HIGHopen_terminal/main.py1836except OSError:CODE
HIGHopen_terminal/main.py1843except (ProcessLookupError, PermissionError):CODE
HIGHopen_terminal/main.py1847except subprocess.TimeoutExpired:CODE
HIGHopen_terminal/main.py2197except (WebSocketDisconnect, RuntimeError):CODE
HIGHopen_terminal/main.py420except OSError:CODE
HIGHopen_terminal/main.py1298except OSError:CODE
HIGHopen_terminal/main.py1852except (ProcessLookupError, PermissionError):CODE
HIGHopen_terminal/main.py1142except (OSError, UnicodeError):CODE
HIGHopen_terminal/main.py2183except (json.JSONDecodeError, KeyError):CODE
HIGHopen_terminal/utils/port.py64except OSError:CODE
HIGHopen_terminal/utils/runner.py178except OSError:CODE
HIGHopen_terminal/utils/runner.py162except ProcessLookupError:CODE
HIGHopen_terminal/utils/runner.py243except ProcessLookupError:CODE
HIGHopen_terminal/utils/limits.py19except Exception:CODE
HIGHopen_terminal/utils/limits.py82except ProcessLookupError:CODE
HIGHopen_terminal/utils/log.py52except FileNotFoundError:CODE
HIGHopen_terminal/utils/log.py106except (OSError, ValueError):CODE
HIGHopen_terminal/utils/log.py252except Exception:CODE
HIGHopen_terminal/utils/user_isolation.py95except KeyError:CODE
HIGHopen_terminal/utils/fs.py305except (AttributeError, OSError):CODE
HIGHopen_terminal/utils/fs.py52except FileNotFoundError:CODE
HIGHopen_terminal/utils/fs.py130except Exception:CODE
HIGHopen_terminal/utils/notebooks.py288except Exception:CODE
HIGHopen_terminal/utils/notebooks.py76except Exception:CODE
Decorative Section Separators51 hits · 136 pts
SeverityFileLineSnippetContext
MEDIUMentrypoint-slim.sh4# ============================================================================COMMENT
MEDIUMentrypoint-slim.sh6# ============================================================================COMMENT
MEDIUMentrypoint-slim.sh19# ============================================================================COMMENT
MEDIUMentrypoint-slim.sh22# ── Helper: Docker-secrets _FILE resolution ────────────────────────────────COMMENT
MEDIUMentrypoint-slim.sh56# ── Helper: drop privileges to "user" ─────────────────────────────────────COMMENT
MEDIUMentrypoint-slim.sh73# ── Home directory setup ──────────────────────────────────────────────────COMMENT
MEDIUMentrypoint-slim.sh105# ── Network egress filtering ──────────────────────────────────────────────COMMENT
MEDIUMentrypoint-slim.sh129 # ── Deny-all mode ──────────────────────────────────────────────COMMENT
MEDIUMentrypoint-slim.sh132 # ── Restricted mode (DNS whitelist + ipset) ────────────────────COMMENT
MEDIUMentrypoint-slim.sh199# ============================================================================COMMENT
MEDIUMentrypoint-slim.sh201# ============================================================================COMMENT
MEDIUMentrypoint.sh4# -----------------------------------------------------------------------COMMENT
MEDIUMentrypoint.sh7# -----------------------------------------------------------------------COMMENT
MEDIUMentrypoint.sh84# -----------------------------------------------------------------------COMMENT
MEDIUMentrypoint.sh94# -----------------------------------------------------------------------COMMENT
MEDIUMentrypoint.sh109 # ── Deny-all mode ──────────────────────────────────────────────COMMENT
MEDIUMentrypoint.sh112 # ── Restricted mode (DNS whitelist + ipset) ────────────────────COMMENT
MEDIUM⚡open_terminal/main.py230# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡open_terminal/main.py232# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡open_terminal/main.py1667# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡open_terminal/main.py1669# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py337# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py339# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py361# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py363# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py453# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py455# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py469# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py471# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py549# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py551# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py1460# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py1462# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py1789# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py1791# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py2201# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/main.py2203# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/fs.py151 # ------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/fs.py153 # ------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/fs.py181 # ------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/fs.py183 # ------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/fs.py257 # ------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/fs.py259 # ------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/fs.py382 # ------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/fs.py384 # ------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/notebooks.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/notebooks.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/notebooks.py104# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/notebooks.py106# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/notebooks.py139# ---------------------------------------------------------------------------COMMENT
MEDIUMopen_terminal/utils/notebooks.py141# ---------------------------------------------------------------------------COMMENT
Deep Nesting39 hits · 31 pts
SeverityFileLineSnippetContext
LOWopen_terminal/tunnel.py114CODE
LOWopen_terminal/tunnel.py258CODE
LOWopen_terminal/tunnel.py266CODE
LOWopen_terminal/cli.py58CODE
LOWopen_terminal/main.py410CODE
LOWopen_terminal/main.py426CODE
LOWopen_terminal/main.py692CODE
LOWopen_terminal/main.py969CODE
LOWopen_terminal/main.py1083CODE
LOWopen_terminal/main.py1221CODE
LOWopen_terminal/main.py1395CODE
LOWopen_terminal/main.py1005CODE
LOWopen_terminal/main.py1107CODE
LOWopen_terminal/main.py1244CODE
LOWopen_terminal/main.py1422CODE
LOWopen_terminal/main.py1433CODE
LOWopen_terminal/main.py2075CODE
LOWopen_terminal/main.py1014CODE
LOWopen_terminal/main.py1121CODE
LOWopen_terminal/main.py2169CODE
LOWopen_terminal/utils/port.py7CODE
LOWopen_terminal/utils/port.py153CODE
LOWopen_terminal/utils/port.py20CODE
LOWopen_terminal/utils/port.py46CODE
LOWopen_terminal/utils/port.py76CODE
LOWopen_terminal/utils/port.py112CODE
LOWopen_terminal/utils/log.py30CODE
LOWopen_terminal/utils/log.py118CODE
LOWopen_terminal/utils/log.py157CODE
LOWopen_terminal/utils/log.py186CODE
LOWopen_terminal/utils/documents.py51CODE
LOWopen_terminal/utils/documents.py206CODE
LOWopen_terminal/utils/fs.py106CODE
LOWopen_terminal/utils/fs.py155CODE
LOWopen_terminal/utils/fs.py316CODE
LOWopen_terminal/utils/fs.py319CODE
LOWopen_terminal/utils/search.py46CODE
LOWopen_terminal/utils/file_compare.py44CODE
LOWopen_terminal/utils/file_compare.py140CODE
Excessive Try-Catch Wrapping26 hits · 27 pts
SeverityFileLineSnippetContext
LOWopen_terminal/config.py51 except Exception as exc:CODE
LOWopen_terminal/config.py62 except Exception as exc:CODE
LOWopen_terminal/tunnel.py311 except Exception as exc:CODE
LOWopen_terminal/cli.py139 except Exception:CODE
MEDIUMopen_terminal/main.py1780def __call__(self, scope, receive, send):CODE
LOW⚡open_terminal/main.py1679 except Exception:CODE
LOWopen_terminal/main.py794 except Exception:CODE
LOWopen_terminal/main.py1927 except Exception:CODE
LOWopen_terminal/main.py2151 except Exception:CODE
LOWopen_terminal/utils/runner.py121 except Exception:CODE
LOWopen_terminal/utils/runner.py291 except Exception:CODE
MEDIUMopen_terminal/utils/runner.py286def _read_blocking():CODE
LOWopen_terminal/utils/limits.py19 except Exception:CODE
LOWopen_terminal/utils/log.py138 except Exception as exc:CODE
LOWopen_terminal/utils/log.py252 except Exception:CODE
LOWopen_terminal/utils/documents.py324 except Exception as exc:CODE
LOWopen_terminal/utils/fs.py130 except Exception:CODE
MEDIUMopen_terminal/utils/fs.py46def __call__(self, scope, receive, send):CODE
LOWopen_terminal/utils/notebooks.py71 except Exception:CODE
LOWopen_terminal/utils/notebooks.py76 except Exception:CODE
LOWopen_terminal/utils/notebooks.py179 except Exception as e:CODE
LOWopen_terminal/utils/notebooks.py256 except Exception as e:CODE
LOWopen_terminal/utils/notebooks.py288 except Exception:CODE
MEDIUMopen_terminal/utils/notebooks.py68def _close_client(client):CODE
LOWopen_terminal/utils/file_compare.py117 except Exception as exc:CODE
LOWopen_terminal/utils/file_compare.py257 except Exception as exc:CODE
Cross-Language Confusion2 hits · 12 pts
SeverityFileLineSnippetContext
HIGH⚡open_terminal/main.py239 json_schema_extra={"examples": ["echo hello", "ls -la && whoami"]},CODE
HIGHopen_terminal/utils/notebooks.py195 'sudo -n chgrp "$1" "$2" && chmod 640 "$2" && shift 2 && exec "$@"',CODE
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOWopen_terminal/utils/skills.py3CODE
LOWopen_terminal/utils/user_isolation.py123CODE
LOWopen_terminal/utils/user_isolation.py124CODE
LOWopen_terminal/utils/notebooks.py10CODE
LOWopen_terminal/utils/notebooks.py16CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMopen_terminal/utils/fs.py168 # Swap /home/user (and /home/usr, a common LLM hallucination)COMMENT
Hyper-Verbose Identifiers3 hits · 2 pts
SeverityFileLineSnippetContext
LOWopen_terminal/config.py19def _default_user_config_path() -> Path:CODE
LOWopen_terminal/main.py96def _expand_system_prompt_template(template: str) -> str:CODE
LOWopen_terminal/utils/fs.py106def _build_text_file_response(path, display_path, start_line=None, end_line=None, normalize_newlines=True):CODE
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWentrypoint-slim.sh1#!/bin/shCOMMENT
LOWentrypoint.sh81 fiCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWopen_terminal/utils/runner.py335 def set_size(self, rows: int, cols: int) -> None:CODE
AI Structural Patterns1 hit · 0 pts
SeverityFileLineSnippetContext
LOWopen_terminal/main.py969CODE