Repository Analysis

oomol-lab/open-connector

Open-source auth gateway connecting 1000+ SaaS providers to AI agents through SDK, CLI, MCP, HTTP, and OpenAPI.

3.9 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of oomol-lab/open-connector, a TypeScript project with 4,465 GitHub stars. SynthScan v2.0 examined 1,087,471 lines of code across 5065 source files, recording 4110 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 3.9 places this repository in the Likely human-written 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).

3.9
Adjusted Score
3.9
Raw Score
100%
Time Factor
2026-08-09
Last Push
4.5K
Stars
TypeScript
Language
1.1M
Lines of Code
5.1K
Files
4.1K
Pattern Hits
2026-08-09
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 15MEDIUM 0LOW 4095

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 4110 distinct pattern matches across 7 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.

Hyper-Verbose Identifiers4075 hits · 4157 pts
SeverityFileLineSnippetContext
LOWweb/src/model.ts298export function resolveProviderConnectionStatus(CODE
LOWweb/src/model.ts316export function usableConnectionsForService(connections: ConnectionRecord[], service: string): ConnectionRecord[] {CODE
LOWweb/src/model.ts325function pickUsableCredentialConnection(connections: ConnectionRecord[]): ConnectionRecord | undefined {CODE
LOWweb/src/model.ts330function isUsableCredentialConnection(connection: ConnectionRecord | undefined): connection is ConnectionRecord {CODE
LOWweb/src/model.ts378export function filterProvidersByCategory(providers: ProviderDefinition[], category: string): ProviderDefinition[] {CODE
LOWweb/src/model.ts418function getRecommendedProviderServiceRank(service: string): number {CODE
LOWweb/src/model.ts430export function firstProviderByConnectionStatus(CODE
LOWweb/src/providers-page.tsx305function useProgressiveProviderLimit(CODE
LOWweb/src/providers-page.tsx843export function isProviderLocallyAvailable(provider: ProviderDefinition): boolean {CODE
LOWweb/src/providers-page.tsx847export function shouldShowConnectionActions(auth: AuthDefinition): boolean {CODE
LOWweb/src/providers-page.tsx851export function shouldShowDisconnectAction(connection: AppData["connections"][number] | undefined): boolean {CODE
LOWweb/src/providers-page.tsx855export function shouldEnableConnectionSubmit(CODE
LOWweb/src/providers-page.tsx946export function configurableConnectionsForProvider(CODE
LOWweb/src/providers-page.tsx963export function validateNewConnectionName(CODE
LOWweb/src/providers-page.tsx986export function credentialConnectionRequestBody(CODE
LOWweb/src/providers-page.tsx994export function oauthAuthorizationRequestBody(CODE
LOWweb/src/providers-page.tsx1100function UnavailableProviderConnection(props: {CODE
LOWweb/src/actions-page.tsx557export function shouldResetRunActionModal(currentActionId: string, nextActionId: string): boolean {CODE
LOWweb/src/actions-page.tsx561export function initialActionConnectionName(connections: ConnectionRecord[]): string | undefined {CODE
LOWweb/src/actions-page.tsx566export function reconcileActionConnectionName(CODE
LOWweb/src/policy.ts49export function policyRulesFromEditorDraft(draft: PolicyEditorDraft): PolicyRules {CODE
LOWweb/src/policy.ts66export function validatePolicyEditorDraft(draft: PolicyEditorDraft, includeProxies: boolean): PolicyDraftIssue[] {CODE
LOWweb/src/policy.ts173export function filterPolicyRuleCandidates(candidates: string[], query: string, limit = 12): string[] {CODE
LOWweb/src/oauth-app-form.tsx159export function initialClientConfigFieldValues(CODE
LOWweb/src/oauth-app-form.tsx175export function splitClientConfigFieldValues(CODE
LOWweb/src/runs-page.tsx357export function runFiltersFromSearchParams(searchParams: URLSearchParams): RunFilters {CODE
LOWweb/src/ui.tsx78export function subscribeToOAuthCompletions(onComplete: (message: OAuthCompletionMessage) => void): () => void {CODE
LOWscripts/generate-provider-registry.ts12export async function generateProviderRegistries(providerSources: ProviderSource[]): Promise<void> {CODE
LOWscripts/provider-source.ts39function readProviderDirectoryName(name: string): string {CODE
LOWscripts/provider-source.ts44function assertProviderDefinitionService(directoryName: string, service: string): void {CODE
LOWsrc/catalog-store.ts165export function resolveExecutableActionIds(CODE
LOWsrc/catalog-store.ts181function createActionExecutionStatus(CODE
LOWsrc/mcp.test.ts519async function withAuthenticatedMcpClient(CODE
LOWsrc/mcp.ts385async function describeActionMarkdownContext(CODE
LOWsrc/mcp.ts405async function getSelectedConnectionSummary(CODE
LOWsrc/oauth/oauth-client-config-service.ts198export function readOAuthClientConfigMetadata(CODE
LOWsrc/oauth/oauth-client-config-service.ts236function pickClientConfigFieldValues(CODE
LOWsrc/oauth/oauth-client-config-service.ts248function assertNoUnexpectedClientConfigFields(CODE
LOWsrc/oauth/oauth-client-config-service.ts261function normalizeStoredOAuthClientConfig(config: OAuthClientConfig | undefined): OAuthClientConfig | undefined {CODE
LOWsrc/oauth/oauth-token.ts43export async function requestAuthorizationCodeToken(CODE
LOWsrc/oauth/oauth-token.ts231function isSensitiveTokenResponseField(key: string): boolean {CODE
LOWsrc/oauth/oauth-token.ts236function encodeOAuthBasicCredential(value: string): string {CODE
LOWsrc/oauth/oauth-token.ts240function createAuthorizationCodeFields(input: AuthorizationCodeTokenRequest): Record<string, string> {CODE
LOWsrc/core/guarded-fetch.ts117export function setDefaultGuardedFetchDnsLookup(lookup: GuardedFetchDnsLookup | null | undefined): void {CODE
LOWsrc/core/guarded-fetch.ts306export async function resolveGuardedEgressTarget(CODE
LOWsrc/core/guarded-fetch.ts333async function assertResolvedAddressesAllowed(CODE
LOWsrc/core/guarded-fetch-default-lookup.test.ts32async function loadGuardedFetchWithNodeDns(): Promise<typeof import("./guarded-fetch.ts")> {CODE
LOWsrc/core/guarded-websocket.ts202function globalWebSocketConstructor(): WebSocketConstructor | undefined {CODE
LOWsrc/core/request.ts228export function setPrivateNetworkAccessAllowed(allowed: boolean): void {CODE
LOWsrc/core/request.ts233export function isPrivateNetworkAccessAllowed(): boolean {CODE
LOWsrc/core/request.ts238export function parsePrivateNetworkAccessFlag(value: string | undefined): boolean {CODE
LOWsrc/core/request.ts307function normalizeTrustedHostEntry(value: string): string {CODE
LOWsrc/core/action-search.ts216export function createActionSearchIndexProvider(actions: Iterable<ActionDefinition>): ActionSearchIndexProvider {CODE
LOWsrc/core/credential-fields.ts26export function normalizeCredentialValues(options: NormalizeCredentialValuesOptions): Record<string, string> {CODE
LOWsrc/mail/imap-smtp/runtime.ts104export function createMailProviderRuntime(config: MailRuntimeConfig): MailProviderRuntime {CODE
LOWsrc/mail/imap-smtp/runtime.ts187function isCloudflareWorkerRuntime(): boolean {CODE
LOWsrc/mail/imap-smtp/runtime.ts253function describeMailValidationError(error: unknown): Record<string, unknown> {CODE
LOWsrc/mail/imap-smtp/runtime.ts521async function resolveOutgoingAttachments(attachments: ParsedOutgoingAttachment[], context: MailActionContext) {CODE
LOWsrc/mail/imap-smtp/protocol.ts804function normalizeEnvelopeAddresses(value: unknown, key: "from" | "to" | "cc" | "replyTo"): MailAddress[] {CODE
LOWsrc/mail/imap-smtp/protocol.ts854function collectAttachmentMetadata(bodyStructure: unknown): MailAttachment[] {CODE
4015 more matches not shown…
Magic Placeholder Names11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHsrc/providers/freshdesk/definition.ts21 "Freshdesk API key used as the Basic Auth username. Find it in Profile Settings > View API key: https://support.CODE
HIGHsrc/providers/screenshot_fyi/definition.ts16 placeholder: "YOUR_API_KEY",CODE
HIGHsrc/providers/geckoboard/definition.ts21 "Geckoboard API key used as the HTTP Basic username. Find it in Geckoboard Account details under API Key: https:CODE
HIGHsrc/providers/alt_text_generator_ai/definition.ts14 placeholder: "YOUR_API_KEY",CODE
HIGHsrc/providers/kadoa/definition.ts14 placeholder: "tk-your-api-key",CODE
HIGHsrc/providers/tapfiliate/definition.ts18 "Tapfiliate API key sent in the X-Api-Key header. Find and manage it in Tapfiliate account settings: https://supCODE
HIGHsrc/providers/lightspeed_vt/definition.ts14 placeholder: "YOUR_API_KEY",CODE
HIGHsrc/providers/megaventory/definition.ts13 placeholder: "YOUR_API_KEY",CODE
HIGHsrc/providers/detrack/definition.ts18 "Detrack API key sent with the X-API-KEY header. Generate or view it under Integrations > API Key: https://help.CODE
HIGHsrc/providers/mailgun/definition.ts18 "Mailgun private API key used with HTTP Basic auth as api:YOUR_API_KEY. Create or view API keys in Mailgun securCODE
HIGHsrc/providers/html_to_image/definition.ts19 placeholder: "your_api_key",CODE
Synthetic Comment Markers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHsrc/providers/winston_ai/actions.ts41 "Detect whether text, a public document URL, or a public website URL was likely generated by AI with Winston AI.",CODE
HIGHsrc/providers/winston_ai/actions.ts49 "Input for detecting whether content was likely generated by AI with Winston AI. Provide one of text, fileUrl, or CODE
HIGHsrc/providers/gptzero/actions.ts54 "Detect whether a plain text document was generated by AI with GPTZero and return document, paragraph, and sentencCODE
HIGHsrc/providers/gptzero/actions.ts56 "The input payload for detecting whether text was generated by AI with GPTZero.",CODE
Fake / Example Data12 hits · 12 pts
SeverityFileLineSnippetContext
LOWsrc/mail/imap-smtp/host-pinning.test.ts12 email: "user@example.com",CODE
LOWsrc/providers/zlibrary/definition.ts22 placeholder: "user@example.com",CODE
LOWsrc/providers/gamma/actions.ts106 "placeholder",CODE
LOWsrc/providers/guru/definition.ts29 placeholder: "admin@example.com",CODE
LOWsrc/providers/memos/actions.ts31 { optional: ["placeholder", "latitude", "longitude"] },CODE
LOWsrc/providers/paperform/actions.ts93 required: ["key", "title", "description", "type", "required", "custom_key", "placeholder", "raw"],CODE
LOW…c/providers/doppler_marketing_automation/definition.ts24 placeholder: "user@example.com",CODE
LOWsrc/providers/nethunt/definition.ts29 placeholder: "user@example.com",CODE
LOWsrc/providers/adyntel/definition.ts26 placeholder: "user@example.com",CODE
LOWsrc/providers/generic_imap/definition.ts24 placeholder: "user@example.com",CODE
LOWsrc/providers/generic_imap/network-access.test.ts11 email: "user@example.com",CODE
LOWsrc/providers/generic_imap/network-access.test.ts95 email: "user@example.com",CODE
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippetContext
LOWdocker-compose.build.yml1# Build overlay for local development.COMMENT
LOW.github/workflows/publish-docker.yml1name: Publish Docker ImageCOMMENT
LOW.github/workflows/pr-maintainer-edits.yml1name: PR Maintainer EditsCOMMENT
LOWsrc/core/guarded-fetch.ts401 return defaultLookupOverride;COMMENT
LOWsrc/core/request.ts121}COMMENT
LOWsrc/providers/baidu_maps/runtime.ts121 // Baidu's SN check is an AK-level toggle configured per key in the consoleCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdocker-compose.build.yml6# Usage:COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/providers/dovetail/runtime.ts100async function getData(input: Record<string, unknown>, context: ApiKeyProviderContext) {CODE