AI Slop Code Risk Monitor

OvidijusParsiunas/deep-chat

SlopCodeMonitor badge for OvidijusParsiunas/deep-chat Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Fully customizable AI chatbot component for your website

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for OvidijusParsiunas/deep-chat, a TypeScript project with 3,742 GitHub stars. SynthScan examined 108,888 lines of code across 700 source files, recording 40 pattern matches distributed across 7 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-24
Last Push
3.7K
Stars
TypeScript
Language
108.9K
Lines of Code
700
Files
40
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.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 1.4/100 · LOW

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

PR Review Velocity Impact 2.2/100 · LOW

Which changes need focused human review? 40 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 1MEDIUM 2LOW 37

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 40 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.

Hyper-Verbose Identifiers21 hits · 24 pts
SeverityFileLineSnippetContext
LOW…/components/table/componentContainerHighlightMethod.js12export default function ComponentContainerHighlightMethod({children}) {CODE
LOW…src/components/table/componentContainerInterceptors.js35export default function ComponentContainerInterceptors({CODE
LOW…ite/src/components/table/componentSuggestionButtons.js5export default function ComponentSuggestionButtons() {CODE
LOW…site/src/components/table/componentContainerMethods.js28export default function ComponentContainerMethods({CODE
LOW…omponents/table/containersKeyToggleRealtimeFunction.js45export default function ContainersKeyToggleRealtimeFunction() {CODE
LOW…rc/components/table/containersKeyToggleChatFunction.js139export default function ContainersKeyToggleChatFunction({service = 'openAI', withKeyToggle = true}) {CODE
LOW…c/pages/playground/chat/playgroundChatWrapperConfig.js6export default function PlaygroundChatWrapperConfig(CODE
LOW…site/src/pages/playground/serviceModal/serviceModal.js333function extractOptionalParameterValues(optionalParamsEl) {CODE
LOW…yground/serviceModal/close/serviceModalCloseButtons.js4function updateExistingConfigWithNew(existingConfig, newConfig) {CODE
LOWcomponent/src/types/webModel/webLLM/webLLMShared.ts100export declare function deleteModelAllInfoInCache(modelId: string, appConfig?: AppConfig): Promise<void>;CODE
LOWcomponent/src/utils/errorMessages/errorMessages.ts19function getInvalidResponseMessage(result: object, messageType: string, isInterceptor: boolean, postInterceptor?: objectCODE
LOW⚡example-servers/python/flask/src/app.py76def hugging_face_conversation():CODE
LOW⚡example-servers/python/flask/src/app.py81def hugging_face_image_classification():CODE
LOW⚡example-servers/python/flask/src/app.py86def hugging_face_speech_recognition():CODE
LOW⚡example-servers/python/flask/src/app.py95def stabilityai_text_to_image():CODE
LOW⚡example-servers/python/flask/src/app.py100def stabilityai_image_to_image():CODE
LOW⚡example-servers/python/flask/src/app.py104def stabilityai_image_to_image_upscale():CODE
LOW…kit/src/routes/api/huggingface/conversation/+server.ts39function createReqConversationBody(messages: DeepChatTextRequestBody['messages']) {CODE
LOW…s/app-router/app/api/huggingface/conversation/route.ts34function createReqConversationBody(messages: DeepChatTextRequestBody['messages']) {CODE
LOW…tjs/pages-router/pages/api/huggingface/conversation.ts36function createReqConversationBody(messages: DeepChatTextRequestBody['messages']) {CODE
LOWexample-servers/node/websockets/src/app.ts30function recursivelySendMessagesToClient(ws: WebSocket) {CODE
Over-Commented Block10 hits · 10 pts
SeverityFileLineSnippetContext
LOWwebsite/src/components/nav/autoNavToggle.js41// // to watch for changes in the DOM and detect when the element is added.COMMENT
LOWwebsite/src/components/nav/autoNavToggle.js61// return targetElement;COMMENT
LOWcomponent/src/utils/decorators/property.ts21 internalHTML._attributes_[attributeName] = TypeConverters.attibutes[type];COMMENT
LOWcomponent/src/webModel/webModelFiles.ts1// Export/import of downloaded web-model files.COMMENT
LOWcomponent/src/webModel/worker.ts1// Template for the Web Worker that runs the web model off the main thread.COMMENT
LOWcomponent/src/views/chat/messages/messages.ts261 if (!overwrite.status) setTimeout(() => this.scrollToFirstElement(message[ROLE], isScrollAtBottom));COMMENT
LOW…src/views/chat/messages/remarkable/remarkableConfig.ts101// The following are examples of how to use other MarkDown to HTML convertersCOMMENT
LOWcomponent/src/services/openAI/openAIImagesIO.ts101 }COMMENT
LOWexample-servers/elixir/phoenix/priv/static/robots.txt1# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt fileCOMMENT
LOWexample-servers/elixir/phoenix/assets/js/app.js1// If you want to use Phoenix channels, run `mix help phx.gen.channel`COMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHexample-servers/python/flask/src/services/openAI.py73except json.JSONDecodeError:CODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWcomponent/index.html27 <deep-chat id="chat-element" demo="true" textInput='{"placeholder":{"text": "Welcome to the demo!"}}'></deep-chat>CODE
LOWcomponent/src/services/utils/serviceConstants.ts45export const PLACEHOLDER_KEY = 'placeholder';CODE
LOWcomponent/src/services/ollama/ollamaIO.ts39 super(deepChat, OLLAMA_BUILD_KEY_VERIFICATION_DETAILS(), OLLAMA_BUILD_HEADERS, {key: 'placeholder'});CODE
LOW…onent/src/services/openAI/realtime/openAIRealtimeIO.ts117 return 'placeholder';CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…nt/src/views/chat/input/buttons/submit/submitButton.ts175 // on Safari and mobile devices, after triggering submit, immediately restore caret/focus for seamless typingCOMMENT
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMexample-servers/python/flask/src/services/openAI.py57 print("Error in the retrieved stream chunk:", errorMessage)CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexample-servers/python/flask/src/services/openAI.py42CODE
LOWexample-servers/python/flask/src/services/openAI.py51CODE