Fully customizable AI chatbot component for your website
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 34 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 23 finding(s).
Which changes need focused human review? 40 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/components/table/componentContainerHighlightMethod.js | 12 | export default function ComponentContainerHighlightMethod({children}) { | CODE |
| LOW | …src/components/table/componentContainerInterceptors.js | 35 | export default function ComponentContainerInterceptors({ | CODE |
| LOW | …ite/src/components/table/componentSuggestionButtons.js | 5 | export default function ComponentSuggestionButtons() { | CODE |
| LOW | …site/src/components/table/componentContainerMethods.js | 28 | export default function ComponentContainerMethods({ | CODE |
| LOW | …omponents/table/containersKeyToggleRealtimeFunction.js | 45 | export default function ContainersKeyToggleRealtimeFunction() { | CODE |
| LOW | …rc/components/table/containersKeyToggleChatFunction.js | 139 | export default function ContainersKeyToggleChatFunction({service = 'openAI', withKeyToggle = true}) { | CODE |
| LOW | …c/pages/playground/chat/playgroundChatWrapperConfig.js | 6 | export default function PlaygroundChatWrapperConfig( | CODE |
| LOW | …site/src/pages/playground/serviceModal/serviceModal.js | 333 | function extractOptionalParameterValues(optionalParamsEl) { | CODE |
| LOW | …yground/serviceModal/close/serviceModalCloseButtons.js | 4 | function updateExistingConfigWithNew(existingConfig, newConfig) { | CODE |
| LOW | component/src/types/webModel/webLLM/webLLMShared.ts | 100 | export declare function deleteModelAllInfoInCache(modelId: string, appConfig?: AppConfig): Promise<void>; | CODE |
| LOW | component/src/utils/errorMessages/errorMessages.ts | 19 | function getInvalidResponseMessage(result: object, messageType: string, isInterceptor: boolean, postInterceptor?: object | CODE |
| LOW⚡ | example-servers/python/flask/src/app.py | 76 | def hugging_face_conversation(): | CODE |
| LOW⚡ | example-servers/python/flask/src/app.py | 81 | def hugging_face_image_classification(): | CODE |
| LOW⚡ | example-servers/python/flask/src/app.py | 86 | def hugging_face_speech_recognition(): | CODE |
| LOW⚡ | example-servers/python/flask/src/app.py | 95 | def stabilityai_text_to_image(): | CODE |
| LOW⚡ | example-servers/python/flask/src/app.py | 100 | def stabilityai_image_to_image(): | CODE |
| LOW⚡ | example-servers/python/flask/src/app.py | 104 | def stabilityai_image_to_image_upscale(): | CODE |
| LOW | …kit/src/routes/api/huggingface/conversation/+server.ts | 39 | function createReqConversationBody(messages: DeepChatTextRequestBody['messages']) { | CODE |
| LOW | …s/app-router/app/api/huggingface/conversation/route.ts | 34 | function createReqConversationBody(messages: DeepChatTextRequestBody['messages']) { | CODE |
| LOW | …tjs/pages-router/pages/api/huggingface/conversation.ts | 36 | function createReqConversationBody(messages: DeepChatTextRequestBody['messages']) { | CODE |
| LOW | example-servers/node/websockets/src/app.ts | 30 | function recursivelySendMessagesToClient(ws: WebSocket) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/src/components/nav/autoNavToggle.js | 41 | // // to watch for changes in the DOM and detect when the element is added. | COMMENT |
| LOW | website/src/components/nav/autoNavToggle.js | 61 | // return targetElement; | COMMENT |
| LOW | component/src/utils/decorators/property.ts | 21 | internalHTML._attributes_[attributeName] = TypeConverters.attibutes[type]; | COMMENT |
| LOW | component/src/webModel/webModelFiles.ts | 1 | // Export/import of downloaded web-model files. | COMMENT |
| LOW | component/src/webModel/worker.ts | 1 | // Template for the Web Worker that runs the web model off the main thread. | COMMENT |
| LOW | component/src/views/chat/messages/messages.ts | 261 | if (!overwrite.status) setTimeout(() => this.scrollToFirstElement(message[ROLE], isScrollAtBottom)); | COMMENT |
| LOW | …src/views/chat/messages/remarkable/remarkableConfig.ts | 101 | // The following are examples of how to use other MarkDown to HTML converters | COMMENT |
| LOW | component/src/services/openAI/openAIImagesIO.ts | 101 | } | COMMENT |
| LOW | example-servers/elixir/phoenix/priv/static/robots.txt | 1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file | COMMENT |
| LOW | example-servers/elixir/phoenix/assets/js/app.js | 1 | // If you want to use Phoenix channels, run `mix help phx.gen.channel` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | example-servers/python/flask/src/services/openAI.py | 73 | except json.JSONDecodeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | component/index.html | 27 | <deep-chat id="chat-element" demo="true" textInput='{"placeholder":{"text": "Welcome to the demo!"}}'></deep-chat> | CODE |
| LOW | component/src/services/utils/serviceConstants.ts | 45 | export const PLACEHOLDER_KEY = 'placeholder'; | CODE |
| LOW | component/src/services/ollama/ollamaIO.ts | 39 | super(deepChat, OLLAMA_BUILD_KEY_VERIFICATION_DETAILS(), OLLAMA_BUILD_HEADERS, {key: 'placeholder'}); | CODE |
| LOW | …onent/src/services/openAI/realtime/openAIRealtimeIO.ts | 117 | return 'placeholder'; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …nt/src/views/chat/input/buttons/submit/submitButton.ts | 175 | // on Safari and mobile devices, after triggering submit, immediately restore caret/focus for seamless typing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | example-servers/python/flask/src/services/openAI.py | 57 | print("Error in the retrieved stream chunk:", errorMessage) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | example-servers/python/flask/src/services/openAI.py | 42 | CODE | |
| LOW | example-servers/python/flask/src/services/openAI.py | 51 | CODE |