Your Agent's Integration Layer
This report presents the forensic synthetic code analysis of corsairdev/corsair, a TypeScript project with 4,854 GitHub stars. SynthScan v2.0 examined 440,149 lines of code across 2509 source files, recording 1861 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 11.2 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1861 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | demo/minimal/oauth.ts | 11 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | demo/minimal/oauth.ts | 13 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | demo/minimal/oauth.ts | 24 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | demo/minimal/oauth.ts | 26 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 69 | // ── package.json ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 113 | // ── tsconfig.json ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 139 | // ── tsup.config.ts ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 160 | // ── webhooks/tenant-matcher.ts + oauth-tenant-link.ts ───────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 170 | // ── index.ts ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 370 | // ── client.ts ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 437 | // ── error-handlers.ts ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 474 | // ── endpoints/types.ts ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 509 | // ── endpoints/example.ts ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 530 | // ── endpoints/index.ts ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 543 | // ── webhooks/types.ts ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 607 | // ── webhooks/example.ts ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 640 | // ── webhooks/index.ts ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 655 | // ── schema/database.ts ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 670 | // ── schema/index.ts ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 680 | // ── jest.config.cjs + starter test ──────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin.ts | 767 | // ── Update core/constants.ts to register the new provider ───────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin-from-json.ts | 12 | // ── JSON shape ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin-from-json.ts | 55 | // ── Name helpers ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin-from-json.ts | 168 | // ── Auth helpers ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin-from-json.ts | 211 | // ── Zod schema code generation ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin-from-json.ts | 316 | // ── File content builders ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin-from-json.ts | 944 | // ── Main ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate-plugin-from-json.ts | 1298 | // ── Entry ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 5 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 7 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 25 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 27 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 70 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 72 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 96 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 98 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 134 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 136 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 157 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 159 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 183 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 185 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 227 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 229 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 294 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 296 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 352 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 354 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 400 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/studio/src/web/components/OperationInputForm.tsx | 402 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/twitter/index.ts | 28 | // ── Context & Key Builder ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/twitter/index.ts | 37 | // ── Endpoint Types ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/twitter/index.ts | 54 | // ── Plugin Options ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/twitter/index.ts | 73 | // ── Endpoint + Webhook Trees ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/twitter/index.ts | 84 | // ── Endpoint Schemas ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/twitter/index.ts | 97 | // ── Endpoint Meta ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/twitter/index.ts | 110 | // ── Auth Config ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/twitter/index.ts | 118 | // ── Plugin Types ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/twitter/index.ts | 136 | // ── Plugin Factory ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/twitter/index.ts | 195 | // ── Type Exports ────────────────────────────────────────────────────────────── | COMMENT |
| 1364 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo/testing/src/scripts/test-hub.ts | 53 | async function testDeliveryEndpointHealth(): Promise<void> { | CODE |
| LOW | demo/testing/src/scripts/test-hub.ts | 107 | async function testManagedConnectSession(): Promise<void> { | CODE |
| LOW | demo/testing/src/scripts/test-hub.ts | 145 | async function testIntegrationCredentials(): Promise<void> { | CODE |
| LOW | demo/testing/src/scripts/test-hub.ts | 164 | async function testStoredGoogleCalendarTokens(): Promise<void> { | CODE |
| LOW | demo/testing/src/scripts/test-hub.ts | 186 | async function testStoredGitHubManagedTokens(): Promise<void> { | CODE |
| LOW | demo/testing/src/scripts/test-hub.ts | 208 | async function testGoogleCalendarApiCall(): Promise<void> { | CODE |
| LOW | demo/testing/src/scripts/test-hub.ts | 240 | async function testManagedOAuthDeliveryHandler(): Promise<void> { | CODE |
| LOW | www/scripts/migrate-blog-to-sanity.ts | 72 | async function uploadImageFromPublicPath( | CODE |
| LOW | www/src/app/oss/oss-integrations-shell.tsx | 20 | function OssIntegrationsShellInner({ | CODE |
| LOW | www/src/app/oss/active-claim-deadline-banner.tsx | 23 | export function ActiveClaimDeadlineBanner({ | CODE |
| LOW | www/src/app/oss/mark-finished-button.tsx | 119 | export function ReadyToReviewStatusCallout({ | CODE |
| LOW | www/src/app/oss/oss-sections.tsx | 54 | export async function OssCategoryOnboardingSection({ | CODE |
| LOW | www/src/app/oss/contributor-profile.tsx | 177 | function ContributorIntegrationRow({ | CODE |
| LOW | www/src/app/oss/[slug]/integration-detail-sections.tsx | 128 | export async function IntegrationCapabilitiesSection({ | CODE |
| LOW | www/src/app/oss/[slug]/integration-detail-sections.tsx | 155 | export function IntegrationHeaderSkeleton() { | CODE |
| LOW | www/src/app/oss/[slug]/integration-detail-sections.tsx | 188 | export function IntegrationCapabilitiesSkeleton() { | CODE |
| LOW | www/src/app/oss/[slug]/integration-capability-list.tsx | 21 | export function IntegrationCapabilityList({ | CODE |
| LOW | www/src/app/oss/[slug]/integration-auth-scheme-list.tsx | 9 | export function IntegrationAuthSchemeList({ | CODE |
| LOW | www/src/server/integration-cache.ts | 23 | function getCachedIntegrationSummary(slug: string) { | CODE |
| LOW | www/src/server/integration-cache.ts | 34 | function getCachedIntegrationCapabilities(slug: string) { | CODE |
| LOW | www/src/server/oss-public-cache.ts | 19 | export function revalidateOssWriteSurface() { | CODE |
| LOW | www/src/server/oss-public-cache.ts | 77 | export async function getIntegrationListForPage( | CODE |
| LOW | www/src/server/github-users.ts | 10 | function getGithubAvatarFallbackUrl(username: string): string { | CODE |
| LOW | www/src/server/actions/mark-ready-to-review.ts | 10 | export async function markIntegrationReadyToReview(integrationId: string) { | CODE |
| LOW | www/src/server/actions/admin-mark-merged.ts | 11 | export async function adminMarkIntegrationMerged(integrationId: string) { | CODE |
| LOW | www/src/server/api/routers/integrations.ts | 127 | function visibleIntegrationsFilter(query?: string, tagSlugs?: string[]): SQL { | CODE |
| LOW | www/src/server/api/routers/integrations.ts | 153 | function mapIntegrationClaimFields( | CODE |
| LOW | www/src/server/api/routers/integrations.ts | 183 | async function maybeAdvancePhaseAfterUrlUpdate( | CODE |
| LOW | …nts/landing/use-cases/corsair-infrastructure-layer.tsx | 4 | export function CorsairInfrastructureLayer() { | CODE |
| LOW | …nents/landing/hooks/use-window-pointer-interactions.ts | 43 | export function useWindowPointerInteractions({ | CODE |
| LOW | www/src/lib/integration-phases.ts | 32 | export function isIntegrationActivelyClaimed( | CODE |
| LOW | www/src/lib/integration-urls.ts | 10 | export function formatIntegrationIssueLabel(url: string | null | undefined) { | CODE |
| LOW | www/src/lib/auth-emails.ts | 70 | export function buildMagicLinkEmailFromUrl(url: string) { | CODE |
| LOW | www/src/db/integration-tags.ts | 7 | export async function fetchIntegrationTagsByIntegrationIds( | CODE |
| LOW | www/src/db/integration-status.ts | 88 | export async function getLatestStatusForIntegration( | CODE |
| LOW | www/src/db/integration-status.ts | 112 | export async function getLatestStatusesForIntegrations( | CODE |
| LOW | www/src/db/integration-status.ts | 142 | export async function getIntegrationStatusHistory( | CODE |
| LOW | www/src/db/integration-status.ts | 169 | export async function getUserActiveDeadlineClaim(db: DB, userId: string) { | CODE |
| LOW | www/src/db/index.ts | 13 | function normalizeConnectionString(connectionString: string) { | CODE |
| LOW | www/src/db/integration-tag-definitions.ts | 314 | export function assignIntegrationTagSlugs( | CODE |
| LOW | www/src/db/integration-tag-definitions.ts | 349 | export function getIntegrationTagDefinition(slug: string) { | CODE |
| LOW | www/src/db/integration-urls.ts | 35 | export async function fetchIntegrationUrlsByIntegrationIds( | CODE |
| LOW | www/src/db/integration-urls.ts | 111 | export async function clearContributorIntegrationUrls( | CODE |
| LOW | scripts/plugin-tenant-routing-scaffold.ts | 92 | export function formatTenantRoutingPluginFields(pascalName: string): string { | CODE |
| LOW | scripts/generate-plugin-docs.ts | 103 | function discoverPluginPackageDirs(root: string): string[] { | CODE |
| LOW | scripts/generate-plugin-docs.ts | 238 | function inferAuthTypesFromPluginSource(source: string): string[] { | CODE |
| LOW | scripts/generate-plugin-docs.ts | 257 | function inferDefaultAuthTypeFromSource(source: string): string | undefined { | CODE |
| LOW | scripts/generate-plugin-docs.ts | 309 | function isPlaceholderExampleWebhookOnly( | CODE |
| LOW | scripts/generate-plugin-docs.ts | 1015 | function orderedPluginPageBasenames(pluginDir: string): string[] { | CODE |
| LOW | scripts/generate-plugin-docs.ts | 1164 | async function generatePluginDocsForEntry( | CODE |
| LOW | scripts/build-explorer-catalog.ts | 75 | function discoverPluginPackageDirs(root: string): string[] { | CODE |
| LOW | scripts/build-explorer-catalog.ts | 123 | function titleFromPackageDescription(desc: string | undefined): string | null { | CODE |
| LOW | scripts/build-explorer-catalog.ts | 154 | function inferDefaultAuthTypeFromSource( | CODE |
| LOW | packages/ui/src/plugins/googlecalendar/events-create.ts | 30 | export function renderGoogleCalendarEventsCreate( | CODE |
| LOW | packages/studio/src/server/handlers/chat.ts | 94 | function findPendingToolBlockIndex( | CODE |
| LOW | packages/studio/src/server/handlers/auth.ts | 28 | function getCustomIntegrationFields( | CODE |
| LOW | packages/twitter/webhooks/tenant-matcher.ts | 6 | export function matchTwitterTenantWebhook( | CODE |
| LOW | packages/twitter/webhooks/types.ts | 80 | export function verifyTwitterWebhookSignature( | CODE |
| LOW | packages/monday/webhooks/types.ts | 97 | export function createMondayChallengeMatch(): CorsairWebhookMatcher { | CODE |
| LOW | packages/monday/webhooks/types.ts | 125 | export function verifyMondayWebhookSignature( | CODE |
| 249 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo/sdk/linear/ENV_SETUP.md | 193 | ### Step 1: Verify API Key | COMMENT |
| LOW | demo/sdk/linear/ENV_SETUP.md | 206 | ### Step 2: Verify Team ID (if set) | COMMENT |
| LOW | demo/sdk/linear/ENV_SETUP.md | 214 | ### Step 3: Verify Webhook Setup | COMMENT |
| LOW⚡ | demo/sdk/hubspot/README.md | 17 | #### Step 1: Navigate to Private Apps | COMMENT |
| LOW⚡ | demo/sdk/hubspot/README.md | 24 | #### Step 2: Create a New Private App | COMMENT |
| LOW⚡ | demo/sdk/hubspot/README.md | 32 | #### Step 3: Configure Scopes (Permissions) | COMMENT |
| LOW | demo/sdk/hubspot/README.md | 55 | #### Step 4: Get Your Access Token | COMMENT |
| LOW | demo/sdk/hubspot/README.md | 63 | #### Step 5: Create Environment File | COMMENT |
| LOW | demo/sdk/hubspot/README.md | 93 | #### Step 1: Get Your Webhook Secret (Optional but Recommended) | COMMENT |
| LOW | demo/sdk/hubspot/README.md | 100 | #### Step 2: Set Up Local Webhook Server | COMMENT |
| LOW | demo/sdk/hubspot/README.md | 114 | #### Step 3: Create Webhook Subscription in HubSpot | COMMENT |
| LOW | demo/sdk/hubspot/README.md | 126 | #### Step 4: Test Webhooks | COMMENT |
| LOW | demo/sdk/slack/README.md | 17 | #### Step 1: Create a Slack App | COMMENT |
| LOW | demo/sdk/slack/README.md | 26 | #### Step 2: Configure Bot Token Scopes | COMMENT |
| LOW⚡ | demo/sdk/slack/README.md | 55 | #### Step 3: Install App to Workspace | COMMENT |
| LOW⚡ | demo/sdk/slack/README.md | 62 | #### Step 4: Get User Token (Optional) | COMMENT |
| LOW⚡ | demo/sdk/slack/README.md | 72 | #### Step 5: Find Channel and User IDs | COMMENT |
| LOW | demo/sdk/slack/README.md | 93 | #### Step 6: Create Environment File | COMMENT |
| LOW⚡ | demo/sdk/posthog/README.md | 17 | #### Step 1: Get Your Project API Key | COMMENT |
| LOW⚡ | demo/sdk/posthog/README.md | 24 | #### Step 2: Get Your Personal API Key (Optional, for API access) | COMMENT |
| LOW⚡ | demo/sdk/posthog/README.md | 32 | #### Step 3: Create Environment File | COMMENT |
| LOW | demo/sdk/posthog/README.md | 64 | #### Step 1: Set Up Local Webhook Server | COMMENT |
| LOW | demo/sdk/posthog/README.md | 78 | #### Step 2: Create Webhook Destination in PostHog | COMMENT |
| LOW | demo/sdk/posthog/README.md | 87 | #### Step 3: Test Webhooks | COMMENT |
| LOW⚡ | demo/sdk/gmail/README.md | 36 | ### Step 1: Create Google Cloud Project | COMMENT |
| LOW⚡ | demo/sdk/gmail/README.md | 42 | ### Step 2: Enable Gmail API | COMMENT |
| LOW⚡ | demo/sdk/gmail/README.md | 48 | ### Step 3: Create OAuth 2.0 Credentials | COMMENT |
| LOW⚡ | demo/sdk/gmail/README.md | 56 | ### Step 4: Get Access Token | COMMENT |
| LOW | demo/sdk/gmail/README.md | 96 | ### Step 5: Configure Environment Variables | COMMENT |
| LOW⚡ | packages/googlecalendar/setup.ts | 32 | ### Step 2: Enable the Google Calendar API | COMMENT |
| LOW⚡ | packages/googlecalendar/setup.ts | 42 | ### Step 3: Configure the OAuth Consent Screen | COMMENT |
| LOW⚡ | packages/googlecalendar/setup.ts | 129 | ### Step 9: Get a Public Webhook URL | COMMENT |
| LOW⚡ | packages/googlecalendar/setup.ts | 139 | ### Step 10: Set Up ngrok | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 19 | ### Step 1: Check for an existing GCP project | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 61 | ### Step 4: Create OAuth 2.0 Credentials | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 77 | ### Step 5: Enter Client ID and Client Secret | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 88 | ### Step 6: Get Access Token and Refresh Token (OAuth Playground) | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 106 | ### Step 7: Enter Access Token and Refresh Token | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 117 | ### Step 8: Webhook Setup (Optional) | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 174 | ### Step 11: Create the Calendar Watch Channel | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo/testing/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| LOW | demo/testing/src/scripts/test-hub.ts | 321 | } | COMMENT |
| LOW | demo/testing/src/scripts/test-hub.ts | 341 | // 'GitHub API (repositories.list)', | COMMENT |
| LOW | demo/testing/src/scripts/test-hub.ts | 361 | // message.includes('Bad credentials') || | COMMENT |
| LOW | explorer/pnpm-workspace.yaml | 1 | # Stops pnpm from walking up into the parent monorepo's workspace. This app is | COMMENT |
| LOW | www/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| LOW | packages/corsair/core/management/adapters/next.ts | 1 | import type { ManagementHandlerOptions } from '../handler'; | COMMENT |
| LOW | packages/corsair/core/management/adapters/express.ts | 1 | import type { ManagementHandlerOptions } from '../handler'; | COMMENT |
| LOW | packages/corsair/core/management/adapters/hono.ts | 1 | import type { ManagementHandlerOptions } from '../handler'; | COMMENT |
| LOW | packages/corsair/tests/management-client.test.ts | 1 | import { CorsairClientError, createCorsairClient } from '../client'; | COMMENT |
| LOW | packages/corsair/tests/management-handler.test.ts | 1 | import { createCorsair } from '../core'; | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 1 | // import * as dotenv from 'dotenv'; | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 21 | // }); | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 41 | // 'retry-after': String(mockRetryAfterSeconds), | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 61 | COMMENT | |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 81 | // expect(capturedError?.status).toBe(429); | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 101 | // headers: { | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 121 | // ]; | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 141 | COMMENT | |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 161 | // enabled: true, | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 181 | // errorHandlers, | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 201 | // }, | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 221 | COMMENT | |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 241 | // expect(result.headersRetryAfterMs).toBeUndefined(); | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 261 | // }); | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 281 | // rateLimitConfig: { | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 301 | // {}, | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 321 | // { | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 341 | // 'content-type': 'application/json', | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 361 | COMMENT | |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 381 | // expect(capturedError?.status).toBe(429); | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 401 | // const SLACK_BOT_TOKEN = process.env.SLACK_BOT_TOKEN; | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 421 | COMMENT | |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 441 | // console.log( | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 461 | // const secondStart = Date.now(); | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 481 | // rateLimitConfig: { | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 501 | // const secondElapsed = Date.now() - secondStart; | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 521 | // const successCount = results.filter( | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 541 | // console.log( | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 561 | // ); | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 581 | // console.warn('Your Slack workspace has extremely high rate limits.'); | COMMENT |
| LOW | …ges/corsair/tests/slack-rate-limit-integration.test.ts | 601 | // 'Consider using the simulated test or a workspace with lower limits.', | COMMENT |
| LOW | packages/corsair/client/react/index.ts | 21 | // over one client instance and returns typed hooks. This avoids a React context | COMMENT |
| LOW | packages/figma/api.test.ts | 301 | // const result = await makeFigmaRequest<WebhooksCreateResponse>( | COMMENT |
| LOW | packages/figma/api.test.ts | 321 | COMMENT | |
| LOW | packages/figma/api.test.ts | 341 | // } | COMMENT |
| LOW | packages/figma/api.test.ts | 361 | // method: 'PUT', | COMMENT |
| LOW | packages/dropbox/webhooks/types.ts | 1 | import type { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/googlemeet/scripts/setup-test-db.ts | 171 | print(f'Opening database: {db_path}') | CODE |
| HIGH⚡ | packages/googlemeet/scripts/setup-test-db.ts | 190 | print(f'\\nIntegration rows: {len(integrations)}') | CODE |
| HIGH⚡ | packages/googlemeet/scripts/setup-test-db.ts | 192 | print(f' id={row[0]}, name={row[1]}') | CODE |
| HIGH⚡ | packages/googlemeet/scripts/setup-test-db.ts | 196 | print(f'\\nAccount rows: {len(accounts)}') | CODE |
| HIGH⚡ | packages/googlemeet/scripts/setup-test-db.ts | 198 | print(f' id={row[0]}, tenant_id={row[1]}') | CODE |
| HIGH⚡ | packages/googlemeet/scripts/setup-test-db.ts | 201 | print('\\nDone! Google Meet plugin is ready to test.') | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo/sdk/slack/tests/models.test.ts | 318 | real_name: 'John Doe', | CODE |
| LOW | demo/sdk/slack/tests/models.test.ts | 331 | real_name: 'John Doe', | CODE |
| LOW | demo/sdk/posthog/README.md | 122 | email: 'user@example.com', | CODE |
| LOW | demo/sdk/posthog/README.md | 123 | name: 'John Doe', | CODE |
| LOW | demo/sdk/unified-sdk/tests/slack/models.test.ts | 318 | real_name: 'John Doe', | CODE |
| LOW | demo/sdk/unified-sdk/tests/slack/models.test.ts | 331 | real_name: 'John Doe', | CODE |
| LOW | packages/corsair/tests/hooks.test.ts | 68 | key: 'fake-key', | CODE |
| LOW | packages/corsair/tests/hooks.test.ts | 116 | key: 'fake-key', | CODE |
| LOW | packages/corsair/tests/hooks.test.ts | 164 | key: 'fake-key', | CODE |
| LOW | packages/corsair/tests/hooks.test.ts | 231 | key: 'fake-key', | CODE |
| LOW | packages/corsair/tests/hooks.test.ts | 302 | key: 'fake-key', | CODE |
| LOW | packages/corsair/tests/hooks.test.ts | 376 | key: 'fake-key', | CODE |
| LOW | packages/corsair/tests/hooks.test.ts | 453 | key: 'fake-key', | CODE |
| LOW | packages/corsair/tests/hooks.test.ts | 514 | key: 'fake-key', | CODE |
| LOW | packages/corsair/tests/connect-link.test.ts | 157 | const result = await boundFn({ to: 'user@example.com' }); | CODE |
| LOW | packages/gmail/webhooks/messages.test.ts | 26 | data: encodePushNotification('user@example.com', historyId), | CODE |
| LOW | packages/gmail/webhooks/messages.test.ts | 155 | emailAddress: 'user@example.com', | CODE |
| LOW | packages/gmail/webhooks/messages.test.ts | 190 | { name: 'To', value: 'user@example.com' }, | CODE |
| LOW | packages/gmail/webhooks/messages.test.ts | 210 | emailAddress: 'user@example.com', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/googlecalendar/setup.ts | 32 | ### Step 2: Enable the Google Calendar API | COMMENT |
| LOW⚡ | packages/googlecalendar/setup.ts | 42 | ### Step 3: Configure the OAuth Consent Screen | COMMENT |
| LOW⚡ | packages/googlecalendar/setup.ts | 129 | ### Step 9: Get a Public Webhook URL | COMMENT |
| LOW⚡ | packages/googlecalendar/setup.ts | 139 | ### Step 10: Set Up ngrok | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 19 | ### Step 1: Check for an existing GCP project | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 61 | ### Step 4: Create OAuth 2.0 Credentials | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 77 | ### Step 5: Enter Client ID and Client Secret | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 88 | ### Step 6: Get Access Token and Refresh Token (OAuth Playground) | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 106 | ### Step 7: Enter Access Token and Refresh Token | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 117 | ### Step 8: Webhook Setup (Optional) | COMMENT |
| LOW | packages/googlecalendar/setup.ts | 174 | ### Step 11: Create the Calendar Watch Channel | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | demo/sdk/posthog/README.md | 173 | token: 'your-api-key-here', | CODE |
| HIGH | packages/googlecalendar/setup.ts | 157 | 4. Run: \`ngrok config add-authtoken YOUR_TOKEN_HERE\` | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/twilio/integration.test.ts | 238 | await corsair.twilio.webhooks.message.received.handler({ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/zoom/endpoints/types.ts | 331 | // AI-generated summary detail items have an open-ended structure that Zoom may extend | COMMENT |