为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
This report summarizes scanner evidence for anywhere-labs/deepseek-harness-desktop, a TypeScript project with 30,440 GitHub stars. SynthScan examined 226,661 lines of code across 1275 source files, recording 748 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 5.0 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 714 finding(s).
Are imports declared and package/API names verified? 34 finding(s).
Are wrappers, guards, and repeated structures necessary? 711 finding(s).
Which changes need focused human review? 748 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 748 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 | dsh-community-market/src/install/github.ts | 73 | export function createGitHubPackageVerifier(http: CatalogHttpClient) { | CODE |
| LOW | dsh-community-market/src/install/service.ts | 279 | export function createNpmRegistryVerifier(http: CatalogHttpClient): MarketNpmPackageVerifier { | CODE |
| LOW | dsh-community-market/src/install/service.ts | 327 | export function createMarketPackageVerifier( | CODE |
| LOW | dsh-community-market/src/install/service.ts | 452 | async function directProfilePluginVersion( | CODE |
| LOW | dsh-community-market/src/host/routes.ts | 507 | export async function readStandardSourceManifest( | CODE |
| LOW | dsh-community-market/src/host/routes.ts | 601 | export function createMarketSourceMutator( | CODE |
| LOW | dsh-community-market/src/contracts/identity.ts | 48 | export function normalizeRepositoryIdentity(repository: RepositoryIdentity): NormalizedRepositoryIdentity { | CODE |
| LOW | dsh-community-market/src/contracts/identity.ts | 92 | export function normalizeGitHubInstallSource( | CODE |
| LOW | dsh-community-market/src/contracts/validate.ts | 113 | export function validateLocalSourceRecords(records: readonly LocalSourceRecord[]): void { | CODE |
| LOW | dsh-community-market/src/catalog/source-store.ts | 10 | export function normalizeActiveSourceRecords( | CODE |
| LOW | dsh-community-market/src/catalog/domain.ts | 186 | export async function importLegacyMarketSettings(ctx: Context, store: DomainMarketStateStore): Promise<void> { | CODE |
| LOW | dsh-community-market/src/catalog/domain.ts | 214 | export async function activateMarketDurableState( | CODE |
| LOW | dsh-community-market/src/catalog/service.ts | 135 | function reviewedAdapterCategories(value: readonly string[]): readonly string[] { | CODE |
| LOW | dsh-community-market/src/catalog/service.ts | 169 | function validateCompleteCatalogScan( | CODE |
| LOW | dsh-community-market/src/network/restricted-http.ts | 228 | export function createRestrictedHttpClient( | CODE |
| LOW | dsh-community-market/src/network/restricted-http.ts | 349 | export function createCachedCatalogHttpClient( | CODE |
| LOW | dsh-community-market/src/network/blocked-subnets.ts | 55 | export function createSyntheticProxyAddresses(): BlockList { | CODE |
| LOW | dsh-community-market/src/adapters/standard-http.ts | 27 | export function assertStandardSourceTrustRoot( | CODE |
| LOW | dsh-community-market/src/media/restricted-image.ts | 83 | export function normalizeAllowedHostnames(values: readonly string[]): readonly string[] { | CODE |
| LOW | dsh-community-market/src/media/restricted-image.ts | 293 | export function createRestrictedImageFetcher( | CODE |
| LOW | dsh-plugin-desktop-beta/tests/profile.spec.ts | 88 | function writeDesktopShellPreferences(home: string, preferences: readonly string[]): void { | CODE |
| LOW | dsh-plugin-desktop-beta/tests/package.spec.ts | 701 | const projection = preferencesSource.indexOf('function desktopProfilePreferencesFromSettings(') | CODE |
| LOW | dsh-plugin-desktop-beta/tests/module-resolution.spec.ts | 87 | function installProfilePackageResolver(profileBaseUrl: string): () => void { | CODE |
| LOW | …desktop-beta/tests/desktop-runtime-environment.spec.ts | 58 | function expectCodePagePinnedAheadOfEveryPath(shim: string): void { | CODE |
| LOW | …gin-desktop-beta/tests/market-pnpm-integration.spec.ts | 78 | async function removeInstalledProfilePlugin(profileDir: string): Promise<void> { | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/release-preflight.ts | 76 | export function adaptMacReleaseEnvironment(env: NodeJS.ProcessEnv): NodeJS.ProcessEnv { | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/release-preflight.ts | 135 | function resolveNotarizationCredentials(env: NodeJS.ProcessEnv): NotarizationCredentialSource { | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/release-preflight.ts | 218 | function listCodeSigningIdentities(env: NodeJS.ProcessEnv): string { | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/package-win.ts | 29 | export function windowsCompressionOverride( | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/package-win.ts | 82 | export function withoutWindowsSigningSecrets( | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/package-win.ts | 107 | export function createWindowsPackageOptions(verifier = './verify-win-installer.ts'): WindowsPackageOptions { | CODE |
| LOW | …n-desktop-beta/scripts/electron-builder-environment.ts | 8 | export function electronBuilderEnvironment( | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/release-mac.ts | 43 | function listCodeSigningIdentities(env: NodeJS.ProcessEnv): string { | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/package-linux.ts | 55 | export function withoutLinuxSigningSecrets( | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/package-linux.ts | 80 | export function createLinuxPackageOptions(verifier = './verify-linux-artifacts.ts'): LinuxPackageOptions { | CODE |
| LOW | …h-plugin-desktop-beta/scripts/verify-electron-fuses.ts | 85 | export async function verifyElectronExecutableFuses( | CODE |
| LOW | …h-plugin-desktop-beta/scripts/verify-electron-fuses.ts | 154 | function targetPackagerArchitectures( | CODE |
| LOW | …h-plugin-desktop-beta/scripts/verify-electron-fuses.ts | 184 | function configuredTargetArchitectures( | CODE |
| LOW | …h-plugin-desktop-beta/scripts/verify-electron-fuses.ts | 322 | export function resolveFinalPackagedRuntimeContexts( | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 26 | export function resolveRuntimePackageRoot( | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 285 | export function resolvePackagedExecutablePath(context: PackagedRuntimeContext): string { | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 335 | export function smokePackagedElectronRuntime( | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 441 | export function resolvePackagedUnpackedRoot(context: PackagedRuntimeContext): string { | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 446 | export function resolvePackagedApplicationRoot(context: PackagedRuntimeContext): string { | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 470 | export function resolvePackagedRuntimeRoot(context: PackagedRuntimeContext): string { | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 489 | export function listDesktopRuntimeEntries(libRoot: string): string[] { | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 615 | function allowedSmartUnpackPackageRoot(root: string): boolean { | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 649 | export function formatUnpackedRuntimeSummary(summary: UnpackedRuntimeSummary): string { | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 661 | export function verifySelectiveUnpackedRuntime( | CODE |
| LOW | …plugin-desktop-beta/scripts/verify-packaged-runtime.ts | 863 | export function verifyPackagedAgentsAnywhere( | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/verify-win-installer.ts | 8 | export function assertPortableExecutableBuffer(data: Buffer, label: string, source: string): void { | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/mac-universal.ts | 146 | export function prepareMacUniversalRuntime( | CODE |
| LOW | dsh-plugin-desktop-beta/scripts/mac-universal.ts | 168 | export function prepareInstalledMacUniversalRuntime(desktopRoot: string): void { | CODE |
| LOW | dsh-plugin-desktop-beta/src/desktop-plugins.ts | 276 | function readDesktopProfileManifestInventory( | CODE |
| LOW | dsh-plugin-desktop-beta/src/desktop-plugins.ts | 341 | function reconcileDeselectedBundles( | CODE |
| LOW | dsh-plugin-desktop-beta/src/desktop-plugins.ts | 353 | function readDesktopProfileBundleNames(bootstrap: DesktopPluginStateBootstrap): readonly string[] { | CODE |
| LOW | dsh-plugin-desktop-beta/src/desktop-plugins.ts | 437 | export function readDesktopDisabledBundles( | CODE |
| LOW | dsh-plugin-desktop-beta/src/desktop-plugins.ts | 447 | export async function clearDesktopProfilePluginState( | CODE |
| LOW | dsh-plugin-desktop-beta/src/desktop-plugins.ts | 475 | export function readDesktopProfileBundleInventory( | CODE |
| LOW | dsh-plugin-desktop-beta/src/desktop-plugins.ts | 505 | export function readDesktopRecoveryBundleInventory( | CODE |
| 651 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | dsh-plugin-desktop-beta/tests/desktop-plugins.spec.ts | 92 | manifest.value.dsh.profile.bundles.push(...Array.from({ length: copies }, () => packageName)) | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/desktop-plugins.spec.ts | 293 | manifest.value.dsh.profile.bundles.push('third-party-plugin') | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/desktop-plugins.spec.ts | 627 | reselected.value.dsh.profile.bundles.push('third-party-plugin') | CODE |
| CRITICAL | …-plugin-desktop-beta/tests/compatibility-shell.spec.ts | 213 | expect(window.contentView.addChildView.mock.calls.map(([view]) => view)).toEqual([shell.content, shell.chromeView]) | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/host-process.spec.ts | 37 | expect(f.child.postMessage.mock.calls.filter(([m]) => m.method === 'stop')).toHaveLength(1) | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 487 | const handler = electron.webContents.ipc.handle.mock.calls.find(([name]) => name === 'dsh-desktop:setup-onboarding') | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 912 | expect(electron.webContents.ipc.handle.mock.calls.map(([name]) => name)).not.toContain('dsh-desktop:permissions') | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 1190 | electron.chromeWebContents.on.mock.calls.find(([event]) => event === 'did-finish-load')?.[1]() | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 1253 | electron.webContents.on.mock.calls.find(([event]) => event === 'did-finish-load')?.[1]() | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 1506 | electron.webContents.on.mock.calls.find(([event]) => event === 'render-process-gone')?.[1], | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 1510 | electron.webContents.on.mock.calls.find(([event]) => event === 'did-fail-load')?.[1], | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 1629 | const activate = electron.app.on.mock.calls.find(([event]) => event === 'activate')?.[1] | CODE |
| CRITICAL⚡ | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 1890 | const activate = electron.app.on.mock.calls.find(([event]) => event === 'activate')?.[1] | CODE |
| CRITICAL⚡ | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 1891 | const didBecomeActive = electron.app.on.mock.calls.find(([event]) => event === 'did-become-active')?.[1] | CODE |
| CRITICAL⚡ | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 1901 | expect((electron.app.show.mock.invocationCallOrder.at(-1) ?? Infinity)) | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 2473 | expect(electron.dialog.showMessageBox.mock.calls.at(-1)?.at(-1)).toMatchObject({ | CODE |
| CRITICAL | dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts | 2526 | expect(electron.dialog.showMessageBox.mock.calls.at(-1)?.at(-1)).toMatchObject({ | CODE |
| CRITICAL | dsh-plugin-desktop/tests/desktop-plugins.spec.ts | 92 | manifest.value.dsh.profile.bundles.push(...Array.from({ length: copies }, () => packageName)) | CODE |
| CRITICAL | dsh-plugin-desktop/tests/desktop-plugins.spec.ts | 293 | manifest.value.dsh.profile.bundles.push('third-party-plugin') | CODE |
| CRITICAL | dsh-plugin-desktop/tests/desktop-plugins.spec.ts | 627 | reselected.value.dsh.profile.bundles.push('third-party-plugin') | CODE |
| CRITICAL | dsh-plugin-desktop/tests/compatibility-shell.spec.ts | 213 | expect(window.contentView.addChildView.mock.calls.map(([view]) => view)).toEqual([shell.content, shell.chromeView]) | CODE |
| CRITICAL | dsh-plugin-desktop/tests/host-process.spec.ts | 37 | expect(f.child.postMessage.mock.calls.filter(([m]) => m.method === 'stop')).toHaveLength(1) | CODE |
| CRITICAL | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 488 | const handler = electron.webContents.ipc.handle.mock.calls.find(([name]) => name === 'dsh-desktop:setup-onboarding') | CODE |
| CRITICAL | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 913 | expect(electron.webContents.ipc.handle.mock.calls.map(([name]) => name)).not.toContain('dsh-desktop:permissions') | CODE |
| CRITICAL | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 1191 | electron.chromeWebContents.on.mock.calls.find(([event]) => event === 'did-finish-load')?.[1]() | CODE |
| CRITICAL | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 1254 | electron.webContents.on.mock.calls.find(([event]) => event === 'did-finish-load')?.[1]() | CODE |
| CRITICAL | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 1507 | electron.webContents.on.mock.calls.find(([event]) => event === 'render-process-gone')?.[1], | CODE |
| CRITICAL | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 1511 | electron.webContents.on.mock.calls.find(([event]) => event === 'did-fail-load')?.[1], | CODE |
| CRITICAL | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 1630 | const activate = electron.app.on.mock.calls.find(([event]) => event === 'activate')?.[1] | CODE |
| CRITICAL⚡ | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 1891 | const activate = electron.app.on.mock.calls.find(([event]) => event === 'activate')?.[1] | CODE |
| CRITICAL⚡ | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 1892 | const didBecomeActive = electron.app.on.mock.calls.find(([event]) => event === 'did-become-active')?.[1] | CODE |
| CRITICAL⚡ | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 1902 | expect((electron.app.show.mock.invocationCallOrder.at(-1) ?? Infinity)) | CODE |
| CRITICAL | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 2474 | expect(electron.dialog.showMessageBox.mock.calls.at(-1)?.at(-1)).toMatchObject({ | CODE |
| CRITICAL | dsh-plugin-desktop/tests/electron-runtime.spec.ts | 2527 | expect(electron.dialog.showMessageBox.mock.calls.at(-1)?.at(-1)).toMatchObject({ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dsh-plugin-desktop-beta/src/profile.ts | 1621 | // every edit the user made to them, and 0.1.7's editor fails closed on that: | COMMENT |
| LOW | dsh-plugin-desktop/tests/profile.spec.ts | 1001 | ].join('\n')) | COMMENT |
| LOW | dsh-plugin-desktop/src/profile.ts | 1621 | // every edit the user made to them, and 0.1.7's editor fails closed on that: | COMMENT |