AI Slop Code RIsk Monitor

anywhere-labs/dsh-desktop

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

5.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for anywhere-labs/dsh-desktop, a TypeScript project with 30,441 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.

5.0
Adjusted Signal
5.0
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
30.4K
Stars
TypeScript
Language
226.7K
Lines of Code
1.3K
Files
748
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 15.3/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 714 finding(s).

Hallucinated Dependency & Supply Chain Risk 7.8/100 · LOW

Are imports declared and package/API names verified? 34 finding(s).

Agent Over-Engineering Ratio 15.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 711 finding(s).

PR Review Velocity Impact 20.8/100 · LOW

Which changes need focused human review? 748 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 34HIGH 0MEDIUM 0LOW 714

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers711 hits · 751 pts
SeverityFileLineSnippetContext
LOWdsh-community-market/src/install/github.ts73export function createGitHubPackageVerifier(http: CatalogHttpClient) {CODE
LOWdsh-community-market/src/install/service.ts279export function createNpmRegistryVerifier(http: CatalogHttpClient): MarketNpmPackageVerifier {CODE
LOWdsh-community-market/src/install/service.ts327export function createMarketPackageVerifier(CODE
LOWdsh-community-market/src/install/service.ts452async function directProfilePluginVersion(CODE
LOWdsh-community-market/src/host/routes.ts507export async function readStandardSourceManifest(CODE
LOWdsh-community-market/src/host/routes.ts601export function createMarketSourceMutator(CODE
LOWdsh-community-market/src/contracts/identity.ts48export function normalizeRepositoryIdentity(repository: RepositoryIdentity): NormalizedRepositoryIdentity {CODE
LOWdsh-community-market/src/contracts/identity.ts92export function normalizeGitHubInstallSource(CODE
LOWdsh-community-market/src/contracts/validate.ts113export function validateLocalSourceRecords(records: readonly LocalSourceRecord[]): void {CODE
LOWdsh-community-market/src/catalog/source-store.ts10export function normalizeActiveSourceRecords(CODE
LOWdsh-community-market/src/catalog/domain.ts186export async function importLegacyMarketSettings(ctx: Context, store: DomainMarketStateStore): Promise<void> {CODE
LOWdsh-community-market/src/catalog/domain.ts214export async function activateMarketDurableState(CODE
LOWdsh-community-market/src/catalog/service.ts135function reviewedAdapterCategories(value: readonly string[]): readonly string[] {CODE
LOWdsh-community-market/src/catalog/service.ts169function validateCompleteCatalogScan(CODE
LOWdsh-community-market/src/network/restricted-http.ts228export function createRestrictedHttpClient(CODE
LOWdsh-community-market/src/network/restricted-http.ts349export function createCachedCatalogHttpClient(CODE
LOWdsh-community-market/src/network/blocked-subnets.ts55export function createSyntheticProxyAddresses(): BlockList {CODE
LOWdsh-community-market/src/adapters/standard-http.ts27export function assertStandardSourceTrustRoot(CODE
LOWdsh-community-market/src/media/restricted-image.ts83export function normalizeAllowedHostnames(values: readonly string[]): readonly string[] {CODE
LOWdsh-community-market/src/media/restricted-image.ts293export function createRestrictedImageFetcher(CODE
LOWdsh-plugin-desktop-beta/tests/profile.spec.ts88function writeDesktopShellPreferences(home: string, preferences: readonly string[]): void {CODE
LOWdsh-plugin-desktop-beta/tests/package.spec.ts701 const projection = preferencesSource.indexOf('function desktopProfilePreferencesFromSettings(')CODE
LOWdsh-plugin-desktop-beta/tests/module-resolution.spec.ts87function installProfilePackageResolver(profileBaseUrl: string): () => void {CODE
LOW…desktop-beta/tests/desktop-runtime-environment.spec.ts58function expectCodePagePinnedAheadOfEveryPath(shim: string): void {CODE
LOW…gin-desktop-beta/tests/market-pnpm-integration.spec.ts78async function removeInstalledProfilePlugin(profileDir: string): Promise<void> {CODE
LOWdsh-plugin-desktop-beta/scripts/release-preflight.ts76export function adaptMacReleaseEnvironment(env: NodeJS.ProcessEnv): NodeJS.ProcessEnv {CODE
LOWdsh-plugin-desktop-beta/scripts/release-preflight.ts135function resolveNotarizationCredentials(env: NodeJS.ProcessEnv): NotarizationCredentialSource {CODE
LOWdsh-plugin-desktop-beta/scripts/release-preflight.ts218function listCodeSigningIdentities(env: NodeJS.ProcessEnv): string {CODE
LOWdsh-plugin-desktop-beta/scripts/package-win.ts29export function windowsCompressionOverride(CODE
LOWdsh-plugin-desktop-beta/scripts/package-win.ts82export function withoutWindowsSigningSecrets(CODE
LOWdsh-plugin-desktop-beta/scripts/package-win.ts107export function createWindowsPackageOptions(verifier = './verify-win-installer.ts'): WindowsPackageOptions {CODE
LOW…n-desktop-beta/scripts/electron-builder-environment.ts8export function electronBuilderEnvironment(CODE
LOWdsh-plugin-desktop-beta/scripts/release-mac.ts43function listCodeSigningIdentities(env: NodeJS.ProcessEnv): string {CODE
LOWdsh-plugin-desktop-beta/scripts/package-linux.ts55export function withoutLinuxSigningSecrets(CODE
LOWdsh-plugin-desktop-beta/scripts/package-linux.ts80export function createLinuxPackageOptions(verifier = './verify-linux-artifacts.ts'): LinuxPackageOptions {CODE
LOW…h-plugin-desktop-beta/scripts/verify-electron-fuses.ts85export async function verifyElectronExecutableFuses(CODE
LOW…h-plugin-desktop-beta/scripts/verify-electron-fuses.ts154function targetPackagerArchitectures(CODE
LOW…h-plugin-desktop-beta/scripts/verify-electron-fuses.ts184function configuredTargetArchitectures(CODE
LOW…h-plugin-desktop-beta/scripts/verify-electron-fuses.ts322export function resolveFinalPackagedRuntimeContexts(CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts26export function resolveRuntimePackageRoot(CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts285export function resolvePackagedExecutablePath(context: PackagedRuntimeContext): string {CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts335export function smokePackagedElectronRuntime(CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts441export function resolvePackagedUnpackedRoot(context: PackagedRuntimeContext): string {CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts446export function resolvePackagedApplicationRoot(context: PackagedRuntimeContext): string {CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts470export function resolvePackagedRuntimeRoot(context: PackagedRuntimeContext): string {CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts489export function listDesktopRuntimeEntries(libRoot: string): string[] {CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts615function allowedSmartUnpackPackageRoot(root: string): boolean {CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts649export function formatUnpackedRuntimeSummary(summary: UnpackedRuntimeSummary): string {CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts661export function verifySelectiveUnpackedRuntime(CODE
LOW…plugin-desktop-beta/scripts/verify-packaged-runtime.ts863export function verifyPackagedAgentsAnywhere(CODE
LOWdsh-plugin-desktop-beta/scripts/verify-win-installer.ts8export function assertPortableExecutableBuffer(data: Buffer, label: string, source: string): void {CODE
LOWdsh-plugin-desktop-beta/scripts/mac-universal.ts146export function prepareMacUniversalRuntime(CODE
LOWdsh-plugin-desktop-beta/scripts/mac-universal.ts168export function prepareInstalledMacUniversalRuntime(desktopRoot: string): void {CODE
LOWdsh-plugin-desktop-beta/src/desktop-plugins.ts276function readDesktopProfileManifestInventory(CODE
LOWdsh-plugin-desktop-beta/src/desktop-plugins.ts341function reconcileDeselectedBundles(CODE
LOWdsh-plugin-desktop-beta/src/desktop-plugins.ts353function readDesktopProfileBundleNames(bootstrap: DesktopPluginStateBootstrap): readonly string[] {CODE
LOWdsh-plugin-desktop-beta/src/desktop-plugins.ts437export function readDesktopDisabledBundles(CODE
LOWdsh-plugin-desktop-beta/src/desktop-plugins.ts447export async function clearDesktopProfilePluginState(CODE
LOWdsh-plugin-desktop-beta/src/desktop-plugins.ts475export function readDesktopProfileBundleInventory(CODE
LOWdsh-plugin-desktop-beta/src/desktop-plugins.ts505export function readDesktopRecoveryBundleInventory(CODE
651 more matches not shown…
Hallucination Indicators34 hits · 370 pts
SeverityFileLineSnippetContext
CRITICALdsh-plugin-desktop-beta/tests/desktop-plugins.spec.ts92 manifest.value.dsh.profile.bundles.push(...Array.from({ length: copies }, () => packageName))CODE
CRITICALdsh-plugin-desktop-beta/tests/desktop-plugins.spec.ts293 manifest.value.dsh.profile.bundles.push('third-party-plugin')CODE
CRITICALdsh-plugin-desktop-beta/tests/desktop-plugins.spec.ts627 reselected.value.dsh.profile.bundles.push('third-party-plugin')CODE
CRITICAL…-plugin-desktop-beta/tests/compatibility-shell.spec.ts213 expect(window.contentView.addChildView.mock.calls.map(([view]) => view)).toEqual([shell.content, shell.chromeView])CODE
CRITICALdsh-plugin-desktop-beta/tests/host-process.spec.ts37 expect(f.child.postMessage.mock.calls.filter(([m]) => m.method === 'stop')).toHaveLength(1)CODE
CRITICALdsh-plugin-desktop-beta/tests/electron-runtime.spec.ts487 const handler = electron.webContents.ipc.handle.mock.calls.find(([name]) => name === 'dsh-desktop:setup-onboarding')CODE
CRITICALdsh-plugin-desktop-beta/tests/electron-runtime.spec.ts912 expect(electron.webContents.ipc.handle.mock.calls.map(([name]) => name)).not.toContain('dsh-desktop:permissions')CODE
CRITICALdsh-plugin-desktop-beta/tests/electron-runtime.spec.ts1190 electron.chromeWebContents.on.mock.calls.find(([event]) => event === 'did-finish-load')?.[1]()CODE
CRITICALdsh-plugin-desktop-beta/tests/electron-runtime.spec.ts1253 electron.webContents.on.mock.calls.find(([event]) => event === 'did-finish-load')?.[1]()CODE
CRITICALdsh-plugin-desktop-beta/tests/electron-runtime.spec.ts1506 electron.webContents.on.mock.calls.find(([event]) => event === 'render-process-gone')?.[1],CODE
CRITICALdsh-plugin-desktop-beta/tests/electron-runtime.spec.ts1510 electron.webContents.on.mock.calls.find(([event]) => event === 'did-fail-load')?.[1],CODE
CRITICALdsh-plugin-desktop-beta/tests/electron-runtime.spec.ts1629 const activate = electron.app.on.mock.calls.find(([event]) => event === 'activate')?.[1]CODE
CRITICAL⚡dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts1890 const activate = electron.app.on.mock.calls.find(([event]) => event === 'activate')?.[1]CODE
CRITICAL⚡dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts1891 const didBecomeActive = electron.app.on.mock.calls.find(([event]) => event === 'did-become-active')?.[1]CODE
CRITICAL⚡dsh-plugin-desktop-beta/tests/electron-runtime.spec.ts1901 expect((electron.app.show.mock.invocationCallOrder.at(-1) ?? Infinity))CODE
CRITICALdsh-plugin-desktop-beta/tests/electron-runtime.spec.ts2473 expect(electron.dialog.showMessageBox.mock.calls.at(-1)?.at(-1)).toMatchObject({CODE
CRITICALdsh-plugin-desktop-beta/tests/electron-runtime.spec.ts2526 expect(electron.dialog.showMessageBox.mock.calls.at(-1)?.at(-1)).toMatchObject({CODE
CRITICALdsh-plugin-desktop/tests/desktop-plugins.spec.ts92 manifest.value.dsh.profile.bundles.push(...Array.from({ length: copies }, () => packageName))CODE
CRITICALdsh-plugin-desktop/tests/desktop-plugins.spec.ts293 manifest.value.dsh.profile.bundles.push('third-party-plugin')CODE
CRITICALdsh-plugin-desktop/tests/desktop-plugins.spec.ts627 reselected.value.dsh.profile.bundles.push('third-party-plugin')CODE
CRITICALdsh-plugin-desktop/tests/compatibility-shell.spec.ts213 expect(window.contentView.addChildView.mock.calls.map(([view]) => view)).toEqual([shell.content, shell.chromeView])CODE
CRITICALdsh-plugin-desktop/tests/host-process.spec.ts37 expect(f.child.postMessage.mock.calls.filter(([m]) => m.method === 'stop')).toHaveLength(1)CODE
CRITICALdsh-plugin-desktop/tests/electron-runtime.spec.ts488 const handler = electron.webContents.ipc.handle.mock.calls.find(([name]) => name === 'dsh-desktop:setup-onboarding')CODE
CRITICALdsh-plugin-desktop/tests/electron-runtime.spec.ts913 expect(electron.webContents.ipc.handle.mock.calls.map(([name]) => name)).not.toContain('dsh-desktop:permissions')CODE
CRITICALdsh-plugin-desktop/tests/electron-runtime.spec.ts1191 electron.chromeWebContents.on.mock.calls.find(([event]) => event === 'did-finish-load')?.[1]()CODE
CRITICALdsh-plugin-desktop/tests/electron-runtime.spec.ts1254 electron.webContents.on.mock.calls.find(([event]) => event === 'did-finish-load')?.[1]()CODE
CRITICALdsh-plugin-desktop/tests/electron-runtime.spec.ts1507 electron.webContents.on.mock.calls.find(([event]) => event === 'render-process-gone')?.[1],CODE
CRITICALdsh-plugin-desktop/tests/electron-runtime.spec.ts1511 electron.webContents.on.mock.calls.find(([event]) => event === 'did-fail-load')?.[1],CODE
CRITICALdsh-plugin-desktop/tests/electron-runtime.spec.ts1630 const activate = electron.app.on.mock.calls.find(([event]) => event === 'activate')?.[1]CODE
CRITICAL⚡dsh-plugin-desktop/tests/electron-runtime.spec.ts1891 const activate = electron.app.on.mock.calls.find(([event]) => event === 'activate')?.[1]CODE
CRITICAL⚡dsh-plugin-desktop/tests/electron-runtime.spec.ts1892 const didBecomeActive = electron.app.on.mock.calls.find(([event]) => event === 'did-become-active')?.[1]CODE
CRITICAL⚡dsh-plugin-desktop/tests/electron-runtime.spec.ts1902 expect((electron.app.show.mock.invocationCallOrder.at(-1) ?? Infinity))CODE
CRITICALdsh-plugin-desktop/tests/electron-runtime.spec.ts2474 expect(electron.dialog.showMessageBox.mock.calls.at(-1)?.at(-1)).toMatchObject({CODE
CRITICALdsh-plugin-desktop/tests/electron-runtime.spec.ts2527 expect(electron.dialog.showMessageBox.mock.calls.at(-1)?.at(-1)).toMatchObject({CODE
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWdsh-plugin-desktop-beta/src/profile.ts1621 // every edit the user made to them, and 0.1.7's editor fails closed on that:COMMENT
LOWdsh-plugin-desktop/tests/profile.spec.ts1001 ].join('\n'))COMMENT
LOWdsh-plugin-desktop/src/profile.ts1621 // every edit the user made to them, and 0.1.7's editor fails closed on that:COMMENT