SSH workspace, SFTP, and terminals in one
This report presents the forensic synthetic code analysis of binaricat/Netcatty, a TypeScript project with 3,531 GitHub stars. SynthScan v2.0 examined 337,328 lines of code across 1364 source files, recording 835 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 2.8 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 835 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | index.tsx | 88 | function TerminalPopupWindowFallback() { | CODE |
| LOW | components/terminalPaneVisibility.ts | 29 | export function shouldUseTerminalPaneSplitLayout({ | CODE |
| LOW | components/terminalPaneVisibility.ts | 52 | export function shouldMeasureTerminalLayerLayout({ | CODE |
| LOW | components/terminalPaneVisibility.ts | 85 | export function resolveTerminalLayerSurfaceStyle( | CODE |
| LOW | components/terminalPaneVisibility.ts | 136 | export function parseTerminalPaneSnapshot(snapshot: TerminalPaneSnapshot): { | CODE |
| LOW | components/terminalPaneVisibility.ts | 178 | export function getTerminalPaneFocusSnapshot({ | CODE |
| LOW | components/terminalPaneVisibility.ts | 200 | export function getTerminalPaneRenderSnapshot( | CODE |
| LOW | components/terminalPaneVisibility.ts | 216 | export function parseTerminalPaneRenderSnapshot(snapshot: string): { | CODE |
| LOW | components/SettingsPage.tsx | 134 | const SettingsTerminalTabContainer = React.memo<TerminalTabSettingsProps>(function SettingsTerminalTabContainer({ | CODE |
| LOW | components/AIChatSidePanelHelpers.ts | 45 | function normalizeSdkRuntimeModelCatalog(catalog: SdkRuntimeModelCatalog): SdkRuntimeModelCatalog { | CODE |
| LOW | components/AIChatSidePanelHelpers.ts | 54 | export function buildSdkRuntimeModelCacheKey(agent: { | CODE |
| LOW | components/AIChatSidePanelHelpers.ts | 66 | export function createSdkRuntimeModelCache(options: SdkRuntimeModelCacheOptions = {}) { | CODE |
| LOW | components/AIChatSidePanelHelpers.ts | 124 | export function shouldLoadSdkRuntimeModels(agent?: ExternalAgentConfig): boolean { | CODE |
| LOW | components/AIChatSidePanelHelpers.ts | 132 | export function shouldAdoptSdkCurrentModel( | CODE |
| LOW | components/AIChatSidePanelHelpers.ts | 143 | export function normalizeSdkRuntimeModelPresets( | CODE |
| LOW | components/AIChatSidePanelHelpers.ts | 152 | export function shouldUseStoredAgentModel( | CODE |
| LOW | components/ScriptsSidePanel.tsx | 125 | export function buildScriptsSidePanelRows({ | CODE |
| LOW | components/AIChatSidePanel.tsx | 106 | function invalidateUserSkillsStatusCache() { | CODE |
| LOW | components/AIChatSidePanel.tsx | 156 | export function hasAIChatSidePanelRetainedContent(props: Pick< | CODE |
| LOW | components/AIChatSidePanel.tsx | 179 | export function shouldKeepAIChatSidePanelMounted(props: AIChatSidePanelProps): boolean { | CODE |
| LOW | components/AIChatSidePanel.tsx | 191 | function shouldDelayAIChatSidePanelActivation(props: AIChatSidePanelProps): boolean { | CODE |
| LOW | components/AIChatSidePanel.tsx | 1289 | export function aiChatSidePanelPropsAreEqual( | CODE |
| LOW | components/TopTabs.tsx | 79 | export function shouldKeepHostTreeToggleSurface({ | CODE |
| LOW | components/TopTabs.tsx | 89 | export function resolveWorkspaceSessionTabDropTarget({ | CODE |
| LOW | components/TerminalPopupPage.tsx | 38 | function TerminalPopupWindowControls({ mac, onClose }: { mac: boolean; onClose: () => void }) { | CODE |
| LOW | components/TerminalPopupPage.tsx | 133 | function TerminalPopupStartupError({ | CODE |
| LOW | components/TerminalPopupPage.tsx | 179 | function resolveHostProtocolFromSourceSession(source: TerminalPopupPayload['sourceSession']): Host['protocol'] { | CODE |
| LOW | components/TerminalPopupPage.tsx | 189 | function applySourceSessionConnectionOverrides( | CODE |
| LOW | components/TerminalPopupPage.tsx | 228 | export function resolveTerminalPopupReuseId(config: TerminalPopupPayload): string | undefined { | CODE |
| LOW | components/QuickAddSnippetDialog.tsx | 39 | export function getQuickAddSnippetInitialCommand(event: Event): string { | CODE |
| LOW | components/snippets/SnippetCommandTooltipContent.tsx | 6 | export function SnippetCommandTooltipContent({ | CODE |
| LOW | components/settings/tabs/SettingsAITab.tsx | 96 | function getSavedManagedAgentPathInfo( | CODE |
| LOW | components/settings/tabs/SettingsAITab.tsx | 116 | function getManagedAgentCommandPath( | CODE |
| LOW | …mponents/settings/tabs/SettingsFileAssociationsTab.tsx | 35 | export default function SettingsFileAssociationsTab() { | CODE |
| LOW | components/settings/tabs/ai/ProviderConfigForm.tsx | 21 | async function compressIconFileToDataUrl(file: File): Promise<string> { | CODE |
| LOW | components/settings/tabs/ai/modelMetadata.ts | 36 | function resolveModelContextWindow(model: Record<string, unknown>): number | undefined { | CODE |
| LOW | components/settings/tabs/ai/ModelSelector.tsx | 44 | export function getModelSuggestionsPresentation({ | CODE |
| LOW | components/settings/tabs/ai/ModelSelector.tsx | 82 | export function getModelSuggestionClassName(isSelected: boolean): string { | CODE |
| LOW | components/settings/tabs/ai/types.ts | 185 | export function normalizeCodexBridgeError(error: unknown): string { | CODE |
| LOW | components/settings/tabs/ai/ExternalMcpCard.tsx | 135 | function getPermissionModeLabelKey(mode: string | null | undefined): string { | CODE |
| LOW | components/settings/tabs/ai/ExternalMcpCard.tsx | 148 | function getPermissionModeToneClass(mode: string | null | undefined): string { | CODE |
| LOW | components/settings/tabs/ai/managedAgentState.ts | 10 | function getAutoManagedAgentStoredPath( | CODE |
| LOW | components/settings/tabs/ai/managedAgentState.ts | 19 | export function areExternalAgentListsEqual( | CODE |
| LOW | components/settings/tabs/ai/managedAgentState.ts | 128 | export function updateCodebuddyManagedEnv( | CODE |
| LOW | components/settings/tabs/ai/managedAgentState.ts | 162 | export function getInitialManagedAgentPaths(agents: ExternalAgentConfig[]) { | CODE |
| LOW | components/top-tabs/useTopTabLifecycleAnimations.ts | 5 | export function useTopTabLifecycleAnimations(orderedTabs: string[]) { | CODE |
| LOW | components/top-tabs/SessionTabContextMenuContent.tsx | 19 | export function SessionTabContextMenuContent({ | CODE |
| LOW | components/top-tabs/TopTabItems.tsx | 275 | export function scrollTopTabIntoComfortView( | CODE |
| LOW | components/systemManager/openInteractiveTerminal.ts | 17 | function buildCommandPopupSourceSession( | CODE |
| LOW | components/systemManager/tmuxActionFocus.ts | 24 | export function scheduleDeferredTerminalFocus(onRequestTerminalFocus?: () => void): void { | CODE |
| LOW | components/systemManager/TmuxSessionCard.tsx | 53 | export async function runConfirmedTmuxDetachAction({ | CODE |
| LOW | components/systemManager/hooks/useSystemManager.ts | 15 | function normalizePollingErrorMessage(error: unknown, t: I18nContextValue['t']): string { | CODE |
| LOW | components/systemManager/hooks/useSystemManager.ts | 87 | export function useSystemCapabilitiesWarmup( | CODE |
| LOW⚡ | components/sftp/sftpTabDuplication.ts | 26 | export function isSftpTabKeyboardContextMenuShortcut( | CODE |
| LOW⚡ | components/sftp/sftpTabDuplication.ts | 33 | export function isSftpTabKeyboardSelectShortcut(key: string): boolean { | CODE |
| LOW⚡ | components/sftp/sftpTabDuplication.ts | 37 | export function shouldHandleSftpTabKeyboardEvent( | CODE |
| LOW⚡ | components/sftp/sftpTabDuplication.ts | 44 | export function getSftpTabDuplicateRequest( | CODE |
| LOW | components/sftp/clipboardUpload.ts | 33 | export function resolveSftpClipboardUploadTarget({ | CODE |
| LOW | components/sftp/clipboardUpload.ts | 55 | export function getSftpClipboardSystemTextPaths({ | CODE |
| LOW⚡ | components/sftp/clipboardUpload.ts | 67 | export function createDropEntriesFromClipboardFiles(files: ClipboardLocalFile[]): DropEntry[] { | CODE |
| 703 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | components/sftp/useSftpPaneTreeRows.tsx | 30 | // ── Render visible rows ────────────────────────────────────────── | COMMENT |
| MEDIUM | components/sftp/SftpPaneTreeNode.tsx | 12 | // ── Simplified TreeNode (no per-node ContextMenu) ──────────────────── | COMMENT |
| MEDIUM | components/sftp/SftpPaneTreeNode.tsx | 129 | // ── Tree paths reducer (unchanged) ────────────────────────────────── | COMMENT |
| MEDIUM | components/sftp/hooks/useSftpKeyboardShortcuts.ts | 76 | // ── Tree Enter key action store ────────────────────────────────────── | COMMENT |
| MEDIUM | components/sftp/hooks/useSftpKeyboardShortcuts.ts | 109 | // ── Keyboard selection anchor/focus tracking ──────────────────────── | COMMENT |
| MEDIUM | components/sftp/hooks/useSftpKeyboardShortcuts.ts | 508 | // ── Arrow Up/Down: move selection ──────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/build-et-binaries.yml | 55 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/build-et-binaries.yml | 57 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/build-et-binaries.yml | 100 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/build-et-binaries.yml | 102 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/build-et-binaries.yml | 120 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/build-et-binaries.yml | 122 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | .github/workflows/build-et-binaries.yml | 146 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | .github/workflows/build-et-binaries.yml | 148 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | .github/workflows/build-et-binaries.yml | 150 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | .github/workflows/build-et-binaries.yml | 152 | # ------------------------------------------------------------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | App.tsx | 481 | }, [buildCurrentSyncPayload]); | COMMENT |
| LOW | components/SftpView.tsx | 161 | COMMENT | |
| LOW | components/Terminal.tsx | 841 | knownCwdRef.current = undefined; | COMMENT |
| LOW | components/Terminal.tsx | 2401 | sessionStarters.startSSH(term); | COMMENT |
| LOW | components/VaultView.tsx | 1141 | // trailing gap AND a section with a single card (e.g. Pinned) keeps it at one | COMMENT |
| LOW | components/AIChatSidePanel.types.ts | 121 | // ------------------------------------------------------------------- | COMMENT |
| LOW | components/host-details/AlgorithmOverridesPanel.tsx | 61 | const { t } = useI18n(); | COMMENT |
| LOW | components/settings/TerminalFontSelect.tsx | 41 | // don't pick a font and then see no visible change. The currently | COMMENT |
| LOW | components/cloud-sync/CloudSyncLocalBackupsPanel.tsx | 81 | COMMENT | |
| LOW | components/cloud-sync/CloudSyncLocalBackupsPanel.tsx | 141 | // Hold the cross-window restore barrier around both the load | COMMENT |
| LOW | components/terminal/useTerminalEffects.ts | 1401 | e.preventDefault(); | COMMENT |
| LOW | components/terminal/autocomplete/promptDetector.ts | 701 | continue; | COMMENT |
| LOW | components/terminal/autocomplete/promptDetector.ts | 721 | } | COMMENT |
| LOW | …nts/terminal/autocomplete/terminalAutocompleteInput.ts | 101 | clearState(); | COMMENT |
| LOW | …nts/terminal/autocomplete/terminalAutocompleteInput.ts | 121 | // paste keeps it aligned; if the buffer was unreliable (e.g. | COMMENT |
| LOW | …nts/terminal/autocomplete/terminalAutocompleteInput.ts | 141 | // cursor sits relative to our append-only buffer. Mark the | COMMENT |
| LOW | …nts/terminal/autocomplete/terminalAutocompleteInput.ts | 201 | // User is typing more — invalidate accepted command fallback since the | COMMENT |
| LOW | …/terminal/autocomplete/terminalAutocompleteKeyEvent.ts | 81 | } | COMMENT |
| LOW | …ents/terminal/runtime/createTerminalSessionStarters.ts | 981 | } | COMMENT |
| LOW | components/terminal/runtime/createXTermRuntime.ts | 921 | // unconditionally clears the selection on user input | COMMENT |
| LOW | components/terminal/runtime/terminalDistroDetection.ts | 41 | ) => { | COMMENT |
| LOW | components/ai/externalAgentHistory.test.ts | 401 | // Regression: the previous bound was MAX_DURABLE_SCAN_MESSAGES=200 on | COMMENT |
| LOW | scripts/build-et/build-macos.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/build-et/build-linux.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/build-et/build-linux.sh | 121 | # Bootstrap the vendored vcpkg so CMake's vcpkg toolchain can resolve the | COMMENT |
| LOW | .github/workflows/build.yml | 1 | name: build-packages | COMMENT |
| LOW | .github/scripts/bump-homebrew-cask.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | application/localVaultBackups.ts | 461 | sourceAppVersion: previousVersion, | COMMENT |
| LOW | application/state/useAutoSync.ts | 61 | COMMENT | |
| LOW | application/state/useAutoSync.ts | 261 | } | COMMENT |
| LOW | application/state/useAutoSync.ts | 281 | } | COMMENT |
| LOW | application/state/useAutoSync.ts | 661 | // If the three-way merge introduced any local-only additions that the | COMMENT |
| LOW | application/state/useAutoSync.ts | 821 | COMMENT | |
| LOW | application/state/useAutoSync.ts | 921 | // CLOSED. Opening it here would allow a partially-lost local | COMMENT |
| LOW | application/state/useSessionState.ts | 721 | COMMENT | |
| LOW | infrastructure/config/cjkFonts.ts | 161 | // | COMMENT |
| LOW | infrastructure/config/xtermPerformance.ts | 101 | }, | COMMENT |
| LOW | infrastructure/services/syncAnchorDecision.js | 41 | return { remoteChanged: false, reason: 'no-anchor-no-remote' }; | COMMENT |
| LOW | domain/models/connection.ts | 221 | sftpFollowTerminalCwd?: boolean; // Overrides global SFTP follow-terminal-directory setting | COMMENT |
| LOW | domain/models/connection.ts | 241 | // aggressive cloud-friendly keepalive globally while disabling it for a | COMMENT |
| LOW | domain/models/terminal.ts | 121 | // Paste | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | components/terminal/osc7Setup.ts | 157 | print (bp != "" ? bp : start) | CODE |
| HIGH | components/terminal/osc7Setup.ts | 217 | elif [ "$active_shell_pid" != "$login_shell_pid" ]; then | CODE |
| HIGH | components/terminal/osc7Setup.ts | 348 | elif stat -f '%OLp' "$1" >/dev/null 2>&1; then | CODE |
| HIGH | components/terminal/osc7Setup.ts | 357 | elif stat -f '%u:%g' "$1" >/dev/null 2>&1; then | CODE |
| HIGH | components/terminal/osc7Setup.ts | 497 | elif netcatty_osc7_markers_balanced "$config"; then | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | infrastructure/services/adapters/GitHubAdapter.ts | 236 | // Increase interval as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | components/terminal/runtime/terminalDistroDetection.ts | 55 | // Step 1: try to classify from the SSH server identification string | COMMENT |
| LOW | components/terminal/runtime/terminalDistroDetection.ts | 79 | // Step 2: unknown or generic OpenSSH/Dropbear — fall back to the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | components/terminal/runtime/terminalDistroDetection.ts | 55 | // Step 1: try to classify from the SSH server identification string | COMMENT |
| LOW | components/terminal/runtime/terminalDistroDetection.ts | 79 | // Step 2: unknown or generic OpenSSH/Dropbear — fall back to the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lib/localFonts.ts | 165 | // Filter monospace fonts using robust word boundary matching | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/generate-app-icon-variants.py | 182 | CODE | |
| LOW | scripts/generate-app-icon-variants.py | 202 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/generate-app-icon-variants.py | 9 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | domain/telnetDeepLink.test.ts | 198 | label: "admin@example.com", | CODE |