Replace port numbers with stable, named local URLs. For humans and agents.
This report summarizes scanner evidence for vercel-labs/portless, a TypeScript project with 12,771 GitHub stars. SynthScan examined 63,304 lines of code across 158 source files, recording 30 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.6 (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? 30 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 23 finding(s).
Which changes need focused human review? 30 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 30 distinct pattern matches across 5 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 | packages/portless/src/auto.ts | 284 | function detectWorktreeViaFilesystem(startDir: string): WorktreePrefix | null { | CODE |
| LOW | packages/portless/src/clean-utils.ts | 47 | export function collectStateDirsForCleanup(): string[] { | CODE |
| LOW | packages/portless/src/clean-utils.ts | 62 | export function attemptCATrustRemovalForCleanup( | CODE |
| LOW | packages/portless/src/workspace.ts | 63 | export function readWorkspacesFromPackageJson(dir: string): string[] | null { | CODE |
| LOW | packages/portless/src/workspace.ts | 87 | export function discoverWorkspacePackages(workspaceRoot: string): WorkspacePackage[] { | CODE |
| LOW | packages/portless/src/tailscale.ts | 294 | function formatFunnelNotEnabledError(stderr: string, stdout: string): string { | CODE |
| LOW | packages/portless/src/cli.ts | 336 | function getProxyConfigMismatchMessages( | CODE |
| LOW | packages/portless/src/cli.ts | 517 | function runServiceUninstallWithSudo(reason: string): boolean { | CODE |
| LOW | packages/portless/src/cli.ts | 591 | function stopOrphanedProcessGroups(store: RouteStore): void { | CODE |
| LOW | packages/portless/src/cli-utils.ts | 2143 | function resolvePackageScriptTokens(commandArgs: string[], packageDir: string): string[] | null { | CODE |
| LOW | packages/portless/src/cli-utils.ts | 2225 | export function injectPackageScriptFrameworkFlags( | CODE |
| LOW | packages/portless/src/cloudflare.ts | 37 | export function ensureCloudflaredAvailable(runner?: TunnelCommandRunner): void { | CODE |
| LOW | packages/portless/src/certs.ts | 345 | async function backdatedNotBeforeArgsAsync(): Promise<string[]> { | CODE |
| LOW | packages/portless/src/certs.ts | 1173 | function isCATrustedMacOSAfterAttempt(caCertPath: string): boolean { | CODE |
| LOW | packages/portless/src/config.ts | 62 | function loadConfigFromPackageJson(dir: string): LoadedConfig | null { | CODE |
| LOW | packages/portless/src/config.ts | 85 | export function loadPackagePortlessConfig(dir: string): AppConfig | null { | CODE |
| LOW | packages/portless/src/service.ts | 223 | function normalizeServiceInstallPaths(config: ServiceInstallConfig): ServiceInstallConfig { | CODE |
| LOW | packages/portless/src/service.ts | 243 | export function parseServiceInstallConfig( | CODE |
| LOW | packages/portless/src/service.ts | 779 | function readInstalledServiceSnapshot(spec: ServiceSpec): InstalledServiceSnapshot | null { | CODE |
| LOW | packages/portless/src/service.ts | 836 | function installedConfigFromSnapshot( | CODE |
| LOW | packages/portless/src/service.ts | 858 | function readInstalledServiceConfig(spec: ServiceSpec): NormalizedServiceConfig | null { | CODE |
| LOW | packages/portless/src/service.ts | 894 | export function buildServiceUninstallSudoArgs( | CODE |
| LOW | packages/portless/src/service.ts | 1024 | function ensureServiceConfigSupported(config: ServiceInstallConfig): void { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …lls/technical-writer/references/editorial-standards.md | 3 | Apply these standards to the passage and its surrounding section. They are editing criteria, not proof of authorship. A | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/portless/src/hosts-sync-contract.test.ts | 1 | import * as fs from "node:fs"; | COMMENT |
| LOW | packages/portless/src/cli.ts | 1661 | const hostBind = isExpoLan ? undefined : "127.0.0.1"; | COMMENT |
| LOW | packages/portless/src/certs.test.ts | 201 | // under `[ req ]` (the stock upstream template does, and several distro | COMMENT |
| LOW | packages/portless/src/cli.test.ts | 2561 | env: { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/portless/src/cli.test.ts | 2979 | // is robust: a route is removed when its app exits, but the file stays. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/portless/src/mcp.ts | 579 | async function handleRequest( | CODE |