deepstream.io server
This report summarizes scanner evidence for deepstreamIO/deepstream.io, a TypeScript project with 7,181 GitHub stars. SynthScan examined 41,742 lines of code across 244 source files, recording 57 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.2 (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? 57 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 3 finding(s).
Which changes need focused human review? 57 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 57 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test-e2e/steps/server/step-definition-server.ts | 61 | // AfterAll((callback) => { | COMMENT |
| LOW | conf/config.yml | 1 | # General | COMMENT |
| LOW | conf/config.yml | 41 | responseTimeout: 10000 | COMMENT |
| LOW | conf/config.yml | 81 | # url path for http health-checks, GET requests to this path will return 200 if deepstream is alive | COMMENT |
| LOW | conf/config.yml | 101 | # # url path for http health-checks, GET requests to this path will return 200 if deepstream is alive | COMMENT |
| LOW | conf/config.yml | 141 | # amount of time a connection can remain open while not being logged in | COMMENT |
| LOW | conf/config.yml | 161 | # # should the server log invalid auth data, defaults to false | COMMENT |
| LOW | conf/config.yml | 181 | COMMENT | |
| LOW | conf/config.yml | 201 | # should the server log invalid auth data, defaults to false | COMMENT |
| LOW | conf/config.yml | 221 | COMMENT | |
| LOW | conf/config.yml | 241 | # filename: 'logs.json' | COMMENT |
| LOW | conf/config.yml | 261 | # Authentication | COMMENT |
| LOW | conf/config.yml | 281 | # - type: file | COMMENT |
| LOW | conf/config.yml | 301 | # # promote the following items from the login auth data into headers | COMMENT |
| LOW | conf/config.yml | 321 | cacheEvacuationInterval: 60000 | COMMENT |
| LOW | conf/config.yml | 341 | # clusterNode: | COMMENT |
| LOW | conf/config.yml | 361 | # accessKeyId: ${AWS_ACCESS_KEY} | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 1 | // import * as C from '../../src/constants' | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 21 | // | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 41 | // | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 61 | // depInit.on('ready', () => { | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 81 | // expect(uwsMock.pingMessage).to.equal({ | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 101 | // .expects('destroy') | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 121 | // originalTopic: 5, | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 141 | // | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 161 | // action: C.EVENT_ACTION.EMIT, | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 181 | // .once() | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 201 | // .once() | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 221 | // | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 241 | // expect(socketWrapper.user).to.equal('test-user') | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 261 | // authenticationHandlerMock.nextUserValidationResult = true | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 281 | // client.socketWrapper.close() | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 301 | // uwsMock.messageHandler([{ topic: C.TOPIC.AUTH, action: C.RPC_ACTION.REQUEST, data: '{"user":"test-user"}' }], cli | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 321 | // client.socketWrapperMock | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 341 | // .expects('destroy') | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 361 | // client.socketWrapper.close() | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 381 | // client.socketWrapperMock | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 401 | // }) | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 421 | // | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 441 | // } | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 461 | // afterEach(done => { | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 481 | // it('creates a https connection when sslKey and sslCert are provided', done => { | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 501 | // | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 521 | // } | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 541 | // } catch (e) { | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 561 | // | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 581 | // }) | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 601 | // describe('permission passes additional user meta data', () => { | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 621 | // it('sends an authentication message', () => { | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 641 | // | COMMENT |
| LOW | …c/connection-endpoint/base/connection-endpoint.spec.ts | 661 | // expect(connectionEndpoint.onMessages.calls.mostRecent().args[0].authData).to.deep.equal({ role: 'admin' }) | COMMENT |
| LOW | src/service/template/initd.ts | 1 | export default (d: any) => | COMMENT |
| LOW | src/handlers/rpc/rpc-handler.spec.ts | 421 | // config.RPCRequestorNameTerm = null | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/config/js-yaml-loader.ts | 207 | function replaceEnvironmentVariables (fileContent: string): string { | CODE |
| LOW | src/config/config-initialiser.ts | 257 | function handleConnectionEndpoints (config: DeepstreamConfig, services: any): DeepstreamConnectionEndpoint[] { | CODE |
| LOW | src/config/config-initialiser.ts | 418 | function handlePermissionStrategies (config: DeepstreamConfig, services: DeepstreamServices): DeepstreamPermission { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/connection-endpoint/http/connection-endpoint.ts | 99 | // TODO: implement a GET endpoint that reads the current state of a record | COMMENT |