AI Slop Code Risk Monitor

Kong/insomnia

SlopCodeMonitor badge for Kong/insomnia Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.

3.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Kong/insomnia, a TypeScript project with 40,105 GitHub stars. SynthScan examined 325,756 lines of code across 1911 source files, recording 424 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 3.8 (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.

3.8
Adjusted Signal
3.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
40.1K
Stars
TypeScript
Language
325.8K
Lines of Code
1.9K
Files
424
Pattern Hits
2026-10-31
Scan Date
0.04
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 5.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 11.5/100 · LOW

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

Agent Over-Engineering Ratio 5.0/100 · LOW

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

PR Review Velocity Impact 17.5/100 · LOW

Which changes need focused human review? 424 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 82HIGH 1MEDIUM 43LOW 298

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 424 distinct pattern matches across 12 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.

Hallucination Indicators82 hits · 780 pts
SeverityFileLineSnippetContext
CRITICAL…s/fix-scripting-feature/references/objects/response.md40- `pm.response.to.have.status(200)`, `pm.response.to.have.header('Content-Type')`, `pm.response.to.have.jsonBody('key')`CODE
CRITICALpackages/insomnia/src/main/network/curl.test.ts41 const call = electron.ipcMain.handle.mock.calls.find(([channel]) => channel === 'curl.open');CODE
CRITICALpackages/insomnia/src/main/network/curl.test.ts43 const findManyCall = electron.ipcMain.handle.mock.calls.find(([channel]) => channel === 'curl.event.findMany');CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json388 "displayValue": "insomnia.request.url.urlObject.searchParams.append()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json389 "name": "insomnia.request.url.urlObject.searchParams.append()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json390 "value": "insomnia.request.url.urlObject.searchParams.append()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json393 "displayValue": "insomnia.request.url.urlObject.searchParams.delete()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json394 "name": "insomnia.request.url.urlObject.searchParams.delete()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json395 "value": "insomnia.request.url.urlObject.searchParams.delete()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json398 "displayValue": "insomnia.request.url.urlObject.searchParams.get()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json399 "name": "insomnia.request.url.urlObject.searchParams.get()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json400 "value": "insomnia.request.url.urlObject.searchParams.get()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json403 "displayValue": "insomnia.request.url.urlObject.searchParams.getAll()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json404 "name": "insomnia.request.url.urlObject.searchParams.getAll()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json405 "value": "insomnia.request.url.urlObject.searchParams.getAll()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json408 "displayValue": "insomnia.request.url.urlObject.searchParams.has()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json409 "name": "insomnia.request.url.urlObject.searchParams.has()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json410 "value": "insomnia.request.url.urlObject.searchParams.has()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json413 "displayValue": "insomnia.request.url.urlObject.searchParams.set()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json414 "name": "insomnia.request.url.urlObject.searchParams.set()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json415 "value": "insomnia.request.url.urlObject.searchParams.set()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json418 "displayValue": "insomnia.request.url.urlObject.searchParams.sort()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json419 "name": "insomnia.request.url.urlObject.searchParams.sort()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json420 "value": "insomnia.request.url.urlObject.searchParams.sort()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json423 "displayValue": "insomnia.request.url.urlObject.searchParams.entries()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json424 "name": "insomnia.request.url.urlObject.searchParams.entries()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json425 "value": "insomnia.request.url.urlObject.searchParams.entries()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json428 "displayValue": "insomnia.request.url.urlObject.searchParams.forEach()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json429 "name": "insomnia.request.url.urlObject.searchParams.forEach()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json430 "value": "insomnia.request.url.urlObject.searchParams.forEach()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json433 "displayValue": "insomnia.request.url.urlObject.searchParams.keys()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json434 "name": "insomnia.request.url.urlObject.searchParams.keys()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json435 "value": "insomnia.request.url.urlObject.searchParams.keys()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json438 "displayValue": "insomnia.request.url.urlObject.searchParams.values()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json439 "name": "insomnia.request.url.urlObject.searchParams.values()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json440 "value": "insomnia.request.url.urlObject.searchParams.values()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json443 "displayValue": "insomnia.request.url.urlObject.searchParams.toString()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json444 "name": "insomnia.request.url.urlObject.searchParams.toString()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json445 "value": "insomnia.request.url.urlObject.searchParams.toString()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json733 "displayValue": "insomnia.response.originalRequest.url.urlObject.toString()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json734 "name": "insomnia.response.originalRequest.url.urlObject.toString()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json735 "value": "insomnia.response.originalRequest.url.urlObject.toString()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json793 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.append()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json794 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.append()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json795 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.append()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json798 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.delete()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json799 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.delete()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json800 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.delete()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json803 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.get()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json804 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.get()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json805 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.get()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json808 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.getAll()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json809 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.getAll()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json810 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.getAll()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json813 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.has()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json814 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.has()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json815 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.has()"CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json818 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.set()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json819 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.set()",CODE
CRITICAL⚡…a-scripting-environment/src/autocomplete-snippets.json820 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.set()"CODE
22 more matches not shown…
Hyper-Verbose Identifiers217 hits · 222 pts
SeverityFileLineSnippetContext
LOWpackages/insomnia-inso/src/scripts/docs.ts30function generateSubcommandsMarkdown(CODE
LOW…kages/insomnia-inso/src/commands/lint-specification.ts37async function assertResolvesToPublicHost(hostname: string): Promise<void> {CODE
LOWpackages/insomnia/src/ui/analytics.ts35export function readPendingImportAttribution(): ImportAttribution {CODE
LOWpackages/insomnia/src/ui/organization-utils.ts141export async function getKonnectOrganizationEscapeRoute(organizationId: string): Promise<string | null> {CODE
LOWpackages/insomnia/src/ui/organization-utils.ts170export async function updateLocalProjectToRemote({CODE
LOWpackages/insomnia/src/ui/organization-utils.ts241export function findMigrationTargetSpaceId(organizations: Organization[]): string {CODE
LOWpackages/insomnia/src/ui/organization-utils.ts246export async function migrateProjectsUnderOrganization(personalOrganizationId: string, sessionId: string) {CODE
LOW…kages/insomnia/src/ui/utils/render-realtime-connect.ts24export async function renderRealtimeConnectPayload({CODE
LOWpackages/insomnia/src/ui/utils/remote-projects.ts18export function groupRemoteFilesByProjectId(CODE
LOWpackages/insomnia/src/ui/utils/grpc.ts20export function getGrpcConnectionErrorDetails(error: Error) {CODE
LOWpackages/insomnia/src/ui/components/keydown-binder.ts54export function useDocBodyKeyboardShortcuts(CODE
LOWpackages/insomnia/src/ui/components/time-from-now.tsx51export function convertEpochToMilliseconds(epoch: number) {CODE
LOW…ject-navigation-sidebar/use-navigation-sidebar-data.ts12export function useProjectNavigationSidebarData(CODE
LOW…/insomnia/src/ui/components/settings/import-export.tsx128async function writeExportedFileToFileSystem(filename: string, data: string) {CODE
LOW…nsomnia/src/ui/components/modals/cli-preview-modal.tsx8function generateCommandArgumentsForRequests(CODE
LOW…src/ui/components/modals/git-project-staging-modal.tsx153function stripRedundantPushErrorPrefix(error: string) {CODE
LOW…src/ui/components/modals/git-project-staging-modal.tsx160function getGitHubProtectedBranchTip(error: string): string | null {CODE
LOW…omnia/src/ui/components/modals/import-modal/shared.tsx185function getWorkspaceCountsByScope(workspaces: { scope?: string }[], scanResult: ScanResult) {CODE
LOW…ponents/modals/visual-diff/request-group-diff-card.tsx64export function folderDiscardConfirmMessage(diff: EntityDiff): string | undefined {CODE
LOW…src/ui/components/modals/invite-modal/invite-modal.tsx628 async function revalidateCurrentUserRoleAndPermissionsInOrg(organizationId: string) {CODE
LOW…s/insomnia/src/ui/components/templating/tag-editor.tsx219 function convertLegacyCredentialTag(legacyCredentialId: string, argIndex: number) {CODE
LOW…s/.client/codemirror/normalize-irregular-whitespace.ts31export function normalizeIrregularWhitespace(text: string) {CODE
LOW…a/src/ui/components/.client/codemirror/code-editor.tsx90function setEditorValueWithTruncation(CODE
LOW…mponents/.client/codemirror/extensions/autocomplete.ts130 function completeIfAfterTagOrVarOpen(cm: CodeMirror.Editor) {CODE
LOW⚡…lient/codemirror/extensions/variable-source-tooltip.ts64export function subscribeVariableSourceTooltip(listener: Listener): () => void {CODE
LOW⚡…lient/codemirror/extensions/variable-source-tooltip.ts69export function getVariableSourceTooltipState(): VariableSourceTooltipState | null {CODE
LOW⚡…lient/codemirror/extensions/variable-source-tooltip.ts77export function isVariableSourceTooltipInside(element: HTMLElement | null): boolean {CODE
LOW⚡…lient/codemirror/extensions/variable-source-tooltip.ts82export function setHoveredVariableSourceTarget(target: HTMLElement | null) {CODE
LOW⚡…lient/codemirror/extensions/variable-source-tooltip.ts86export function hideVariableSourceTooltip() {CODE
LOW⚡…lient/codemirror/extensions/variable-source-tooltip.ts95export function scheduleHideVariableSourceTooltip() {CODE
LOW…lient/codemirror/extensions/variable-source-tooltip.ts126function isTargetCoveredByOpenModal(target: HTMLElement) {CODE
LOW…lient/codemirror/extensions/variable-source-tooltip.ts131export function showVariableSourceTooltip(options: VariableSourceTooltipState) {CODE
LOW…insomnia/src/ui/components/git/git-oauth-auth-utils.ts16export function isOAuthAccessTokenExpired(credential: GitCredentials | null | undefined): boolean {CODE
LOW…insomnia/src/ui/components/git/git-oauth-auth-utils.ts37export function shouldShowConfigureGitHubAppLink(CODE
LOWpackages/insomnia/src/ui/hooks/use-remote-files.ts24export function useRemoteBackendProjectsInvalidation(organizationId: string): void {CODE
LOWpackages/insomnia/src/ui/hooks/use-remote-files.ts66export function useRemoteFilesByProjectId(organizationId: string, projects: Project[]): Map<string, InsomniaFile[]> {CODE
LOWpackages/insomnia/src/ui/hooks/use-remote-files.ts79export function useUnsyncedFilesForProject(CODE
LOW…insomnia/src/ui/hooks/use-organization-storage-rule.ts21export function useOrganizationStorageRule(organizationIdParam?: string): StorageRules {CODE
LOW…insomnia/src/ui/hooks/use-organization-storage-rule.ts35export function useInvalidateOrganizationStorageRule() {CODE
LOW…es/insomnia/src/ui/hooks/use-organization-features.tsx34export function useOrganizationPermissions(organizationIdParam?: string) {CODE
LOW…nsomnia/src/ui/hooks/use-realtime-connection-events.ts10export function useRealtimeConnectionEvents({CODE
LOW…/src/ui/hooks/use-realtime-connection-notifications.ts7export function useRealtimeConnectionNotifications({CODE
LOWpackages/insomnia/src/__mocks__/@grpc/grpc-js.ts87export function makeGenericClientConstructor() {CODE
LOWpackages/insomnia/src/konnect/api.ts145export async function fetchKonnectOrganizationId(pat: string, signal?: AbortSignal): Promise<string | undefined> {CODE
LOW…s/insomnia/src/konnect/migrate-konnect-organization.ts31async function listMigratableKonnectProjects(accountId: string): Promise<{CODE
LOW…s/insomnia/src/konnect/migrate-konnect-organization.ts52export async function detectKonnectOrgMigration({ accountId }: { accountId: string }): Promise<KonnectMigrationPlan> {CODE
LOW…s/insomnia/src/konnect/migrate-konnect-organization.ts92export async function migrateKonnectProjectsIfUnambiguous(accountId: string): Promise<KonnectMigrationPlan> {CODE
LOWpackages/insomnia/src/konnect/expression-parser.ts35export function extractFieldsFromExpression(expression: string): ExtractedRouteFields {CODE
LOWpackages/insomnia/src/plugins/index.ts67async function discoverUserPluginExports(CODE
LOWpackages/insomnia/src/plugins/index.ts80function buildUserPluginModuleFromManifest(pluginName: string, manifest: PluginExportManifest): Plugin['module'] {CODE
LOWpackages/insomnia/src/plugins/index.ts403async function ensureSandboxEngineLoadedBeforePlugins(): Promise<void> {CODE
LOWpackages/insomnia/src/network/network.ts77export function getOrInheritHeaders({CODE
LOWpackages/insomnia/src/network/network.ts743export async function tryToExecuteAfterResponseScript(context: RequestAndContextAndResponse) {CODE
LOWpackages/insomnia/src/network/send-request.node.ts38export async function getSendRequestCallbackMemDb(CODE
LOWpackages/insomnia/src/basic-components/utils/index.ts32export function getBackgroundColorClasses(color: ButtonColor) {CODE
LOWpackages/insomnia/src/common/project.ts272export async function getProjectsWithGitRepositories({CODE
LOWpackages/insomnia/src/common/api-specs.ts65export function resolveComponentSchemaRefs(spec: ParsedApiSpec, methodInfo: Record<string, any>) {CODE
LOWpackages/insomnia/src/common/app-data.ts98function findOrganizationAndProjectIdForWorkspace(CODE
LOWpackages/insomnia/src/common/app-data.ts113function findOrganizationFromWorkspaceId(queryClient: QueryClient, workspaceId: string): string | undefined {CODE
LOWpackages/insomnia/src/common/app-data.ts124function invalidateIfOrganizationDataUncached(queryClient: QueryClient, organizationId: string): boolean {CODE
157 more matches not shown…
Decorative Section Separators37 hits · 116 pts
SeverityFileLineSnippetContext
MEDIUMpackages/insomnia/src/konnect/transform.ts5// ─── Template injection sanitisation ─────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/transform.ts55// ─── Proxy environment variables ─────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/transform.ts115// ─── Path handling ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/transform.ts231// ─── Header / path-parameter merging ─────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts13// ─── sanitizeRoute ───────────────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts232// ─── deriveProxyVarDefaults ──────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts330// ─── generatePathPlaceholder ─────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts422// ─── mergeHeaders ────────────────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts459// ─── mergePathParameters ─────────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts478// ─── konnectHeadersChanged ───────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts514// ─── pathParametersChanged ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts18// ─── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts127// ─── Feature: HTTP Route Sync ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts475// ─── Feature: Request Naming ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts566// ─── Feature: Re-sync ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts993// ─── Feature: Idempotent Sync (Route Keying) ──────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1073// ─── Feature: gRPC Route Sync ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1301// ─── Feature: WebSocket Route Sync ───────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1489// ─── Feature: L4 (Stream) Routes — Skipped ───────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1515// ─── Feature: SNI-Only Routes ────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1544// ─── Feature: Collection (Workspace) Naming ─────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1596// ─── Feature: Environment Variable Mapping ────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1730// ─── Feature: Control Plane (Project) Naming ────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1780// ─── Feature: Wildcard and Edge-Case Hosts ────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1832// ─── Feature: Expression-Based Routes ──────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts2135// ─── Feature: Multi-Region Control Plane Sync ────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts11// ─── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts61// ─── validatePat ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts117// ─── fetchAllControlPlanes — page-number pagination ──────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts238// ─── fetchAllServices — offset pagination ────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts307// ─── fetchRoutesForService — offset pagination ──────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts387// ─── Retry logic (fetchWithRetry, tested through exported functions) ─────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts564// ─── fetchKonnectOrganizationId ───────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/sync/git/repo-file-watcher.ts813 // ── Check if file still exists and is not a symlink ──────────────COMMENT
MEDIUM⚡packages/insomnia/src/sync/git/repo-file-watcher.ts831 // ── Fast-path: mtime unchanged → skip ────────────────────────────COMMENT
MEDIUM⚡packages/insomnia/src/sync/git/repo-file-watcher.ts841 // ── Read file ────────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/insomnia/src/sync/git/repo-file-watcher.ts850 // ── Content-hash dedup: skip if this is our own write ────────────COMMENT
Over-Commented Block41 hits · 41 pts
SeverityFileLineSnippetContext
LOWpackages/insomnia-inso/src/scripts/macos-pkg.sh1#!/usr/bin/env bashCOMMENT
LOWpackages/insomnia/types/react-aria-components.d.ts1// `disallowTypeAhead` is missing from `ListBoxProps` typings in every publishedCOMMENT
LOWpackages/insomnia/src/routes.ts1import { flatRoutes } from '@react-router/fs-routes';COMMENT
LOW…rc/ui/components/key-value-editor/key-value-editor.tsx101 // The persisted pairs (everything that lives in the data model and shows up in diffs).COMMENT
LOW…tors/environment-key-value-editor/key-value-editor.tsx81 return [...byId.values()];COMMENT
LOW…src/ui/components/modals/git-project-staging-modal.tsx141// rendering nothing.COMMENT
LOW…src/ui/components/modals/git-project-staging-modal.tsx321 acceptedDragTypes: ['insomnia:git-commit-item'],COMMENT
LOW…ui/components/.client/codemirror/editor-state-cache.ts1import type CodeMirror from 'codemirror';COMMENT
LOW…omponents/.client/codemirror/editor-history-cleanup.ts1import { useEffect } from 'react';COMMENT
LOWpackages/insomnia/src/ui/worker/templating.worker.ts21 // This Worker builds and caches its own Liquid engine (see `~/ui/templating/worker`), includingCOMMENT
LOW…ckages/insomnia/src/scripting/quickjs-script-engine.ts241COMMENT
LOW…plugins/__tests__/sandbox-engine-preload-order.test.ts1// Regression test for `getPlugins()`'s eager sandbox-engine warm-upCOMMENT
LOW…__/plugin-load-order-quickjs-module-resolution.test.ts1// `sandbox-engine-preload-order.test.ts` and `../../templating/sandbox/quickjs-runtime.test.ts`COMMENT
LOW…a/src/runtimes/network/hook-chain-shared-state.test.ts1// Regression coverage for whether one plugin's hook can observe or alter another plugin's dataCOMMENT
LOW…nsomnia/src/templating/sandbox/in-sandbox-bootstrap.ts21 ' "use strict";',COMMENT
LOW…nsomnia/src/templating/sandbox/in-sandbox-bootstrap.ts181 // The host reads the plugin\'s source files (only within its own directory, never node_modules)COMMENT
LOW…g/sandbox/elevated-plugin-process-access-scope.test.ts1// Regression coverage for how far an elevated/unsandboxed plugin's real Node process accessCOMMENT
LOW…g/sandbox/elevated-plugin-process-access-scope.test.ts121 // The main-process build bundles every local project module into one file; only packages inCOMMENT
LOWpackages/insomnia/src/common/render.ts461 // with SECRET behaviour and independent of the hideSecretValuesInPreviewAndConsole setting.COMMENT
LOW…somnia/src/common/network/sensitive-value-collector.ts1// Sensitive value collection and redaction for timeline files written to disk.COMMENT
LOW…somnia/src/common/network/sensitive-value-collector.ts21// sendCurlAndWriteTimeline, and pre-/after-response script console logsCOMMENT
LOW…somnia/src/common/network/sensitive-value-collector.ts81 ),COMMENT
LOW…somnia/src/common/network/sensitive-value-collector.ts141 }COMMENT
LOW…somnia/src/common/network/sensitive-value-collector.ts201// A derived credential (base64(user:pass) for Basic Auth) does not contain the plaintext inputs,COMMENT
LOW…somnia/src/common/network/sensitive-value-collector.ts241COMMENT
LOW…a/src/common/__tests__/import-export-roundtrip.test.ts21COMMENT
LOWpackages/insomnia/src/sync/git/ne-db-client.ts81COMMENT
LOWpackages/insomnia/src/sync/git/fs-client.ts101 // `mkdir`/`rmdir`/`symlink` fail outright against an existing leaf of theCOMMENT
LOW…omnia/src/main/templating-worker-database-inventory.ts1// The checked-in scoping inventory for every protocol-dispatch handler in `pluginToMainAPI`.COMMENT
LOW…ckages/insomnia/src/main/templating-worker-database.ts801 return await services.response.create(COMMENT
LOW…atabase-sendrequest-multipart-filepath-scoping.test.ts1import fs from 'node:fs';COMMENT
LOW…ting-worker-database-sendrequest-cacert-bypass.test.ts1import fs from 'node:fs';COMMENT
LOW…s/insomnia/src/main/__tests__/secure-read-file.test.ts1import fs from 'node:fs';COMMENT
LOW…mnia-smoke-test/tests/smoke/focus-and-keyboard.test.ts1import { expect } from '@playwright/test';COMMENT
LOW…-smoke-test/tests/smoke/confidential-redaction.test.ts1import fs from 'node:fs';COMMENT
LOW…-smoke-test/tests/smoke/quickjs-script-sandbox.test.ts1import { expect, type Page } from '@playwright/test';COMMENT
LOWpackages/insomnia-smoke-test/tests/smoke/invite.test.ts41 // // Unlink the team. The team is showing as the first option in the listCOMMENT
LOW…st/tests/smoke/environment-editor-interactions.test.ts141 // commit is its own action we can wait on. Add Row also mutates the row list itselfCOMMENT
LOW…e-test/tests/migration/local-to-cloud-projects.test.ts41 // @TODO Re-enable this testCOMMENT
LOW…e-test/tests/migration/local-to-cloud-projects.test.ts61 // await page.getByTestId('project').click();COMMENT
LOWpackages/insomnia-vcs/src/util.ts81COMMENT
Verbosity Indicators11 hits · 23 pts
SeverityFileLineSnippetContext
LOW⚡…kages/insomnia-inso/src/commands/lint-specification.ts95 // Step 1: flatten local extends and validate remote URLs (SSRF + disallowed keys).COMMENT
LOW⚡…kages/insomnia-inso/src/commands/lint-specification.ts97 // Step 2: fetch + fully inline remote extends so bundleAndLoadRuleset has nothing to fetch,COMMENT
LOWpackages/insomnia/src/sync/git/git-repo-migration.ts235 // Step 1: Rename git/ → .git/COMMENT
LOW⚡packages/insomnia/src/sync/git/git-repo-migration.ts257 // Step 2: Collapse other/ → repo rootCOMMENT
LOW⚡packages/insomnia/src/sync/git/git-repo-migration.ts265 // Step 3: Flush all Insomnia YAML workspaces to disk so they become real files.COMMENT
LOWpackages/insomnia/src/main/install-plugin.ts76 // Step 1: Validate the plugin and fetch its npm metadataCOMMENT
LOW⚡packages/insomnia/src/main/install-plugin.ts97 // Step 2: Create the plugin directory if it doesn't existCOMMENT
LOW⚡packages/insomnia/src/main/install-plugin.ts104 // Step 3: only allow tarballs from known hostsCOMMENT
LOW⚡packages/insomnia/src/main/install-plugin.ts123 // Step 4: Install the plugin into a temporary directoryCOMMENT
LOW⚡packages/insomnia/src/main/install-plugin.ts127 // Step 5: Move the main plugin folder into the plugin directoryCOMMENT
LOW⚡packages/insomnia/src/main/install-plugin.ts133 // Step 6: Handle the plugin's dependenciesCOMMENT
Structural Annotation Overuse11 hits · 23 pts
SeverityFileLineSnippetContext
LOW⚡…kages/insomnia-inso/src/commands/lint-specification.ts95 // Step 1: flatten local extends and validate remote URLs (SSRF + disallowed keys).COMMENT
LOW⚡…kages/insomnia-inso/src/commands/lint-specification.ts97 // Step 2: fetch + fully inline remote extends so bundleAndLoadRuleset has nothing to fetch,COMMENT
LOWpackages/insomnia/src/sync/git/git-repo-migration.ts235 // Step 1: Rename git/ → .git/COMMENT
LOW⚡packages/insomnia/src/sync/git/git-repo-migration.ts257 // Step 2: Collapse other/ → repo rootCOMMENT
LOW⚡packages/insomnia/src/sync/git/git-repo-migration.ts265 // Step 3: Flush all Insomnia YAML workspaces to disk so they become real files.COMMENT
LOWpackages/insomnia/src/main/install-plugin.ts76 // Step 1: Validate the plugin and fetch its npm metadataCOMMENT
LOW⚡packages/insomnia/src/main/install-plugin.ts97 // Step 2: Create the plugin directory if it doesn't existCOMMENT
LOW⚡packages/insomnia/src/main/install-plugin.ts104 // Step 3: only allow tarballs from known hostsCOMMENT
LOW⚡packages/insomnia/src/main/install-plugin.ts123 // Step 4: Install the plugin into a temporary directoryCOMMENT
LOW⚡packages/insomnia/src/main/install-plugin.ts127 // Step 5: Move the main plugin folder into the plugin directoryCOMMENT
LOW⚡packages/insomnia/src/main/install-plugin.ts133 // Step 6: Handle the plugin's dependenciesCOMMENT
Fake / Example Data16 hits · 18 pts
SeverityFileLineSnippetContext
LOWpackages/insomnia/src/ui/components/svg-icon.tsx117 placeholder: 'placeholder',CODE
LOW…mnia/src/ui/components/settings/text-array-setting.tsx17 placeholder?: InputHTMLAttributes<HTMLInputElement>['placeholder'];CODE
LOW…s/insomnia/src/ui/components/settings/text-setting.tsx13 placeholder?: InputHTMLAttributes<HTMLInputElement>['placeholder'];CODE
LOW…insomnia/src/ui/components/settings/masked-setting.tsx14 placeholder?: React.HTMLProps<HTMLInputElement>['placeholder'];CODE
LOW…ommon/__fixtures__/insomnia-v5-roundtrip/bookings.yaml165 "contactEmail": "user@example.com"CODE
LOW…somnia/src/sync/git/providers/__tests__/github.test.ts31function mockGithubApi(email = 'user@example.com') {CODE
LOW…somnia/src/sync/git/providers/__tests__/gitlab.test.ts31function mockGitlabApi(email = 'user@example.com') {CODE
LOW…ges/insomnia/src/main/importers/importers/swagger-2.ts410 'string_email': () => 'user@example.com',CODE
LOW…ges/insomnia/src/main/importers/importers/openapi-3.ts560 'string_email': () => 'user@example.com',CODE
LOW…ckages/insomnia-data/__tests__/git-credentials.test.ts231 author: { name: 'User', email: 'user@example.com' },CODE
LOW⚡…ckages/insomnia-data/__tests__/git-credentials.test.ts242 author: { name: 'User', email: 'user@example.com' },CODE
LOW⚡…ckages/insomnia-data/__tests__/git-credentials.test.ts251 author: { name: 'User', email: 'user@example.com' },CODE
LOW⚡…ckages/insomnia-data/__tests__/git-credentials.test.ts260 author: { name: 'User', email: 'user@example.com' },CODE
LOW⚡…ckages/insomnia-data/__tests__/git-credentials.test.ts269 author: { name: 'User', email: 'user@example.com' },CODE
LOW…ckages/insomnia-data/__tests__/git-credentials.test.ts283 author: { name: 'User', email: 'user@example.com' },CODE
LOW…ckages/insomnia-data/__tests__/git-credentials.test.ts290 author: { name: 'User', email: 'user@example.com' },CODE
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMpackages/insomnia/src/ui/components/request-url-bar.tsx136 // robust to React StrictMode's double-mount and to the request pane keying by requestId.COMMENT
MEDIUM…test/playwright/pages/components/navigation-sidebar.ts126 // Sometimes the dropdown button can be a bit tricky to click if the hover state isn't properly triggered, so we'll COMMENT
MEDIUM…test/playwright/pages/components/navigation-sidebar.ts192 // Sometimes the dropdown button can be a bit tricky to click if the hover state isn't properly triggered, so we'll COMMENT
MEDIUM…test/playwright/pages/components/navigation-sidebar.ts209 // Sometimes the dropdown button can be a bit tricky to click if the hover state isn't properly triggered, so we'll COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…omnia/src/routes/ai.mcp-generate-sampling-response.tsx53 // Response sampling request with AI-generated responseCOMMENT
Self-Referential Comments2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMpackages/insomnia-inso/src/scripts/macos-pkg.sh53# Create a staging area for the installer package.COMMENT
MEDIUM.github/workflows/release-start.yml89 - name: Create Branch # Create a branch if it doesn't existCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/insomnia/src/network/cancellation.renderer.ts17 // TODO: implement cancelPreRequestScript on hiddenBrowserWindow side?COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/insomnia/src/entry.server.tsx12export default function handleRequest(CODE