Repository Analysis

openai/codex

Lightweight coding agent that runs in your terminal

1.1 Likely human-written View on GitHub
1.1
Adjusted Score
1.1
Raw Score
100%
Time Factor
2026-05-30
Last Push
86,997
Stars
Rust
Language
1,122,870
Lines of Code
3749
Files
1149
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 2HIGH 7MEDIUM 21LOW 1119

Pattern Findings

1149 matches across 17 categories. Click a row to expand file-level details.

Over-Commented Block590 hits · 584 pts
SeverityFileLineSnippet
LOWtools/argument-comment-lint/src/lib.rs41 UNCOMMENTED_ANONYMOUS_LITERAL_ARGUMENT,
LOWtools/argument-comment-lint/src/lib.rs61 ///
LOWtools/argument-comment-lint/src/lib.rs81 pub ARGUMENT_COMMENT_MISMATCH,
LOWtools/argument-comment-lint/src/lib.rs101 /// ### Example
LOWcodex-rs/deny.toml1# This template contains all of the possible sections and their default values
LOWcodex-rs/deny.toml21# `target_family = "unix"` configuration, that only having windows targets in
LOWcodex-rs/deny.toml41#exclude = []
LOWcodex-rs/deny.toml61
LOWcodex-rs/deny.toml81 { id = "RUSTSEC-2026-0118", reason = "hickory-proto v0.25.2 is pulled in via rama-dns/rama-tcp used by codex-network
LOWcodex-rs/deny.toml101 # Apache-2.0 WITH LLVM-exception - https://spdx.org/licenses/LLVM-exception.html
LOWcodex-rs/deny.toml121 "ISC",
LOWcodex-rs/deny.toml141 # Used by: transitive only
LOWcodex-rs/deny.toml161# The package spec the clarification applies to
LOWcodex-rs/deny.toml181# One or more private registries that you might publish crates to, if a crate
LOWcodex-rs/deny.toml201highlight = "all"
LOWcodex-rs/deny.toml221 #{ crate = "ansi_term@0.11.0", wrappers = ["this-crate-directly-depends-on-ansi_term"] },
LOWcodex-rs/deny.toml241# "webpki-roots",
LOWcodex-rs/deny.toml261# This section is considered when running `cargo deny check sources`.
LOWcodex-rs/rollout-trace/src/protocol_event.rs1//! Mapping from Codex protocol events into raw rollout-trace events.
LOWcodex-rs/rollout-trace/src/payload.rs1//! References to heavyweight trace payloads stored outside the reduced graph.
LOWcodex-rs/rollout-trace/src/reducer/mod.rs101 ///
LOWcodex-rs/rollout-trace/src/reducer/mod.rs121 pending_code_cell_starts: BTreeMap<String, PendingCodeCellStart>,
LOWcodex-rs/rollout-trace/src/reducer/code_cell.rs1//! Code-mode reduction.
LOWcodex-rs/rollout-trace/src/model/session.rs21 Failed,
LOWcodex-rs/rollout-trace/src/model/session.rs81
LOWcodex-rs/rollout-trace/src/model/runtime.rs61 /// Initial `exec` returned while JavaScript kept running in the background.
LOWcodex-rs/rollout-trace/src/model/runtime.rs141 /// Result returned to the immediate requester.
LOWcodex-rs/rollout-trace/src/model/mod.rs41/// Process/session ID returned by Codex's terminal runtime.
LOWcodex-rs/rmcp-client/src/executor_process_transport.rs1//! rmcp transport adapter for an executor-managed MCP stdio process.
LOWcodex-rs/rmcp-client/src/executor_process_transport.rs81 /// Whether the executor has reported process closure or a terminal
LOWcodex-rs/rmcp-client/src/stdio_server_launcher.rs1//! Launch MCP stdio servers and return the transport rmcp should use.
LOWcodex-rs/rmcp-client/src/stdio_server_launcher.rs161}
LOWcodex-rs/rmcp-client/src/oauth.rs1//! This file handles all logic related to managing MCP OAuth credentials.
LOWcodex-rs/rmcp-client/src/program_resolver.rs1//! Platform-specific program resolution for MCP server execution.
LOWcodex-rs/rmcp-client/src/program_resolver.rs21/// the program name unchanged.
LOWcodex-rs/rmcp-client/src/bin/test_stdio_server.rs241 ///
LOW…mcp-client/src/http_client_adapter/www_authenticate.rs81}
LOWcodex-rs/codex-mcp/src/mcp/mod.rs101/// `codex-mcp` crate needs to construct server transports, enforce MCP
LOWcodex-rs/codex-mcp/src/mcp/mod.rs121 /// Optional OAuth redirect URI override for MCP login.
LOWcodex-rs/tools/src/tool_spec.rs21 Namespace(ResponsesApiNamespace),
LOWcodex-rs/tools/src/json_schema_tests.rs21 // semantics directly.
LOWcodex-rs/tools/src/json_schema_tests.rs121
LOWcodex-rs/tools/src/json_schema_tests.rs201 // {
LOWcodex-rs/tools/src/json_schema_tests.rs221 // }
LOWcodex-rs/tools/src/json_schema_tests.rs281 assert_eq!(schema, JsonSchema::default());
LOWcodex-rs/tools/src/json_schema_tests.rs361 // Example schema shape:
LOWcodex-rs/tools/src/json_schema_tests.rs401 // {
LOWcodex-rs/tools/src/json_schema_tests.rs521// being rewritten into a different shape.
LOWcodex-rs/tools/src/json_schema_tests.rs621 // "properties": {
LOWcodex-rs/tools/src/json_schema_tests.rs661 Some(vec!["nickname".to_string()]),
LOWcodex-rs/tools/src/json_schema_tests.rs1261fn parse_tool_input_schema_preserves_refs_and_prunes_unreachable_defs() {
LOWcodex-rs/tools/src/json_schema_tests.rs1321fn parse_tool_input_schema_preserves_refs_from_properties_named_def_tables() {
LOWcodex-rs/tools/src/json_schema_tests.rs1421 "Item": {"type": "string"}
LOWcodex-rs/tools/src/json_schema_tests.rs1621 ..Default::default()
LOWcodex-rs/tools/src/json_schema_tests.rs1681 ),
LOWcodex-rs/core/tests/suite/client.rs3061
LOWcodex-rs/core/tests/suite/live_cli.rs41 cmd.env("CODEX_HOME", &codex_home);
LOWcodex-rs/core/src/exec.rs61// I/O buffer sizing
LOWcodex-rs/core/src/exec.rs941/// [ExecParams]. Events are reported via `stdout_stream`, if specified, and
LOWcodex-rs/core/src/goals.rs321 self.reset_baseline();
530 more matches not shown…
Hyper-Verbose Identifiers293 hits · 296 pts
SeverityFileLineSnippet
LOWcodex-cli/scripts/build_npm_package.py321def compute_platform_package_version(version: str, platform_tag: str) -> str:
LOWtools/argument-comment-lint/test_wrapper_common.py15 def test_defaults_to_workspace_and_all_targets(self) -> None:
LOWtools/argument-comment-lint/test_wrapper_common.py31 def test_forwarded_cargo_args_keep_single_separator(self) -> None:
LOWtools/argument-comment-lint/test_wrapper_common.py48 def test_fix_does_not_add_all_targets(self) -> None:
LOWtools/argument-comment-lint/test_wrapper_common.py64 def test_explicit_manifest_and_workspace_are_preserved(self) -> None:
LOWtools/argument-comment-lint/test_wrapper_common.py89 def test_explicit_package_manifest_does_not_force_workspace(self) -> None:
LOWtools/argument-comment-lint/test_wrapper_common.py109 def test_default_lint_env_promotes_both_strict_lints(self) -> None:
LOWtools/argument-comment-lint/wrapper_common.py176def ensure_source_prerequisites(env: MutableMapping[str, str]) -> None:
LOWtools/argument-comment-lint/wrapper_common.py233def fetch_packaged_entrypoint(dotslash_manifest: Path, env: MutableMapping[str, str]) -> Path:
LOWtools/argument-comment-lint/wrapper_common.py244def find_packaged_cargo_dylint(package_entrypoint: Path) -> Path:
LOWtools/argument-comment-lint/wrapper_common.py254def normalize_packaged_library(package_entrypoint: Path) -> Path:
LOWcodex-rs/windows-sandbox-rs/sandbox_smoketests.py190def start_loopback_proxy_fixture():
LOW…/samples/skill-creator/scripts/generate_openai_yaml.py74def generate_short_description(display_name):
LOW…/samples/skill-creator/scripts/generate_openai_yaml.py133def parse_interface_overrides(raw_overrides):
LOW…sets/samples/plugin-creator/scripts/validate_plugin.py235def validate_optional_non_empty_string(
LOW…sets/samples/plugin-creator/scripts/validate_plugin.py260def validate_optional_https_url(
LOW…sets/samples/plugin-creator/scripts/validate_plugin.py275def validate_optional_contract_path(
LOW…sets/samples/plugin-creator/scripts/validate_plugin.py332def load_companion_json_object(
LOW…sets/samples/plugin-creator/scripts/validate_plugin.py351def reject_companion_unknown_fields(
LOW…sets/samples/plugin-creator/scripts/validate_plugin.py421def validate_skill_agent_manifest(
LOW…sets/samples/plugin-creator/scripts/validate_plugin.py532def reject_skill_agent_unknown_fields(
LOW…sets/samples/plugin-creator/scripts/validate_plugin.py547def validate_optional_asset_path(
LOW…/samples/plugin-creator/scripts/create_basic_plugin.py43def validate_marketplace_name(marketplace_name: str) -> None:
LOW…/samples/plugin-creator/scripts/create_basic_plugin.py52def display_name_from_plugin_name(plugin_name: str) -> str:
LOW…/samples/plugin-creator/scripts/create_basic_plugin.py108def build_default_marketplace(marketplace_name: str) -> dict[str, Any]:
LOW…/samples/plugin-creator/scripts/create_basic_plugin.py118def validate_marketplace_interface(payload: dict[str, Any]) -> None:
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py184def _validate_model_specific_options(
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py203def _validate_generate_payload(payload: Dict[str, Any]) -> None:
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py364def _decode_write_and_downscale(
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py509def _extract_retry_after_seconds(exc: Exception) -> Optional[float]:
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py543async def _generate_one_with_retries(
LOW…lls/codex-issue-digest/scripts/collect_issue_digest.py153def normalize_requested_labels(labels, all_labels=False):
LOW…lls/codex-issue-digest/scripts/collect_issue_digest.py425def attention_thresholds_for_window(window_hours):
LOW…lls/codex-issue-digest/scripts/collect_issue_digest.py508def clean_title_for_description(title):
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py15def test_build_search_queries_uses_each_owner_and_kind_label():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py30def test_build_search_queries_can_scan_all_labels():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py43def test_normalize_requested_labels_accepts_all_area_phrases():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py54def test_search_issue_numbers_requests_updated_sort(monkeypatch):
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py73def test_search_issue_numbers_applies_limit_per_query(monkeypatch):
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py125def test_summarize_issue_keeps_new_comments_and_reaction_signals():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py239def test_summarize_issue_filters_non_owner_or_non_kind_labels():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py280def test_resolve_window_defaults_to_previous_hours():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py292def test_parse_duration_hours_accepts_common_phrases():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py299def test_attention_thresholds_scale_by_window_length():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py316def test_fetch_comments_uses_since_filter_and_page_cap(monkeypatch):
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py341def test_issue_description_prefers_title_over_body_noise():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py353def test_attention_markers_count_human_user_interactions():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py429def test_reactions_count_toward_attention_markers():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py497def test_user_interactions_are_deduped_by_human_login():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py561def test_digest_rows_are_table_ready_with_concise_descriptions():
LOW…odex-issue-digest/scripts/test_collect_issue_digest.py637def test_summary_inputs_are_model_ready_without_preclustering():
LOW.codex/skills/babysit-pr/scripts/gh_pr_watch.py194def extract_repo_from_pr_view(data):
LOW.codex/skills/babysit-pr/scripts/gh_pr_watch.py304def get_workflow_runs_for_sha(repo, head_sha):
LOW.codex/skills/babysit-pr/scripts/gh_pr_watch.py318def failed_runs_from_workflow_runs(runs, head_sha):
LOW.codex/skills/babysit-pr/scripts/gh_pr_watch.py352def failed_jobs_from_workflow_runs(repo, runs, head_sha):
LOW.codex/skills/babysit-pr/scripts/gh_pr_watch.py455def normalize_review_comments(items):
LOW.codex/skills/babysit-pr/scripts/gh_pr_watch.py510def is_actionable_review_bot_login(login):
LOW.codex/skills/babysit-pr/scripts/gh_pr_watch.py517def is_trusted_human_review_author(item, authenticated_login):
LOW.codex/skills/babysit-pr/scripts/test_gh_pr_watch.py42def test_collect_snapshot_fetches_review_items_before_ci(monkeypatch, tmp_path):
LOW.codex/skills/babysit-pr/scripts/test_gh_pr_watch.py103def test_recommend_actions_prioritizes_review_comments():
233 more matches not shown…
Unused Imports135 hits · 118 pts
SeverityFileLineSnippet
LOWtools/argument-comment-lint/run.py3
LOWtools/argument-comment-lint/test_wrapper_common.py3
LOWtools/argument-comment-lint/run-prebuilt-linter.py3
LOWtools/argument-comment-lint/wrapper_common.py3
LOW…sets/samples/plugin-creator/scripts/validate_plugin.py4
LOW…amples/plugin-creator/scripts/read_marketplace_name.py4
LOW…es/plugin-creator/scripts/update_plugin_cachebuster.py4
LOW…/samples/plugin-creator/scripts/create_basic_plugin.py4
LOW…assets/samples/skill-installer/scripts/github_utils.py4
LOW…/assets/samples/skill-installer/scripts/list-skills.py4
LOW…s/skill-installer/scripts/install-skill-from-github.py4
LOW…c/assets/samples/imagegen/scripts/remove_chroma_key.py8
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py10
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py410
LOW.devcontainer/post_install.py4
LOWsdk/python/tests/conftest.py1
LOWsdk/python/tests/test_app_server_login.py1
LOWsdk/python/tests/app_server_helpers.py1
LOWsdk/python/tests/test_app_server_run.py1
LOWsdk/python/tests/test_async_client_behavior.py1
LOWsdk/python/tests/test_client_rpc_methods.py1
LOWsdk/python/tests/test_app_server_inputs.py1
LOWsdk/python/tests/test_real_app_server_integration.py1
LOWsdk/python/tests/test_app_server_approvals.py1
LOWsdk/python/tests/test_app_server_turn_controls.py1
LOWsdk/python/tests/test_app_server_streaming.py1
LOWsdk/python/tests/test_contract_generation.py1
LOWsdk/python/tests/test_public_api_runtime_behavior.py1
LOWsdk/python/tests/test_public_api_signatures.py1
LOWsdk/python/tests/app_server_harness.py1
LOWsdk/python/tests/test_app_server_lifecycle.py1
LOWsdk/python/examples/_bootstrap.py1
LOWsdk/python/src/openai_codex/_initialize_metadata.py1
LOWsdk/python/src/openai_codex/models.py1
LOWsdk/python/src/openai_codex/_version.py1
LOWsdk/python/src/openai_codex/_inputs.py1
LOWsdk/python/src/openai_codex/__init__.py15
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py16
LOWsdk/python/src/openai_codex/__init__.py39
LOWsdk/python/src/openai_codex/__init__.py40
75 more matches not shown…
Fake / Example Data49 hits · 52 pts
SeverityFileLineSnippet
LOW…er-transport/src/transport/remote_control/websocket.rs1753 "email": "user@example.com",
LOW…server-transport/src/transport/remote_control/tests.rs88 "email": "user@example.com",
LOWcodex-rs/agent-identity/src/lib.rs503 "email": "user@example.com",
LOWcodex-rs/agent-identity/src/lib.rs521 email: "user@example.com".to_string(),
LOWcodex-rs/agent-identity/src/lib.rs539 "email": "user@example.com",
LOWcodex-rs/agent-identity/src/lib.rs561 email: "user@example.com".to_string(),
LOWcodex-rs/agent-identity/src/lib.rs593 email: "user@example.com".to_string(),
LOWcodex-rs/agent-identity/src/lib.rs618 "email": "user@example.com",
LOWcodex-rs/agent-identity/src/lib.rs641 "email": "user@example.com",
LOWcodex-rs/core/tests/responses_headers.rs93 Some("test@test.com".to_string()),
LOWcodex-rs/core/tests/responses_headers.rs221 Some("test@test.com".to_string()),
LOWcodex-rs/core/tests/responses_headers.rs338 Some("test@test.com".to_string()),
LOWcodex-rs/core/tests/suite/client.rs128 "email": "user@example.com",
LOWcodex-rs/core/tests/suite/client.rs889 Some("test@test.com".to_string()),
LOWcodex-rs/core/tests/suite/client.rs2346 Some("test@test.com".to_string()),
LOWcodex-rs/core/tests/suite/client_websockets.rs2141 Some("test@test.com".to_string()),
LOWcodex-rs/core/src/session/tests.rs3509 Some("test@test.com".to_string()),
LOWcodex-rs/tui/src/local_chatgpt_auth.rs98 let id_token = fake_jwt("user@example.com", "workspace-1", plan_type);
LOWcodex-rs/tui/src/local_chatgpt_auth.rs99 let access_token = fake_jwt("user@example.com", "workspace-1", plan_type);
LOWcodex-rs/tui/src/local_chatgpt_auth.rs180 &fake_jwt("user@example.com", "workspace-2", "enterprise"),
LOWcodex-rs/app-server-protocol/src/protocol/common.rs2600 email: "user@example.com".to_string(),
LOWcodex-rs/app-server-protocol/src/protocol/common.rs2606 "email": "user@example.com",
LOWcodex-rs/app-server/README.md1782{ "id": 1, "result": { "account": { "type": "chatgpt", "email": "user@example.com", "planType": "pro" }, "requiresOpenai
LOWcodex-rs/app-server/tests/suite/auth.rs266 .email("user@example.com")
LOWcodex-rs/app-server/tests/suite/auth.rs347 .email("user@example.com")
LOWcodex-rs/app-server/tests/suite/auth.rs414 .email("user@example.com")
LOWcodex-rs/app-server/tests/suite/auth.rs473 .email("user@example.com")
LOWcodex-rs/app-server/tests/suite/v2/account.rs1685 .email("user@example.com")
LOWcodex-rs/app-server/tests/suite/v2/account.rs1707 email: "user@example.com".to_string(),
LOWcodex-rs/app-server/tests/suite/v2/account.rs1731 .email("user@example.com")
LOWcodex-rs/app-server/tests/suite/v2/account.rs1812 ChatGptAuthFixture::new("access-chatgpt").email("user@example.com"),
LOWcodex-rs/app-server/tests/suite/v2/account.rs1833 email: "user@example.com".to_string(),
LOWcodex-rs/cloud-requirements/src/lib.rs983 "email": "user@example.com",
LOWcodex-rs/cloud-requirements/src/lib.rs1267 email: "user@example.com".to_string(),
LOWcodex-rs/login/tests/suite/login_server_e2e.rs52 "email": "user@example.com",
LOWcodex-rs/login/src/token_data_tests.rs32 "email": "user@example.com",
LOWcodex-rs/login/src/token_data_tests.rs39 assert_eq!(info.email.as_deref(), Some("user@example.com"));
LOWcodex-rs/login/src/token_data_tests.rs46 "email": "user@example.com",
LOWcodex-rs/login/src/token_data_tests.rs53 assert_eq!(info.email.as_deref(), Some("user@example.com"));
LOWcodex-rs/login/src/token_data_tests.rs60 "email": "user@example.com",
LOWcodex-rs/login/src/token_data_tests.rs67 assert_eq!(info.email.as_deref(), Some("user@example.com"));
LOWcodex-rs/login/src/token_data_tests.rs75 "email": "user@example.com",
LOWcodex-rs/login/src/token_data_tests.rs93 "email": "user@example.com",
LOWcodex-rs/login/src/token_data_tests.rs123 "email": "user@example.com",
LOWcodex-rs/login/src/auth/auth_tests.rs235 email: Some("user@example.com".to_string()),
LOWcodex-rs/login/src/auth/auth_tests.rs647 "email": "user@example.com",
LOWcodex-rs/login/src/auth/auth_tests.rs1022 email: "user@example.com".to_string(),
LOWcodex-rs/login/src/auth/storage_tests.rs66 "email": "user@example.com",
LOWcodex-rs/login/src/auth/storage_tests.rs94 "email": "user@example.com",
Decorative Section Separators11 hits · 41 pts
SeverityFileLineSnippet
MEDIUMcodex-rs/tui/src/insert_history.rs221 // ┌─Screen───────────────────────┐
MEDIUMcodex-rs/tui/src/insert_history.rs222 // │┌╌Scroll region╌╌╌╌╌╌╌╌╌╌╌╌╌╌┐│
MEDIUMcodex-rs/tui/src/insert_history.rs226 // │█╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┘│
MEDIUMcodex-rs/tui/src/insert_history.rs227 // │╭─Viewport───────────────────╮│
MEDIUMcodex-rs/tui/src/insert_history.rs229 // │╰────────────────────────────╯│
MEDIUMcodex-rs/tui/src/insert_history.rs230 // └──────────────────────────────┘
MEDIUMcodex-rs/tui/src/diff_render.rs1122// ┌──────────┬──────┬──────────────────────────────────────────┐
MEDIUMcodex-rs/tui/src/diff_render.rs1125// └──────────┴──────┴──────────────────────────────────────────┘
MEDIUMcodex-rs/tui/src/streaming/controller.rs1480 let source = " ┌───────┬──────────┬────────┐\n │ Name │ Role │ Active │\n ├───────┼──────────┼────────┤\
MEDIUM…rs/shell-command/src/command_safety/is_safe_command.rs170 // ── anything else ─────────────────────────────────────────────────
MEDIUM…ell-command/src/command_safety/is_dangerous_command.rs154 // ── anything else ─────────────────────────────────────────────────
Excessive Try-Catch Wrapping29 hits · 36 pts
SeverityFileLineSnippet
LOWcodex-rs/windows-sandbox-rs/sandbox_smoketests.py116 except Exception:
LOWcodex-rs/windows-sandbox-rs/sandbox_smoketests.py176 except Exception as err:
LOWcodex-rs/windows-sandbox-rs/sandbox_smoketests.py600 except Exception:
LOW…src/assets/samples/skill-creator/scripts/init_skill.py283 except Exception as e:
LOW…src/assets/samples/skill-creator/scripts/init_skill.py295 except Exception as e:
LOW…src/assets/samples/skill-creator/scripts/init_skill.py304 except Exception as e:
LOW…src/assets/samples/skill-creator/scripts/init_skill.py312 except Exception as e:
LOW…amples/plugin-creator/scripts/read_marketplace_name.py46 except Exception as err: # noqa: BLE001 - CLI should surface a single clear message.
LOW…es/plugin-creator/scripts/update_plugin_cachebuster.py76 except Exception as err: # noqa: BLE001 - CLI should surface a single clear message.
MEDIUM…/assets/samples/skill-installer/scripts/list-skills.py102 print(f"Error: {exc}", file=sys.stderr)
MEDIUM…s/skill-installer/scripts/install-skill-from-github.py303 print(f"Error: {exc}", file=sys.stderr)
MEDIUM…c/assets/samples/imagegen/scripts/remove_chroma_key.py25 print(f"Error: {message}", file=sys.stderr)
MEDIUM…kills/src/assets/samples/imagegen/scripts/image_gen.py50 print(f"Error: {message}", file=sys.stderr)
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py333 except Exception:
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py520 except Exception:
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py554 except Exception as exc:
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py684 except Exception as exc:
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py695 except Exception:
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py877 except Exception:
LOW…kills/src/assets/samples/imagegen/scripts/image_gen.py895 except Exception:
MEDIUM…kills/src/assets/samples/imagegen/scripts/image_gen.py397def _create_client():
LOW.codex/skills/babysit-pr/scripts/gh_pr_watch.py251 except Exception:
LOW…k/python/examples/10_error_handling_and_retry/async.py45 except Exception as exc: # noqa: BLE001
LOWsdk/python/src/openai_codex/client.py263 except Exception:
LOWsdk/python/src/openai_codex/client.py589 except Exception: # noqa: BLE001
LOWsdk/python/src/openai_codex/retry.py31 except Exception as exc:
LOWsdk/python/src/openai_codex/api.py87 except Exception:
LOWsdk/python/src/openai_codex/api.py319 except Exception:
MEDIUMscripts/readme_toc.py73 print(f"Error: file not found: {readme_path}", file=sys.stderr)
Deep Nesting21 hits · 21 pts
SeverityFileLineSnippet
LOWcodex-cli/scripts/build_npm_package.py136
LOWcodex-cli/scripts/build_npm_package.py229
LOWtools/argument-comment-lint/wrapper_common.py55
LOW…src/assets/samples/skill-creator/scripts/init_skill.py230
LOW…s/skill-installer/scripts/install-skill-from-github.py269
LOW…c/assets/samples/imagegen/scripts/remove_chroma_key.py262
LOW…c/assets/samples/imagegen/scripts/remove_chroma_key.py281
LOW…lls/codex-issue-digest/scripts/collect_issue_digest.py304
LOW.codex/skills/babysit-pr/scripts/gh_pr_watch.py527
LOWsdk/python/_runtime_setup.py90
LOWsdk/python/_runtime_setup.py169
LOWsdk/python/tests/test_real_app_server_integration.py513
LOWsdk/python/tests/app_server_harness.py38
LOWsdk/python/examples/_bootstrap.py65
LOWsdk/python/src/openai_codex/client.py633
LOWsdk/python/src/openai_codex/errors.py61
LOWscripts/stage_npm_packages.py462
LOWscripts/codex_package/version.py11
LOWscripts/codex_package/dotslash.py178
LOW.github/scripts/verify_cargo_workspace_manifests.py105
LOW.github/scripts/rusty_v8_bazel.py230
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippet
CRITICALcodex-rs/core/src/thread_manager.rs1362 .map(|thread| thread.codex.session.services.rollout_thread_trace.clone())
CRITICALcodex-rs/core/src/codex_thread.rs138 self.codex.session.services.session_telemetry.clone()
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippet
HIGHsdk/python/scripts/update_sdk_artifacts.py0start a turn and return a handle for streaming or control.
HIGHsdk/python/scripts/update_sdk_artifacts.py0start a turn and return a handle for streaming or control.
HIGHsdk/python/src/openai_codex/api.py0start a turn and return a handle for streaming or control.
HIGHsdk/python/src/openai_codex/api.py0start a turn and return a handle for streaming or control.
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippet
HIGHcodex-rs/windows-sandbox-rs/sandbox_smoketests.py319 rc, out, err = run_sbx("workspace-write", ["cmd", "/c", "mkdir sub && echo hi > sub\\in_sub.txt"], WS_ROOT)
HIGHcodex-rs/windows-sandbox-rs/sandbox_smoketests.py452 ["cmd", "/c", "mkdir deep\\nest && echo ok > deep\\nest\\f.txt"], WS_ROOT)
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippet
MEDIUMcodex-rs/models-manager/models.json55 "base_instructions": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, and your
MEDIUMcodex-rs/models-manager/models.json57 "instructions_template": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, an
MEDIUMcodex-rs/models-manager/models.json407 "base_instructions": "You are GPT-5.2 running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippet
HIGH…src/assets/samples/skill-creator/scripts/init_skill.py259 Initialize a new skill directory with template SKILL.md. Args: skill_name: Name of the skill p
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippet
LOWcodex-rs/models-manager/models.json55 "base_instructions": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, and your
LOWcodex-rs/models-manager/models.json57 "instructions_template": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, an
LOWcodex-rs/models-manager/models.json407 "base_instructions": "You are GPT-5.2 running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippet
LOWcodex-cli/scripts/run_in_container.sh44# Check if WORK_DIR is set.
LOW…src/assets/samples/skill-creator/scripts/init_skill.py274 # Check if directory already exists
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWcodex-rs/tui/src/live_wrap.rs20/// Step 1: plain-text only. ANSI-carry and styled spans will be added later.
LOWcodex-rs/tui/src/chatwidget/slash_dispatch.rs158 // Step 1: pick a category (UI built in feedback_view)
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMsdk/python/examples/05_existing_thread/sync.py15 # Create an initial thread and turn so we have a real thread to resume.
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWcodex-cli/scripts/run_in_container.sh4# Usage: