⚡ Next-gen Web Extension Framework
This report summarizes scanner evidence for wxt-dev/wxt, a TypeScript project with 10,681 GitHub stars. SynthScan examined 71,189 lines of code across 565 source files, recording 82 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.7 (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? 79 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 75 finding(s).
Which changes need focused human review? 82 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 82 distinct pattern matches across 4 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 | scripts/upgrade-deps.ts | 96 | async function getPackageJsonDependencies( | CODE |
| LOW | scripts/upgrade-deps.ts | 145 | function validateNoMultipleVersions( | CODE |
| LOW | packages/wxt/src/create-server.ts | 194 | function getExternalOutputDependencies(server: WxtDevServer) { | CODE |
| LOW | packages/wxt/src/zip.ts | 197 | function addOverridesToPackageJson( | CODE |
| LOW | packages/wxt/src/internal/validation.ts | 29 | function validateContentScriptEntrypoint( | CODE |
| LOW | packages/wxt/src/internal/find-entrypoints.ts | 198 | function preventDuplicateEntrypointNames(files: EntrypointInfo[]) { | CODE |
| LOW | packages/wxt/src/internal/find-entrypoints.ts | 290 | async function getUnlistedPageEntrypoint( | CODE |
| LOW | packages/wxt/src/internal/find-entrypoints.ts | 303 | async function getUnlistedScriptEntrypoint( | CODE |
| LOW | packages/wxt/src/internal/find-entrypoints.ts | 336 | async function getContentScriptEntrypoint( | CODE |
| LOW | packages/wxt/src/internal/runtime-env-entries.ts | 53 | export function getEntrypointRuntimeEnvEntries(entrypointName: string) { | CODE |
| LOW | packages/wxt/src/internal/transform.ts | 50 | function removeUnusedTopLevelVariables(mod: ProxifiedModule): number { | CODE |
| LOW | packages/wxt/src/internal/transform.ts | 136 | function removeUnusedTopLevelFunctions(mod: ProxifiedModule): number { | CODE |
| LOW | packages/wxt/src/internal/generate-wxt-dir.ts | 144 | function renderPublicPathUnionMember(entry: { | CODE |
| LOW | packages/wxt/src/internal/generate-wxt-dir.ts | 253 | async function getRuntimeEnvDeclarationEntry(): Promise<WxtDirFileEntry> { | CODE |
| LOW | packages/wxt/src/internal/manifest.ts | 579 | export function getContentScriptCssWebAccessibleResources( | CODE |
| LOW | packages/wxt/src/internal/manifest.ts | 652 | export function stripPathFromMatchPattern(pattern: string) { | CODE |
| LOW | packages/wxt/src/internal/manifest.ts | 681 | function moveHostPermissionsToPermissions( | CODE |
| LOW | packages/wxt/src/internal/detect-dev-changes.ts | 142 | export function getRelevantDevChangedFiles( | CODE |
| LOW | packages/wxt/src/internal/builders/vite/index.ts | 431 | export function getRunnerProfileWatchIgnores( | CODE |
| LOW | …ilders/vite/plugins/remove-entrypoint-main-function.ts | 11 | export function removeEntrypointMainFunction( | CODE |
| LOW | …s/wxt/src/internal/environments/browser-environment.ts | 8 | export function getBrowserEnvironmentGlobals(): EnvGlobals { | CODE |
| LOW | …wxt/src/internal/environments/extension-environment.ts | 5 | export function createExtensionEnvironment(): Environment { | CODE |
| LOW | …wxt/src/internal/environments/extension-environment.ts | 9 | export function getExtensionEnvironmentGlobals() { | CODE |
| LOW | packages/wxt/src/internal/builtin-modules/unimport.ts | 72 | async function getImportsDeclarationEntry( | CODE |
| LOW | …ges/wxt/src/internal/builtin-modules/escape-unicode.ts | 39 | function escapeNonCharacterUnicode(text: string): string { | CODE |
| LOW | packages/wxt/src/internal-utils/content-script-utils.ts | 50 | export function mapWxtOptionsToContentScript( | CODE |
| LOW | packages/wxt/src/internal-utils/content-script-utils.ts | 70 | export function mapWxtOptionsToRegisteredContentScript( | CODE |
| LOW | …ckages/wxt/src/virtual/utils/reload-content-scripts.ts | 50 | async function reloadManifestContentScriptNow( | CODE |
| LOW | …ckages/wxt/src/virtual/utils/reload-content-scripts.ts | 108 | async function reloadTabsForContentScript(contentScript: ContentScript) { | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 6147 | function clearDefaultFixedFontSize(details?: { [key: string]: unknown }): Promise<void>; | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 6148 | function clearDefaultFixedFontSize(callback: () => void): void; | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 6149 | function clearDefaultFixedFontSize( | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 7122 | function setAssistiveWindowButtonHighlighted( | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 7125 | function setAssistiveWindowButtonHighlighted( | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 7135 | function setCandidateWindowProperties(parameters: CandidateWindowParameter): Promise<boolean>; | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 7136 | function setCandidateWindowProperties( | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 10519 | function getRegisteredContentScripts(filter?: ContentScriptFilter): Promise<RegisteredContentScript[]>; | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 10520 | function getRegisteredContentScripts(callback: (scripts: RegisteredContentScript[]) => void): void; | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 10521 | function getRegisteredContentScripts( | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 11336 | function overscanCalibrationComplete(id: string): void; | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 11346 | function showNativeTouchCalibration(id: string): Promise<boolean>; | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 11347 | function showNativeTouchCalibration(id: string, callback: (success: boolean) => void): void; | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 11355 | function startCustomTouchCalibration(id: string): void; | CODE |
| LOW⚡ | packages/browser/src/gen/index.d.ts | 11364 | function completeCustomTouchCalibration(pairs: TouchCalibrationPairQuad, bounds: Bounds): void; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 3396 | function registerRecorderExtensionPlugin( | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 4550 | function getDeviceAnnotatedLocation(): Promise<string>; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 4551 | function getDeviceAnnotatedLocation(callback: (annotatedLocation: string) => void): void; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 4602 | function exitCurrentManagedGuestSession(): Promise<void>; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 4603 | function exitCurrentManagedGuestSession(callback: () => void): void; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 4826 | function isAllowedFileSchemeAccess(): Promise<boolean>; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 4827 | function isAllowedFileSchemeAccess(callback: (isAllowedAccess: boolean) => void): void; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 7108 | function setAssistiveWindowProperties( | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 7111 | function setAssistiveWindowProperties( | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 7531 | function getPermissionWarningsById(id: string): Promise<string[]>; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 7532 | function getPermissionWarningsById(id: string, callback: (permissionWarnings: string[]) => void): void; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 7557 | function getPermissionWarningsByManifest(manifestStr: string): Promise<string[]>; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 7558 | function getPermissionWarningsByManifest( | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 7685 | function abortAndFallbackToNativeHandler(): Promise<void>; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 7686 | function abortAndFallbackToNativeHandler(callback: () => void): void; | CODE |
| LOW | packages/browser/src/gen/index.d.ts | 8365 | function verifyTLSServerCertificate(details: VerificationDetails): Promise<VerificationResult>; | CODE |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | packages/auto-icons/src/__test__/index.test.ts | 646 | const manifestHook = mockWxt.hooks.hook.mock.calls.find( | CODE |
| CRITICAL⚡ | packages/auto-icons/src/__test__/index.test.ts | 649 | const buildHook = mockWxt.hooks.hook.mock.calls.find( | CODE |
| CRITICAL⚡ | packages/auto-icons/src/__test__/index.test.ts | 652 | const pathsHook = mockWxt.hooks.hook.mock.calls.find( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/assets/extension-showcase.yml | 1 | # Add extension entries to end of the list. On the website, extensions will be sorted by a combination of users and rati | COMMENT |
| LOW | scripts/benchmarks/browser-startup.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …rc/virtual/content-script-isolated-world-entrypoint.ts | 21 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/list-unreleased-commits.sh | 21 | # Check if the package name is in the ignored directories list | COMMENT |