Examples and guides for using the OpenAI API
This report summarizes scanner evidence for openai/openai-cookbook, a Jupyter Notebook project with 76,541 GitHub stars. SynthScan examined 251,275 lines of code across 1192 source files, recording 2049 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 11.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.
Can maintainers explain intent, assumptions, and trade-offs? 1338 finding(s).
Are imports declared and package/API names verified? 439 finding(s).
Are wrappers, guards, and repeated structures necessary? 1416 finding(s).
Which changes need focused human review? 2049 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 2049 distinct pattern matches across 23 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 | examples/api_request_parallel_processor.py | 110 | async def process_api_requests_from_file( | CODE |
| LOW | examples/api_request_parallel_processor.py | 387 | def num_tokens_consumed_from_request( | CODE |
| LOW | examples/api_request_parallel_processor.py | 446 | def task_id_generator_function(): | CODE |
| LOW | examples/evals/imagegen_evals/vision_harness/graders.py | 27 | def build_generation_judge_content(case: TestCase, output_image: Path) -> list[dict]: | CODE |
| LOW | examples/evals/imagegen_evals/vision_harness/graders.py | 40 | def build_editing_judge_content(case: TestCase, output_image: Path) -> list[dict]: | CODE |
| LOW | …evals/realtime_evals/run_harness/run_realtime_evals.py | 161 | def build_failed_simulation_result( | CODE |
| LOW | …evals/realtime_evals/run_harness/run_realtime_evals.py | 209 | def build_tool_output_by_call_id( | CODE |
| LOW | …evals/realtime_evals/run_harness/run_realtime_evals.py | 221 | def transcript_lines_for_assistant_turn( | CODE |
| LOW | …evals/realtime_evals/run_harness/run_realtime_evals.py | 242 | def build_simulator_prompt_text( | CODE |
| LOW | …evals/realtime_evals/run_harness/run_realtime_evals.py | 361 | def apply_turn_level_tool_grades( | CODE |
| LOW | …ls/realtime_evals/tests/test_dynamic_result_columns.py | 28 | def test_crawl_result_csv_row_omits_tool_arg_columns_when_disabled() -> None: | CODE |
| LOW | …ls/realtime_evals/tests/test_dynamic_result_columns.py | 64 | def test_walk_result_csv_row_omits_all_tool_columns_when_disabled() -> None: | CODE |
| LOW | …ls/realtime_evals/tests/test_dynamic_result_columns.py | 94 | def test_run_result_csv_row_uses_enabled_grader_union() -> None: | CODE |
| LOW | …ls/realtime_evals/tests/test_dynamic_result_columns.py | 135 | def test_apply_turn_level_tool_grades_keeps_results_row_local() -> None: | CODE |
| LOW | …ls/realtime_evals/tests/test_dynamic_result_columns.py | 178 | def test_trace_grade_row_indices_targets_last_row_only() -> None: | CODE |
| LOW | …ls/realtime_evals/tests/test_dynamic_result_columns.py | 183 | def test_walk_parse_args_does_not_expose_max_output_tokens() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 74 | def test_check_tool_call_names_correct_matches_expected_set() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 84 | def test_check_tool_args_correct_normalizes_addresses() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 106 | def test_check_tool_args_correct_handles_nested_json_arguments() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 142 | def test_compute_tool_call_grade_uses_deterministic_graders() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 154 | def test_instruction_following_grader_uses_instruction_prompt_and_schema() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 176 | def test_audio_text_mismatch_grader_uses_specialized_prompt() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 193 | def test_stt_then_text_grader_uses_transcript_as_grounding() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 211 | def test_transcribe_model_response_audio_writes_valid_wav() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 229 | def test_transcribe_model_response_audio_rejects_missing_audio() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 242 | def test_audio_text_mismatch_from_model_response_transcribes_then_grades() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 261 | def test_stt_then_text_from_model_response_transcribes_then_grades() -> None: | CODE |
| LOW | examples/evals/realtime_evals/tests/test_graders.py | 281 | def test_run_default_grader_dispatches_named_graders() -> None: | CODE |
| LOW | …ples/evals/realtime_evals/tests/test_results_viewer.py | 26 | def test_coerce_float_treats_blank_and_non_numeric_strings_as_missing() -> None: | CODE |
| LOW | …ples/evals/realtime_evals/tests/test_results_viewer.py | 33 | def test_clean_path_value_resolves_paths_within_run_directory( | CODE |
| LOW | …ples/evals/realtime_evals/tests/test_results_viewer.py | 44 | def test_clean_path_value_rejects_absolute_and_escaping_paths( | CODE |
| LOW | …ples/evals/realtime_evals/tests/test_results_viewer.py | 54 | def test_input_audio_path_for_row_rejects_example_ids_that_escape_run_directory( | CODE |
| LOW | …ples/evals/realtime_evals/tests/test_results_viewer.py | 68 | def test_run_viewer_table_key_uses_full_relative_path() -> None: | CODE |
| LOW | …ples/evals/realtime_evals/tests/test_results_viewer.py | 75 | def test_build_run_viewer_table_marks_active_row_with_checkbox() -> None: | CODE |
| LOW | …ples/evals/realtime_evals/tests/test_results_viewer.py | 96 | def test_display_run_label_uses_leaf_name() -> None: | CODE |
| LOW | …ples/evals/realtime_evals/tests/test_results_viewer.py | 100 | def test_build_summary_table_uses_short_run_label_for_display() -> None: | CODE |
| LOW | …amples/evals/realtime_evals/tests/test_failure_rows.py | 17 | def test_crawl_failure_row_serializes_error_info() -> None: | CODE |
| LOW | …amples/evals/realtime_evals/tests/test_failure_rows.py | 46 | def test_walk_failure_row_handles_missing_audio_path() -> None: | CODE |
| LOW | …amples/evals/realtime_evals/tests/test_failure_rows.py | 69 | def test_run_failure_row_uses_turn_zero() -> None: | CODE |
| LOW | …altime_evals/tests/test_eval_run_type_compatibility.py | 30 | def test_run_eval_run_summary_coerces_types_and_feeds_results_viewer() -> None: | CODE |
| LOW | …altime_evals/tests/test_eval_run_type_compatibility.py | 98 | def test_walk_eval_result_csv_row_uses_repo_absolute_paths_in_results_viewer( | CODE |
| LOW | …altime_evals/tests/test_eval_run_type_compatibility.py | 152 | def test_run_turn_result_csv_row_is_compatible_with_run_viewer_helpers( | CODE |
| LOW | …/evals/realtime_evals/tests/test_results_viewer_app.py | 14 | def test_harness_results_roots_include_bootstrap_eval_results( | CODE |
| LOW | …/evals/realtime_evals/tests/test_results_viewer_app.py | 53 | def test_discover_result_directories_uses_root_relative_labels( | CODE |
| LOW | …/evals/realtime_evals/tests/test_results_viewer_app.py | 77 | def test_row_text_value_returns_first_non_empty_candidate() -> None: | CODE |
| LOW | …/evals/realtime_evals/tests/test_results_viewer_app.py | 91 | def test_resolve_active_row_index_prefers_navigation_state_until_selection_changes() -> None: | CODE |
| LOW | …/evals/realtime_evals/tests/test_results_viewer_app.py | 114 | def test_run_viewer_table_widget_key_changes_when_selection_is_reset() -> None: | CODE |
| LOW | …/evals/realtime_evals/tests/test_results_viewer_app.py | 130 | def test_resolve_run_viewer_table_selected_index_prefers_latest_checked_row() -> None: | CODE |
| LOW | …/evals/realtime_evals/tests/test_results_viewer_app.py | 153 | def test_run_viewer_table_matches_active_row_requires_single_checked_row() -> None: | CODE |
| LOW | …ples/evals/realtime_evals/tests/test_plotting_utils.py | 14 | def test_build_realtime_eval_plots_writes_expected_files(tmp_path: Path) -> None: | CODE |
| LOW | …ples/evals/realtime_evals/tests/test_plotting_utils.py | 71 | def test_plot_eval_results_cli_infers_labels(tmp_path: Path) -> None: | CODE |
| LOW | …ls/realtime_evals/tests/test_realtime_harness_utils.py | 62 | def test_collect_realtime_response_times_out() -> None: | CODE |
| LOW | …ls/realtime_evals/tests/test_realtime_harness_utils.py | 80 | def test_collect_realtime_response_raises_on_error_event() -> None: | CODE |
| LOW | …ls/realtime_evals/tests/test_realtime_harness_utils.py | 106 | def test_collect_realtime_response_requires_completed_status() -> None: | CODE |
| LOW | …ls/realtime_evals/tests/test_realtime_harness_utils.py | 133 | def test_collect_realtime_response_returns_completed_response() -> None: | CODE |
| LOW | …/evals/realtime_evals/tests/test_validation_scripts.py | 29 | def test_validate_input_accepts_valid_run_bundle(tmp_path: Path) -> None: | CODE |
| LOW | …/evals/realtime_evals/tests/test_validation_scripts.py | 70 | def test_validate_input_rejects_walk_audio_with_wrong_format(tmp_path: Path) -> None: | CODE |
| LOW | …/evals/realtime_evals/tests/test_validation_scripts.py | 91 | def test_validate_output_accepts_valid_run_output(tmp_path: Path) -> None: | CODE |
| LOW | …/evals/realtime_evals/tests/test_validation_scripts.py | 155 | def test_validate_output_rejects_missing_run_grade_mean(tmp_path: Path) -> None: | CODE |
| LOW | examples/evals/realtime_evals/shared/plotting_utils.py | 64 | def build_realtime_eval_plots( | CODE |
| 1075 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …_api/sandboxes/digitalocean/webhook_managed/handler.py | 32 | from azure.core.exceptions import StreamConsumedError | CODE |
| CRITICAL | examples/agents_api/sandboxes/aws/common.py | 128 | async with await client.beta.agents.sessions.events.stream(session_id) as events: | CODE |
| CRITICAL | examples/agents_api/apps/data_analyst/README.md | 200 | await client.beta.agents.sessions.events.create( | STRING |
| CRITICAL | examples/agents_api/apps/data_analyst/agent.py | 128 | session = await self.client.beta.agents.sessions.retrieve(session_id) | CODE |
| CRITICAL | examples/agents_api/apps/data_analyst/agent.py | 129 | events = self.client.beta.agents.sessions.stream( | CODE |
| CRITICAL | examples/agents_api/apps/data_analyst/agent.py | 140 | events = await self.client.beta.agents.sessions.create( | CODE |
| CRITICAL | examples/agents_api/apps/data_analyst/agent.py | 174 | await self.client.beta.agents.sessions.events.create( | CODE |
| CRITICAL | examples/agents_api/apps/data_analyst/agent.py | 224 | *(self.client.beta.agents.sessions.delete(sid) for sid in session_ids), | COMMENT |
| CRITICAL | examples/agents_api/apps/slack_bot/connections.py | 76 | async for candidate in self.client.beta.agents.vaults.list(limit=100) | CODE |
| CRITICAL | examples/agents_api/apps/slack_bot/connections.py | 88 | vault = await self.client.beta.agents.vaults.create( | CODE |
| CRITICAL | examples/agents_api/apps/slack_bot/connections.py | 94 | async for item in self.client.beta.agents.vaults.credentials.list(vault.id) | CODE |
| CRITICAL | examples/agents_api/apps/slack_bot/connections.py | 111 | await self.client.beta.agents.vaults.credentials.create( | CODE |
| CRITICAL | examples/agents_api/apps/slack_bot/connections.py | 117 | await self.client.beta.agents.vaults.credentials.update( | CODE |
| CRITICAL | examples/agents_api/apps/slack_bot/README.md | 231 | await client.beta.agents.sessions.events.create( | STRING |
| CRITICAL | examples/agents_api/apps/slack_bot/README.md | 291 | await client.beta.agents.vaults.credentials.create( | STRING |
| CRITICAL | examples/agents_api/apps/slack_bot/agent.py | 87 | session = await self.client.beta.agents.sessions.retrieve( | CODE |
| CRITICAL | examples/agents_api/apps/slack_bot/agent.py | 99 | session = await self.client.beta.agents.sessions.create( | CODE |
| CRITICAL⚡ | examples/agents_api/apps/slack_bot/agent.py | 117 | await self.client.beta.agents.sessions.delete(session.id) | CODE |
| CRITICAL⚡ | examples/agents_api/apps/slack_bot/agent.py | 127 | async with self.client.beta.agents.sessions.stream( | CODE |
| CRITICAL | examples/agents_api/apps/slack_bot/agent.py | 188 | await self.client.beta.agents.sessions.events.create( | CODE |
| CRITICAL⚡ | examples/agents_api/apps/slack_bot/agent.py | 204 | await self.client.beta.agents.sessions.events.create( | CODE |
| CRITICAL⚡ | examples/agents_api/apps/slack_bot/agent.py | 213 | await self.client.beta.agents.sessions.delete(session_id) | CODE |
| CRITICAL | examples/agents_api/apps/sev_bot/README.md | 68 | await client.beta.agents.sessions.events.create( | CODE |
| CRITICAL | examples/agents_api/apps/sev_bot/agent.py | 243 | session = await self.client.beta.agents.sessions.retrieve( | STRING |
| CRITICAL | examples/agents_api/apps/sev_bot/agent.py | 261 | session = await self.client.beta.agents.sessions.create( | STRING |
| CRITICAL | examples/agents_api/apps/sev_bot/agent.py | 288 | async with self.client.beta.agents.sessions.stream( | STRING |
| CRITICAL | examples/agents_api/apps/sev_bot/agent.py | 364 | session = await self.client.beta.agents.sessions.retrieve(session_id) | STRING |
| CRITICAL | examples/agents_api/apps/sev_bot/agent.py | 388 | await self.client.beta.agents.sessions.events.create( | STRING |
| CRITICAL | examples/agents_api/apps/sev_bot/agent.py | 425 | session = await self.client.beta.agents.sessions.retrieve( | STRING |
| CRITICAL | examples/agents_api/apps/sev_bot/agent.py | 435 | await self.client.beta.agents.sessions.events.create( | STRING |
| CRITICAL | examples/agents_api/apps/sev_bot/agent.py | 490 | await self.client.beta.agents.sessions.events.create( | STRING |
| CRITICAL⚡ | examples/agents_api/apps/sev_bot/agent.py | 546 | await self.client.beta.agents.sessions.delete(session_id) | STRING |
| CRITICAL | examples/agents_api/apps/document_review/README.md | 204 | async for subagent in client.beta.agents.sessions.subagents.list(session.id): | STRING |
| CRITICAL | examples/agents_api/apps/document_review/README.md | 205 | async for item in client.beta.agents.sessions.subagents.items.list( | STRING |
| CRITICAL⚡ | examples/agents_api/apps/document_review/agent.py | 45 | async for subagent in client.beta.agents.sessions.subagents.list(session_id) | CODE |
| CRITICAL⚡ | examples/agents_api/apps/document_review/agent.py | 50 | client.beta.agents.sessions.items.list(session_id, limit=100, order="asc") | CODE |
| CRITICAL⚡ | examples/agents_api/apps/document_review/agent.py | 52 | else client.beta.agents.sessions.subagents.items.list( | CODE |
| CRITICAL | examples/data/oai_docs/tool-code-interpreter.txt | 277 | run_steps = client.beta.threads.runs.steps.list( | CODE |
| CRITICAL | examples/data/oai_docs/tool-code-interpreter.txt | 283 | const runSteps = await openai.beta.threads.runs.steps.list( | CODE |
| CRITICAL | …a/oai_docs/function-calling-run-example--streaming.txt | 99 | const stream = this.client.beta.threads.runs.submitToolOutputsStream( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/evals/imagegen_evals/vision_harness/io.py | 1 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 1 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 2 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 2 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 2 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 2 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 2 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 9 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 10 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 10 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 11 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 12 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 13 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 13 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 13 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 13 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 13 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 13 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 13 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 13 | CODE | |
| LOW | examples/evals/imagegen_evals/vision_harness/graders.py | 1 | CODE | |
| LOW | examples/evals/imagegen_evals/vision_harness/types.py | 1 | CODE | |
| LOW | examples/evals/imagegen_evals/vision_harness/runners.py | 1 | CODE | |
| LOW | examples/evals/imagegen_evals/vision_harness/storage.py | 1 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/evaluate.py | 1 | CODE | |
| LOW | examples/evals/imagegen_evals/vision_harness/sweeps.py | 1 | CODE | |
| LOW | examples/evals/imagegen_evals/shared/rendering.py | 1 | CODE | |
| LOW | examples/evals/imagegen_evals/shared/rendering.py | 5 | CODE | |
| LOW | examples/evals/imagegen_evals/shared/reporting.py | 1 | CODE | |
| LOW | …/realtime_evals/shared/scripts/validate_eval_output.py | 1 | CODE | |
| LOW | …s/realtime_evals/shared/scripts/validate_eval_input.py | 1 | CODE | |
| LOW | examples/evals/realtime_evals/results_viewer/config.py | 1 | CODE | |
| LOW | examples/evals/realtime_evals/results_viewer/ui.py | 1 | CODE | |
| LOW | examples/evals/realtime_evals/results_viewer/app.py | 1 | CODE | |
| LOW | examples/vector_databases/redis/nbutils.py | 4 | CODE | |
| LOW | …gents_api/sandboxes/docker/application_managed/main.py | 10 | CODE | |
| LOW | …/agents_api/sandboxes/vercel/webhook_managed/client.py | 10 | CODE | |
| LOW | …agents_api/sandboxes/runloop/webhook_managed/deploy.py | 10 | CODE | |
| LOW | …gents_api/sandboxes/runloop/webhook_managed/handler.py | 13 | CODE | |
| LOW | …agents_api/sandboxes/runloop/webhook_managed/client.py | 10 | CODE | |
| LOW | …_api/sandboxes/digitalocean/webhook_managed/handler.py | 24 | CODE | |
| LOW | …s_api/sandboxes/digitalocean/webhook_managed/client.py | 10 | CODE | |
| LOW | …nts_api/sandboxes/cloudflare/webhook_managed/client.py | 10 | CODE | |
| LOW | …s/agents_api/sandboxes/oci/application_managed/main.py | 8 | CODE | |
| LOW | …/agents_api/sandboxes/blaxel/webhook_managed/deploy.py | 10 | CODE | |
| LOW | …agents_api/sandboxes/blaxel/webhook_managed/handler.py | 14 | CODE | |
| LOW | …/agents_api/sandboxes/blaxel/webhook_managed/client.py | 10 | CODE | |
| LOW | …agents_api/sandboxes/daytona/webhook_managed/deploy.py | 10 | CODE | |
| LOW | …gents_api/sandboxes/daytona/webhook_managed/handler.py | 14 | CODE | |
| LOW | …agents_api/sandboxes/daytona/webhook_managed/client.py | 10 | CODE | |
| LOW | …agents_api/sandboxes/modal/application_managed/main.py | 11 | CODE | |
| LOW | …/agents_api/sandboxes/modal/webhook_managed/handler.py | 12 | CODE | |
| LOW | …s/agents_api/sandboxes/modal/webhook_managed/client.py | 10 | CODE | |
| LOW | …les/agents_api/sandboxes/e2b/webhook_managed/deploy.py | 10 | CODE | |
| LOW | …es/agents_api/sandboxes/e2b/webhook_managed/handler.py | 14 | CODE | |
| LOW | …les/agents_api/sandboxes/e2b/webhook_managed/client.py | 10 | CODE | |
| LOW | examples/agents_api/apps/github_issues/agent.py | 3 | CODE | |
| LOW | examples/agents_api/apps/github_issues/github.py | 3 | CODE | |
| LOW | examples/agents_api/apps/github_issues/main.py | 14 | CODE | |
| LOW | examples/agents_api/apps/data_analyst/warehouse.py | 3 | CODE | |
| 287 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …agents_api/sandboxes/runloop/webhook_managed/deploy.py | 142 | "cd /home/user/controller/webhook_managed && exec uv run handler.py" | CODE |
| HIGH⚡ | …agents_api/sandboxes/runloop/webhook_managed/deploy.py | 149 | "(sudo apt-get update && sudo apt-get install -y libsqlite3-0)" | CODE |
| HIGH⚡ | …agents_api/sandboxes/runloop/webhook_managed/deploy.py | 151 | "command -v uv || python -m pip install uv", | CODE |
| HIGH | …gents_api/sandboxes/runloop/webhook_managed/handler.py | 119 | "sudo install -d -o user -g user /workspace && command -v flock" | CODE |
| HIGH | …s/agents_api/sandboxes/oci/application_managed/main.py | 142 | inner_command = "cd /workspace && exec " + shlex.join( | CODE |
| HIGH⚡ | examples/agents_api/sandboxes/blaxel/sandbox.py | 13 | command = "mkdir -p /workspace && npm install -g @openai/codex@alpha" | CODE |
| HIGH⚡ | examples/agents_api/sandboxes/blaxel/sandbox.py | 17 | "(command -v codex || npm install -g @openai/codex@alpha) && " | CODE |
| HIGH⚡ | examples/agents_api/sandboxes/blaxel/sandbox.py | 18 | "(command -v rg || apk add --no-cache ripgrep util-linux)" | CODE |
| HIGH | …/agents_api/sandboxes/blaxel/webhook_managed/deploy.py | 50 | "command": "apk add --no-cache python3 py3-pip && python3 -m venv /opt/controller && /opt/controller/bin/pip | CODE |
| HIGH | …agents_api/sandboxes/daytona/webhook_managed/deploy.py | 76 | "python -m pip install uv && uv pip install --system -r /app/webhook_managed/handler.py", | CODE |
| HIGH | …agents_api/sandboxes/daytona/webhook_managed/deploy.py | 91 | command="cd /app/webhook_managed && python -m uvicorn handler:app --host 0.0.0.0 --port 8000 >> /app/con | CODE |
| HIGH | …mples/agents_sdk/deployment_manager/app/trace_store.py | 108 | trace_id text not null, | STRING |
| HIGH⚡ | …mples/agents_sdk/deployment_manager/app/trace_store.py | 123 | trace_id text not null, | STRING |
| HIGH⚡ | …mples/agents_sdk/deployment_manager/app/trace_store.py | 127 | event_type text not null, | STRING |
| HIGH⚡ | …mples/agents_sdk/deployment_manager/app/trace_store.py | 128 | received_at text not null, | STRING |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 599 | monitor.push("user", array("h", [1_100, 30_000, -30_000, 1_100]).tobytes()) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 600 | monitor.push("assistant", array("h", [2_200, 10_000, -10_000]).tobytes()) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 616 | monitor.push("user", caller, start_ms=1_000) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 617 | monitor.push("assistant", first, start_ms=1_040) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 618 | monitor.push("assistant", second, start_ms=1_120) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 632 | monitor.push("user", caller, start_ms=1_000) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 635 | monitor.push("assistant", late_assistant, start_ms=1_050) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 648 | monitor.push("user", caller, start_ms=1_000) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 651 | monitor.push("assistant", first, start_ms=1_040) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 652 | monitor.push("assistant", second, start_ms=1_120) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 664 | monitor.push("user", caller, start_ms=1_000) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 667 | monitor.push("assistant", first, start_ms=1_040) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 668 | monitor.push("assistant", first, start_ms=1_040) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 669 | monitor.push("assistant", overlapping, start_ms=1_050) | CODE |
| HIGH⚡ | …_evaluation/crawl_harness/tests/test_shared_runtime.py | 681 | monitor.push("user", first, start_ms=2_000) | CODE |
| HIGH | …t_evaluation/run_harness/simulation/gpt_live_runner.py | 924 | self.monitor.push("user", caller_pcm, start_ms=start_ms) | CODE |
| HIGH | …t_evaluation/run_harness/simulation/gpt_live_runner.py | 925 | self.monitor.push("assistant", assistant_pcm, start_ms=start_ms) | CODE |
| HIGH | …_voice_agent_evaluation/shared/single_turn/response.py | 262 | self.audio_monitor.push("assistant", pcm, start_ms=None if contiguous else audio_start_ms) | CODE |
| HIGH | …x_voice_agent_evaluation/shared/single_turn/runtime.py | 154 | audio_monitor.push("user", chunk, start_ms=offset_ms) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | articles/gpt-oss/run-locally-lmstudio.md | 120 | except Exception as exc: | CODE |
| LOW | …als/realtime_evals/crawl_harness/run_realtime_evals.py | 442 | except Exception as exc: | CODE |
| LOW | …evals/realtime_evals/run_harness/run_realtime_evals.py | 880 | except Exception as exc: | CODE |
| LOW | …vals/realtime_evals/walk_harness/run_realtime_evals.py | 505 | except Exception as exc: | CODE |
| LOW | examples/evals/realtime_evals/results_viewer/app.py | 350 | except Exception as exc: | CODE |
| LOW | …gents_api/sandboxes/docker/application_managed/main.py | 183 | except Exception as error: | CODE |
| LOW | …gents_api/sandboxes/docker/application_managed/main.py | 209 | except Exception as error: | CODE |
| LOW | …gents_api/sandboxes/docker/application_managed/main.py | 228 | except Exception as error: | CODE |
| LOW | …gents_api/sandboxes/docker/application_managed/main.py | 306 | except Exception as error: | CODE |
| LOW | …gents_api/sandboxes/docker/application_managed/main.py | 309 | except Exception as cleanup_error: | CODE |
| LOW | …agents_api/sandboxes/runloop/webhook_managed/deploy.py | 54 | except Exception: # noqa: BLE001 - Retry while the devbox is starting. | CODE |
| LOW | …gents_api/sandboxes/runloop/webhook_managed/handler.py | 166 | except Exception as error: # noqa: BLE001 - Keep failed jobs in the retry queue. | CODE |
| LOW | …s/agents_api/sandboxes/oci/application_managed/main.py | 187 | except Exception as error: | CODE |
| LOW | …pi/sandboxes/aws/application_managed/sandbox_server.py | 66 | except Exception as error: | CODE |
| LOW | …es/agents_api/sandboxes/aws/webhook_managed/handler.py | 64 | except Exception: | CODE |
| LOW | …es/agents_api/sandboxes/aws/webhook_managed/handler.py | 104 | except Exception as error: | CODE |
| MEDIUM | …es/agents_api/sandboxes/aws/webhook_managed/handler.py | 18 | def reconcile(client, microvms, session_id): | CODE |
| LOW | …agents_api/sandboxes/blaxel/webhook_managed/handler.py | 57 | except Exception as error: | CODE |
| LOW | …agents_api/sandboxes/blaxel/webhook_managed/handler.py | 104 | except Exception as error: | CODE |
| LOW | …gents_api/sandboxes/daytona/webhook_managed/handler.py | 119 | except Exception as error: | CODE |
| LOW | …agents_api/sandboxes/modal/application_managed/main.py | 151 | except Exception as error: | CODE |
| LOW | …agents_api/sandboxes/modal/application_managed/main.py | 169 | except Exception as error: | CODE |
| LOW | …es/agents_api/sandboxes/e2b/webhook_managed/handler.py | 112 | except Exception as error: | CODE |
| LOW | examples/agents_api/apps/github_issues/agent.py | 110 | except Exception as error: | STRING |
| LOW | examples/agents_api/apps/github_issues/agent.py | 116 | except Exception as error: | STRING |
| LOW | examples/agents_api/apps/data_analyst/agent.py | 172 | except Exception: | CODE |
| LOW⚡ | examples/agents_api/apps/slack_bot/agent.py | 118 | except Exception as cleanup_error: | CODE |
| LOW⚡ | examples/agents_api/apps/slack_bot/agent.py | 216 | except Exception as error: | CODE |
| LOW | examples/agents_api/apps/slack_bot/agent.py | 229 | except Exception as error: | CODE |
| LOW | examples/agents_api/apps/slack_bot/main.py | 97 | except Exception: | CODE |
| LOW | examples/agents_api/apps/sev_bot/agent.py | 218 | except Exception as error: | CODE |
| LOW | examples/agents_api/apps/sev_bot/agent.py | 463 | except Exception: | STRING |
| LOW⚡ | examples/agents_api/apps/sev_bot/agent.py | 550 | except Exception as error: | STRING |
| LOW⚡ | examples/agents_api/apps/sev_bot/agent.py | 560 | except Exception as error: | STRING |
| LOW | examples/agents_api/apps/sev_bot/agent.py | 580 | except Exception as error: | STRING |
| LOW | examples/agents_api/apps/document_review/agent.py | 275 | except Exception as error: | STRING |
| LOW | examples/agents_api/apps/document_review/agent.py | 282 | except Exception as error: | STRING |
| LOW | …ager/runtime/trace_capture/agents_sdk_trace_capture.py | 27 | except Exception: | CODE |
| LOW | …ager/runtime/trace_capture/agents_sdk_trace_capture.py | 108 | except Exception: | CODE |
| LOW | …ager/runtime/trace_capture/agents_sdk_trace_capture.py | 117 | except Exception: | CODE |
| LOW | …loyment_manager/runtime/trace_capture/sitecustomize.py | 5 | except Exception: | CODE |
| LOW | examples/agents_sdk/sandboxed-code-migration/evals.py | 138 | except Exception as exc: | CODE |
| LOW | …dk/sandboxed-code-migration/src/run_migration_agent.py | 171 | except Exception as exc: | CODE |
| LOW | …dk/sandboxed-code-migration/src/run_migration_agent.py | 198 | except Exception as exc: | CODE |
| LOW | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 185 | except Exception as e: | CODE |
| LOW | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 192 | except Exception as e: | CODE |
| LOW | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 262 | except Exception as e: | CODE |
| LOW⚡ | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 69 | except Exception: | CODE |
| LOW⚡ | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 177 | except Exception as e: | CODE |
| LOW⚡ | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 189 | except Exception as e: | CODE |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 145 | except Exception as e: | CODE |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 226 | except Exception as e: | CODE |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 234 | except Exception as e: | CODE |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 261 | except Exception as e: | CODE |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 309 | except Exception as e: | CODE |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 357 | except Exception as e: | CODE |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 389 | except Exception as e: | CODE |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 429 | except Exception as e: | CODE |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 463 | except Exception as e: | CODE |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 480 | except Exception as e: | CODE |
| 110 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/codex/secure_quality_gitlab.md | 241 | # --------------------------- | COMMENT |
| MEDIUM | examples/codex/secure_quality_gitlab.md | 243 | # --------------------------- | COMMENT |
| MEDIUM | examples/codex/secure_quality_gitlab.md | 415 | # --------------------------- | COMMENT |
| MEDIUM | examples/codex/secure_quality_gitlab.md | 417 | # --------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 1 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 3 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 12 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 14 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 23 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 28 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 239 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 241 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 10 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 12 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 38 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 40 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 54 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 34 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/temporal_agents_with_knowledge_graphs/db_interface.py | 208 | # ====================== | COMMENT |
| MEDIUM | …/temporal_agents_with_knowledge_graphs/db_interface.py | 210 | # ====================== | COMMENT |
| MEDIUM | …/temporal_agents_with_knowledge_graphs/db_interface.py | 278 | # ===================== | COMMENT |
| MEDIUM | …/temporal_agents_with_knowledge_graphs/db_interface.py | 280 | # ===================== | COMMENT |
| MEDIUM | …/temporal_agents_with_knowledge_graphs/db_interface.py | 356 | # ==================== | COMMENT |
| MEDIUM | …/temporal_agents_with_knowledge_graphs/db_interface.py | 358 | # ==================== | COMMENT |
| MEDIUM⚡ | …rtners/agentic_governance_guide/promptfoo/redteam.yaml | 2 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …rtners/agentic_governance_guide/promptfoo/redteam.yaml | 4 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …rtners/agentic_governance_guide/promptfoo/redteam.yaml | 12 | # =================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …agents_api/sandboxes/daytona/webhook_managed/deploy.py | 83 | except DaytonaNotFoundError: | CODE |
| HIGH | examples/agents_api/apps/github_issues/agent.py | 108 | except docker.errors.NotFound: | CODE |
| HIGH | examples/agents_api/apps/github_issues/agent.py | 114 | except NotFoundError: | CODE |
| HIGH | examples/agents_api/apps/slack_bot/agent.py | 214 | except NotFoundError: | CODE |
| HIGH | examples/agents_api/apps/slack_bot/agent.py | 227 | except docker.errors.NotFound: | CODE |
| HIGH | examples/agents_api/apps/document_review/agent.py | 273 | except ContainerNotFound: | CODE |
| HIGH | examples/agents_api/apps/document_review/agent.py | 280 | except NotFoundError: | CODE |
| HIGH | examples/agents_sdk/security_review_helpers.py | 204 | except OSError: | CODE |
| HIGH | examples/agents_sdk/security_review_helpers.py | 452 | except subprocess.TimeoutExpired: | CODE |
| HIGH | examples/agents_sdk/deployment_manager/app/runner.py | 148 | except (FileNotFoundError, subprocess.TimeoutExpired): | CODE |
| HIGH | examples/agents_sdk/deployment_manager/app/runner.py | 374 | except ProcessLookupError: | CODE |
| HIGH | …loyment_manager/runtime/trace_capture/sitecustomize.py | 5 | except Exception: | CODE |
| HIGH | …/agents_sdk/deployment_manager/scripts/local_deploy.py | 187 | except (urllib.error.URLError, TimeoutError, http.client.HTTPException, OSError): | CODE |
| HIGH | …ex_voice_agent_evaluation/crawl_harness/audio_cache.py | 65 | except (EOFError, ValueError, wave.Error): | CODE |
| HIGH | …ice_agent_evaluation/shared/observability/redaction.py | 111 | except (ValueError, RecursionError): | CODE |
| HIGH | examples/partners/model_selection_guide/agent_utils.py | 175 | except json.JSONDecodeError: | CODE |
| HIGH | …s_agentcore_cookbook/runtime-agent/notebook_helpers.py | 295 | except (urllib.error.URLError, TimeoutError): | CODE |
| HIGH | …ore_payments/src/agentic_commerce/agentcore_session.py | 217 | except AgentCorePaymentError: | CODE |
| HIGH | …ore_payments/src/agentic_commerce/agentcore_session.py | 203 | except OSError: | CODE |
| HIGH | …pt-optimization-cookbook/scripts/results_summarizer.py | 164 | except Exception: | CODE |
| HIGH | …pt-optimization-cookbook/scripts/results_summarizer.py | 241 | except Exception: | CODE |
| HIGH | …pt-optimization-cookbook/scripts/results_summarizer.py | 246 | except Exception: | CODE |
| HIGH | …pt-5/prompt-optimization-cookbook/scripts/topk_eval.py | 142 | except Exception: | CODE |
| HIGH | …pt-5/prompt-optimization-cookbook/scripts/topk_eval.py | 162 | except Exception: | CODE |
| HIGH | …pt-5/prompt-optimization-cookbook/scripts/topk_eval.py | 107 | except Exception: | CODE |
| HIGH | …pt-5/prompt-optimization-cookbook/scripts/topk_eval.py | 220 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/api_request_parallel_processor.py | 110 | CODE | |
| LOW | examples/api_request_parallel_processor.py | 387 | CODE | |
| LOW | …amples/evals/imagegen_evals/vision_harness/evaluate.py | 17 | CODE | |
| LOW | …evals/realtime_evals/run_harness/run_realtime_evals.py | 459 | CODE | |
| LOW | …evals/realtime_evals/run_harness/run_realtime_evals.py | 850 | CODE | |
| LOW | …/evals/realtime_evals/shared/realtime_harness_utils.py | 124 | CODE | |
| LOW | examples/evals/realtime_evals/shared/graders.py | 273 | CODE | |
| LOW | …strap-realtime-eval/scripts/bootstrap_realtime_eval.py | 242 | CODE | |
| LOW | examples/evals/realtime_evals/results_viewer/app.py | 425 | CODE | |
| LOW | examples/evals/realtime_evals/results_viewer/app.py | 1157 | CODE | |
| LOW | …gents_api/sandboxes/docker/application_managed/main.py | 63 | CODE | |
| LOW | …gents_api/sandboxes/docker/application_managed/main.py | 330 | CODE | |
| LOW | …gents_api/sandboxes/runloop/webhook_managed/handler.py | 76 | CODE | |
| LOW | …_api/sandboxes/digitalocean/webhook_managed/handler.py | 69 | CODE | |
| LOW | …mples/agents_api/sandboxes/aws/webhook_managed/main.py | 33 | CODE | |
| LOW | …agents_api/sandboxes/modal/application_managed/main.py | 47 | CODE | |
| LOW | …agents_api/sandboxes/modal/application_managed/main.py | 237 | CODE | |
| LOW | examples/agents_api/apps/data_analyst/agent.py | 93 | CODE | |
| LOW | examples/agents_api/apps/data_analyst/agent.py | 219 | CODE | |
| LOW | examples/agents_api/apps/slack_bot/agent.py | 134 | CODE | |
| LOW | examples/agents_api/apps/slack_bot/agent.py | 208 | CODE | |
| LOW | examples/agents_api/apps/sev_bot/agent.py | 304 | CODE | |
| LOW | examples/agents_api/apps/sev_bot/agent.py | 353 | CODE | |
| LOW | examples/agents_api/apps/document_review/agent.py | 106 | CODE | |
| LOW | examples/agents_sdk/security_review_helpers.py | 316 | CODE | |
| LOW | examples/agents_sdk/security_review_helpers.py | 414 | CODE | |
| LOW | examples/agents_sdk/security_review_helpers.py | 534 | CODE | |
| LOW | examples/agents_sdk/security_review_helpers.py | 1001 | CODE | |
| LOW | examples/agents_sdk/deployment_manager/app/timeline.py | 84 | CODE | |
| LOW | examples/agents_sdk/deployment_manager/app/timeline.py | 186 | CODE | |
| LOW | examples/agents_sdk/deployment_manager/app/timeline.py | 478 | CODE | |
| LOW | …mples/agents_sdk/deployment_manager/app/trace_store.py | 367 | CODE | |
| LOW | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 52 | CODE | |
| LOW | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 159 | CODE | |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 265 | CODE | |
| LOW | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 313 | CODE | |
| LOW | …opilot-with-agent-sdk-and-databricks-mcp/api_server.py | 92 | CODE | |
| LOW | …oice_agent_evaluation/assistants/frontend/assistant.py | 98 | CODE | |
| LOW | …oice_agent_evaluation/assistants/frontend/assistant.py | 183 | CODE | |
| LOW | …valuation/assistants/tests/test_restaurant_baseline.py | 279 | CODE | |
| LOW | …ex_voice_agent_evaluation/assistants/client/service.py | 100 | CODE | |
| LOW | …agent_evaluation/assistants/client/service_protocol.py | 55 | CODE | |
| LOW | …uplex_voice_agent_evaluation/crawl_harness/evaluate.py | 386 | CODE | |
| LOW | …evaluation/crawl_harness/tests/test_readme_contract.py | 147 | CODE | |
| LOW | …luation/crawl_harness/tests/test_response_collector.py | 46 | CODE | |
| LOW | …valuation/crawl_harness/tests/test_restaurant_crawl.py | 234 | CODE | |
| LOW | …ation/crawl_harness/tests/test_harness_independence.py | 22 | CODE | |
| LOW | …_evaluation/run_harness/visualization/export_viewer.py | 163 | CODE | |
| LOW | …_evaluation/run_harness/visualization/export_viewer.py | 293 | CODE | |
| LOW | …nt_evaluation/run_harness/visualization/delegations.py | 99 | CODE | |
| LOW | …t_evaluation/run_harness/simulation/gpt_live_runner.py | 346 | CODE | |
| LOW | …t_evaluation/run_harness/simulation/gpt_live_runner.py | 732 | CODE | |
| LOW | …t_evaluation/run_harness/simulation/gpt_live_runner.py | 812 | CODE | |
| LOW | …x_voice_agent_evaluation/shared/metrics/interaction.py | 312 | CODE | |
| LOW | …x_voice_agent_evaluation/shared/metrics/interaction.py | 426 | CODE | |
| LOW | …x_voice_agent_evaluation/shared/metrics/interaction.py | 523 | CODE | |
| LOW | …duplex_voice_agent_evaluation/shared/metrics/tokens.py | 91 | CODE | |
| LOW | …_voice_agent_evaluation/shared/single_turn/response.py | 396 | CODE | |
| LOW | …x_voice_agent_evaluation/shared/single_turn/runtime.py | 235 | CODE | |
| LOW | …ice_agent_evaluation/shared/observability/redaction.py | 91 | CODE | |
| 43 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/evals/imagegen_evals/README.md | 20 | export OPENAI_API_KEY="your_api_key" | CODE |
| HIGH | examples/evals/realtime_evals/README.md | 19 | export OPENAI_API_KEY="your_api_key" | CODE |
| HIGH | …strap-realtime-eval/scripts/bootstrap_realtime_eval.py | 663 | export OPENAI_API_KEY="your_api_key" | CODE |
| HIGH | …/partners/harness_aware_plugin_evals/notebook_setup.py | 14 | PLACEHOLDERS = ("", "your-api-key") | CODE |
| HIGH⚡ | examples/data/oai_docs/curl-setup.txt | 26 | 3. **Add environment variable**: In the editor, add the line below, replacing `your-api-key-here` with your actual API k | CODE |
| HIGH⚡ | examples/data/oai_docs/curl-setup.txt | 29 | export OPENAI_API_KEY='your-api-key-here' | CODE |
| HIGH | examples/data/oai_docs/curl-setup.txt | 44 | 2. **Set environment variable in the current session**: To set the environment variable in the current session, use the | CODE |
| HIGH | examples/data/oai_docs/curl-setup.txt | 47 | setx OPENAI_API_KEY "your-api-key-here" | CODE |
| HIGH | examples/data/oai_docs/python-setup.txt | 72 | 3. **Add Environment Variable**: In the editor, add the line below, replacing `your-api-key-here` with your actual API k | CODE |
| HIGH | examples/data/oai_docs/python-setup.txt | 75 | export OPENAI_API_KEY='your-api-key-here' | CODE |
| HIGH | examples/data/oai_docs/python-setup.txt | 94 | 2. **Set environment variable in the current session**: To set the environment variable in the current session, use the | CODE |
| HIGH | examples/data/oai_docs/python-setup.txt | 97 | setx OPENAI_API_KEY "your-api-key-here" | CODE |
| HIGH | examples/data/oai_docs/node-setup.txt | 37 | 3. **Add Environment Variable**: In the editor, ensure you have set your API key as shown below, replacing `your-api-key | CODE |
| HIGH | examples/data/oai_docs/node-setup.txt | 40 | export OPENAI_API_KEY='your-api-key-here' | CODE |
| HIGH | examples/data/oai_docs/node-setup.txt | 55 | 2. **Set environment variable in the current session**: To set the environment variable in the current session, use the | CODE |
| HIGH | examples/data/oai_docs/node-setup.txt | 58 | setx OPENAI_API_KEY "your-api-key-here" | CODE |
| HIGH | …tions/one_way_translation_using_realtime_api/README.md | 24 | REACT_APP_OPENAI_API_KEY=<your_api_key> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …gents_api/sandboxes/vercel/application_managed/main.py | 0 | run an agents api task in a daytona sandbox and clean up both resources. | STRING |
| HIGH | …api/sandboxes/digitalocean/application_managed/main.py | 0 | run an agents api task in a daytona sandbox and clean up both resources. | STRING |
| HIGH | …gents_api/sandboxes/blaxel/application_managed/main.py | 0 | run an agents api task in a daytona sandbox and clean up both resources. | STRING |
| HIGH | …ents_api/sandboxes/daytona/application_managed/main.py | 0 | run an agents api task in a daytona sandbox and clean up both resources. | STRING |
| HIGH | …/agents_api/sandboxes/vercel/webhook_managed/client.py | 0 | use agents api without importing a sandbox provider sdk. | STRING |
| HIGH | …agents_api/sandboxes/runloop/webhook_managed/client.py | 0 | use agents api without importing a sandbox provider sdk. | STRING |
| HIGH | …s_api/sandboxes/digitalocean/webhook_managed/client.py | 0 | use agents api without importing a sandbox provider sdk. | STRING |
| HIGH | …nts_api/sandboxes/cloudflare/webhook_managed/client.py | 0 | use agents api without importing a sandbox provider sdk. | STRING |
| HIGH | …/agents_api/sandboxes/blaxel/webhook_managed/client.py | 0 | use agents api without importing a sandbox provider sdk. | STRING |
| HIGH | …agents_api/sandboxes/daytona/webhook_managed/client.py | 0 | use agents api without importing a sandbox provider sdk. | STRING |
| HIGH | …s/agents_api/sandboxes/modal/webhook_managed/client.py | 0 | use agents api without importing a sandbox provider sdk. | STRING |
| HIGH | …les/agents_api/sandboxes/e2b/webhook_managed/client.py | 0 | use agents api without importing a sandbox provider sdk. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | articles/how_to_work_with_large_language_models.md | 94 | ### Demonstration prompt example (few-shot learning) | COMMENT |
| MEDIUM | articles/openai-harmony.md | 194 | The `final` channel will contain the answer to your user’s request. Check out the [reasoning section](#reasoning) for mo | CODE |
| MEDIUM | articles/techniques_to_improve_reliability.md | 305 | ## Extensions to chain-of-thought prompting | COMMENT |
| MEDIUM | articles/techniques_to_improve_reliability.md | 534 | #### Fine-tuned chain of thought prompting / Self-taught reasoner | COMMENT |
| MEDIUM | articles/gpt-oss/handle-raw-cot.md | 1 | # How to handle the raw chain of thought in gpt-oss | COMMENT |
| MEDIUM | examples/vector_databases/cassandra_astradb/README.md | 1 | # RAG with Astra DB and Cassandra | COMMENT |
| MEDIUM | examples/vector_databases/elasticsearch/README.md | 25 | ### [Retrieval augmented generation](https://github.com/openai/openai-cookbook/blob/main/examples/vector_databases/elast | COMMENT |
| MEDIUM | examples/agents_api/apps/document_review/README.md | 69 | ### 1. Create a multi-agent review session | COMMENT |
| MEDIUM | examples/codex/code_modernization.md | 209 | # Test scaffolding | COMMENT |
| MEDIUM | …les/agents_sdk/migrate-from-claude-agent-sdk/README.md | 523 | ### Step 5: Choose multi-agent ownership | COMMENT |
| MEDIUM | …agentic_governance_guide/promptfoo/promptfoo_target.py | 98 | # ---------- Centralized guardrails config ---------- | COMMENT |
| MEDIUM | …ntic_governance_guide/guardrail_tuner/feedback_loop.py | 257 | # Load config and identify tunable guardrails | COMMENT |
| MEDIUM | …ntic_governance_guide/guardrail_tuner/feedback_loop.py | 278 | # Initialize states for all tunable guardrails | COMMENT |
| MEDIUM⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| MEDIUM⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| MEDIUM⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| MEDIUM⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| MEDIUM | examples/data/oai_docs/fine-tuning.txt | 775 | ### When should I use fine-tuning vs embeddings / retrieval augmented generation? | COMMENT |
| MEDIUM | examples/data/oai_docs/optimizing-llm-accuracy.txt | 170 | ### Retrieval-augmented generation (RAG) | COMMENT |
| MEDIUM | examples/data/oai_docs/optimizing-llm-accuracy.txt | 259 | #### RAG + Fine-tuning | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/codex/secure_quality_gitlab.md | 179 | ### Step 1: Generating Recommendations | COMMENT |
| LOW | examples/codex/secure_quality_gitlab.md | 367 | ### Step 2: Remediating Security Issues Based on Recommendations | COMMENT |
| LOW | …les/agents_sdk/migrate-from-claude-agent-sdk/README.md | 396 | ### Step 1: Define the first OpenAI agent | COMMENT |
| LOW | …les/agents_sdk/migrate-from-claude-agent-sdk/README.md | 405 | ### Step 2: Port custom tools | COMMENT |
| LOW | …les/agents_sdk/migrate-from-claude-agent-sdk/README.md | 418 | ### Step 3: Map built-in tools by execution boundary | COMMENT |
| LOW | …les/agents_sdk/migrate-from-claude-agent-sdk/README.md | 435 | ### Step 4: Move validation to the right guardrail boundary | COMMENT |
| LOW | …les/agents_sdk/migrate-from-claude-agent-sdk/README.md | 523 | ### Step 5: Choose multi-agent ownership | COMMENT |
| LOW | …les/agents_sdk/migrate-from-claude-agent-sdk/README.md | 586 | ### Step 6: Choose one conversation-state strategy | COMMENT |
| LOW | …les/agents_sdk/migrate-from-claude-agent-sdk/README.md | 597 | ### Step 7: Add approvals for side effects with human review | COMMENT |
| LOW | examples/data/oai_docs/curl-setup.txt | 4 | ## Step 1: Set up curl | COMMENT |
| LOW⚡ | examples/data/oai_docs/curl-setup.txt | 17 | ## Step 2: Set up your API key | COMMENT |
| LOW | examples/data/oai_docs/curl-setup.txt | 67 | ## Step 3: Sending your first API request | COMMENT |
| LOW | examples/data/oai_docs/function-calling.txt | 85 | # Step 1: send the conversation and available functions to the model | COMMENT |
| LOW⚡ | examples/data/oai_docs/function-calling.txt | 115 | # Step 2: check if the model wanted to call a function | COMMENT |
| LOW⚡ | examples/data/oai_docs/function-calling.txt | 117 | # Step 3: call the function | COMMENT |
| LOW⚡ | examples/data/oai_docs/function-calling.txt | 123 | # Step 4: send the info for each function call and function response to the model | COMMENT |
| LOW | examples/data/oai_docs/function-calling.txt | 165 | // Step 1: send the conversation and available functions to the model | COMMENT |
| LOW | examples/data/oai_docs/function-calling.txt | 197 | // Step 2: check if the model wanted to call a function | COMMENT |
| LOW | examples/data/oai_docs/function-calling.txt | 200 | // Step 3: call the function | COMMENT |
| LOW | examples/data/oai_docs/tool-function-calling.txt | 17 | ### Step 1: Define functions | COMMENT |
| LOW | examples/data/oai_docs/tool-function-calling.txt | 125 | ### Step 2: Create a Thread and add Messages | COMMENT |
| LOW | examples/data/oai_docs/tool-function-calling.txt | 150 | ### Step 3: Initiate a Run | COMMENT |
| LOW | examples/data/oai_docs/python-setup.txt | 4 | ## Step 1: Setting up Python | COMMENT |
| LOW | examples/data/oai_docs/python-setup.txt | 57 | ## Step 2: Set up your API key | COMMENT |
| LOW | examples/data/oai_docs/python-setup.txt | 156 | ## Step 3: Sending your first API request | COMMENT |
| LOW | examples/data/oai_docs/tool-file-search.txt | 12 | ### Step 1: Create a new Assistant with File Search Enabled | COMMENT |
| LOW | examples/data/oai_docs/tool-file-search.txt | 60 | ### Step 2: Upload files and add them to a Vector Store | COMMENT |
| LOW | examples/data/oai_docs/tool-file-search.txt | 103 | ### Step 3: Update the assistant to to use the new Vector Store | COMMENT |
| LOW | examples/data/oai_docs/tool-file-search.txt | 124 | ### Step 4: Create a thread | COMMENT |
| LOW | examples/data/oai_docs/tool-file-search.txt | 181 | ### Step 5: Create a run and check the output | COMMENT |
| LOW | examples/data/oai_docs/node-setup.txt | 4 | ## Step 1: Setting up Node | COMMENT |
| LOW | examples/data/oai_docs/node-setup.txt | 26 | ## Step 2: Set up your API key | COMMENT |
| LOW | examples/data/oai_docs/node-setup.txt | 77 | ## Step 3: Sending your first API request | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …amples/evals/imagegen_evals/vision_harness/__init__.py | 24 | __all__ = [ | CODE |
| LOW | examples/evals/realtime_evals/shared/result_types.py | 668 | def set_grader_result(self, grader_id: str, grade: int, rationale: str) -> None: | CODE |
| LOW | examples/agents_api/apps/slack_bot/main.py | 84 | async def update_progress(message: str) -> None: | CODE |
| LOW | examples/agents_api/apps/sev_bot/alerts.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/agents_api/apps/sev_bot/agent.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/agents_api/apps/document_review/agent.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/case_summary_service/case_summary_service/__init__.py | 3 | __all__ = ["summarize_case"] | CODE |
| LOW | …support_reply_service/customer_support_bot/__init__.py | 3 | __all__ = ["draft_reply"] | CODE |
| LOW | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 280 | __all__ = [ | CODE |
| LOW | …gents_sdk/multi-agent-portfolio-collaboration/utils.py | 101 | __all__ = [ | CODE |
| LOW⚡ | …nt-portfolio-collaboration/mcp/yahoo_finance_server.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | …o/duplex_voice_agent_evaluation/assistants/__init__.py | 35 | __all__ = [ | CODE |
| LOW | …oice_agent_evaluation/assistants/responses/__init__.py | 5 | __all__ = ["ResponsesManagedAssistant"] | CODE |
| LOW | …x_voice_agent_evaluation/assistants/client/__init__.py | 5 | __all__ = ["ClientDelegatedAssistant"] | CODE |
| LOW | …t_evaluation/run_harness/simulation/gpt_live_runner.py | 1164 | __all__ = ["DualGptLiveRunner"] | CODE |
| LOW | …oice_agent_evaluation/run_harness/simulation/models.py | 70 | __all__ = [ | CODE |
| LOW | …uation/run_harness/simulation/gpt_live_participants.py | 230 | def set_speech_activity(self, speaking: bool) -> None: | CODE |
| LOW | …/duplex_voice_agent_evaluation/shared/audio/effects.py | 505 | __all__ = [ | CODE |
| LOW | …s/macro_evals_for_agentic_systems/helpers/data_prep.py | 1467 | __all__ = [ | CODE |
| LOW | …als_for_agentic_systems/helpers/macro_eval_pipeline.py | 2856 | __all__ = [ | CODE |
| LOW | …/temporal_agents_with_knowledge_graphs/db_interface.py | 401 | def update_events_batch(conn: sqlite3.Connection, events: list[TemporalEvent]) -> None: | CODE |
| LOW | …th_agentcore_payments/src/agentic_commerce/__init__.py | 15 | __all__ = [ | CODE |
| LOW | …s/agentic_governance_guide/guardrail_tuner/__init__.py | 28 | __all__ = [ | CODE |
| LOW | …governance_guide/guardrail_tuner/threshold_adjuster.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ntic_governance_guide/guardrail_tuner/feedback_loop.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ch_api/how_to_build_a_deep_research_mcp_server/main.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …-optimization-cookbook/results_topk_baseline/run_01.py | 34 | __all__ = ['top_k'] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/agents_api/sandboxes/vercel/webhook_managed/README.md | 25 | - `OPENAI_WEBHOOK_SECRET`: generated by OpenAI when registering the endpoint. | CODE |
| HIGH | …s_api/sandboxes/digitalocean/webhook_managed/README.md | 57 | - `OPENAI_WEBHOOK_SECRET`: generated by OpenAI when registering the endpoint. | CODE |
| HIGH | …-optimization-cookbook/results_topk_baseline/run_06.py | 47 | # Expose result as requested | COMMENT |
| HIGH | examples/data/oai_docs/latency-optimization.txt | 310 | This opens up the possibility of a trade-off. Do we keep this as a **single request entirely generated by GPT-4**, or ** | CODE |
| HIGH | examples/data/oai_docs/text-to-speech.txt | 157 | Yes, like with all outputs from our API, the person who created them owns the output. You are still required to inform e | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | registry.yaml | 3 | # This file is used to generate cookbook.openai.com. It specifies which paths we | COMMENT |
| MEDIUM | …roach/resources/object_oriented_agents/utils/logger.py | 14 | # Create a console handler | COMMENT |
| MEDIUM | …ch/resources/registry/agents/python_code_exec_agent.py | 16 | # Create a LanguageModelInterface instance using the OpenAILanguageModel | COMMENT |
| MEDIUM | …ch/resources/registry/agents/python_code_exec_agent.py | 58 | # Create the Python execution tool | STRING |
| MEDIUM | …pproach/resources/registry/agents/file_access_agent.py | 16 | # Create a LanguageModelInterface instance using the OpenAILanguageModel | COMMENT |
| MEDIUM | …ch_api/how_to_build_a_deep_research_mcp_server/main.py | 93 | # Create a snippet from content | STRING |
| MEDIUM | …ch_api/how_to_build_a_deep_research_mcp_server/main.py | 189 | # Create the MCP server | COMMENT |
| MEDIUM | examples/chatgpt/rag-quickstart/azure/function_app.py | 86 | # Create a vectorized query | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …evals/realtime_evals/run_harness/run_realtime_evals.py | 578 | # Disable turn detection (VAD) for both connections so this harness controls turn | COMMENT |
| MEDIUM | …s/gpt-5/prompt-optimization-cookbook/run_FailSafeQA.py | 18 | CRITERIA_ANSWERABLE = """CRITERIA: The answer is completely accurate and comprehensive, extending the ground truth with | CODE |
| MEDIUM⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| MEDIUM⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| MEDIUM⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| MEDIUM⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| MEDIUM⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …gents_sdk/multi-agent-portfolio-collaboration/tools.py | 53 | Executes a quantitative analysis request using OpenAI's Code Interpreter (cloud). Args: request (str): | STRING |
| HIGH | …ch_api/how_to_build_a_deep_research_mcp_server/main.py | 111 | Retrieve complete document content by ID for detailed analysis and citation. This tool fetches | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/vector_databases/redis/nbutils.py | 44 | # Set vector_id to be a string | COMMENT |
| LOW | …_approach/resources/registry/tools/file_access_tool.py | 81 | # Check if container is running | COMMENT |
| LOW | examples/partners/model_selection_guide/tools.py | 154 | # Check if chemical exists in our mock database | COMMENT |
| LOW | examples/partners/model_selection_guide/tools.py | 280 | # Check if any keyword appears in title or abstract | COMMENT |
| LOW | …governance_guide/guardrail_tuner/threshold_adjuster.py | 165 | # Check if we hit bounds | COMMENT |
| LOW | examples/chatgpt/rag-quickstart/azure/function_app.py | 17 | # Check if text is provided | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/agents_api/apps/sev_bot/main.py | 1 | # /// script | COMMENT |
| LOW | …-portfolio-collaboration/investment_agents/__init__.py | 1 | # This file marks the agents directory as a Python package. | COMMENT |
| LOW | …rtners/agentic_governance_guide/promptfoo/redteam.yaml | 1 | # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json | COMMENT |
| LOW | …optimization-cookbook/results_topk_optimized/run_07.py | 41 | # Complexity: counting O(N tokens); selection O(U log k) with heap or O(U log U) when sorting; extra space O(U) + O(k) | COMMENT |
| LOW | …optimization-cookbook/results_topk_optimized/run_29.py | 41 | # Complexity: counting O(N tokens) time, O(U) space; selection O(U log k) via heap for small k or O(U log U) for large k | COMMENT |
| LOW | …optimization-cookbook/results_topk_optimized/run_14.py | 41 | # Complexity: counting O(N tokens); selection O(U log k) via heap for k < 0.3U, else O(U log U); extra space O(U) for co | COMMENT |
| LOW | …anslation_guide/livekit-translation-demo/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/fine-tuned_qa/answers_with_ft.py | 46 | CODE | |
| LOW | …t_evaluation/run_harness/simulation/gpt_live_runner.py | 56 | CODE | |
| LOW | …uplex_voice_agent_evaluation/shared/grading/scoring.py | 281 | CODE | |
| LOW | …als_for_agentic_systems/helpers/macro_eval_pipeline.py | 563 | CODE | |
| LOW | …als_for_agentic_systems/helpers/macro_eval_pipeline.py | 1163 | CODE | |
| LOW | …als_for_agentic_systems/helpers/macro_eval_pipeline.py | 2269 | CODE | |
| LOW | …th_agentcore_payments/tests/test_agentcore_payments.py | 31 | CODE | |
| LOW | …s/gpt-5/prompt-optimization-cookbook/run_FailSafeQA.py | 268 | CODE | |
| LOW | …-optimization-cookbook/results_topk_baseline/run_07.py | 34 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tners/harness_aware_plugin_evals/tests/test_grading.py | 45 | answer = "Sorry, I cannot provide that data." | CODE |
| MEDIUM⚡ | examples/data/parsed_pdf_docs.json | 1 | [{"filename": "rag-deck.pdf", "text": "RAG\nTechnique\n\nFebruary 2024\n\n\fOverview\n\nRetrieval-Augmented Generation \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …magegen_evals/generation_harness/run_imagegen_evals.py | 187 | - Do not include placeholder or lorem ipsum text. | CODE |