Ask the oracle when you're stuck. Invoke GPT-5 Pro with a custom context and files.
This report summarizes scanner evidence for steipete/oracle, a TypeScript project with 4,050 GitHub stars. SynthScan examined 137,730 lines of code across 490 source files, recording 575 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 4.4 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 557 finding(s).
Are imports declared and package/API names verified? 18 finding(s).
Are wrappers, guards, and repeated structures necessary? 540 finding(s).
Which changes need focused human review? 575 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 575 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/oracle-cli.ts | 1050 | function addProjectSourcesCommonOptions(command: Command): Command { | CODE |
| LOW | bin/oracle-cli.ts | 1526 | function validateApiProviderRoutingForCli(runOptions: RunOracleOptions): void { | CODE |
| LOW | bin/oracle-cli.ts | 1564 | function resolveHeartbeatIntervalMs(seconds: number | undefined): number | undefined { | CODE |
| LOW | bin/oracle-cli.ts | 1639 | async function suggestFollowupSessionIds(input: string, limit = 3): Promise<string[]> { | CODE |
| LOW | bin/oracle-cli.ts | 1701 | function extractResponseIdFromSession( | CODE |
| LOW | bin/oracle-cli.ts | 1740 | function buildRunOptionsFromMetadata(metadata: SessionMetadata): RunOracleOptions { | CODE |
| LOW | bin/oracle-cli.ts | 1798 | function getBrowserConfigFromMetadata(metadata: SessionMetadata): BrowserSessionConfig | undefined { | CODE |
| LOW | bin/oracle-cli.ts | 3048 | function resolveRestartWaitPreference({ | CODE |
| LOW | bin/oracle-cli.ts | 3067 | function resolveEffectiveModelIdForRun(model: ModelName, stored?: string): string { | CODE |
| LOW | tests/browser/pageActions.test.ts | 1027 | function runWelcomeBackPickerForLabels(labels: string[], preferredEmail: string | null = null) { | CODE |
| LOW | tests/browser/promptComposerExpressions.test.ts | 6 | function evaluateAttachmentReadyExpression( | CODE |
| LOW | tests/browser/prompt.test.ts | 43 | 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/thinkingTime.test.ts | 3280 | function useLocalizedSemanticTrigger(dom: ReturnType<typeof buildDirectSlider>) { | CODE |
| LOW | tests/browser/thinkingTime.test.ts | 4020 | function addUnrelatedTooltipOnHover(dom: PickerDomStub, option: Node, text: string) { | CODE |
| LOW | tests/browser/assistantResponseStatus.test.ts | 218 | function evaluateCompletionVisibility(args: { | CODE |
| LOW | tests/browser/assistantResponseStatus.test.ts | 830 | 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 | tests/remote/server.test.ts | 807 | async function expectRemoteAttachmentStaging({ | 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 | 851 | async function maybeHandleFindInvocation(context: RunnerExecutionContext): Promise<boolean> { | CODE |
| LOW | scripts/runner.ts | 949 | async function maybeHandleSleepInvocation(context: RunnerExecutionContext): Promise<boolean> { | CODE |
| LOW | scripts/runner.ts | 988 | async function maybeHandleTmuxInvocation(context: RunnerExecutionContext): Promise<boolean> { | CODE |
| LOW | scripts/runner.ts | 1007 | function parseSleepDurationSeconds(token: string): number | null { | CODE |
| LOW | scripts/git-policy.ts | 132 | export function requiresExplicitGitConsent(subcommand: string | null): boolean { | CODE |
| LOW | scripts/git-policy.ts | 139 | export function isDestructiveGitSubcommand( | CODE |
| LOW | src/oracleHome.ts | 10 | export function setOracleHomeDirOverrideForTest(dir: string | null): void { | CODE |
| LOW | src/config.ts | 205 | async function discoverProjectConfigPaths({ | CODE |
| LOW | src/config.ts | 337 | function isTrustedProjectChatgptUrl(rawUrl: string): boolean { | CODE |
| LOW | src/sessionManager.ts | 443 | async function hardenSessionStorageEntry(targetPath: string): Promise<void> { | CODE |
| LOW | src/sessionManager.ts | 560 | function isRetriableMetadataRenameError(error: unknown): boolean { | CODE |
| LOW | src/sessionManager.ts | 570 | async function renameSessionMetadataFile(temporaryPath: string, targetPath: string): Promise<void> { | CODE |
| LOW | src/sessionManager.ts | 861 | async function readModernSessionMetadata( | CODE |
| LOW | src/sessionManager.ts | 878 | 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 | 30 | export function normalizeThinkingTimeLevel( | CODE |
| LOW | src/oracle/background.ts | 27 | export async function executeBackgroundResponse( | CODE |
| LOW | src/oracle/background.ts | 169 | async function retrieveBackgroundResponseWithRetry( | CODE |
| LOW | src/oracle/background.ts | 204 | 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 |
| 480 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 | 126 | - 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 | 73 | env["ORACLE_REMOTE_TOKEN"] = includeToken ? (remoteToken ?? "<YOUR_TOKEN>") : "<YOUR_TOKEN>"; | CODE |
| 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/gemini.test.ts | 317 | apiKey: "fake-key", | CODE |
| LOW | tests/gemini.test.ts | 318 | client: createGeminiClient("fake-key", "gemini-3.1-pro"), | CODE |
| LOW | tests/browser/thinkingTime.test.ts | 1874 | expect(serialized).not.toContain("user@example.com"); | CODE |
| LOW⚡ | src/browser/actions/attachmentContext.ts | 71 | prompt?.getAttribute?.('placeholder') || | CODE |
| LOW⚡ | src/browser/actions/attachmentContext.ts | 72 | fallbackPrompt?.getAttribute?.('placeholder'), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/browser/actions/deepResearch.ts | 1458 | // Step 0: Check if already active | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1463 | // Step 1: Open the composer tools menu. Avoid slash commands because they | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1507 | // Step 4: Click it | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1516 | // Step 5: Verify pill appeared | COMMENT |
| LOW | src/browser/actions/deepResearch.ts | 1474 | // Step 2: Wait for dropdown | COMMENT |
| LOW | src/browser/actions/deepResearch.ts | 1492 | // Step 3: Find "Deep research" item. Some ChatGPT variants only reveal it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/browser/actions/deepResearch.ts | 1458 | // Step 0: Check if already active | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1463 | // Step 1: Open the composer tools menu. Avoid slash commands because they | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1507 | // Step 4: Click it | COMMENT |
| LOW⚡ | src/browser/actions/deepResearch.ts | 1516 | // Step 5: Verify pill appeared | COMMENT |
| LOW | src/browser/actions/deepResearch.ts | 1474 | // Step 2: Wait for dropdown | COMMENT |
| LOW | src/browser/actions/deepResearch.ts | 1492 | // Step 3: Find "Deep research" item. Some ChatGPT variants only reveal it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/browser/attachmentEvidence.test.ts | 125 | const expressions = f.runtime.evaluate.mock.calls.map(([call]) => call.expression); | 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 | 98 | ### CLI guardrails and perf traces | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/browser/actions/assistantResponse.ts | 181 | // | COMMENT |
| LOW | src/browser/actions/thinkingTime.ts | 821 | // literal, where a backtick would terminate the string. | COMMENT |
| LOW | src/remote/server.ts | 441 | const clientRequestedKeepBrowser = payload.browserConfig?.keepBrowser === true; | COMMENT |