Official JavaScript / TypeScript library for the OpenAI API
This report summarizes scanner evidence for openai/openai-node, a TypeScript project with 11,242 GitHub stars. SynthScan examined 432,200 lines of code across 1190 source files, recording 897 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 10.9 (Moderate 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 514 finding(s).
Are imports declared and package/API names verified? 369 finding(s).
Are wrappers, guards, and repeated structures necessary? 428 finding(s).
Which changes need focused human review? 897 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 897 distinct pattern matches across 10 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 |
|---|---|---|---|---|
| CRITICAL⚡ | MIGRATION.md | 65 | - `client.beta.threads.runs.steps.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 66 | - `client.beta.threads.runs.steps.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 70 | - `client.admin.organization.users.roles.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 71 | - `client.admin.organization.users.roles.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 72 | - `client.admin.organization.groups.users.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 73 | - `client.admin.organization.groups.users.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 74 | - `client.admin.organization.groups.roles.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 75 | - `client.admin.organization.groups.roles.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 76 | - `client.admin.organization.projects.users.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 77 | - `client.admin.organization.projects.users.update()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 78 | - `client.admin.organization.projects.users.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 79 | - `client.admin.organization.projects.users.roles.create()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 80 | - `client.admin.organization.projects.users.roles.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 81 | - `client.admin.organization.projects.users.roles.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 82 | - `client.admin.organization.projects.users.roles.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 83 | - `client.admin.organization.projects.serviceAccounts.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 84 | - `client.admin.organization.projects.serviceAccounts.update()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 85 | - `client.admin.organization.projects.serviceAccounts.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 86 | - `client.admin.organization.projects.serviceAccounts.apiKeys.create()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 87 | - `client.admin.organization.projects.apiKeys.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 88 | - `client.admin.organization.projects.apiKeys.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 89 | - `client.admin.organization.projects.rateLimits.updateRateLimit()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 90 | - `client.admin.organization.projects.groups.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 91 | - `client.admin.organization.projects.groups.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 92 | - `client.admin.organization.projects.groups.roles.create()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 93 | - `client.admin.organization.projects.groups.roles.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 94 | - `client.admin.organization.projects.groups.roles.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 95 | - `client.admin.organization.projects.groups.roles.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 96 | - `client.admin.organization.projects.roles.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 97 | - `client.admin.organization.projects.roles.update()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 98 | - `client.admin.organization.projects.roles.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 99 | - `client.admin.organization.projects.spendAlerts.retrieve()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 100 | - `client.admin.organization.projects.spendAlerts.update()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 101 | - `client.admin.organization.projects.spendAlerts.delete()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 175 | - `client.admin.organization.users.roles.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 177 | - `client.admin.organization.groups.users.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 178 | - `client.admin.organization.groups.roles.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 184 | - `client.admin.organization.projects.users.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 185 | - `client.admin.organization.projects.serviceAccounts.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 186 | - `client.admin.organization.projects.apiKeys.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 187 | - `client.admin.organization.projects.rateLimits.listRateLimits()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 188 | - `client.admin.organization.projects.groups.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 189 | - `client.admin.organization.projects.roles.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 190 | - `client.admin.organization.projects.spendAlerts.list()` | CODE |
| CRITICAL⚡ | MIGRATION.md | 191 | - `client.admin.organization.projects.certificates.list()` | CODE |
| CRITICAL | tests/project-api-key-update-scopes.test.ts | 33 | const result = await client.admin.organization.projects.apiKeys.update('key_test', params); | CODE |
| CRITICAL | tests/lib/root-turn-items-pagination.test.ts | 45 | const result = client.beta.agents.sessions.turns.items.list('turn_test', { | CODE |
| CRITICAL | tests/lib/environment-files-legacy-options.test.ts | 20 | client.beta.agents.environments.files.list(...args); | CODE |
| CRITICAL | tests/lib/environment-files-legacy-options.test.ts | 38 | await client.beta.agents.environments.files.list('env_test', query, { | CODE |
| CRITICAL | tests/lib/agent-files.test.ts | 166 | const prepared = await client.beta.agents.environments.files.prepare( | CODE |
| CRITICAL | tests/lib/agent-files.test.ts | 187 | client.beta.agents.environments.files.prepare({ [path]: new File(['a'], 'a') }), | CODE |
| CRITICAL | tests/lib/agent-files.test.ts | 194 | const prepare = client.beta.agents.environments.files.prepare.bind(client.beta.agents.environments.files); | CODE |
| CRITICAL | tests/lib/agent-files.test.ts | 207 | client.beta.agents.environments.files.prepare(Object.fromEntries(paths.map((path) => [path, file]))), | CODE |
| CRITICAL | tests/lib/agent-files.test.ts | 214 | const prepared = await client.beta.agents.environments.files.prepare( | CODE |
| CRITICAL | tests/lib/agent-files.test.ts | 235 | ? client.beta.agents.environments.files.prepare({ [path]: file }) | CODE |
| CRITICAL | tests/lib/agent-files.test.ts | 236 | : client.beta.agents.environments.files.upload('env_test', { path, file }); | CODE |
| CRITICAL | tests/lib/agent-files.test.ts | 259 | const prepared = await client.beta.agents.environments.files.prepare({ '/workspace/a': stream }); | CODE |
| CRITICAL | tests/lib/agent-files.test.ts | 271 | const prepared = await client.beta.agents.environments.files.prepare(files); | CODE |
| CRITICAL⚡ | tests/lib/agent-files.test.ts | 307 | await expect(client.beta.agents.environments.files.prepare(files)).rejects.toThrow('Idempotency-Key'); | CODE |
| CRITICAL⚡ | tests/lib/agent-files.test.ts | 309 | await client.beta.agents.environments.files.prepare(files, { headers: { 'Idempotency-Key': null } }); | CODE |
| 294 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ecosystem-tests/cli.ts | 35 | async function writeCloudflareCredentialFile( | CODE |
| LOW | ecosystem-tests/cli.ts | 51 | async function readCloudflareCredentialSnapshot( | CODE |
| LOW | ecosystem-tests/cli.ts | 82 | function cloudflareCredentialMatchesIdentity( | CODE |
| LOW | ecosystem-tests/cli.ts | 97 | function unlinkCloudflareCredentialArtifact(candidate: string, identity: CloudflareCredentialIdentity): void { | CODE |
| LOW | ecosystem-tests/cli.ts | 104 | async function withCloudflareCredentials(apiKey: string, runLiveTest: () => Promise<void>): Promise<void> { | CODE |
| LOW | …osystem-tests/vercel-edge/src/uploadWebApiTestCases.ts | 147 | async function expectAndDeleteUploadedFile(file: { filename: string; id: string }) { | CODE |
| LOW | tests/responsesItems.test.ts | 12 | function isInputCompatibleOutputItem( | CODE |
| LOW | …ystem-cloudflare-credential-lifecycle-security.test.ts | 179 | function holdOriginalCredentialDescriptor(fixture: Fixture): string { | CODE |
| LOW | …ystem-cloudflare-credential-lifecycle-security.test.ts | 210 | function expectNoCloudflareCredentialArtifacts(fixture: Fixture) { | CODE |
| LOW | tests/bedrock-websocket-security.test.ts | 60 | function expectPrivateBedrockCredentialFailure(failure: unknown, credential: string): void { | CODE |
| LOW | tests/bedrock-websocket-security.test.ts | 96 | function createUnauthenticatedClient(): OpenAI { | CODE |
| LOW | …ts/auth/azure-imds-rejected-response-lifecycle.test.ts | 38 | async function expectPrivateAzureFailure(operation: () => Promise<unknown>, status: number): Promise<void> { | CODE |
| LOW | …uth/workload-identity-success-response-privacy.test.ts | 158 | function withPrototypeTextOverride(response: Response, readText: () => Promise<string>): Response { | CODE |
| LOW | tests/auth/gcp-metadata-token-privacy.test.ts | 38 | function createMetadataFailureResponse(failure: MetadataFailure) { | CODE |
| LOW | tests/auth/gcp-metadata-token-privacy.test.ts | 47 | async function expectPrivateMetadataFailure( | CODE |
| LOW | tests/auth/azure-imds-success-response-privacy.test.ts | 24 | function createCauseFreeJSONFailure(privateValue: string): Error { | CODE |
| LOW | tests/auth/azure-imds-success-response-privacy.test.ts | 35 | function createCrossRealmJSONFailure(privateValue: string, wrapped = false): unknown { | CODE |
| LOW | tests/auth/azure-imds-success-response-privacy.test.ts | 65 | async function expectPrivateParseFailure( | CODE |
| LOW | …s/benchmarks/structured-output-and-embeddings.bench.ts | 241 | function assertEmbeddingDimensions(value: number[] | undefined): void { | CODE |
| LOW | tests/lib/bedrock-provider.test.ts | 119 | function trackedBedrockCredentials(baseURL = TRUSTED_BEDROCK_BASE_URL) { | CODE |
| LOW | tests/lib/ChatCompletionRunFunctions.test.ts | 57 | function mockStreamingChatCompletionFetch() { | CODE |
| LOW | tests/lib/assistant-stream-delta-error-privacy.test.ts | 215 | async function expectPrivateStreamFailure( | CODE |
| LOW | tests/lib/bedrock-provider-bearer-cancellation.test.ts | 90 | async function expectImmediateCancellation( | CODE |
| LOW | tests/lib/structured-output-parse-privacy.test.ts | 202 | function createStreamingToolClient(content: string | readonly string[], tool: ChatCompletionFunctionTool) { | CODE |
| LOW | tests/lib/structured-output-parse-privacy.test.ts | 264 | function createStreamingContentClient( | CODE |
| LOW | …/lib/response-stream-unsupported-event-privacy.test.ts | 256 | const getter = vi.fn(function recordOriginalEventReceiver(this: typeof event) { | CODE |
| LOW | tests/lib/bedrock-bearer-credential-privacy.test.ts | 119 | async function expectPrivateCredentialFailure( | CODE |
| LOW | tests/helpers/standard-schema-security.test.ts | 11 | function strictSchemasForAllHelpers(jsonSchema: Record<string, unknown>) { | CODE |
| LOW | tests/helpers/standard-schema-security.test.ts | 35 | function makePrototypeManipulationSchema(): Record<string, unknown> { | CODE |
| LOW | tests/helpers/standard-schema-security.test.ts | 43 | function expectPrototypeSafeClosedSchema(schema: Record<string, unknown>) { | CODE |
| LOW | tests/helpers/zod.test.ts | 77 | function expectDefinitionRefsToResolve(schema: Record<string, unknown>) { | CODE |
| LOW | tests/helpers/standard-schema.test.ts | 86 | function makeStrictSchemaFactories(jsonSchema: Record<string, unknown>) { | CODE |
| LOW | tests/helpers/standard-schema.test.ts | 105 | function strictSchemasForAllHelpers(jsonSchema: Record<string, unknown>) { | CODE |
| LOW | examples/computer-desktop/exercise_container.py | 192 | def create_cancelled_before_launch(*, timeout: bool) -> None: | CODE |
| LOW | examples/computer-desktop/exercise_container.py | 401 | def cleanup_marker_interruption(*, before_write: bool, foreign: bool = False, partial: bool = False) -> None: | CODE |
| LOW | …amples/computer-desktop/guest/test_action_admission.py | 57 | def test_completed_workspace_refuses_new_input_before_dispatch(self) -> None: | CODE |
| LOW | …amples/computer-desktop/guest/test_action_admission.py | 89 | def test_native_click_buttons_and_release(self) -> None: | CODE |
| LOW | …amples/computer-desktop/guest/test_action_admission.py | 105 | def test_receipt_has_at_most_one_line_terminator(self) -> None: | CODE |
| LOW | …amples/computer-desktop/guest/test_action_admission.py | 202 | def test_abandoned_read_drains_before_input(self) -> None: | CODE |
| LOW | …amples/computer-desktop/guest/test_action_admission.py | 205 | def test_crashed_read_releases_input(self) -> None: | CODE |
| LOW | examples/computer-desktop/guest/test_receipt.py | 48 | def test_sigterm_reaps_staged_installer(self) -> None: | CODE |
| LOW | examples/computer-desktop/guest/test_receipt.py | 96 | def test_offline_media_uses_verified_private_copies(self) -> None: | CODE |
| LOW | examples/computer-desktop/guest/test_receipt.py | 99 | def test_offline_media_rejects_changed_staged_copy(self) -> None: | CODE |
| LOW | examples/computer-desktop/guest/test_receipt.py | 165 | def test_build_checks_private_binary_before_downloading(self) -> None: | CODE |
| LOW | examples/computer-desktop/guest/test_receipt.py | 260 | def test_current_runtime_is_valid(self) -> None: | CODE |
| LOW | examples/computer-desktop/guest/test_receipt.py | 264 | def test_runtime_alias_and_writable_parent(self) -> None: | CODE |
| LOW | examples/computer-desktop/guest/test_receipt.py | 283 | def test_known_legacy_requires_original_build(self) -> None: | CODE |
| LOW⚡ | examples/computer-desktop/guest/test_receipt.py | 332 | def test_replaced_same_size_readonly_disk(self) -> None: | CODE |
| LOW⚡ | examples/computer-desktop/guest/test_receipt.py | 341 | def test_unknown_legacy_launcher(self) -> None: | CODE |
| LOW⚡ | examples/computer-desktop/guest/test_receipt.py | 346 | def test_changed_guest_recipe(self) -> None: | CODE |
| LOW⚡ | examples/computer-desktop/guest/test_receipt.py | 354 | def test_unexpected_receipt_field(self) -> None: | CODE |
| LOW⚡ | examples/computer-desktop/guest/test_receipt.py | 360 | def test_wrong_receipt_permissions(self) -> None: | CODE |
| LOW⚡ | examples/computer-desktop/guest/test_receipt.py | 365 | def test_receipt_rejects_changed_media(self) -> None: | CODE |
| LOW⚡ | examples/computer-desktop/guest/test_receipt.py | 373 | def test_receipt_rejects_changed_provisioning(self) -> None: | CODE |
| LOW⚡ | examples/computer-desktop/guest/test_receipt.py | 380 | def test_verify_only_missing_path_never_provisions(self) -> None: | CODE |
| LOW | scripts/mock-server-fetch.ts | 4 | export function bufferSteadyMultipartUploads( | CODE |
| LOW | src/bedrock.ts | 112 | function restoreBedrockStreamOutputText(responses: API.Responses): API.Responses { | CODE |
| LOW | src/client.ts | 307 | function isRunningInBrowserOrBrowserWorker(): boolean { | CODE |
| LOW | src/client.ts | 2739 | function getConnectionErrorMessage(error: Error): string | undefined { | CODE |
| LOW | src/client.ts | 2753 | function isUndiciDispatcherVersionMismatchError(error: unknown): boolean { | CODE |
| 354 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/computer-desktop/exercise_container.py | 216 | except runtime.StartupCancelled: | CODE |
| HIGH | examples/computer-desktop/exercise_container.py | 529 | except subprocess.TimeoutExpired: | CODE |
| HIGH | examples/computer-desktop/exercise_container.py | 466 | except (OSError, RuntimeError, ValueError): | CODE |
| HIGH | examples/computer-desktop/exercise_container.py | 588 | except runtime.StartupCancelled: | CODE |
| HIGH | examples/computer-desktop/exercise_container.py | 836 | except ValueError: | CODE |
| HIGH | examples/computer-desktop/exercise_container.py | 735 | except ValueError: | CODE |
| HIGH | examples/computer-desktop/exercise_container.py | 724 | except ValueError: | CODE |
| HIGH | examples/computer-desktop/exercise_container.py | 951 | except RuntimeError: | CODE |
| HIGH | examples/computer-desktop/container_runtime.py | 258 | except FileNotFoundError: | CODE |
| HIGH | examples/computer-desktop/guest/start.py | 195 | except ProcessLookupError: | CODE |
| HIGH | examples/computer-desktop/guest/setup.py | 255 | except FileNotFoundError: | CODE |
| HIGH | examples/computer-desktop/guest/test_receipt.py | 92 | except ProcessLookupError: | CODE |
| HIGH | examples/computer-desktop/guest/vm_owner.py | 41 | except subprocess.TimeoutExpired: | CODE |
| HIGH | examples/computer-desktop/guest/vm_owner.py | 49 | except ProcessLookupError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ecosystem-tests/cloudflare-worker/tsconfig.json | 21 | // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when tar | COMMENT |
| LOW | ecosystem-tests/cloudflare-worker/tsconfig.json | 41 | "allowJs": true /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from th | COMMENT |
| LOW | ecosystem-tests/cloudflare-worker/tsconfig.json | 61 | // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output | COMMENT |
| LOW | ecosystem-tests/cloudflare-worker/tsconfig.json | 81 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the r | COMMENT |
| LOW | ecosystem-tests/cloudflare-worker/wrangler.toml | 1 | name = "cfw" | COMMENT |
| LOW | ecosystem-tests/cloudflare-worker/wrangler.toml | 21 | # binding = "MY_BUCKET" | COMMENT |
| LOW | tests/qs/utils.test.ts | 21 | const oneMerged = merge({ foo: 'bar' }, { foo: { first: '123' } }); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 61 | stringify({ 'name.obj': { first: 'John', last: 'Doe' } }, { allowDots: true, encodeDotInKeys: false }), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 81 | // { allowDots: true, encodeDotInKeys: false }, | COMMENT |
| LOW | tests/qs/stringify.test.ts | 141 | ), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 181 | }); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 261 | // st.equal(stringify({ a: { b: 'c' } }, { allowDots: true }), 'a.b=c'); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 281 | // 'comma => comma', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 341 | test('should throw when allowEmptyArrays is not of type boolean', () => { | COMMENT |
| LOW | tests/qs/stringify.test.ts | 401 | }); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 441 | // ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 541 | COMMENT | |
| LOW | tests/qs/stringify.test.ts | 581 | ).toBe('a=%2C&a=&a=c%2Cd%25'); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 621 | stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'comma' }), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 641 | // st.equal( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 661 | // { a: ',', b: '', c: 'c,d%' }, | COMMENT |
| LOW | tests/qs/stringify.test.ts | 701 | COMMENT | |
| LOW | tests/qs/stringify.test.ts | 761 | // ), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 801 | expect(stringify({ a: { b: ['c', 'd'] } }, { allowDots: true, encodeValuesOnly: true })).toBe( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 821 | // ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 841 | // st.equal( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 861 | ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 881 | // '???', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 901 | }); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 921 | // ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1021 | // ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1061 | // st.equal( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1121 | // with skipNulls | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1261 | COMMENT | |
| LOW | tests/qs/stringify.test.ts | 1281 | // }, | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1321 | }; | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1361 | 'filters[$and][function]=gte&filters[$and][arguments][function]=hour_of_day&filters[$and][arguments]=0&filters[$an | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1381 | // { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' }, | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1461 | }); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1501 | // encoder: function (str) { | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1581 | // st['throws'](function () { | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1661 | }).toThrow(SyntaxError); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1701 | // return d.getTime(); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1801 | // ), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1841 | // stringify({ a: 'b', c: ['d', 'e'], f: [['g'], ['h']] }, { arrayFormat: 'indices' }), | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1961 | expect(stringify({ KeY: 'vAlUe' }, { encoder })).toBe('key=VALUE'); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 1981 | // 'no array, indices', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2001 | // 'a[b][0][c]=d&a[b][0][e]=f', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2021 | // '???', | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2061 | // { encodeValuesOnly: true, arrayFormat: 'indices' }, | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2081 | ).toBe('a[1][b][2][c]=1'); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2121 | // stringify( | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2181 | // ); | COMMENT |
| LOW | tests/qs/stringify.test.ts | 2201 | }); | COMMENT |
| LOW | examples/chat-completions/stream-to-client-next.ts | 1 | import OpenAI from 'openai'; | COMMENT |
| LOW | examples/chat-completions/stream-to-client-express.ts | 1 | #!/usr/bin/env -S npm run tsn -- -T | COMMENT |
| LOW | examples/chat-completions/stream-to-client-express.ts | 81 | COMMENT | |
| LOW | examples/chat-completions/stream-to-client-raw.ts | 1 | #!/usr/bin/env -S npm run tsn -- -T | COMMENT |
| LOW | examples/chat-completions/stream-to-client-raw.ts | 81 | app.use(express.text()); | COMMENT |
| LOW | examples/chat-completions/tool-calls-stream.ts | 1 | #!/usr/bin/env -S npm run tsn -- -T | COMMENT |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/resources/content-provenance-checks.ts | 22 | * uploaded file. The content could still have been generated by OpenAI if the | COMMENT |
| HIGH | src/resources/content-provenance-checks.ts | 80 | * file. The content could still have been generated by OpenAI if the metadata was | COMMENT |
| HIGH | src/resources/content-provenance-checks.ts | 114 | * could still have been generated by OpenAI if the metadata was stripped or has | COMMENT |
| HIGH | src/resources/fine-tuning/jobs/jobs.ts | 740 | * through directly to WandB. Some default tags are generated by OpenAI: | COMMENT |
| HIGH | src/resources/fine-tuning/jobs/jobs.ts | 924 | * through directly to WandB. Some default tags are generated by OpenAI: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/computer-desktop/exercise_container.py | 168 | CODE | |
| LOW | examples/computer-desktop/exercise_container.py | 225 | CODE | |
| LOW | examples/computer-desktop/exercise_container.py | 401 | CODE | |
| LOW | examples/computer-desktop/exercise_container.py | 548 | CODE | |
| LOW | examples/computer-desktop/exercise_container.py | 703 | CODE | |
| LOW | examples/computer-desktop/exercise_container.py | 792 | CODE | |
| LOW | examples/computer-desktop/exercise_container.py | 844 | CODE | |
| LOW | examples/computer-desktop/exercise_container.py | 903 | CODE | |
| LOW | examples/computer-desktop/exercise_container.py | 80 | CODE | |
| LOW | examples/computer-desktop/exercise_container.py | 563 | CODE | |
| LOW | examples/computer-desktop/container_runtime.py | 103 | CODE | |
| LOW | examples/computer-desktop/container_runtime.py | 416 | CODE | |
| LOW | examples/computer-desktop/container_runtime.py | 576 | CODE | |
| LOW | examples/computer-desktop/guest/action.py | 183 | CODE | |
| LOW | examples/computer-desktop/guest/action.py | 293 | CODE | |
| LOW | examples/computer-desktop/guest/setup.py | 215 | CODE | |
| LOW | examples/computer-desktop/guest/setup.py | 376 | CODE | |
| LOW | …amples/computer-desktop/guest/test_action_admission.py | 57 | CODE | |
| LOW | …amples/computer-desktop/guest/test_action_admission.py | 105 | CODE | |
| LOW | …amples/computer-desktop/guest/test_action_admission.py | 122 | CODE | |
| LOW | examples/computer-desktop/guest/test_receipt.py | 48 | CODE | |
| LOW | examples/computer-desktop/guest/test_receipt.py | 102 | CODE | |
| LOW | examples/computer-desktop/guest/test_receipt.py | 283 | CODE | |
| LOW | examples/computer-desktop/guest/install.py | 14 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/lib/ChatCompletionStream.ts | 1026 | // SAFETY: The fallback is a serialization scaffold: the code below installs the captured wire fields before the tool | COMMENT |
| MEDIUM | src/lib/responses/responses-websocket-accumulator.ts | 153 | // the selected entry. The caller-supplied wire scaffold may not be an array. | COMMENT |
| MEDIUM | src/lib/responses/responses-websocket-accumulator.ts | 228 | // oxlint-disable-next-line anti-slop/no-runtime-typeof -- The server identity on an MCP scaffold is raw data, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/lib/parser.test.ts | 93 | "content": "{"type":"form","label":"User Profile Form","children":[{"type":"field","label":"First Name","child | CODE |
| LOW | tests/lib/parser.test.ts | 108 | "name": "placeholder", | CODE |
| LOW | tests/lib/parser.test.ts | 127 | "name": "placeholder", | CODE |
| LOW | tests/lib/parser.test.ts | 146 | "name": "placeholder", | CODE |
| LOW | tests/lib/parser.test.ts | 630 | "content": "{"person1":{"name":"Jane Doe","phone_number":".","roles":["other"],"description":"Engineer at Open | CODE |
| LOW | tests/lib/parser.test.ts | 634 | "name": "Jane Doe", | CODE |
| LOW | tests/lib/response-accumulator-item-identity.test.ts | 427 | const replacement = makeOutput('message', 'placeholder'); | CODE |
| LOW | tests/lib/response-accumulator-item-identity.test.ts | 578 | const changing = makeOutput('reasoning', 'placeholder'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/computer-desktop/exercise_container.py | 3 | CODE | |
| LOW | examples/computer-desktop/container_runtime.py | 3 | CODE | |
| LOW | examples/computer-desktop/guest/setup.py | 3 | CODE | |
| LOW | …amples/computer-desktop/guest/test_action_admission.py | 3 | CODE | |
| LOW | examples/computer-desktop/guest/test_receipt.py | 3 | CODE | |
| LOW | examples/computer-desktop/guest/vm_owner.py | 3 | CODE | |
| LOW | examples/computer-desktop/guest/install.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/utils/mock-fetch.ts | 53 | function handleRequest(handle: typeof fetch): Promise<void> { | CODE |
| LOW | tests/lib/ChatCompletionRunFunctions.test.ts | 34 | function handleRequest( | CODE |
| LOW | tests/lib/ChatCompletionRunFunctions.test.ts | 60 | function handleRequest( | CODE |