Ask the oracle when you're stuck. Invoke GPT-5 Pro with a custom context and files.
This report presents the forensic synthetic code analysis of steipete/oracle, a TypeScript project with 3,262 GitHub stars. SynthScan v2.0 examined 104,781 lines of code across 401 source files, recording 437 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 4.4 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).
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 437 distinct pattern matches across 6 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 |
|---|---|---|---|---|
| LOW | bin/oracle-cli.ts | 960 | function addProjectSourcesCommonOptions(command: Command): Command { | CODE |
| LOW | bin/oracle-cli.ts | 1415 | function validateApiProviderRoutingForCli(runOptions: RunOracleOptions): void { | CODE |
| LOW | bin/oracle-cli.ts | 1453 | function resolveHeartbeatIntervalMs(seconds: number | undefined): number | undefined { | CODE |
| LOW | bin/oracle-cli.ts | 1528 | async function suggestFollowupSessionIds(input: string, limit = 3): Promise<string[]> { | CODE |
| LOW | bin/oracle-cli.ts | 1590 | function extractResponseIdFromSession( | CODE |
| LOW | bin/oracle-cli.ts | 1629 | function buildRunOptionsFromMetadata(metadata: SessionMetadata): RunOracleOptions { | CODE |
| LOW | bin/oracle-cli.ts | 1677 | function getBrowserConfigFromMetadata(metadata: SessionMetadata): BrowserSessionConfig | undefined { | CODE |
| LOW | bin/oracle-cli.ts | 2786 | function resolveRestartWaitPreference({ | CODE |
| LOW | bin/oracle-cli.ts | 2803 | function resolveEffectiveModelIdForRun(model: ModelName, stored?: string): string { | CODE |
| LOW | tests/browser/pageActions.test.ts | 857 | function runWelcomeBackPickerForLabels(labels: string[], preferredEmail: string | null = null) { | CODE |
| LOW | tests/browser/promptComposerExpressions.test.ts | 104 | function evaluateAttachmentReadyExpression( | CODE |
| LOW | tests/browser/prompt.test.ts | 36 | function findEndOfCentralDirectory(zip: Buffer): number { | CODE |
| LOW | tests/browser/thinking.test.ts | 245 | async function runThinkingStatusExpression(document: FakeDocument) { | CODE |
| LOW | tests/browser/zipBundle.test.ts | 17 | function findEndOfCentralDirectory(zip: Buffer): number { | CODE |
| LOW | tests/browser/assistantResponseStatus.test.ts | 204 | function evaluateCompletionVisibility(args: { | CODE |
| LOW | tests/browser/assistantResponseStatus.test.ts | 564 | function evalThinkingActivityDetails(opts: ThinkingFixtureOptions): { | CODE |
| LOW | tests/gemini-web/parse.test.ts | 11 | function makeRawResponseWithBodies(bodies: unknown[]): string { | CODE |
| LOW | tests/live/gemini-web-live.test.ts | 10 | async function assertHasGeminiChromeCookies(): Promise<boolean> { | CODE |
| LOW | tests/live/browser-fast-live.test.ts | 28 | function isMissingChatGptSessionError(error: unknown): boolean { | CODE |
| LOW | tests/live/browser-reattach-live.test.ts | 44 | function isMissingChatGptSessionError(error: unknown): boolean { | CODE |
| LOW | tests/live/browser-model-selection-live.test.ts | 43 | function isMissingChatGptSessionError(error: unknown): boolean { | CODE |
| LOW | scripts/runner.ts | 149 | function determineEffectiveTimeoutMs(commandArgs: string[]): number { | CODE |
| LOW | scripts/runner.ts | 278 | function shouldUseLintTimeoutViaPnpm(rest: string[]): boolean { | CODE |
| LOW | scripts/runner.ts | 300 | function shouldUseLintTimeoutViaBun(rest: string[]): boolean { | CODE |
| LOW | scripts/runner.ts | 387 | function normalizeForPathComparison(token: string): string { | CODE |
| LOW | scripts/runner.ts | 392 | function tokenReferencesIntegrationTest(token: string): boolean { | CODE |
| LOW | scripts/runner.ts | 405 | function referencesIntegrationSpec(tokens: string[]): boolean { | CODE |
| LOW | scripts/runner.ts | 431 | function stripWrappersAndAssignments(args: string[]): string[] { | CODE |
| LOW | scripts/runner.ts | 475 | function isTestRunnerSuiteInvocation(tokens: string[], suite: string): boolean { | CODE |
| LOW | scripts/runner.ts | 790 | async function resolveCommandInterception( | CODE |
| LOW | scripts/runner.ts | 858 | async function maybeHandleFindInvocation(context: RunnerExecutionContext): Promise<boolean> { | CODE |
| LOW | scripts/runner.ts | 956 | async function maybeHandleSleepInvocation(context: RunnerExecutionContext): Promise<boolean> { | CODE |
| LOW | scripts/runner.ts | 995 | async function maybeHandleTmuxInvocation(context: RunnerExecutionContext): Promise<boolean> { | CODE |
| LOW | scripts/runner.ts | 1014 | function parseSleepDurationSeconds(token: string): number | null { | CODE |
| LOW | scripts/git-policy.ts | 141 | export function requiresExplicitGitConsent(subcommand: string | null): boolean { | CODE |
| LOW | scripts/git-policy.ts | 148 | export function isDestructiveGitSubcommand( | CODE |
| LOW | src/oracleHome.ts | 10 | export function setOracleHomeDirOverrideForTest(dir: string | null): void { | CODE |
| LOW | src/config.ts | 191 | async function discoverProjectConfigPaths({ | CODE |
| LOW | src/config.ts | 321 | function isTrustedProjectChatgptUrl(rawUrl: string): boolean { | CODE |
| LOW | src/sessionManager.ts | 656 | async function readModernSessionMetadata( | CODE |
| LOW | src/sessionManager.ts | 673 | async function readLegacySessionMetadata( | CODE |
| LOW | src/bridge/connection.ts | 69 | export function parseBridgeConnectionString(input: string): { | CODE |
| LOW | src/bridge/connection.ts | 102 | export function formatBridgeConnectionString( | CODE |
| LOW | src/bridge/connection.ts | 119 | export async function readBridgeConnectionArtifact( | CODE |
| LOW | src/oracle/providerRouting.ts | 26 | export function resolveProviderRoutingState({ | CODE |
| LOW | src/oracle/providerRouting.ts | 97 | function inferNativeProviderFromModelId(model: ModelName): ModelConfig["provider"] | undefined { | CODE |
| LOW | src/oracle/providerRouting.ts | 109 | export function isAzureOpenAICandidateModel(model: ModelName): boolean { | CODE |
| LOW | src/oracle/thinkingTime.ts | 21 | export function normalizeThinkingTimeLevel( | CODE |
| LOW | src/oracle/background.ts | 27 | export async function executeBackgroundResponse( | CODE |
| LOW | src/oracle/background.ts | 170 | async function retrieveBackgroundResponseWithRetry( | CODE |
| LOW | src/oracle/background.ts | 206 | function asRetryableTransportError(error: unknown): OracleTransportError | null { | CODE |
| LOW | src/oracle/client.ts | 24 | export function buildAzureResponsesBaseUrl(endpoint: string): string { | CODE |
| LOW | src/oracle/client.ts | 28 | export function createDefaultClientFactory(): ClientFactory { | CODE |
| LOW | src/oracle/client.ts | 164 | function buildOpenRouterCompletionClient(instance: OpenAI): ClientLike { | CODE |
| LOW | src/oracle/providerRoutePlan.ts | 67 | function buildResolvedProviderRoute(input: ProviderRoutePlanInput): ResolvedProviderRoute { | CODE |
| LOW | src/oracle/providerRoutePlan.ts | 357 | function tryResolveProviderRoutingState(input: { | CODE |
| LOW | src/oracle/modelResolver.ts | 47 | export function normalizeOpenRouterBaseUrl(baseUrl: string): string { | CODE |
| LOW | src/oracle/modelResolver.ts | 270 | export function resolveOverriddenApiModel( | CODE |
| LOW⚡ | src/oracle/modelResolver.ts | 355 | export function resetOpenRouterCatalogCacheForTest(): void { | CODE |
| LOW⚡ | src/oracle/modelResolver.ts | 359 | export function getOpenRouterCatalogCacheSizeForTest(): number { | CODE |
| 350 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/cli/bridgeClaudeConfig.test.ts | 34 | ORACLE_REMOTE_TOKEN: "<YOUR_TOKEN>", | CODE |
| HIGH | docs/bridge.md | 120 | - By default the snippets leave `ORACLE_REMOTE_TOKEN` as `<YOUR_TOKEN>` to avoid printing secrets; rerun with `--print-t | CODE |
| HIGH | src/cli/bridge/codexConfig.ts | 43 | const tokenValue = includeToken ? (remoteToken ?? "<YOUR_TOKEN>") : "<YOUR_TOKEN>"; | CODE |
| HIGH | src/cli/bridge/claudeConfig.ts | 78 | env["ORACLE_REMOTE_TOKEN"] = includeToken ? (remoteToken ?? "<YOUR_TOKEN>") : "<YOUR_TOKEN>"; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/browser/actions/deepResearch.ts | 1293 | // Step 0: Check if already active | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1298 | // Step 1: Open the composer tools menu. Avoid slash commands because they | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1307 | // Step 2: Wait for dropdown | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1344 | // Step 4: Click it | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1353 | // Step 5: Verify pill appeared | COMMENT |
| LOW | src/browser/actions/deepResearch.ts | 1329 | // Step 3: Find "Deep research" item. Some ChatGPT variants only reveal it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/browser/actions/deepResearch.ts | 1293 | // Step 0: Check if already active | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1298 | // Step 1: Open the composer tools menu. Avoid slash commands because they | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1307 | // Step 2: Wait for dropdown | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1344 | // Step 4: Click it | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1353 | // Step 5: Verify pill appeared | COMMENT |
| LOW | src/browser/actions/deepResearch.ts | 1329 | // Step 3: Find "Deep research" item. Some ChatGPT variants only reveal it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/gemini.test.ts | 50 | createGeminiClient("fake-key"); | CODE |
| LOW | tests/gemini.test.ts | 51 | expect(GoogleGenAI).toHaveBeenCalledWith({ apiKey: "fake-key" }); | CODE |
| LOW | tests/gemini.test.ts | 69 | const client = createGeminiClient("fake-key"); | CODE |
| LOW | tests/gemini.test.ts | 129 | const client = createGeminiClient("fake-key"); | CODE |
| LOW | tests/gemini.test.ts | 184 | const client = createGeminiClient("fake-key"); | CODE |
| LOW | tests/gemini.test.ts | 215 | const client = createGeminiClient("fake-key", "gemini-3-pro", "custom-model-id"); | CODE |
| LOW | tests/gemini.test.ts | 235 | const client = createGeminiClient("fake-key"); | CODE |
| LOW | tests/gemini.test.ts | 271 | const client = createGeminiClient("fake-key"); | CODE |
| LOW | tests/browser/thinkingTime.test.ts | 1257 | expect(serialized).not.toContain("user@example.com"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/cli/runOracle/setup.ts | 6 | // Ensure prompt-length guardrails are deterministic in tests | COMMENT |
| MEDIUM | docs/manual-tests.md | 64 | ### CLI guardrails and perf traces | COMMENT |