Deskreen turns any device with a web browser into a secondary screen for your computer. ⭐️ Star to support our work!
This report summarizes scanner evidence for pavlobu/deskreen, a TypeScript project with 21,699 GitHub stars. SynthScan examined 37,908 lines of code across 261 source files, recording 37 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? 37 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 22 finding(s).
Which changes need focused human review? 37 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 37 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 | …features/PeerConnection/createDesktopCapturerStream.ts | 4 | export default async function createDesktopCapturerStream( | CODE |
| LOW | …/PeerConnection/handleSetDisplaySizeFromLocalStream.ts | 1 | export default function setDisplaySizeFromLocalStream( | CODE |
| LOW | src/renderer/src/utils/showMessageFromNewToaster.ts | 4 | export async function showMessageFromNewToaster( | CODE |
| LOW | …renderer/src/components/ConnectedDevicesListDrawer.tsx | 48 | export default function ConnectedDevicesListDrawer( | CODE |
| LOW | …renderer/src/components/ConnectedDevicesListDrawer.tsx | 61 | function getConnectedDevicesCallback() { | CODE |
| LOW | …nderer/src/components/ShareAppOrScreenControlGroup.tsx | 55 | export default function ShareAppOrScreenControlGroup( | CODE |
| LOW | …/components/StepperPanel/DeviceConnectedInfoButton.tsx | 51 | export default function DeviceConnectedInfoButton( | CODE |
| LOW | src/renderer/src/hooks/useScreenRecordingPermission.ts | 4 | export function useScreenRecordingPermission(): boolean { | CODE |
| LOW | …/src/features/PeerConnection/simplePeerDataMessages.ts | 1 | export function prepareDataMessageToChangeQuality(q: number) { | CODE |
| LOW | …/src/features/PeerConnection/simplePeerDataMessages.ts | 12 | export function prepareDataMessageToGetSharingSourceType() { | CODE |
| LOW | src/client-viewer/src/utils/analytics.ts | 263 | function sendClientViewerVersionEvent(): void { | CODE |
| LOW | src/client-viewer/src/utils/gaRequestInterceptor.ts | 229 | export function initializeGARequestInterceptor(): void { | CODE |
| LOW | src/client-viewer/src/utils/userAgentParserHelpers.ts | 12 | export function getDeviceTypeFromUAParser(uaParser: UAParser) { | CODE |
| LOW | …wer/src/containers/MainView/useScreenViewingTracker.ts | 12 | function formatErrorMessageForEvent(errorMessage: ErrorMessageType): string { | CODE |
| LOW | src/features/DesktopCapturerSourcesService/index.ts | 14 | export function getSourceTypeFromSourceID( | CODE |
| LOW | src/server/onDeviceConnectedCallback.ts | 7 | export function onDeviceConnectedCallback(device: Device): void { | CODE |
| LOW | src/server/startPollForInactiveRooms.ts | 7 | export default async function startPollForInactiveRooms(): Promise<void> { | CODE |
| LOW | src/main/helpers/getMyLocalIpV4.ts | 141 | export function getActiveNetworkInterface(): { interfaceName: string; ipAddress: string } | undefined { | CODE |
| LOW | src/main/helpers/checkScreenRecordingPermission.ts | 6 | export function checkScreenRecordingPermission(): boolean { | CODE |
| LOW | src/main/helpers/ipcMainHandlers.ts | 149 | async function createWaitingForConnectionSharingSession( | CODE |
| LOW | src/main/helpers/ipcMainHandlers.ts | 177 | function resetWaitingForConnectionSharingSession(): void { | CODE |
| LOW | src/main/helpers/ipcMainHandlers.ts | 354 | function startSharingOnWaitingForConnectionSharingSession(): void { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/features/DesktopCapturerSourcesService/index.ts | 127 | // TODO: implement logic | COMMENT |
| LOW⚡ | src/features/DesktopCapturerSourcesService/index.ts | 134 | // TODO: implement logic | COMMENT |
| LOW⚡ | src/features/DesktopCapturerSourcesService/index.ts | 138 | // TODO: implement logic of checking if last sources match new sources, | COMMENT |
| LOW | src/features/DesktopCapturerSourcesService/index.ts | 178 | // TODO: implement get available sources logic here; | COMMENT |
| LOW⚡ | src/features/DesktopCapturerSourcesService/index.ts | 246 | // TODO: implement logic | COMMENT |
| LOW⚡ | src/features/DesktopCapturerSourcesService/index.ts | 254 | // TODO: implement logic | COMMENT |
| LOW⚡ | src/features/DesktopCapturerSourcesService/index.ts | 263 | // TODO: implement logic | COMMENT |
| LOW⚡ | src/features/DesktopCapturerSourcesService/index.ts | 267 | // TODO: implement logic | COMMENT |
| LOW | src/features/DesktopCapturerSourcesService/index.ts | 278 | // TODO: implement logic | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/common/deskreen-electron-store.ts | 1 | // import Store from 'electron-store'; | COMMENT |
| LOW | src/main/menu.ts | 201 | // click() { | COMMENT |
| LOW | src/main/index.ts | 21 | // autoHideMenuBar: true, | COMMENT |
| LOW | src/main/index.ts | 41 | // mainWindow.loadURL(process.env['ELECTRON_RENDERER_URL']); | COMMENT |
| LOW | src/main/index.ts | 61 | // // IPC test | COMMENT |
| LOW | src/preload/index.ts | 1 | import { contextBridge } from 'electron'; | COMMENT |