Close Open Privacy Scan

bolt Snapshot: commit 3151954
science engine v1.14
schedule 2026-07-17T04:21:23.957707+00:00

verified_user No application data leak found

No high-confidence exfiltration was found in application code.

Incomplete scan — only 3/203 dependencies were analyzed. Treat the score as provisional.

App Privacy Score

57 /100
Medium privacy risk

Medium risk · 2537 finding(s)

Dependency score: 72 (Medium risk)

bar_chart Score Breakdown

telemetry −25
egress −15
env_fs −3

list Scan Summary

0 high 0 medium 2537 low
First-party packages: 79
Dependency packages: 1
Ecosystem: rust

swap_horiz External domains

api.github.combugs.python.orgchatgpt.comcodex-invalid.localdatatracker.ietf.orgdiscuss.python.orgdocs.pydantic.devdocs.python.orgdocs.rsen.wikipedia.orgerrors.pydantic.devexam_ple.comfoo.comgithub.comhypothesis.readthedocs.iojson-schema.orgmypy.readthedocs.ionats.ioneverssl.compackaging.python.orgpeps.python.orgplatform.openai.complugin.examplepydantic-docs.helpmanual.iopypi.orgpython-devtools.helpmanual.ioraw.githubusercontent.comrich.readthedocs.iosample.exampleunlisted.exampleuser.exampleuser.proxywww.apple.comwww.example.珠宝www.python.orgwww.w3.orgwww.xudongz.comwww.аррӏе.com

</> First-Party Code

first-party (npm)

rust first-party
expand_more 4 low-confidence finding(s)
low env_fs production #df16ab7f536c3a5d Filesystem access.
repo/bazel/rules/testing/wine/src/lib_tests.rs:248
    fs::write(runtime.path().join("pwsh.exe"), b"pwsh")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #70f4fd889aefecea Filesystem access.
repo/bazel/rules/testing/wine/src/lib_tests.rs:249
    fs::write(runtime.path().join("Modules").join("marker.txt"), b"module")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e2a2240597004e91 Filesystem access.
repo/bazel/rules/testing/wine/src/lib_tests.rs:273
    fs::write(&backing_file, b"pwsh")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9b07d9e46cbefb77 Environment-variable access.
repo/bazel/rules/testing/wine/src/lib_tests.rs:314
    let mut env = std::env::vars().collect::<HashMap<_, _>>();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/analytics

rust first-party
expand_more 11 low-confidence finding(s)
low telemetry production #dd8d66c0e3fab419 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:91
                tracing::error!(
                    path = %path.display(),
                    "failed to initialize analytics event capture; network delivery remains disabled: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #23ecdc98c15266e3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:96
            tracing::warn!(
                path = %path.display(),
                "analytics event capture enabled; network delivery is disabled"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #009159e46e6589b4 Environment-variable access.
repo/codex-rs/analytics/src/client.rs:116
        std::env::var_os(crate::analytics_capture::ANALYTICS_EVENTS_CAPTURE_FILE_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #4d2e4d3560cc2dfc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:146
            tracing::warn!("dropping analytics events: queue is full");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c5de931992b51d2d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:641
            tracing::warn!("events failed with status {status}: {body}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #06bbbe6520d06502 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:644
            tracing::warn!("failed to send events request: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f08b9f19242a4030 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:659
        tracing::error!(
            path = %path.display(),
            "failed to capture analytics events; network delivery remains disabled: {err}"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #702a051296909b19 Filesystem access.
repo/codex-rs/analytics/src/client_tests.rs:286
    let contents = fs::read_to_string(&capture_path).expect("read capture file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46347845002225e8 Filesystem access.
repo/codex-rs/analytics/src/client_tests.rs:314
    let contents = fs::read_to_string(&capture_path).expect("read capture file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #56e00264ff9482fb Filesystem access.
repo/codex-rs/analytics/src/client_tests.rs:356
    let contents = fs::read_to_string(&capture_path).expect("read capture file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #4d144d74888cc4a4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/reducer.rs:1725
    tracing::warn!(
        thread_id = %drop_site.thread_id,
        turn_id = ?drop_site.turn_id,
        review_id = ?drop_site.review_id,
        item_id = ?drop_site.item_id,
        missing_context,
        connection_id,
        "dropping {} analytics event: missing analytics context",
        drop_site.event_name
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/ansi-escape

rust first-party
expand_more 3 low-confidence finding(s)
low telemetry production #b235915cfcdf01f9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ansi-escape/src/lib.rs:34
            tracing::warn!("ansi_escape_line: expected a single line, got {first:?} and {rest:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4b375dad749502a1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ansi-escape/src/lib.rs:47
                tracing::error!(
                    "ansi_to_tui NomError docs claim should never happen when parsing `{s}`: {message}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b5aab7b77da8ff65 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ansi-escape/src/lib.rs:53
                tracing::error!("Utf8Error: {utf8error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/app-server

rust first-party
expand_more 103 low-confidence finding(s)
low telemetry production #447fc05c7996701e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/app_server_tracing.rs:133
            tracing::warn!(
                rpc_method = method,
                rpc_request_id = %request_id,
                "ignoring invalid inbound request trace carrier"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #fa1aab32fe40f7b9 Environment-variable access.
repo/codex-rs/app-server/src/bin/exec_server.rs:22
        std::env::var_os(CODEX_LINUX_SANDBOX_EXE_ENV_VAR).map(std::path::PathBuf::from);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ca80c45ba7092b5 Filesystem access.
repo/codex-rs/app-server/src/bin/notify_capture.rs:29
    let mut file = File::create(&temp_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d0ca377666a942df Filesystem access.
repo/codex-rs/app-server/src/bin/test_notify_capture.rs:19
    std::fs::write(&temp_path, payload)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #58fbe9460ca8acfb Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:78
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), original)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0076d42ea35a65e6 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:92
    let updated = std::fs::read_to_string(tmp.path().join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d0158fca8e08115a Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:113
    std::fs::write(&path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb8bc464358b1052 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:137
    std::fs::write(&path, "model = \"gpt-5.2\"\napproval_policy = \"never\"\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8c0767450e280e7 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:156
    std::fs::write(&path, original)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f23ae6627196534 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:171
    std::fs::write(&path, "model = \"gpt-main\"\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bcf0fd232e1d9a16 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:203
    std::fs::write(&path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #62101b8056a91ad3 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:235
    std::fs::write(&path, "model = \"gpt-main\"\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e81f773ac7fb0778 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:276
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #715a35df4d23da57 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:338
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        "[mcp_servers.docs]\ncommand = \"docs-server\"\n",
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1a9b341a2a28fff9 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:355
    let contents = std::fs::read_to_string(tmp.path().join(CONFIG_TOML_FILE))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e8c5517b9326d8c2 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:382
    std::fs::write(&user_path, "model = \"user\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fe9570ad0be71dbe Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:386
    std::fs::write(&managed_path, "approval_policy = \"never\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb20994287a28136 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:453
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), "model = \"user\"\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a13168527407ec6 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:498
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        "approval_policy = \"on-request\"",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #38f43a64a3b49790 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:505
    std::fs::write(&managed_path, "approval_policy = \"never\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c6ed0ac6d3779d4 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:555
    std::fs::write(&user_path, "model = \"user\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f11b4e2ee788788f Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:578
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #92aa2c766d0da9ec Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:592
    let contents = std::fs::read_to_string(tmp.path().join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cb6774127b0d8c00 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:602
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), "model = \"gpt-main\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7d91cfb78cf18cc Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:604
    std::fs::write(&selected_path, "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4e498d89dccdceda Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:641
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), "model = \"gpt-main\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d917f5fe80019a22 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:643
    std::fs::write(&selected_path, "not valid toml").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #73f96b521868a859 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:676
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), "model = \"user\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #78accf3b6ecabea7 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:679
    std::fs::write(&managed_path, "approval_policy = \"never\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #27ccd091b18fee81 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:704
    let contents = std::fs::read_to_string(tmp.path().join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7d03a1cd68ffd852 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:711
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), "model = \"user\"\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b43091a61ebccec Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:732
    let contents = std::fs::read_to_string(tmp.path().join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ecae3b890c7a30a0 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:739
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed026974632b6f2a Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:784
    std::fs::write(&user_path, "model = \"user\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db97a42aad767118 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:788
    std::fs::write(&managed_path, "model = \"system\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9400fcd1ece58cae Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:849
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #672ca3f4efea6b51 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:852
    std::fs::write(&managed_path, "approval_policy = \"never\"").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1488ff0e89661a3a Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:908
    std::fs::write(&path, base)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #911fe0cb811ac4ff Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:922
    let upserted: TomlValue = toml::from_str(&std::fs::read_to_string(&path)?)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #93105e418f18dad9 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:939
    std::fs::write(&path, base)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46e3c6339796bfa7 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:952
    let replaced: TomlValue = toml::from_str(&std::fs::read_to_string(&path)?)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #f7f6683a7ef94d71 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/extensions.rs:137
                    tracing::warn!(
                        "failed to enqueue extension goal update for {thread_id}: listener command channel is closed"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #32e817e62f0aab20 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/extensions.rs:155
                tracing::debug!(event_id = %event.id, ?msg, "dropping unsupported extension event");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4b41494ad4777b32 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/external_agent_migration/processor.rs:321
                tracing::warn!(
                    error = %err,
                    "failed to reload config for external agent memory import detection"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #95c2aad2781a5745 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/external_agent_migration/processor.rs:474
        tracing::warn!(
            import_id = %notification.import_id,
            error = %err,
            "failed to record external agent config import completion"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a4f3482ebbc915ba Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/external_agent_migration/processor.rs:491
            tracing::warn!(
                import_id = %notification.import_id,
                item_type = ?failure.item_type,
                error_type = %error_type,
                failure_stage = %failure.failure_stage,
                cwd = ?failure.cwd,
                source = ?failure.source,
                error = %failure.message,
                "external agent config migration item failed"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #bdf5ff61bc3c844c Filesystem access.
repo/codex-rs/app-server/src/fs_watch.rs:209
        std::fs::write(&head_path, "ref: refs/heads/main\n").expect("write HEAD");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #29cabf2c63b568af Filesystem access.
repo/codex-rs/app-server/src/fs_watch.rs:241
        std::fs::write(&head_path, "ref: refs/heads/main\n").expect("write HEAD");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db2de90fe33aef1a Filesystem access.
repo/codex-rs/app-server/src/fs_watch.rs:287
        std::fs::write(&head_path, "ref: refs/heads/main\n").expect("write HEAD");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb0f9f564cd3da71 Filesystem access.
repo/codex-rs/app-server/src/fs_watch.rs:288
        std::fs::write(&fetch_head_path, "old-fetch\n").expect("write FETCH_HEAD");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b18191867430b1ec Filesystem access.
repo/codex-rs/app-server/src/fs_watch.rs:323
        std::fs::write(&head_path, "ref: refs/heads/main\n").expect("write HEAD");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d41f35ac9bb54168 Filesystem access.
repo/codex-rs/app-server/src/fs_watch.rs:324
        std::fs::write(&fetch_head_path, "old-fetch\n").expect("write FETCH_HEAD");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39d6c8d0a456a8a6 Filesystem access.
repo/codex-rs/app-server/src/fs_watch.rs:325
        std::fs::write(&packed_refs_path, "refs\n").expect("write packed-refs");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8bae13d649516fd7 Environment-variable access.
repo/codex-rs/app-server/src/lib.rs:400
    let value = std::env::var(LOG_FORMAT_ENV_VAR).ok();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0b8b5a3b0c0cffd0 Environment-variable access.
repo/codex-rs/app-server/src/lib.rs:1280
        std::env::var_os(TEST_USER_CONFIG_FILE_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5fab01252a3d0d34 Environment-variable access.
repo/codex-rs/app-server/src/main.rs:114
        if let Ok(value) = std::env::var(DISABLE_MANAGED_CONFIG_ENV_VAR) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c1a121b202f4f942 Environment-variable access.
repo/codex-rs/app-server/src/main.rs:125
        if let Ok(value) = std::env::var(MANAGED_CONFIG_PATH_ENV_VAR) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #04957efaee3a93a7 Filesystem access.
repo/codex-rs/app-server/src/mcp_refresh.rs:151
        std::fs::write(
            temp_dir.path().join(codex_config::CONFIG_TOML_FILE),
            "[features]\nsecret_auth_storage = true\n",
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b254bd9f54e24def Filesystem access.
repo/codex-rs/app-server/src/mcp_refresh.rs:191
        std::fs::write(
            temp_dir.path().join(codex_config::CONFIG_TOML_FILE),
            "[features]\nsecret_auth_storage = false\n",
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #b66e79da4a9b7034 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/message_processor.rs:623
        tracing::info!("<- notification: {:?}", notification);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f77b432ff1a7c275 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/message_processor.rs:630
        tracing::info!("<- typed notification: {:?}", notification);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3cbcd826104703ce Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/message_processor.rs:719
            tracing::warn!(
                ?connection_id,
                timeout_seconds = CONNECTION_RPC_DRAIN_TIMEOUT.as_secs(),
                "timed out waiting for connection RPCs to drain"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1abcf52abd9cb331 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/message_processor.rs:743
        tracing::info!("<- response: {:?}", response);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4134afa2059b210a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/message_processor.rs:750
        tracing::error!("<- error: {:?}", err);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #06d726a310787738 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/account_processor.rs:205
                tracing::warn!("failed to reload config, using startup config: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #8d11e31616c9f071 Environment-variable access.
repo/codex-rs/app-server/src/request_processors/account_processor.rs:473
            if let Ok(issuer) = std::env::var(LOGIN_ISSUER_OVERRIDE_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2cabe7780caa113f Environment-variable access.
repo/codex-rs/app-server/src/request_processors/account_processor.rs:479
                && let Ok(open_app_url) = std::env::var(LOGIN_OPEN_APP_URL_OVERRIDE_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #1666d0cdb360f9ba Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/account_processor.rs:912
                tracing::warn!("failed to refresh token while getting account: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #671ab3cc0ad63428 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/account_processor.rs:971
                                tracing::warn!("failed to get token for auth status: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f5f056375191ee4c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/account_processor/rate_limit_resets.rs:21
                tracing::warn!(
                    "failed to fetch rate limit reset credit details; falling back to the usage response: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #70df032a7cb2959b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/account_processor/rate_limit_resets.rs:27
                tracing::warn!(
                    "rate limit reset credit detail request timed out; falling back to the usage response"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ad763d9388074674 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/account_processor/rate_limit_resets.rs:37
                tracing::warn!(
                    "failed to parse rate limit reset credit details; falling back to the usage response: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #877562f56fb4eb16 Environment-variable access.
repo/codex-rs/app-server/src/request_processors/account_processor/rate_limit_resets.rs:59
        let request_timeout = std::env::var(RATE_LIMIT_RESET_REQUEST_TIMEOUT_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #5eedef68bc856e84 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/bedrock_auth.rs:74
        tracing::warn!(
            "configuration changed while clearing the managed Amazon Bedrock model provider; retrying once"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3046c05890c31e64 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/command_exec_processor.rs:103
        tracing::debug!("ExecOneOffCommand params: {params:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f007f80eae47c506 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/config_processor.rs:255
            tracing::warn!("ignoring invalid experimental feature enablement keys: {invalid_keys}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ac2e8b8798dba047 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/config_processor.rs:280
                tracing::warn!(
                    "failed to rebuild user config for runtime refresh: {}",
                    err.message
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #cedeb7e675fc9590 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/feedback_processor.rs:83
            tracing::info!(target: "feedback_tags", chatgpt_user_id);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #8a512f0b8f6e4e83 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/feedback_processor.rs:89
            tracing::info!(target: "feedback_tags", account_id);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #bf56d0f878f2b220 Filesystem access.
repo/codex-rs/app-server/src/request_processors/feedback_processor.rs:361
        std::fs::write(&tools_cache_path, b"tools").expect("write tools cache");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #439d7983a3257465 Filesystem access.
repo/codex-rs/app-server/src/request_processors/feedback_processor.rs:380
        std::fs::write(&directory_cache_path, b"directory").expect("write directory cache");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #616b21913d4746ae Filesystem access.
repo/codex-rs/app-server/src/request_processors/feedback_processor.rs:428
        std::fs::write(&directory_cache_path, b"directory").expect("write directory cache");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f95ae516ec8ca36b Filesystem access.
repo/codex-rs/app-server/src/request_processors/feedback_processor.rs:456
        std::fs::write(&sandbox_log_path, "sandbox log").expect("write sandbox log");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #25c143f20a335edc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/initialize_processor.rs:112
                        tracing::warn!(
                            client_info_name = %name,
                            "validated clientInfo.name was rejected while setting originator"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #406371dcd5b11a70 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/plugins.rs:1730
        tracing::warn!(
            remote_plugin_id = %remote_plugin_id,
            marketplace_name = %marketplace_name,
            error_type = %error_type,
            sub_error_type = sub_error_type.as_deref(),
            error = %error_message,
            "remote plugin install failed"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #00f3264e9db32f1f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/process_exec_processor.rs:87
        tracing::debug!("{method_name} command: {command:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #dab3d7a776f5e849 Environment-variable access.
repo/codex-rs/app-server/src/request_processors/process_exec_processor.rs:97
        let mut env = std::env::vars().collect::<HashMap<_, _>>();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #543eb2f8c9dddc12 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_fork_goal.rs:18
        tracing::warn!(%source_thread_id, "skipping invalid inherited thread goal: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d096b640b4351519 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_lifecycle.rs:198
            tracing::debug!(
                thread_id = %thread_id,
                connection_id = ?connection_id,
                "skipping auto-attach for closed connection"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e90475aa52fef9d7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_lifecycle.rs:205
            tracing::warn!(
                "failed to attach listener for {thread_kind} {thread_id}: {message}",
                message = err.message
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #0de0a140379cde5c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_lifecycle.rs:539
    tracing::debug!(
        thread_id = %conversation_id,
        request_id = ?pending.request_id,
        active_turn_present = active_turn.is_some(),
        active_turn_id = ?active_turn.as_ref().map(|turn| turn.id.as_str()),
        active_turn_status = ?active_turn.as_ref().map(|turn| &turn.status),
        "composing running thread resume response"
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e105d0327da89052 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_lifecycle.rs:616
            tracing::debug!(
                thread_id = %conversation_id,
                connection_id = ?connection_id,
                "skipping running thread resume for closed connection"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #0514776fafc89594 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_lifecycle.rs:709
            tracing::warn!(
                thread_id = %conversation_id,
                "state db unavailable when reading thread goal for running thread resume"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a9421c23e128e041 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_lifecycle.rs:752
            tracing::warn!(
                thread_id = %thread_id,
                "failed to read thread goal for resume snapshot: {err}"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #8ca75464283c44c6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_processor.rs:3327
                tracing::warn!(
                    "thread/resume overrides ignored for loaded thread {}: {}",
                    existing_thread_id,
                    mismatch_details.join("; ")
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #896ddf351de563fb Filesystem access.
repo/codex-rs/app-server/src/request_processors/thread_processor_tests.rs:1025
        fs::write(&path, format!("{}\n", serde_json::to_string(&line)?))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2cfd735ab7ca19f1 Filesystem access.
repo/codex-rs/app-server/src/request_processors/thread_processor_tests.rs:1092
        fs::write(&path, format!("{}\n", serde_json::to_string(&line)?))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #24d420f2a923f3da Filesystem access.
repo/codex-rs/app-server/src/request_processors/thread_processor_tests.rs:1135
        fs::write(&path, format!("{}\n", serde_json::to_string(&line)?))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #8fe9fc7c3c07ed5d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/turn_processor.rs:990
                                tracing::error!(
                                    ?error,
                                    "failed to serialize active-turn-not-steerable turn error"
                                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #bd4abeb59e1c5b9e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/turn_processor.rs:1307
                tracing::warn!("failed to load summary for review thread {thread_id}: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #efe9ea6c966d7607 Environment-variable access.
repo/codex-rs/app-server/src/request_processors/windows_sandbox_processor.rs:83
                env_map: std::env::vars().collect(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #111d0fa0519d245f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/thread_state.rs:414
            tracing::debug!(
                thread_id = %thread_id,
                listener_generation = thread_state.listener_generation,
                had_listener = thread_state.cancel_tx.is_some(),
                had_active_turn = thread_state.active_turn_snapshot().is_some(),
                "clearing thread listener during thread-state teardown"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9a8b0b56362cdac4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/thread_state.rs:438
            tracing::debug!(
                thread_id = %thread_id,
                listener_generation = thread_state.listener_generation,
                had_listener = thread_state.cancel_tx.is_some(),
                had_active_turn = thread_state.active_turn_snapshot().is_some(),
                "clearing thread listener during app-server shutdown"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/app-server-daemon

rust first-party
expand_more 8 low-confidence finding(s)
low env_fs production #929288c33f70b041 Filesystem access.
repo/codex-rs/app-server-daemon/src/backend/pid.rs:216
        if let Err(err) = fs::write(&temp_pid_file, &contents).await {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #838c50edee19b609 Filesystem access.
repo/codex-rs/app-server-daemon/src/backend/pid.rs:307
        let contents = match fs::read_to_string(&self.pid_file).await {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b5e0772e163b05d6 Filesystem access.
repo/codex-rs/app-server-daemon/src/backend/pid.rs:339
        let contents = match fs::read_to_string(&self.pid_file).await {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f736e0b2fa781bc7 Filesystem access.
repo/codex-rs/app-server-daemon/src/backend/pid.rs:672
    let contents = match fs::read_to_string(pid_path).await {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb19d12643164814 Filesystem access.
repo/codex-rs/app-server-daemon/src/managed_install.rs:74
    let bytes = fs::read(executable)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49a2600f1bb5621a Filesystem access.
repo/codex-rs/app-server-daemon/src/settings.rs:17
        let contents = match fs::read_to_string(path).await {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a709bf940a76a21 Filesystem access.
repo/codex-rs/app-server-daemon/src/settings.rs:41
        fs::write(path, contents)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress production #3e26bcc0a504a04d Hardcoded external endpoint. Review what data is sent to this destination.
repo/codex-rs/app-server-daemon/src/update_loop.rs:158
    let script = reqwest::get("https://chatgpt.com/codex/install.sh")

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

first-party (rust): codex-rs/app-server-protocol

rust first-party
expand_more 25 low-confidence finding(s)
low env_fs production #3a72c79d0d8b8f32 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:315
        fs::read_to_string(&path).with_context(|| format!("Failed to read {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a66089a037706d15 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:318
    fs::write(&path, content).with_context(|| format!("Failed to write {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #216a506f1621f785 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:381
        fs::read_to_string(path).with_context(|| format!("Failed to read {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81c7f22026267c06 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:383
    fs::write(path, content).with_context(|| format!("Failed to write {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #33a1b061ba9bd278 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:723
        fs::read_to_string(path).with_context(|| format!("Failed to read {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #12fcc108c8702380 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:1569
    fs::write(&path, json).with_context(|| format!("Failed to write {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b88a26215c157f2 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:1964
        let mut f = fs::File::open(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0b23ae2555c58a8b Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:1974
    let mut f = fs::File::create(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c0cb292fb5c41d5 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2020
        let content = fs::read_to_string(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f38e4e0c511f9594 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2024
            fs::write(path, trimmed)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3f2866bbd695e0d Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2058
    let mut f = fs::File::create(&index_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f18236c81856e972 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2729
        fs::write(&path, content)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd0d29591d6b84a2 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2739
        let filtered = fs::read_to_string(&path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fe1be84e37bf52c3 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2767
        fs::write(&path, content)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dbd7656cce290924 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2777
        let filtered = fs::read_to_string(&path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #859325cc3b792374 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2835
        fs::write(&path, content)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2145854860e93ba3 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2845
        let filtered = fs::read_to_string(&path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bcd5df2adff62c0a Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2877
            fs::read_to_string(output_dir.join("v2").join("ThreadStartParams.json"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60635eb576333880 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2880
            fs::read_to_string(output_dir.join("CommandExecutionRequestApprovalParams.json"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bed002e60b92e94b Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2886
        let client_request_json = fs::read_to_string(output_dir.join("ClientRequest.json"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f39d2c071246a918 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2894
            fs::read_to_string(output_dir.join("codex_app_server_protocol.schemas.json"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #376996a6e7902421 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2903
            fs::read_to_string(output_dir.join("codex_app_server_protocol.v2.schemas.json"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed2580a80c6aa11a Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:3017
        let client_request_json = fs::read_to_string(output_dir.join("ClientRequest.json"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #e2293ec84c40f9c1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server-protocol/src/protocol/v2/thread.rs:642
                tracing::warn!(
                    path = source.as_str(),
                    "ignoring invalid instruction source path from app-server"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #50012a20f0ec6af2 Filesystem access.
repo/codex-rs/app-server-protocol/src/schema_fixtures.rs:128
        std::fs::read(path).with_context(|| format!("failed to read {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/app-server-test-client

rust first-party
expand_more 7 low-confidence finding(s)
low env_fs production #2bb83fa58b96daf6 Environment-variable access.
repo/codex-rs/app-server-test-client/src/lib.rs:605
            if let Some(existing_path) = std::env::var_os("PATH") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0786d7b182be6da9 Filesystem access.
repo/codex-rs/app-server-test-client/src/lib.rs:1549
        fs::read_to_string(Path::new(path))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #13c4198fe1cdcefd Environment-variable access.
repo/codex-rs/app-server-test-client/src/lib.rs:1634
            if let Some(existing_path) = std::env::var_os("PATH") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c01c4304731e6bd9 Filesystem access.
repo/codex-rs/app-server-test-client/src/plugin_analytics_capture.rs:13
    let contents = match fs::read_to_string(path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a85b56e0acd8fe16 Filesystem access.
repo/codex-rs/app-server-test-client/src/plugin_analytics_capture_tests.rs:33
    fs::write(&path, contents).expect("write capture file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #abae27be6a5562b0 Filesystem access.
repo/codex-rs/app-server-test-client/src/plugin_analytics_smoke.rs:381
    let contents = match fs::read_to_string(path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e25cad8059a080d6 Filesystem access.
repo/codex-rs/app-server-test-client/src/plugin_analytics_smoke.rs:490
        fs::write(&path, "")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/app-server-transport

rust first-party
expand_more 2 low-confidence finding(s)
low env_fs production #9e761367d1da1b1b Filesystem access.
repo/codex-rs/app-server-transport/src/transport/auth.rs:402
    let raw = std::fs::read_to_string(path).map_err(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a440e6b2fb0bfe9e Environment-variable access.
repo/codex-rs/app-server-transport/src/transport/remote_control/mod.rs:92
        std::env::var_os(REMOTE_CONTROL_DISABLED_ENV_VAR).is_some_and(|value| value == "1");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/apply-patch

rust first-party
expand_more 35 low-confidence finding(s)
low env_fs production #dcc1f466b4ec45fb Filesystem access.
repo/codex-rs/apply-patch/src/invocation.rs:736
        fs::write(&path, "foo\nbar\nbaz\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #328c8760c073b651 Filesystem access.
repo/codex-rs/apply-patch/src/invocation.rs:778
        fs::write(&path, "foo\nbar\nbaz\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf1ab7edf93887d0 Filesystem access.
repo/codex-rs/apply-patch/src/invocation.rs:820
        fs::write(&session_file_path, "session directory content\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8581be1869235b3c Filesystem access.
repo/codex-rs/apply-patch/src/invocation.rs:876
        fs::write(&source_path, "before\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #04b45ba3da7c2033 Filesystem access.
repo/codex-rs/apply-patch/src/invocation.rs:927
        fs::write(session_dir.path().join("binary.dat"), [0xff, 0xfe, 0xfd]).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd1f895645fc18d5 Filesystem access.
repo/codex-rs/apply-patch/src/invocation.rs:933
        fs::write(session_dir.path().join("source.txt"), "before\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #478652907bde58f0 Filesystem access.
repo/codex-rs/apply-patch/src/invocation.rs:958
        fs::write(session_dir.path().join("target.txt"), "target\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #70d9d2128c3ee87a Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:933
        let contents = fs::read_to_string(path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e49d3f3b3387fa7 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:947
        fs::write(&relative_delete, "delete relative\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1807f87ae8fa8e45 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:948
        fs::write(&absolute_delete, "delete absolute\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #62ad16eddb86b8c0 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:949
        fs::write(&relative_update, "relative old\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0ed2d3a3b9a156bb Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:950
        fs::write(&absolute_update, "absolute old\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4cf99883bdd5a242 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1013
        fs::write(&path, "x").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b3c7360b37e435c Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1042
        fs::write(&path, "foo\nbar\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #456ff3170cb28a85 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1072
        let contents = fs::read_to_string(&path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #081bbb8d3d206a62 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1081
        fs::write(&src, "line\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f1790d421e4f03c9 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1113
        let contents = fs::read_to_string(&dest).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #445c6291d048bbe6 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1129
        fs::write(&src, "line\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8fad2344d4a7b62b Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1179
        fs::write(&path, "foo\nbar\nbaz\nqux\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #71b62a39a61281d1 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1215
        let contents = fs::read_to_string(&path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5dd7469d37b82af4 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1229
        fs::write(&path, "a\nb\nc\nd\ne\nf\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e5a15d590e4b887a Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1276
        let contents = fs::read_to_string(&path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #108ea6126cb9a5b5 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1284
        fs::write(&path, "line1\nline2\nline3\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #406a196b23d5ae41 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1309
        let contents = fs::read_to_string(path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ae9dab81aebf668 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1329
        std::fs::write(&path, original).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3b587f7b846ccb1 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1355
        let contents = std::fs::read_to_string(&path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #63d1d33cec5eb2e7 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1375
        fs::write(&path, "foo\nbar\nbaz\nqux\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b66be015a801b2f Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1424
        fs::write(&path, "foo\nbar\nbaz\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6603d2c294a43b2d Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1469
        fs::write(&path, "foo\nbar\nbaz\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3410fc8e9fa935ba Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1515
        fs::write(&path, "foo\nbar\nbaz\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #733785dbeccac8d0 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1554
        fs::write(&path, "a\nb\nc\nd\ne\nf\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #de3fb741422c3d52 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1621
        let contents = fs::read_to_string(path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c675826d5788485 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1669
        fs::write(dir.path().join("source.txt"), "before\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #475f32c4d44f2445 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1676
            fs::write(&path, [0xff, 0xfe, 0xfd]).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1257e0a495b06ac2 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1700
        fs::write(dir.path().join("target.txt"), "target\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/arg0

rust first-party
expand_more 3 low-confidence finding(s)
low env_fs production #8ac505bbc9c0cacb Environment-variable access.
repo/codex-rs/arg0/src/lib.rs:152
        std::env::var_os("PATH"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5505886816ee980c Filesystem access.
repo/codex-rs/arg0/src/lib.rs:396
            std::fs::write(
                &batch_script,
                format!(
                    r#"@echo off
"{exe}" {CODEX_CORE_APPLY_PATCH_ARG1} %*
"#,
                ),
            )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #95d5bcf7bb03221e Filesystem access.
repo/codex-rs/arg0/src/lib.rs:669
        fs::write(&alias_path, b"")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/bwrap

rust first-party
expand_more 7 low-confidence finding(s)
low env_fs production #77d152b44eb3c743 Environment-variable access.
repo/codex-rs/bwrap/build.rs:13
    let manifest_dir = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap_or_default());

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #88aed812ec4b2fc6 Environment-variable access.
repo/codex-rs/bwrap/build.rs:22
    let target_os = env::var("CARGO_CFG_TARGET_OS").unwrap_or_default();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7198fd5602b294a Environment-variable access.
repo/codex-rs/bwrap/build.rs:23
    if target_os != "linux" || env::var_os("CODEX_SKIP_BWRAP_BUILD").is_some() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b7c12ff093bbd434 Environment-variable access.
repo/codex-rs/bwrap/build.rs:34
        PathBuf::from(env::var("CARGO_MANIFEST_DIR").map_err(|err| err.to_string())?);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4fc1a4b2c2b0c5eb Environment-variable access.
repo/codex-rs/bwrap/build.rs:35
    let out_dir = PathBuf::from(env::var("OUT_DIR").map_err(|err| err.to_string())?);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4538663bd892f1d0 Filesystem access.
repo/codex-rs/bwrap/build.rs:43
    std::fs::write(
        &config_h,
        r#"#pragma once
#define PACKAGE_STRING "bubblewrap built for Codex"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f682d62d9a26d4b Environment-variable access.
repo/codex-rs/bwrap/build.rs:85
    if let Ok(path) = env::var("CODEX_BWRAP_SOURCE_DIR") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/cli

rust first-party
expand_more 41 low-confidence finding(s)
low env_fs production #4fea6010653f634d Environment-variable access.
repo/codex-rs/cli/build.rs:2
    if std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("macos") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ded4943109db09f Filesystem access.
repo/codex-rs/cli/src/debug_sandbox.rs:719
        std::fs::write(config_path, config)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80f9689909bf1f22 Environment-variable access.
repo/codex-rs/cli/src/desktop_app/mac.rs:74
    if let Some(home) = std::env::var_os("HOME") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #619f78a7616ed0b3 Environment-variable access.
repo/codex-rs/cli/src/desktop_app/mac.rs:285
    let home = std::env::var_os("HOME").context("HOME is not set")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3c06e45d6c7944a Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:885
    env::var_os("CODEX_MANAGED_BY_NPM").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45e0a0a228e2d901 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:890
    if env::var_os("CODEX_MANAGED_BY_NPM").is_none()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #05c5b3374f39a61f Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:891
        && env::var_os("CODEX_MANAGED_BY_BUN").is_none()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b649ac581424404 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:892
        && env::var_os("CODEX_MANAGED_BY_PNPM").is_none()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f510ef424da3e706 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:994
    let Some(running_package_root) = env::var_os("CODEX_MANAGED_PACKAGE_ROOT").map(PathBuf::from)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #04ff45ed0a76b0a9 Filesystem access.
repo/codex-rs/cli/src/doctor.rs:1163
    match std::fs::read_to_string(&config_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4c67a2d16fe220f9 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:1446
        if let Some(raw) = env::var_os(name) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4432a1698c5c6f92 Filesystem access.
repo/codex-rs/cli/src/doctor.rs:1492
    let mut file = std::fs::File::open(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f58971bc12a808c3 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:1937
        if let Some(raw) = env::var_os(name) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #072acf183ed60269 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:2954
        .or_else(|| env::var_os("PATH"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6267a2b6793ff52f Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:2966
            let pathext = env::var("PATHEXT").unwrap_or_else(|_| ".COM;.EXE;.BAT;.CMD".to_string());

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd57e3c4133bb45a Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:3047
    match env::var_os(name) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dce5c15e4f77529e Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:3054
    env::var_os(name).is_some_and(|value| !value.is_empty())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #013f450622370d34 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:3058
    let term = env::var("TERM").ok();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a432e0f73fe9da8d Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:3061
        env::var_os("NO_COLOR").is_some(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #25eb2a15f72683ab Filesystem access.
repo/codex-rs/cli/src/doctor.rs:3824
        std::fs::write(
            nested.join("rollout-2026-05-13T00-00-00-test.jsonl"),
            "12345",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e0981baf9bba1652 Filesystem access.
repo/codex-rs/cli/src/doctor.rs:3829
        std::fs::write(nested.join("not-a-rollout.jsonl"), "ignored").expect("write ignored jsonl");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4cbf7c6e958f1a3 Filesystem access.
repo/codex-rs/cli/src/doctor.rs:3988
        std::fs::write(file.path(), "cert").expect("write temp file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6c45b541addbbe6 Filesystem access.
repo/codex-rs/cli/src/doctor.rs:4011
        std::fs::write(file.path(), "#!/bin/sh\n").expect("write temp file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b5ce929b4461450e Filesystem access.
repo/codex-rs/cli/src/doctor/background.rs:200
        std::fs::write(socket_path, "").expect("create socket placeholder");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #202ea924a15cf901 Filesystem access.
repo/codex-rs/cli/src/doctor/git.rs:228
        Ok(metadata) if metadata.is_file() => std::fs::read_to_string(&entry)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #33b33efa44ac54ef Environment-variable access.
repo/codex-rs/cli/src/doctor/output/detail.rs:696
    let Some(home) = env::var_os("HOME").and_then(|home| home.into_string().ok()) else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80602de9c041333b Environment-variable access.
repo/codex-rs/cli/src/doctor/progress.rs:28
        std::env::var("TERM").ok().as_deref(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #48d8d20bbd0585aa Environment-variable access.
repo/codex-rs/cli/src/doctor/system.rs:27
                env::var(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #26a69c266ab8bd6f Environment-variable access.
repo/codex-rs/cli/src/doctor/system.rs:35
                let value = env::var_os(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55f500b566ae91ef Environment-variable access.
repo/codex-rs/cli/src/doctor/system.rs:44
                env::var_os(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #86700616ae29780c Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:839
            std::fs::write(&path, format!("{contents}\n")).expect("rollout file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3dd2145291718017 Filesystem access.
repo/codex-rs/cli/src/doctor/updates.rs:112
    match std::fs::read_to_string(version_file) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #8a31bbc250893bf5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cli/src/login.rs:133
        tracing::warn!("failed to clear existing auth before login: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #49745e3cb8e77d52 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cli/src/login.rs:170
    tracing::info!("starting browser login flow");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5f5c6a6178e2b253 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cli/src/login.rs:204
    tracing::info!("starting api key login flow");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #bb934b511fed8046 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cli/src/login.rs:234
    tracing::info!("starting access token login flow");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2203b90fe0ebd311 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cli/src/login.rs:313
    tracing::info!("starting device code login flow");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e98deed1e2a0979d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cli/src/login.rs:361
    tracing::info!("starting login flow with device code fallback");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #5912572ef92817fa Environment-variable access.
repo/codex-rs/cli/src/main.rs:2233
    read_remote_auth_token_from_env_var_with(env_var_name, |name| std::env::var(name))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dc0db65a006e611a Environment-variable access.
repo/codex-rs/cli/src/sandbox_setup.rs:112
        let real_user = std::env::var("USERNAME")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #820f73d356a40f06 Environment-variable access.
repo/codex-rs/cli/src/sandbox_setup.rs:113
            .or_else(|_| std::env::var("USER"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/cloud-config

rust first-party
expand_more 26 low-confidence finding(s)
low telemetry production #5207ce30427b8ae5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/backend.rs:61
                tracing::warn!(
                    error = %err,
                    "Failed to construct backend client for cloud config bundle"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #525f20305a4fcd46 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/backend.rs:72
                tracing::warn!(error = %err, "Failed to fetch cloud config bundle");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5abd7e70e974fd0c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/bundle_loader.rs:38
        tracing::warn!("cloud config bundle refresher task slot was poisoned");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e6ff5e77bade9187 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/bundle_loader.rs:46
            tracing::error!(error = %err, "Cloud config bundle task failed");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #776a411df286685b Filesystem access.
repo/codex-rs/cloud-config/src/cache.rs:58
        let bytes = match fs::read(&self.path).await {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #088d1644452b6e4f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/cache.rs:122
            tracing::warn!(path = %self.path.display(), "{status}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #dee310b63713510d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/cache.rs:124
            tracing::info!(path = %self.path.display(), "{status}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #ba258e910d0af02d Filesystem access.
repo/codex-rs/cloud-config/src/cache.rs:163
        fs::write(&self.path, serialized)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd80a739c9f98b34 Filesystem access.
repo/codex-rs/cloud-config/src/cache_tests.rs:53
    std::fs::write(
        cache.path(),
        serde_json::to_vec_pretty(cache_file).expect("serialize cache"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6c547a6fc35c7301 Filesystem access.
repo/codex-rs/cloud-config/src/cache_tests.rs:80
        serde_json::from_slice(&std::fs::read(cache.path()).expect("read cache"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6d5bd3a157865943 Filesystem access.
repo/codex-rs/cloud-config/src/cache_tests.rs:132
    std::fs::write(cache.path(), "{").expect("write malformed cache");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #0622cde089a27b26 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:127
                tracing::error!("{message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e2547fe0170ecf0c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:151
                tracing::info!(
                    elapsed_ms = started_at.elapsed().as_millis(),
                    config_fragments = bundle.config_toml.enterprise_managed.len(),
                    requirements_fragments = bundle.requirements_toml.enterprise_managed.len(),
                    "Cloud config bundle load completed"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4f245533d03365d8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:160
                tracing::info!(
                    elapsed_ms = started_at.elapsed().as_millis(),
                    "Cloud config bundle load completed (none)"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fbe260de9a5b7a6d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:204
                    tracing::warn!(
                        path = %self.cache.path().display(),
                        error = %err,
                        "Ignoring invalid cached cloud config bundle"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f0eb1ceef863e24e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:213
                    tracing::info!(
                        path = %self.cache.path().display(),
                        "Using cached cloud config bundle"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1a9003a779e261f8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:289
        tracing::error!(
            path = %self.cache.path().display(),
            "{CLOUD_CONFIG_BUNDLE_LOAD_FAILED_MESSAGE}"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #8272a72b002f9cda Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:326
            tracing::warn!(
                error = %err,
                "Failed to write cloud config bundle cache"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #121e7aecfb247a42 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:352
            tracing::warn!(
                status = ?status,
                attempt,
                max_attempts = CLOUD_CONFIG_BUNDLE_MAX_ATTEMPTS,
                "Failed to fetch cloud config bundle; retrying"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5c6d10bc6ffa60f0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:376
            tracing::warn!(
                attempt,
                max_attempts = CLOUD_CONFIG_BUNDLE_MAX_ATTEMPTS,
                "Cloud config bundle request was unauthorized; attempting auth recovery"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f8030d266861aaed Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:405
                    tracing::warn!(
                        error = %failed,
                        "Failed to recover from unauthorized cloud config bundle request"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6919dc31b481a259 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:425
                        tracing::warn!(
                            error = %recovery_err,
                            attempt,
                            max_attempts = CLOUD_CONFIG_BUNDLE_MAX_ATTEMPTS,
                            "Failed to recover from unauthorized cloud config bundle request; retrying"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4489038228d1e7e2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:438
        tracing::warn!(
            error = %message,
            "Cloud config bundle request was unauthorized and no auth recovery is available"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2f48262251d7e116 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:464
                    tracing::error!(
                        "Timed out refreshing cloud config bundle cache from remote; keeping existing cache"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #bb9393436d254d57 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/service.rs:487
                tracing::error!(
                    path = %self.cache.path().display(),
                    error = %err,
                    "Failed to refresh cloud config bundle cache from remote"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #45622543436adda1 Filesystem access.
repo/codex-rs/cloud-config/src/service_tests.rs:35
    std::fs::write(codex_home.join("auth.json"), serde_json::to_string(&value)?)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/cloud-tasks

rust first-party
expand_more 4 low-confidence finding(s)
low env_fs production #8f83baa936cb0e54 Environment-variable access.
repo/codex-rs/cloud-tasks/src/lib.rs:49
    let base_url = std::env::var("CODEX_CLOUD_TASKS_BASE_URL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #107357e6fbe63a8e Environment-variable access.
repo/codex-rs/cloud-tasks/src/lib.rs:845
                &std::env::var("CODEX_CLOUD_TASKS_BASE_URL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aa6baf8354fb5c65 Environment-variable access.
repo/codex-rs/cloud-tasks/src/lib.rs:860
                &std::env::var("CODEX_CLOUD_TASKS_BASE_URL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3d434d6802e6e3b Environment-variable access.
repo/codex-rs/cloud-tasks/src/ui.rs:64
        std::env::var("CODEX_TUI_ROUNDED")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/cloud-tasks-client

rust first-party
expand_more 1 low-confidence finding(s)
low env_fs production #e1d10051c475947d Environment-variable access.
repo/codex-rs/cloud-tasks-client/src/http.rs:344
            if let Ok(diff) = std::env::var("CODEX_STARTING_DIFF")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/code-mode

rust first-party
expand_more 1 low-confidence finding(s)
low env_fs production #d1cfd8d983553af4 Environment-variable access.
repo/codex-rs/code-mode/src/remote_session.rs:499
        std::env::var_os(CODE_MODE_HOST_PATH_ENV),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/codex-api

rust first-party
expand_more 1 low-confidence finding(s)
low telemetry production #9cf1876b5ca4207e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-api/src/files.rs:344
            tracing::warn!(%error, "failed to build OpenAI file upload client");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/codex-home

rust first-party
expand_more 8 low-confidence finding(s)
low env_fs production #f8072af1225337eb Filesystem access.
repo/codex-rs/codex-home/src/instructions/tests.rs:68
    fs::write(home.path().join(DEFAULT_AGENTS_MD_FILENAME), "default").expect("write default");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2485195d7460c86f Filesystem access.
repo/codex-rs/codex-home/src/instructions/tests.rs:69
    fs::write(home.path().join(LOCAL_AGENTS_MD_FILENAME), "override").expect("write override");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65b563e9ba7c198f Filesystem access.
repo/codex-rs/codex-home/src/instructions/tests.rs:80
    fs::write(home.path().join(LOCAL_AGENTS_MD_FILENAME), " \n\t").expect("write override");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d25d9f87f43282ea Filesystem access.
repo/codex-rs/codex-home/src/instructions/tests.rs:81
    fs::write(
        home.path().join(DEFAULT_AGENTS_MD_FILENAME),
        "\n  default instructions  \n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #03c1a2841b46c2e1 Filesystem access.
repo/codex-rs/codex-home/src/instructions/tests.rs:102
    fs::write(home.path().join(DEFAULT_AGENTS_MD_FILENAME), "default").expect("write default");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8e5f702aeac04fbe Filesystem access.
repo/codex-rs/codex-home/src/instructions/tests.rs:115
    fs::write(home.path().join(DEFAULT_AGENTS_MD_FILENAME), "default").expect("write default");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3004104e84cded63 Filesystem access.
repo/codex-rs/codex-home/src/instructions/tests.rs:116
    let read_error = fs::read(&override_path).expect_err("symlink loop should not be readable");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #372c25241849686f Filesystem access.
repo/codex-rs/codex-home/src/instructions/tests.rs:135
    fs::write(&path, &invalid_utf8).expect("write invalid utf-8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/codex-mcp

rust first-party
expand_more 9 low-confidence finding(s)
low env_fs production #2ba2a37eada3832e Environment-variable access.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:457
    match env::var(CODEX_CONNECTORS_TOKEN_ENV_VAR) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #74a7a20fb61ad4df Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:564
                tracing::warn!("Failed to convert MCP tool '{name}': {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #355c43399cc57029 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:569
            tracing::warn!("Failed to serialize MCP tool '{name}': {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #400492c44d0e43f7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:606
                            tracing::warn!(
                                "Failed to convert MCP resource (uri={uri:?}, name={resource_name:?}): {err}"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e3bb099dfa5628bf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:613
                        tracing::warn!("Failed to serialize MCP resource: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c92b8af486424f92 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:646
                            tracing::warn!(
                                "Failed to convert MCP resource template (uri_template={uri_template:?}, name={template_name:?}): {err}"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #054ab48e0c42e149 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:653
                        tracing::warn!("Failed to serialize MCP resource template: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #8e2612f25a8f256d Environment-variable access.
repo/codex-rs/codex-mcp/src/rmcp_client.rs:835
    match env::var(env_var) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c34ebecc4b4e048f Environment-variable access.
repo/codex-rs/codex-mcp/src/tool_catalog_cache.rs:275
            std::env::var_os(env_var.name()).hash(&mut value_hasher);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/config

rust first-party
expand_more 40 low-confidence finding(s)
low telemetry production #28a7542a8f13473e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/config_toml.rs:814
            tracing::warn!(
                error = %err,
                "default sandbox policy is disallowed by requirements; falling back to required default"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4822670f41e82252 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/diagnostics.rs:231
                tracing::debug!("Failed to read config file {}: {err}", path.display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #bccf74ea410ec021 Filesystem access.
repo/codex-rs/config/src/diagnostics.rs:312
    match std::fs::read_to_string(&error.path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #4d7a40a554c0176c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/layer_io.rs:120
                tracing::error!("Failed to parse {}: {err}", path.as_path().display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #367272b2c37aa363 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/layer_io.rs:131
                tracing::info!("{} not found, using defaults", path.as_path().display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #48f7f1630c83af93 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/layer_io.rs:133
                tracing::debug!("{} not found", path.as_path().display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #12db32bbc06f6a2c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/layer_io.rs:138
            tracing::error!("Failed to read {}: {err}", path.as_path().display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #13b1fdf7d2c88f46 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/macos.rs:56
                tracing::error!("Managed config load task was cancelled");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #07dcc08090576c42 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/macos.rs:58
                tracing::error!("Managed config load task failed: {join_err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b59d3d2ee5991b80 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/macos.rs:99
                tracing::error!("Managed requirements load task was cancelled");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9bbebdffc4bf7213 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/macos.rs:101
                tracing::error!("Managed requirements load task failed: {join_err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1b6ba9cebb1a6651 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/macos.rs:130
        tracing::debug!(
            "Managed preferences for {MANAGED_PREFERENCES_APPLICATION_ID} key {key_name} not found",
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b73a9190251d7c16 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/macos.rs:149
        tracing::error!("Failed to parse managed config TOML: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a7de32fe990bb50d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/macos.rs:175
            tracing::error!("Managed config TOML must have a table at the root, found {other:?}",);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d3fa81f53f016d38 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/macos.rs:216
        tracing::error!("Failed to decode managed value as base64: {err}",);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b7626e923b7fdf55 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/macos.rs:220
        tracing::error!("Managed value base64 contents were not valid UTF-8: {err}",);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e4a87bd2b1e15edc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/mod.rs:655
        tracing::warn!(
            error = %err,
            "Failed to resolve ProgramData known folder; using default path"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #98c410722ccf674c Filesystem access.
repo/codex-rs/config/src/loader/tests.rs:112
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        r#"
model = "gpt-main"

[profiles.work]
model = "gpt-work"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #71adf13c67990b21 Filesystem access.
repo/codex-rs/config/src/loader/tests.rs:122
    std::fs::write(&selected_config, r#"model = "gpt-work-v2""#)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #73879148c8e38bec Filesystem access.
repo/codex-rs/config/src/loader/tests.rs:172
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        r#"
profile = "work"
model = "gpt-main"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43970fd1b5836b68 Filesystem access.
repo/codex-rs/config/src/loader/tests.rs:180
    std::fs::write(&selected_config, r#"model = "gpt-work-v2""#)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3679691948e0dff Filesystem access.
repo/codex-rs/config/src/loader/tests.rs:226
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        r#"
model = "gpt-main"

[profiles.dev]
model = "gpt-dev"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #20b9bc06cb6c3058 Filesystem access.
repo/codex-rs/config/src/loader/tests.rs:236
    std::fs::write(&selected_config, r#"model = "gpt-work-v2""#)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e6de9eaae89ae02d Filesystem access.
repo/codex-rs/config/src/marketplace_edit.rs:38
    fs::write(config_path, doc.to_string())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #043cd0c8e2d07b33 Filesystem access.
repo/codex-rs/config/src/marketplace_edit.rs:51
    let mut doc = match fs::read_to_string(&config_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e06af6f5730f8e40 Filesystem access.
repo/codex-rs/config/src/marketplace_edit.rs:67
    fs::write(config_path, doc.to_string())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #02b8186a047d551f Filesystem access.
repo/codex-rs/config/src/marketplace_edit.rs:72
    match fs::read_to_string(config_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e05c73d56f643e7a Filesystem access.
repo/codex-rs/config/src/marketplace_edit.rs:207
            toml::from_str(&fs::read_to_string(codex_home.path().join(CONFIG_TOML_FILE)).unwrap())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0358b67c2e8bb255 Filesystem access.
repo/codex-rs/config/src/marketplace_edit.rs:252
        fs::write(
            codex_home.path().join(CONFIG_TOML_FILE),
            r#"
marketplaces = {
  debug = { source_type = "git", source = "https://github.com/owner/repo.git" },
  other = { source_type = "local", source = "/tmp/marketplace" },
}
"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a9aec36292f6c4a8 Filesystem access.
repo/codex-rs/config/src/marketplace_edit.rs:267
            toml::from_str(&fs::read_to_string(codex_home.path().join(CONFIG_TOML_FILE)).unwrap())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6709ad351edb94bf Filesystem access.
repo/codex-rs/config/src/mcp_edit.rs:96
        fs::write(config_path, doc.to_string())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f0a2346d1a94eca4 Filesystem access.
repo/codex-rs/config/src/mcp_edit.rs:101
    match fs::read_to_string(config_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8a40663f8e370e3d Filesystem access.
repo/codex-rs/config/src/mcp_edit_tests.rs:63
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad37ce8ea47d1a8c Filesystem access.
repo/codex-rs/config/src/mcp_edit_tests.rs:131
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46991bd8c27932cd Filesystem access.
repo/codex-rs/config/src/plugin_edit.rs:81
    match fs::read_to_string(config_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e11b0415260f1444 Filesystem access.
repo/codex-rs/config/src/plugin_edit.rs:212
        fs::write(
            codex_home.path().join(CONFIG_TOML_FILE),
            r#"
[plugins."demo@market"]
enabled = false
source = "/tmp/plugin"
"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0b45bd8faa5db36b Filesystem access.
repo/codex-rs/config/src/plugin_edit.rs:245
        fs::write(
            codex_home.path().join(CONFIG_TOML_FILE),
            r#"
[plugins."demo@market"]
enabled = true
"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6edff93f7c33f7b8 Filesystem access.
repo/codex-rs/config/src/plugin_edit.rs:293
            toml::from_str::<toml::Value>(&fs::read_to_string(target_path).unwrap()).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fac328838569572a Filesystem access.
repo/codex-rs/config/src/plugin_edit.rs:305
        toml::from_str(&fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).unwrap()).unwrap()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #20d54cd57371facf Filesystem access.
repo/codex-rs/config/src/schema.rs:184
    std::fs::write(out_path, json)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/connectors

rust first-party
expand_more 12 low-confidence finding(s)
low telemetry production #9c10ebaa89c8131c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/connectors/src/connector_runtime/persistence.rs:120
        tracing::warn!("failed to write connector runtime cache: {err:#}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b12e89dab0259fba Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/connectors/src/connector_runtime/persistence.rs:124
        tracing::warn!("failed to write Codex Apps server info cache: {err:#}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #b51bf4b6e13ccba8 Filesystem access.
repo/codex-rs/connectors/src/connector_runtime/persistence.rs:139
    let mut file = File::open(cache_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d2e91452bb35220 Filesystem access.
repo/codex-rs/connectors/src/connector_runtime/tests.rs:189
    std::fs::write(cache_path, bytes).expect("write");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c49ea2854fcb4ab7 Filesystem access.
repo/codex-rs/connectors/src/connector_runtime/tests.rs:206
    std::fs::write(cache_path, b"{not json").expect("write");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8fe722103c0c308 Filesystem access.
repo/codex-rs/connectors/src/connector_runtime/tests.rs:259
    std::fs::write(cache_path, bytes).expect("write");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c9a068b66914e958 Filesystem access.
repo/codex-rs/connectors/src/connector_runtime/tests.rs:303
    std::fs::write(cache_path, bytes).expect("write legacy tools cache");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a5534993076018b8 Filesystem access.
repo/codex-rs/connectors/src/connector_runtime/tests.rs:396
    std::fs::write(&codex_home_file, b"occupied").expect("create codex home file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e658dc2c0bc5f18 Filesystem access.
repo/codex-rs/connectors/src/connector_runtime/tests.rs:582
    let file = std::fs::File::create(cache_path).expect("create oversized cache");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3166baab098ebf41 Filesystem access.
repo/codex-rs/connectors/src/directory_cache.rs:49
    let bytes = match std::fs::read(&cache_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f05f8587f9eeeb2 Filesystem access.
repo/codex-rs/connectors/src/directory_cache.rs:99
    let _ = std::fs::write(cache_path, bytes);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e4f331ab4ff22c5 Filesystem access.
repo/codex-rs/connectors/src/lib.rs:914
        std::fs::write(
            &cache_path,
            serde_json::to_vec_pretty(&serde_json::json!({
                "schema_version": 0,
                "connectors": [],
            }))?,
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/core

rust first-party
expand_more 471 low-confidence finding(s)
low telemetry production #7d171d28ef2824e0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/agent/control/spawn.rs:492
                    tracing::warn!(
                        error = %error,
                        parent_thread_id = %parent_thread_id,
                        "skipping subagent thread analytics: failed to load parent thread metadata"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #cd4bb44698cb1721 Filesystem access.
repo/codex-rs/core/src/agent/control_tests.rs:1003
    let lines = std::fs::read_to_string(&rollout_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #112f64426ce4da05 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/agent/role.rs:51
            tracing::warn!("failed to apply role to config: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #601ca83206d96c1c Filesystem access.
repo/codex-rs/core/src/agent/role.rs:268
                        .or_else(|| std::fs::read_to_string(config_file).ok())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9c39577ddeacee02 Filesystem access.
repo/codex-rs/core/src/agent/role_tests.rs:391
    fs::write(
        &skill_path,
        "---\nname: demo-skill\ndescription: demo description\n---\n\n# Body\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f100733030954a8f Filesystem access.
repo/codex-rs/core/src/agent/role_tests.rs:494
    fs::write(
            &role_path,
            "developer_instructions = \"Research carefully\"\nmodel = \"gpt-5\"\nmodel_reasoning_effort = \"high\"\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a2c137ffe20d799 Filesystem access.
repo/codex-rs/core/src/agent/role_tests.rs:519
    fs::write(
        &role_path,
        "developer_instructions = \"Review carefully\"\nmodel_reasoning_effort = \"medium\"\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c26b851f199f9147 Filesystem access.
repo/codex-rs/core/src/agent/role_tests.rs:544
    fs::write(
        &role_path,
        "developer_instructions = \"Stay fast\"\nservice_tier = \"priority\"\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #c64dee1a96b7a9fc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/agent_communication.rs:50
    tracing::info!(
        target: AGENT_COMMUNICATION_TARGET,
        {
            event.name = "codex.agent_communication",
            communication_id,
            kind = context.kind.as_str(),
            state = "send",
            sender_thread_id = %context.sender_thread_id,
            receiver_thread_id = %receiver_thread_id,
            content = if communication.content.is_empty() {
                communication.encrypted_content.as_deref().unwrap_or_default()
            } else {
                communication.content.as_str()
            },
        },
        "agent communication"
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f669051ef2efb8c9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/agent_communication.rs:70
    tracing::info!(
        target: AGENT_COMMUNICATION_TARGET,
        {
            event.name = "codex.agent_communication",
            communication_id,
            state = "receive",
        },
        "agent communication"
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9909d33a2b7313fc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/agents_md.rs:125
            tracing::warn!(
                path = %p,
                remaining_bytes = remaining,
                "project doc exceeds remaining budget; truncating"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #eb05f1150db42d12 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/agents_md.rs:176
            tracing::warn!("invalid project_root_markers: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #00e1331c1d958139 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:581
    fs::write(tmp.path().join("AGENTS.md"), "hello world").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d3441c181becce3 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:598
    fs::write(&path, b"project\xFF doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #daabbcb5a24fb9bd Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:613
    fs::write(tmp.path().join("AGENTS.md"), &huge).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bdc71ac097101031 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:626
    fs::write(repo.path().join(".git"), "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e48cea70a45a68fc Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:627
    fs::write(repo.path().join("AGENTS.md"), "root").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d206bc6260cf3b7e Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:630
    fs::write(nested.join("AGENTS.md"), "abcdef").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #436b88aca80cc83a Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:679
    fs::write(tmp.path().join("AGENTS.md"), "project doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8fa5524bc9bc4885 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:698
    fs::write(tmp.path().join("AGENTS.md"), "project doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a8ac5cd150fdcb1 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:717
    fs::write(tmp.path().join(".git"), "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #99da9cfb70c13460 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:718
    fs::write(tmp.path().join("AGENTS.md"), "project doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #af1c4c783a522e7e Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:758
    fs::write(tmp.path().join("AGENTS.md"), "project doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #22864a8094ef58d1 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:761
    fs::write(nested.join("AGENTS.md"), "nested project doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dc8f70906dc39e54 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:766
    fs::write(
        tmp.path()
            .join(markers.last().expect("last project root marker")),
        "",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45506c54ca513de8 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:863
    fs::write(tmp.path().join(".git"), "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #310409dcd5b56e65 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:864
    fs::write(tmp.path().join("AGENTS.md"), "project doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6c0f93b62e7ca03a Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:945
    fs::write(tmp.path().join("AGENTS.md"), "parent doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b9e890c6b5043941 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:948
    fs::write(nested.join("AGENTS.md"), "cwd doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #25533b322a6bf358 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:990
    std::fs::write(
        repo.path().join(".git"),
        "gitdir: /path/to/actual/git/dir\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ede38ccd6edb6c6 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:997
    fs::write(repo.path().join("AGENTS.md"), "root level doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #deec7988bee4f888 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1015
    fs::write(tmp.path().join("AGENTS.md"), "something").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da33d732f3c554e4 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1030
    fs::write(tmp.path().join("AGENTS.md"), "proj doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b904183a6a08115 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1048
    fs::write(primary.path().join("AGENTS.md"), "primary root doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #77fd933d26e1ec50 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1051
    fs::write(primary_nested.join("AGENTS.md"), "primary nested doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b3320c4dcbe0563 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1052
    fs::write(secondary.path().join("AGENTS.md"), "secondary doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #94ff210a6ac47abc Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1114
    fs::write(secondary.path().join("AGENTS.md"), "secondary doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #403724050665dda7 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1143
    fs::write(primary.path().join("AGENTS.md"), "primary doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c2ae3146f368a65 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1172
    fs::write(primary.path().join("AGENTS.md"), "ABCDE").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4f687096198cc03e Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1173
    fs::write(secondary.path().join("AGENTS.md"), "VWXYZ").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6946aa879d21ede3 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1204
    fs::write(primary.path().join("AGENTS.md"), &primary_doc).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d4bfe1c519e08e53 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1205
    fs::write(secondary.path().join("AGENTS.md"), &secondary_doc).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd16faf6ea2f980f Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1236
    fs::write(primary.path().join("AGENTS.md"), "primary doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #055e3dd868c65895 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1237
    fs::write(secondary.path().join("AGENTS.md"), b"secondary\xFFdoc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #82f5c68a4007057f Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1276
    std::fs::write(
        repo.path().join(".git"),
        "gitdir: /path/to/actual/git/dir\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81b6bb07214bca93 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1283
    fs::write(repo.path().join("AGENTS.md"), "root doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #180cde6569e449c1 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1288
    fs::write(nested.join("AGENTS.md"), "crate doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3756a969ffda6cc Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1324
    fs::write(root.path().join(".codex-root"), "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #363ea8a072c12f38 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1325
    fs::write(root.path().join("AGENTS.md"), "parent doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b91d7b787071e0f Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1329
    fs::write(nested.join("AGENTS.md"), "child doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #143d418df58a0122 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1354
    fs::write(root.path().join(".git"), "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #33c3bbc4858d1a9d Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1355
    fs::write(root.path().join("AGENTS.md"), "root doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f0e93c268d4cc760 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1358
    fs::write(nested.join("AGENTS.md"), "nested doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f3e9eb872d9adf7f Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1401
    fs::write(target.join("AGENTS.md"), "project doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0878ef24e6104f7c Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1422
    fs::write(tmp.path().join("AGENTS.md"), "project doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c5bbcf26f6ef1a5 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1427
    fs::write(&global_agents, "global doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #569ac6695fab044a Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1460
    fs::write(tmp.path().join(DEFAULT_AGENTS_MD_FILENAME), "versioned").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f4026a5774c36aa Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1461
    fs::write(tmp.path().join(LOCAL_AGENTS_MD_FILENAME), "local").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #492cce1d6bd97038 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1483
    fs::write(tmp.path().join("EXAMPLE.md"), "example instructions").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc5ef47f82b703bf Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1504
    fs::write(tmp.path().join("AGENTS.md"), "primary").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8227895636b6969e Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1505
    fs::write(tmp.path().join("EXAMPLE.md"), "secondary").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #02c12f9a2cad081f Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1570
    fs::write(tmp.path().join(DEFAULT_AGENTS_MD_FILENAME), "primary").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d24101780789ceb Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1590
    fs::write(tmp.path().join("AGENTS.md"), "base doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bf3b4843ac124bee Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1620
    fs::write(tmp.path().join("AGENTS.md"), "base doc").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b9592607ddac0ce2 Filesystem access.
repo/codex-rs/core/src/agents_md_tests.rs:1637
    fs::write(skill_dir.join("SKILL.md"), content).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #56c7789d0a2f4018 Filesystem access.
repo/codex-rs/core/src/client_tests.rs:314
    std::fs::write(
        codex_home.join("auth.json"),
        serde_json::to_string_pretty(&auth_json).expect("serialize auth.json"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #250dceec61c3d5b7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/agent_roles.rs:120
    tracing::warn!("{message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #9d43d84ec905f0bb Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:163
    std::fs::write(&config_path, contents).expect("write config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3a817b1885ca8ee Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:186
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        r#"model = "from-user-config"
invalid = ["#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #92aeaf20a04d2507 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:247
    std::fs::write(&managed_path, contents).expect("write managed config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6dd82ef3b502b975 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:275
    std::fs::write(&config_path, contents).expect("write config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #73d5c868f7dad969 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:296
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        "allow_managed_hooks_only = true",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81efdab8d731c72e Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:334
    std::fs::write(tmp.path().join(CONFIG_TOML_FILE), contents).expect("write config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cbe888d08421acb8 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:366
    std::fs::write(&config_path, contents).expect("write config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aa58dfacc660a317 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:411
    std::fs::write(&instructions_path, "instructions").expect("write instructions");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cdf74c9173c8a6d4 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:461
    std::fs::write(&config_path, contents).expect("write config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0cfc18d4e3297d68 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:488
    std::fs::write(&config_path, contents).expect("write config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7db0556dadacb157 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:506
    std::fs::write(&config_path, contents).expect("write config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #18baf8a2f6294f4e Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:523
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        r#"foo = 1

[nested]
value = "base"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a13be2085858e27 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:532
    std::fs::write(
        &managed_path,
        r#"foo = 2

[nested]
value = "managed_config"
extra = true
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4bcdd20e2bb88801 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:639
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        r#"
model = "gpt-main"
approval_policy = "on-request"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b810750b3b5f6135 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:647
    std::fs::write(&selected_config, r#"model = "gpt-work""#).expect("write selected user config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6da5d24e4a5ec47f Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:769
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        r#"[nested]
value = "base"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3842686b36c36e9a Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:776
    std::fs::write(
        &managed_path,
        r#"[nested]
value = "managed_config"
flag = true
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5622402d68e02dc0 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:3780
        std::fs::write(
            policy_dir.join("deny.rules"),
            r#"prefix_rule(pattern=["rm"], decision="forbidden")"#,
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #9a5bc408a3b0a605 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/config_tests.rs:195
            tracing::warn!(
                error = %err,
                "derived permission profile cannot be represented as a legacy sandbox policy; falling back to read-only"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #ab7623edd8b4e4c3 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1363
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #526c42c6739e5684 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1413
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #41c9d6138cb3a1f1 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1567
        std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2fda6f2e684656cd Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1643
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
sandbox_mode = "workspace-write"

[sandbox_workspace_write]
network_access = true

[windows]
sandbox = "elevated"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fca6ef93b79854b6 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1757
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[features]
respect_system_proxy = false
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d9c6dd90f959bcb2 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1926
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80fb8291a3caa22e Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1976
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ce951852613cb01 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:2078
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #62c4b2f158071ac8 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:2477
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f416426ca62f54db Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:3275
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5929a74374ae316d Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:3342
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7aec0853900f82e6 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:3392
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4026ec092ba80e6f Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:3559
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf5dc32f55340266 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:3608
    std::fs::write(cwd.path().join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #413ac121ec0e11e7 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:4858
    std::fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"sample"}"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35909ceda909b3a5 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:4862
    std::fs::write(
        plugin_root.join(".mcp.json"),
        r#"{
  "mcpServers": {
    "sample": {
      "type": "http",
      "url": "https://sample.example/mcp"
    }
  }
}"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e6f7c9db05711f7b Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:4965
    std::fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"sample"}"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98d1a16088f77ad7 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:4969
    std::fs::write(
        plugin_root.join(".mcp.json"),
        r#"{
  "mcpServers": {
    "sample": {
      "type": "http",
      "url": "https://plugin.example/mcp"
    }
  }
}"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4532aaabb11f2d1a Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:4980
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[features]
plugins = true

[mcp_servers.sample]
url = "https://user.example/mcp"

[plugins."sample@test"]
enabled = true
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e9e252e46d80caa0 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5024
    std::fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"sample"}"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9ae08a6f542dd29b Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5028
    std::fs::write(
        plugin_root.join(".mcp.json"),
        r#"{
  "mcpServers": {
    "sample": {
      "type": "http",
      "url": "https://sample.example/mcp"
    },
    "unlisted": {
      "type": "http",
      "url": "https://unlisted.example/mcp"
    }
  }
}"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d18ce31a809c46a7 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5043
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[features]
plugins = true

[plugins."sample@test"]
enabled = true
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #44a89fb516d8908d Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5131
    std::fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"sample"}"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e037a12f4b3cae70 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5135
    std::fs::write(
        plugin_root.join(".mcp.json"),
        r#"{
  "mcpServers": {
    "sample": {
      "type": "http",
      "url": "https://sample.example/mcp"
    }
  }
}"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c6f946866fea871 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5146
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[features]
plugins = true

[plugins."sample@test"]
enabled = true
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9af8c0f35ad6efc8 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5646
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        format!(
            r#"
[projects."{workspace_key}"]
trust_level = "trusted"
"#,
        ),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #037d5d234c73c129 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5657
    std::fs::write(
        project_config_dir.join(CONFIG_TOML_FILE),
        r#"
profile = "project"

[profiles.project]
model = "gpt-project-local"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37b9155a218abbb7 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5789
    std::fs::write(&config_path, "mcp_oauth_credentials_store = \"file\"\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #57990764ac297891 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5790
    std::fs::write(&managed_path, "mcp_oauth_credentials_store = \"keyring\"\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #47804a4b9639ae90 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/config_tests.rs:5807
                tracing::error!("Failed to deserialize overridden config: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #a053e9b7c80da8c9 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5921
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        "model = \"base\"\n",
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #36cd081ace1484b5 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5925
    std::fs::write(&managed_path, "model = \"managed_config\"\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #09f9b84dc4b28c5d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/config_tests.rs:5943
                tracing::error!("Failed to deserialize overridden config: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #90f9aa9e8224d3b7 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5956
    std::fs::write(
        &config_path,
        r#"
[mcp_servers]
[mcp_servers.docs]
command = "echo"
startup_timeout_ms = 2500
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d985aaa38a64d17d Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6182
    std::fs::write(
        &config_path,
        r#"
[mcp_servers.docs]
url = "https://example.com/mcp"
bearer_token = "secret"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d41719d139f141c3 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6243
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd179828b96fc9af Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6320
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a007e90dd5df51b7 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6382
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db6a27aad00633f8 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6435
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f2bf270f3a7bd30 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6490
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0906e31da1119c5d Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6560
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65260e3f65065915 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6642
    let serialized_with_optional = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a5a3aeb6f2af973f Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6678
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #18885fc9ea695384 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6778
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #620f82f392904b34 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6867
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ffffe1c3a8291d3c Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6918
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a0ec1113735feb93 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6969
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f36a1672ed98e49a Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:7026
    let serialized = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #51925dc3891896e1 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:7190
    std::fs::write(&prompt_path, "  summarize differently  ")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a7bdcf53002e0148 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:7967
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        format!(
            r#"[projects."{workspace_key}"]
trust_level = "trusted"
"#
        ),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9c5886613f415286 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:7986
    std::fs::write(
        &root_agent,
        r#"
name = "researcher"
description = "from root"
developer_instructions = "Research carefully"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd74cd790823c4eb Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8007
    std::fs::write(
        &nested_agent,
        r#"
name = "reviewer"
description = "from nested"
nickname_candidates = ["Atlas"]
developer_instructions = "Review carefully"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #52c971ba5307af93 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8028
    std::fs::write(
        &sibling_agent,
        r#"
name = "writer"
description = "from sibling"
nickname_candidates = ["Sagan"]
developer_instructions = "Write carefully"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #09907e8c072332ce Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8552
    std::fs::write(
        &catalog_path,
        serde_json::to_string(&catalog).expect("serialize catalog"),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1dea083a4e030eba Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8577
    std::fs::write(&catalog_path, r#"{"models":[]}"#)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9a7c377acd7bfb4b Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8654
    std::fs::write(cwd.join(".git"), "gitdir: nowhere")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34bdf8d54b9275cc Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9232
    let content = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75ee56ff718e1df5 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9236
    std::fs::write(&config_path, "model = \"gpt-4\"\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca6e2622163d53a6 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9238
    let content = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #47cc1a4f5709dc93 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9244
    let content = std::fs::read_to_string(&config_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #05e3c84fc24695c9 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9695
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"sandbox_mode = "danger-full-access"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #741636d0f29b5968 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9721
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[windows]
sandbox = "unelevated"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a7c7318a0b26098b Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9758
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"approval_policy = "never"
sandbox_mode = "danger-full-access"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #247ca6eae2db89ad Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9789
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"approval_policy = "never"
default_permissions = "dev"

[permissions.dev.filesystem]
":root" = "write"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #727b8640d47e5f9a Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9962
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"sandbox_mode = "danger-full-access"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #09170271c2bae680 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9996
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        format!(
            r#"
[projects."{workspace_key}"]
trust_level = "untrusted"
"#
        ),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cd68ec4e2e938439 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10028
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"approval_policy = "untrusted"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cd9a57db92d5e64c Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10134
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[debug.config_lockfile]
export_dir = "locks"
allow_codex_version_mismatch = true
save_fields_resolved_from_model_catalog = false
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #794c0f073e0b4cb3 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10166
    std::fs::write(
        &lock_path,
        format!(
            r#"version = {}
codex_version = "older-version"

[config]
"#,
            crate::config_lock::CONFIG_LOCK_VERSION
        ),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c1e43ce2c828ca2c Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10177
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        format!(
            r#"[debug.config_lockfile]
load_path = '{}'
allow_codex_version_mismatch = true
save_fields_resolved_from_model_catalog = false
"#,
            lock_path.display()
        ),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b03a49b3758b1ded Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10205
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[features]
personality = false
shell_tool = true
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e32666fb7636f34d Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10261
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"include_permissions_instructions = false
include_apps_instructions = false
include_collaboration_mode_instructions = false
include_environment_context = false

[skills]
include_instructions = false
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #56ea1b55e75bd987 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10291
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features]
guardian_approval = true
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e08be2317040f34 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10312
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"approvals_reviewer = "user"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #893160c1f02ccfdc Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10351
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"approvals_reviewer = "user"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd274f7d30cc7a0b Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10385
    std::fs::write(
        &selected_config,
        r#"approvals_reviewer = "user"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #be809d97d5fa3067 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10415
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"approvals_reviewer = "guardian_subagent"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a29c256320becf13 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10447
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features]
smart_approvals = true
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #724c3675b2247110 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10474
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
max_concurrent_threads_per_session = 5
min_wait_timeout_ms = 2500
max_wait_timeout_ms = 120000
default_wait_timeout_ms = 30000
usage_hint_text = "Custom delegation guidance."
root_agent_usage_hint_text = "Root guidance."
subagent_usage_hint_text = "Subagent guidance."
multi_agent_mode_hint_text = "Custom mode guidance."
tool_namespace = "agents"
hide_spawn_agent_metadata = true
expose_spawn_agent_model_overrides = false
non_code_mode_only = true

[agents]
max_concurrent_threads_per_session = 9
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #85ef7b52add53a1d Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10544
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3540dd4d059875e0 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10658
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
root_agent_usage_hint_text = ""
subagent_usage_hint_text = ""
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8a9c4394d0d49c0e Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10682
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true

[agents]
max_concurrent_threads_per_session = 7
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b8a77725f26f9dc Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10711
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = false

[agents]
max_concurrent_threads_per_session = 3
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f73de099486deac Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10741
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
min_wait_timeout_ms = 0
max_wait_timeout_ms = 0
default_wait_timeout_ms = 0
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8528c3da7fdce3fd Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10761
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
min_wait_timeout_ms = -1
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1802baced76db8a5 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10782
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
min_wait_timeout_ms = 3600001
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #712e486519a4921c Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10803
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
max_wait_timeout_ms = -1
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #750bfcc9089e3ba9 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10824
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
max_wait_timeout_ms = 3600001
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a22e491686807d46 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10845
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
default_wait_timeout_ms = -1
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #89daad593b226e68 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10866
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
min_wait_timeout_ms = 1000
max_wait_timeout_ms = 500
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8071a9e8c099ca94 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10888
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
min_wait_timeout_ms = 1000
max_wait_timeout_ms = 2000
default_wait_timeout_ms = 500
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1170cdcf986dff5 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10911
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
min_wait_timeout_ms = 1000
max_wait_timeout_ms = 2000
default_wait_timeout_ms = 2500
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c6a0912e434692e6 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10950
        std::fs::write(
            codex_home.path().join(CONFIG_TOML_FILE),
            format!(
                r#"[features.multi_agent_v2]
enabled = true
tool_namespace = "{namespace}"
"#
            ),
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #95e85a8e4af41db7 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10976
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"[features.multi_agent_v2]
enabled = true
max_concurrent_threads_per_session = 1
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #85b10b65fa94f2d1 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:11212
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        format!(
            r#"
[projects."{workspace_key}"]
trust_level = "trusted"

[tool_suggest]
disabled_tools = [
  {{ type = "connector", id = " user_connector " }},
  {{ type = "plugin", id = "shared_plugin" }},
  {{ type = "connector", id = "project_connector" }},
]
"#
        ),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed6dab1db46b5a71 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:11231
    std::fs::write(
        project_config_dir.join(CONFIG_TOML_FILE),
        r#"
[tool_suggest]
disabled_tools = [
  { type = "connector", id = "project_connector" },
  { type = "plugin", id = "project_plugin" },
  { type = "plugin", id = "shared_plugin" },
]
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f9d56246287b9e63 Filesystem access.
repo/codex-rs/core/src/config/edit.rs:706
        Some(path) => match std::fs::read_to_string(&path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8e4febfee63208b7 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:30
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a7f7138fcd8bd244 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:47
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3704f2b7d00183eb Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:61
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #71a0652e0244f291 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:75
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30e6d97fa77e142d Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:92
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2bfee3c6a6948fd6 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:106
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8394ee269ff5d4b3 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:123
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4c545e78ea3483c Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:144
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #425a5838780adf1c Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:165
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #766b26aea048bfc3 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:189
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"profile = "team"

[tui.keymap.composer]
submit = "enter"

[profiles.team.tui.keymap.composer]
submit = "shift-enter"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ee50658ec6895f8 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:207
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #64b6cfe43a1e84b7 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:236
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"profile = "team"

[tui.keymap.composer]
submit = "enter"

[profiles.team.tui.keymap.composer]
submit = "shift-enter"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #69cb5e23e9da440e Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:254
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34cd4a0afea209d9 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:289
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5bd4b2bfc3e36ba4 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:309
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cae1fb161e541eff Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:321
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[[skills.config]]
path = "/tmp/skills/demo/SKILL.md"
enabled = false
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ccf1dc8e9d9ab0c Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:338
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #68db0b055e857121 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:355
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30b078713238e60f Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:369
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"profile = "fast"

profiles = { fast = { model = "gpt-4o", sandbox_mode = "strict" } }
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9fea11df91bceafb Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:387
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1790a1da8e4ab1c8 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:439
    let contents = std::fs::read_to_string(&target_path).expect("read target");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ce2432215207e14 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:471
    let contents = std::fs::read_to_string(&config_path).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9bc6450ae1ac382a Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:495
    std::fs::write(codex_home.join(CONFIG_TOML_FILE), original).expect("seed config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74ee8bc49a45cba6 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:519
    let updated = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f6955edd42fc378 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:542
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"profile = "fast"

profiles = { fast = { model = "gpt-4o", sandbox_mode = "strict" } }
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #07b63afb1177cc38 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:560
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7ed4d11abadca72 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:573
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"profile = "team"

[profiles.team]
model_reasoning_effort = "low"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f58af3505541e991 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:592
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bdeeae4804a0f439 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:607
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"# Global comment

[notice]
# keep me
existing = "value"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a6014348477ac659 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:624
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a48fb202e99b5fd Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:639
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[notice]
existing = "value"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5f50978484e91f8f Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:653
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30de3ba618e0e91d Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:665
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[notice]
existing = "value"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ccc16295e2374c13 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:681
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d45b931e9629449 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:693
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[notice]
existing = "value"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d79677ef2f086858 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:709
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4553e1ed707feb71 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:721
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[notice]
existing = "value"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bdc5c91b4b251305 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:737
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #21fd9a4b3403f6ab Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:751
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[notice]
existing = "value"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7d96070e00559fe Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:766
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c39c50ede4528550 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:780
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[notice]
existing = "value"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #236ca4c120d85db1 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:798
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c9960d58b6ccb22 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:812
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[notice]
existing = "value"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5b0e2d6d2187b565 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:825
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7b3f72cb60f7c949 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:839
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[notice]
existing = "value"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ab2c702532ecc3e Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:857
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1f6e95949f4c6f99 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:947
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a8fb9d653521bca4 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1018
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6d14f1e4f74ae13b Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1034
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[mcp_servers]
# keep me
foo = { command = "cmd" }
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #232961fa48112f04 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1074
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #36c5728375d46f6c Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1086
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[mcp_servers]
foo = { command = "cmd" } # keep me
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5dfb6b610499c5b1 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1125
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #756cbf9fa114c051 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1136
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[mcp_servers]
foo = { command = "cmd", args = ["--flag"] } # keep me
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75a96760d963d766 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1175
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6769b6290bb8b7c2 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1186
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[mcp_servers]
# keep me
foo = { command = "cmd" }
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c46898c372d8e7b0 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1226
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dac1d23243f105a9 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1268
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cff8babd0301681c Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1289
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b9172df0d15830fc Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1309
        std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d9d701199fe932d5 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1319
    contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cb3e6995a604f188 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1326
    contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8577f9efab351e11 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1341
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e540748a79aaba38 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1362
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #99f9bbbfa2aa98b5 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1382
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f6c056e15384f54d Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1405
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #11067cdb71aebb2e Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1421
    let raw = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d1dca10c38a32e23 Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1434
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        "[mcp_servers]\nfoo = { command = \"cmd\" }\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f72609d24bfb980f Filesystem access.
repo/codex-rs/core/src/config/edit_tests.rs:1446
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #d4a9ff4f8e4a7002 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/managed_features.rs:248
    tracing::warn!("{message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #7f0917f23eb6868c Environment-variable access.
repo/codex-rs/core/src/config/mod.rs:275
    let raw = std::env::var(codex_state::SQLITE_HOME_ENV).ok()?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #ffefc98e7932af8d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:1873
        tracing::error!("Failed to deserialize overridden config: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #e333d6b541a8efda Filesystem access.
repo/codex-rs/core/src/config/mod.rs:1905
    let file_contents = std::fs::read_to_string(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #3463f1dcaaf623f5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:2015
        tracing::warn!(
            error = %err,
            ?fallback_value,
            requirement_source = ?constrained_value.source,
            "configured value is disallowed by requirements; falling back to required value for {field_name}"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #06460412207f2fb7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:3201
                    tracing::info!("cwd not set, using current dir");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fe5e6534270070cf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:3207
                    tracing::info!("cwd is relative, resolving against current dir");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #eb2608acbf8bf644 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:3443
                tracing::warn!(
                    error = %err,
                    "derived permission profile cannot be represented as a legacy sandbox policy; falling back to read-only"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d49af73fd6153541 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:3484
            tracing::warn!(
                error = %err,
                "default approval policy is disallowed by requirements; falling back to required default"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d58d8d7a02167362 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:3498
            tracing::warn!(
                error = %err,
                "default approvals reviewer is disallowed by requirements; falling back to required default"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f000d7300817a2dc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/otel.rs:115
    tracing::warn!("{message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c1bc55bee2c48400 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/permissions.rs:875
    tracing::warn!("{message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #e8c7424dee5c55c5 Filesystem access.
repo/codex-rs/core/src/config/permissions_tests.rs:60
    std::fs::write(&zsh_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9bd37edc059672d8 Filesystem access.
repo/codex-rs/core/src/config/permissions_tests.rs:61
    std::fs::write(&execve_wrapper, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bde1a2c18b200100 Filesystem access.
repo/codex-rs/core/src/config/schema_tests.rs:17
    let fixture = std::fs::read_to_string(fixture_path).expect("read config schema fixture");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #94ab951064fa0978 Filesystem access.
repo/codex-rs/core/src/config/schema_tests.rs:44
        std::fs::read_to_string(&tmp_path).expect("read back config schema from temp path");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #57dd32f7212c1fc0 Filesystem access.
repo/codex-rs/core/src/connectors_tests.rs:351
        std::fs::write(
            codex_home.path().join(CONFIG_TOML_FILE),
            format!(
                r#"
approvals_reviewer = "{global}"

[apps._default]
approvals_reviewer = "{app_default}"

[apps.calendar]
approvals_reviewer = "{app}"
"#
            ),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a82ec420af6f983d Filesystem access.
repo/codex-rs/core/src/connectors_tests.rs:398
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
approvals_reviewer = "auto_review"

[apps._default]
approvals_reviewer = "user"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1709a785763c5fb2 Filesystem access.
repo/codex-rs/core/src/connectors_tests.rs:428
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
approvals_reviewer = "auto_review"

[apps.calendar]
approvals_reviewer = "user"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90e07ee220e280e2 Filesystem access.
repo/codex-rs/core/src/connectors_tests.rs:496
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[tool_suggest]
discoverables = [
  { type = "connector", id = "connector_2128aebfecb84f64a069897515042a44" },
  { type = "plugin", id = "slack@openai-curated" },
  { type = "connector", id = "   " }
]
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35cccdc8e9fbe0e8 Filesystem access.
repo/codex-rs/core/src/connectors_tests.rs:523
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[tool_suggest]
discoverables = [
  { type = "connector", id = "connector_calendar" },
  { type = "connector", id = "connector_gmail" }
]
disabled_tools = [
  { type = "connector", id = "connector_calendar" }
]
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #06173a7180f14614 Filesystem access.
repo/codex-rs/core/src/connectors_tests.rs:552
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[features]
apps = true

[tool_suggest]
discoverables = [
  { type = "connector", id = "connector_gmail" }
]
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9b8f768773450ffb Filesystem access.
repo/codex-rs/core/src/connectors_tests.rs:594
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[features]
apps = true
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #86b47cefa9709eac Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/context/world_state/mod.rs:49
                tracing::error!(
                    section_id = S::ID,
                    %err,
                    "failed to serialize world-state section snapshot"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #29ddbcc6c2d25ebf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/context/world_state/mod.rs:59
            tracing::error!(
                section_id = S::ID,
                "world-state section snapshot cannot be null"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #70d833a6118e6654 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/context/world_state/mod.rs:93
                        tracing::warn!(
                            section_id = S::ID,
                            %err,
                            "failed to restore world-state section snapshot"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #792dfc5c8d61cc71 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/environment_selection.rs:273
                tracing::warn!("turn environment `{environment_id}` failed to start: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #920e604df143b48c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/environment_selection.rs:281
                            tracing::warn!(
                                "failed to resolve shell for environment `{environment_id}`: {err}"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b827f52f1146f875 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/environment_selection.rs:288
                        tracing::warn!(
                            "failed to get info for environment `{environment_id}`: {err}"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #13531204893eefec Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/environment_selection.rs:357
                tracing::debug!(
                    environment_id = %starting.selection.environment_id,
                    "skipping failed turn environment: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #2017a115733b9a95 Filesystem access.
repo/codex-rs/core/src/environment_selection.rs:601
        std::fs::write(
            temp_dir.path().join("environments.toml"),
            r#"
[[environments]]
id = "remote"
url = "ws://127.0.0.1:8765"
"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #daf8c8a219914cdf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/exec.rs:356
    tracing::debug!("Sandbox type: {sandbox_type:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a3a3bc6a498b9b03 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/exec.rs:819
            tracing::error!("exec error: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3574073c24f14cf2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/exec_policy.rs:261
            tracing::warn!("failed to parse rules: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #bf9119b68d523020 Filesystem access.
repo/codex-rs/core/src/exec_policy.rs:626
            fs::read_to_string(policy_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #c48cfe9cf3eb22f1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/exec_policy.rs:642
    tracing::debug!("loaded rules from {} files", policy_paths.len());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #7a0965059bc01deb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/exec_policy.rs:1102
    tracing::debug!(
        "loaded {} .rules files in {}",
        policy_paths.len(),
        dir.display()
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #75a41d137bb9b847 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:239
    fs::write(&rules_path, "rules should be a directory").expect("write malformed rules path");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8999aebd6c46c81 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:274
    fs::write(
        &broken_path,
        r#"prefix_rule(
    pattern = ["tmux capture-pane"],
    decision = "allow",
    match = ["tmux capture-pane -p"],
)"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d6c5593908ab29e Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:318
    fs::write(
        policy_dir.join("deny.rules"),
        r#"prefix_rule(pattern=["rm"], decision="forbidden")"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #896e35897e5b1fe9 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:382
    fs::write(policy_dir.join("broken.rules"), "prefix_rule(")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bac85fcfe05507db Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:420
    fs::write(
        policy_dir.join("host.rules"),
        format!(
            r#"
host_executable(name = "git", paths = ["{git_path_literal}"])
"#
        ),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #13786af17518e698 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:469
    fs::write(
        temp_dir.path().join("root.rules"),
        r#"prefix_rule(pattern=["ls"], decision="prompt")"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cfdc81fc9208580e Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:496
    fs::write(
        policy_dir.join("allow.rules"),
        r#"prefix_rule(pattern=["curl"], decision="allow")"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cef68ce66f37ef31 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:524
    fs::write(
        policy_dir.join("allow.rules"),
        r#"prefix_rule(pattern=["curl"], decision="allow")"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5bf379085bc6dac5 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:563
    fs::write(
        policy_dir.join("untrusted.rules"),
        r#"prefix_rule(pattern=["ls"], decision="forbidden")"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #353dc6e31d7373d8 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:604
    fs::write(
        user_policy_dir.join("user.rules"),
        r#"prefix_rule(pattern=["rm"], decision="forbidden")"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0fe66e559feebdf7 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:611
    fs::write(
        project_policy_dir.join("project.rules"),
        r#"prefix_rule(pattern=["ls"], decision="prompt")"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #95ffe78c3f8d375c Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:729
    fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        "model = \"from-user-config\"\ninvalid = [",
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #38911b76e8e7dbe4 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:733
    fs::write(
        rules_dir.join("deny-curl.rules"),
        r#"prefix_rule(pattern=["curl"], decision="forbidden")"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb293184a530017f Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:1649
    let contents = fs::read_to_string(default_policy_path(codex_home.path()))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e460c21d3335908 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2285
    fs::write(project_root.join(".git"), "gitdir: here")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6d0ddf2a01653d2e Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2287
    fs::write(
        root_rules.join("deny-rm.rules"),
        r#"prefix_rule(pattern=["rm"], decision="forbidden")"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1af4b36f16e3fa1a Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2291
    fs::write(
        nested_rules.join("deny-mv.rules"),
        r#"prefix_rule(pattern=["mv"], decision="forbidden")"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd711538f3c97c80 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2329
    fs::write(project_root.join(".git"), "gitdir: here")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35350ae6db2348f5 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2331
    fs::write(
        rules_dir.join("deny-rm.rules"),
        r#"prefix_rule(pattern=["rm"], decision="forbidden")"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #951375a8d0ac225a Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2388
    fs::write(project_root.join(".git"), "gitdir: here")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f5c7f12001dae86c Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2390
    fs::write(rules_dir.join("broken.rules"), "prefix_rule(")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f4315ece8b612208 Environment-variable access.
repo/codex-rs/core/src/exec_tests.rs:267
    let env: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f760380a4c7965b0 Environment-variable access.
repo/codex-rs/core/src/exec_tests.rs:311
                env: std::env::vars().collect(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #389e995ed9c357e7 Environment-variable access.
repo/codex-rs/core/src/exec_tests.rs:359
            env: std::env::vars().collect(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4249e5a8c165462 Filesystem access.
repo/codex-rs/core/src/exec_tests.rs:870
    std::fs::write(&secret, "secret").expect("write secret");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #074edfb17676f2b2 Environment-variable access.
repo/codex-rs/core/src/exec_tests.rs:1051
    let env: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #084348bce7cb459a Environment-variable access.
repo/codex-rs/core/src/exec_tests.rs:1105
    let env: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e6d2fbff7676c1e1 Environment-variable access.
repo/codex-rs/core/src/exec_tests.rs:1167
    let mut env: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #162f283a66d0a1fd Filesystem access.
repo/codex-rs/core/src/exec_tests.rs:1228
    let descendant_pid = std::fs::read_to_string(descendant_pid_marker)?

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cfd36248a26f0347 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:172
    fs::write(&test_file, "test content").expect("Failed to write test file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1da9028f89c6e949 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:210
    fs::write(repo_path.join("file.txt"), "one").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #17cb374edf99c917 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:226
    fs::write(repo_path.join("file.txt"), "two").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8abcd8f8ae8038f3 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:242
    fs::write(repo_path.join("file.txt"), "three").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7341ee1220371e31 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:444
    fs::write(repo_path.join("test.txt"), "updated tracked file").expect("write tracked file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #03d156e1ccd03aea Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:453
    fs::write(repo_path.join("new_file.txt"), "untracked").expect("write untracked file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e35933ec5c442b17 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:467
    fs::write(
        &hook_path,
        format!(
            "#!/bin/sh\nprintf ran > \"{}\"\n",
            marker_path.to_string_lossy()
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fdb11cd44a6f2d93 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:492
    fs::write(repo_path.join("test.txt"), "test content").expect("refresh tracked file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b1796d3d4151dc92 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:530
    fs::write(&tracked, "modified").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8cd7438d5683a220 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:531
    fs::write(repo_path.join("untracked.txt"), "new").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7049be3aca222fa Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:610
    std::fs::write(proj.join(".git"), "gitdir: /tmp/fake-worktree\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6beec7fa8e0fc8bc Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:626
    std::fs::write(&file, "contents").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #925c023c742bb0d0 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:737
    std::fs::write(
        worktree_root.join(".git"),
        format!("gitdir: {}\n", worktree_git_dir.display()),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #97e6282174a703f9 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:763
    std::fs::write(
        proj.join(".git"),
        format!(
            "gitdir: {}\n",
            tmp.path().join("some/other/location").display()
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a449b474ca15ab9d Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:802
    fs::write(repo_path.join("test.txt"), "updated").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cbfe17c4f9827bd7 Filesystem access.
repo/codex-rs/core/src/guardian/tests.rs:1680
    std::fs::write(
        skill_dir.join("SKILL.md"),
        format!(
            "---\nname: {GUARDIAN_SKILL_NAME}\ndescription: Guardian skill injection probe.\n---\n\n{GUARDIAN_SKILL_BODY_PROBE}\n"
        ),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #654531a09159e42b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/hook_runtime.rs:326
                    tracing::warn!(
                        parent_thread_id = %parent_thread_id,
                        error = %error,
                        "failed to resolve parent transcript path for subagent hook"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f61a1c8178597dec Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/hook_runtime.rs:477
        tracing::warn!(
            turn_id = %turn_context.sub_id,
            hook_name = %hook_name,
            error = %error,
            "after_agent hook failed; {action}"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #f90a8f8b2459ddc9 Filesystem access.
repo/codex-rs/core/src/installation_id.rs:110
        std::fs::write(
            codex_home.path().join(INSTALLATION_ID_FILENAME),
            existing.clone(),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e6ff64c82d963007 Filesystem access.
repo/codex-rs/core/src/installation_id.rs:132
        std::fs::write(
            codex_home.path().join(INSTALLATION_ID_FILENAME),
            "not-a-uuid",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #960653070129b91d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/mcp.rs:240
            tracing::warn!(
                server = conflict.name,
                outcome = ?conflict.outcome,
                contenders = ?conflict.contenders,
                "conflicting MCP server actions; using resolved catalog outcome"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #8fe405262458bf52 Filesystem access.
repo/codex-rs/core/src/mcp_openai_file.rs:342
        let file = std::fs::File::create(&file_path).expect("create sparse file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #5ee8952a68f4ccd8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/mcp_tool_call.rs:443
        tracing::warn!("MCP tool call error: {error:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #844b478d62a1d0cf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/mcp_tool_call.rs:722
            tracing::warn!("failed to refresh Codex Apps tools after connector auth: {err:#}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #f16ba57b286d4f35 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:106
    std::fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{
  "name": "sample"
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34f4eea9a6cf135c Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:113
    std::fs::write(
        plugin_root.join(".mcp.json"),
        r#"{
  "mcpServers": {
    "sample": {
      "type": "http",
      "url": "https://sample.example/mcp"
    }
  }
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb13defe2a1fba12 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:225
    std::fs::write(&script_path, script).expect("write MCP permission hook script");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1687ae7419e576d6 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:235
    std::fs::write(
        turn_context.config.codex_home.join("hooks.json"),
        serde_json::json!({
            "hooks": {
                "PermissionRequest": [{
                    "matcher": matcher,
                    "hooks": [{
                        "type": "command",
                        "command": format!("{python} {script_path_arg}"),
                        "timeout_sec": 5,
                    }]
                }]
            }
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff9dd5f4454a68b6 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2105
    let contents = std::fs::read_to_string(tmp.path().join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aae7472aea185606 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2140
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        "[mcp_servers.docs]\ncommand = \"docs-server\"\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac7766c292dc594d Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2155
    let contents = std::fs::read_to_string(tmp.path().join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #068773740c1cfa7b Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2175
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        r#"
[mcp_servers.docs]
command = "docs-server"
default_tools_approval_mode = "approve"

[mcp_servers.docs.tools.search]
approval_mode = "prompt"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d1b3fb5a3a194af7 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2214
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"
[features]
plugins = true

[plugins."sample@test"]
enabled = true

[plugins."sample@test".mcp_servers.sample]
default_tools_approval_mode = "prompt"

[plugins."sample@test".mcp_servers.sample.tools.search]
approval_mode = "approve"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #29cdbdbdea90459c Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2254
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"
[features]
plugins = true

[plugins."sample@test"]
enabled = true
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9cf99e58ac182697 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2275
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"
[features]
plugins = true

[plugins."sample@test"]
enabled = true

[plugins."sample@test".mcp_servers.sample.tools.search]
approval_mode = "approve"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f088385eaa4f1fed Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2346
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        "[mcp_servers.docs]\ncommand = \"docs-server\"\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d90a5557f248e71 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2394
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"
[features]
plugins = true

[plugins."sample@test"]
enabled = true
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f743a2c6e6fdb96 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2420
    let contents = std::fs::read_to_string(codex_home.join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43ded5ae46b7be2d Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2444
    std::fs::write(project_dir.path().join(".git"), "gitdir: nowhere").expect("seed git marker");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7a5fe89e95320c85 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2447
    std::fs::write(
        project_codex_dir.join(CONFIG_TOML_FILE),
        "[mcp_servers.docs]\ncommand = \"docs-server\"\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c985f70276a7e58e Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2475
    let contents = std::fs::read_to_string(project_codex_dir.join(CONFIG_TOML_FILE))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #831f0830093275b2 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2670
    let log = std::fs::read_to_string(log_path).expect("read MCP permission hook log");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b311e9695a63a20 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2732
    let log = std::fs::read_to_string(log_path).expect("read MCP permission hook log");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #191684127d8869e7 Filesystem access.
repo/codex-rs/core/src/mcp_tool_exposure_test.rs:205
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[apps.calendar]
default_tools_enabled = false

[apps.calendar.tools."events/create"]
enabled = true
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ae7b5695f375edf Filesystem access.
repo/codex-rs/core/src/plugins/test_support.rs:12
    fs::write(path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #041fdf94b585a880 Filesystem access.
repo/codex-rs/core/src/realtime_context_tests.rs:256
    fs::write(cwd.path().join("README.md"), "hello").expect("write readme");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b964f9f76ecd8bdb Filesystem access.
repo/codex-rs/core/src/realtime_context_tests.rs:275
    fs::write(cwd.join("README.md"), "hello").expect("write cwd readme");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #40098ccaae7ed0e4 Filesystem access.
repo/codex-rs/core/src/realtime_context_tests.rs:277
    fs::write(git_root.join("Cargo.toml"), "[workspace]").expect("write git root marker");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9cbd68a07160b5fc Filesystem access.
repo/codex-rs/core/src/realtime_context_tests.rs:279
    fs::write(user_root.join(".zshrc"), "export TEST=1").expect("write home file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #a48e2faa8eab24d2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/handlers.rs:397
                tracing::warn!("{message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #048055c1d428c8c8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/mcp.rs:214
                    tracing::warn!(
                        root_id = root.id,
                        ?kept_location,
                        ignored_location = ?root.location,
                        "ignoring selected capability root with conflicting location"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c83c55172af13629 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/mcp.rs:225
                    tracing::warn!(
                        max_root_count = MAX_SELECTED_CAPABILITY_ROOTS,
                        "ignoring excess selected capability roots from ready environments"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3ec704616ff66568 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/mod.rs:980
                tracing::warn!(
                    "failed to apply execpolicy network rules to managed proxy; continuing with configured network policy: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #87f84ba4f134c4c0 Filesystem access.
repo/codex-rs/core/src/session/mod.rs:1661
            let user_config = match std::fs::read_to_string(&config_toml_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #3ee94bfd9fe1ef5a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/review.rs:61
        tracing::warn!(
            error = %err,
            ?review_web_search_mode,
            ?fallback_value,
            "review web_search_mode is disallowed by requirements; keeping constrained value"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f597286c9c46fd3f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/rollout_reconstruction.rs:398
                            tracing::warn!(%err, "failed to restore world-state snapshot");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #7af8937a2257d835 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/rollout_reconstruction.rs:409
                        tracing::warn!(%err, "failed to apply world-state patch");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #91662a27efd9a31f Filesystem access.
repo/codex-rs/core/src/session/tests.rs:583
    std::fs::write(
        dot_codex.join("hooks.json"),
        r#"{
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "echo hello from hook"
          }
        ]
      }
    ]
  }
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #891b8a5ecac03584 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1308
    std::fs::write(
        &config_toml_path,
        "[apps.calendar]\nenabled = false\ndestructive_enabled = false\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #01d4bfe1534466e2 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1342
    std::fs::write(
        &base_config_path,
        "model = \"base\"\napproval_policy = \"on-request\"\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8f46088c0ed08ce Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1347
    std::fs::write(&profile_config_path, "model = \"profile-old\"\n")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3249723af23bd9c1 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1363
    std::fs::write(
        &base_config_path,
        "model = \"base\"\napproval_policy = \"never\"\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8638bc60d07e3211 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1368
    std::fs::write(&profile_config_path, "model = \"profile-new\"\n")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a08b4fe36e2f2934 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1465
    std::fs::write(&config_toml_path, toml::to_string(&trusted_user_config)?)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34d043fd6eb0ee98 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1527
    std::fs::write(&config_toml_path, toml::to_string(&trusted_user_config)?)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b227a62ec0c94211 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1554
    std::fs::write(
        &config_toml_path,
        r#"[tool_suggest]
disabled_tools = [
  { type = "connector", id = " calendar " },
  { type = "plugin", id = "slack@openai-curated" },
]
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d845fc2ffe548ba Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1583
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[apps.calendar]
enabled = false
destructive_enabled = false

[tool_suggest]
disabled_tools = [
  { type = "connector", id = " calendar " },
  { type = "plugin", id = "slack@openai-curated" },
]
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #148742d57efd8c43 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:2748
    std::fs::write(
        codex_home.join(CONFIG_TOML_FILE),
        r#"[tool_suggest]
disabled_tools = [
  { type = "connector", id = " calendar " },
  { type = "plugin", id = "slack@openai-curated" },
]
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dc7f5ea97c61eddc Filesystem access.
repo/codex-rs/core/src/session/tests.rs:4722
    std::fs::write(
        codex_home.path().join(codex_config::CONFIG_TOML_FILE),
        toml::to_string(&base_config).expect("serialize config"),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #781a533b3fadfb86 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:4788
    std::fs::write(
        &skill_path,
        "---\nname: demo-skill\ndescription: demo description\n---\n\n# Body\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2d393025e2d83e2 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:4819
    std::fs::write(
        &role_path,
        format!(
            r#"developer_instructions = "Stay focused"

[[skills.config]]
path = "{}"
enabled = false
"#,
            skill_path.display()
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #585616ffedf0cae8 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:10961
    std::fs::write(project_root.join(".git"), "gitdir: here")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b65bff2c21d64c46 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:11004
    std::fs::write(project_root.join(".git"), "gitdir: here")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #57a6849825334248 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/turn_context.rs:467
            tracing::warn!(
                error = %err,
                ?resolved_web_search_mode,
                ?fallback_value,
                "resolved web_search_mode is disallowed by requirements; keeping constrained value"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #8c7a937bc6d056be Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/shell_snapshot.rs:148
                tracing::warn!("Failed to clean up shell snapshots: {err:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #31ea93896b491c9e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/shell_snapshot.rs:154
            tracing::warn!(
                "Failed to create shell snapshot for {}: {err:?}",
                shell.name()
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1fb56093d507628d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/shell_snapshot.rs:160
        tracing::info!(
            "Shell snapshot successfully created: {}",
            temp_path.display()
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #75667b68c4475f07 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/shell_snapshot.rs:166
            tracing::error!("Shell snapshot validation failed: {err:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #02be3f7ddc127651 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/shell_snapshot.rs:172
            tracing::warn!("Failed to finalize shell snapshot: {err:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #afb28483b1c634bd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/shell_snapshot.rs:190
            tracing::warn!(
                "Failed to delete shell snapshot at {:?}: {err:?}",
                self.path
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #136b028ab934f5f3 Filesystem access.
repo/codex-rs/core/src/shell_snapshot.rs:220
    fs::write(output_path, snapshot)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #c2819fba84e6114e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/shell_snapshot.rs:543
                tracing::warn!(
                    "Failed to check rollout age for snapshot {}: {err:?}",
                    path.display()
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #93aa73f2e00def4c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/shell_snapshot.rs:565
        tracing::warn!("Failed to delete shell snapshot at {:?}: {err:?}", path);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #efa2ccd12d3d0e08 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:87
    let content = fs::read_to_string(&path).await?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d5f8c3ca2f778924 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:171
    std::fs::write(&snapshot_path, stdout.as_bytes())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c362b8644ab53e96 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:276
    fs::write(home.join(".bashrc"), bashrc).await?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aaf28f3b141ee203 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:297
    let read_status = fs::read_to_string(&read_status_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #213f2edf11e98548 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:345
    let pid = fs::read_to_string(&pid_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7e883b233e2bafe Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:414
    fs::write(&path, "").await?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ea2d5919de36d0d Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:432
    fs::write(&live_snapshot, "live").await?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #36f002c65df0d278 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:433
    fs::write(&orphan_snapshot, "orphan").await?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #54d1c86be9725b57 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:434
    fs::write(&invalid_snapshot, "invalid").await?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0164d6715c74c0c8 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:455
    fs::write(&stale_snapshot, "stale").await?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #53c8b2959870531a Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:476
    fs::write(&active_snapshot, "active").await?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #53277e2e1c35bdcc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/stream_events_utils.rs:339
            tracing::info!(
                thread_id = %ctx.sess.thread_id,
                "ToolCall: {} {}",
                call.tool_name,
                payload_preview
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #fb89c4ff160f7de7 Filesystem access.
repo/codex-rs/core/src/tasks/user_shell_tests.rs:27
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport PATH='/snapshot/bin'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c0789de8dd25d80 Environment-variable access.
repo/codex-rs/core/src/thread_manager.rs:1370
        let env_originator = std::env::var(CODEX_INTERNAL_ORIGINATOR_OVERRIDE_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #5b425ba575fa348c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/approvals.rs:232
                    tracing::error!(%err, "failed to build automatic approval action");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #5dc7430b0c4d7c84 Filesystem access.
repo/codex-rs/core/src/tools/handlers/apply_patch_tests.rs:222
    std::fs::write(cwd_path.join("old/name.txt"), "old content\n").expect("write old file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39d5032fc836cde7 Filesystem access.
repo/codex-rs/core/src/tools/handlers/request_plugin_install_tests.rs:148
        std::fs::read_to_string(codex_home.path().join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cfbc2cede3689051 Filesystem access.
repo/codex-rs/core/src/tools/handlers/request_plugin_install_tests.rs:177
        std::fs::read_to_string(codex_home.path().join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #62951db3dbd16309 Filesystem access.
repo/codex-rs/core/src/tools/handlers/request_plugin_install_tests.rs:192
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[tool_suggest]
discoverables = [
  { type = "plugin", id = "sample@openai-curated" }
]

[[tool_suggest.disabled_tools]]
type = "connector"
id = " connector_calendar "

[[tool_suggest.disabled_tools]]
type = "connector"
id = "connector_calendar"

[[tool_suggest.disabled_tools]]
type = "connector"
id = "   "

[[tool_suggest.disabled_tools]]
type = "plugin"
id = "slack@openai-curated"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8bdb1885efb78151 Filesystem access.
repo/codex-rs/core/src/tools/handlers/request_plugin_install_tests.rs:224
        std::fs::read_to_string(codex_home.path().join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #73c09231c09074d9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/handlers/request_user_input_spec.rs:127
            tracing::warn!(
                auto_resolution_ms,
                clamped_auto_resolution_ms,
                "clamped request_user_input autoResolutionMs to supported range"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #d333b9bd9fa281f2 Filesystem access.
repo/codex-rs/core/src/tools/handlers/unified_exec_tests.rs:102
    std::fs::write(&powershell_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b72b4474448e9950 Filesystem access.
repo/codex-rs/core/src/tools/handlers/view_image.rs:317
        std::fs::write(image_path.as_path(), b"not a real image").expect("write test image");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d43113d323f0499 Filesystem access.
repo/codex-rs/core/src/tools/handlers/view_image.rs:384
        std::fs::write(image_path.as_path(), b"not a real image").expect("write test image");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd0688b32ca1f228 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:330
    std::fs::write(&snapshot_path, "# Snapshot file\n").expect("write snapshot");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84c71084be14abcc Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:358
    std::fs::write(&snapshot_path, "# Snapshot file\n").expect("write snapshot");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4441c3b36a5e383 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:383
    std::fs::write(&snapshot_path, "# Snapshot file\n").expect("write snapshot");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #42ac19bbba6f48a3 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:411
    std::fs::write(&snapshot_path, "# Snapshot file\n").expect("write snapshot");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0752667252ccf293 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:439
    std::fs::write(&snapshot_path, "# Snapshot file\n").expect("write snapshot");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9c8f3310b96c2e65 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:469
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport TEST_ENV_SNAPSHOT=global\nexport SNAPSHOT_ONLY=from_snapshot\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0ce04d39e851002e Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:508
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport CODEX_THREAD_ID='parent-thread'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #79453bfe938b4e64 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:542
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport CODEX_PERMISSION_PROFILE='parent-profile'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc1a02f723b940e2 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:580
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport CODEX_PERMISSION_PROFILE='stale-profile'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #172ea5d3e8d44604 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:614
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\n\
         export PIP_PROXY='http://127.0.0.1:8080'\n\
         export HTTP_PROXY='http://127.0.0.1:8080'\n\
         export http_proxy='http://127.0.0.1:8080'\n\
         export GIT_SSH_COMMAND='ssh -o ProxyCommand=stale'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46259eb4e8c8165b Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:670
    std::fs::write(
        &snapshot_path,
        format!(
            "# Snapshot file\nexport {PROXY_GIT_SSH_COMMAND_ENV_KEY}='{}'\n",
            shell_single_quote(&stale_command)
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #11a46e3742edc1b9 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:712
    std::fs::write(
        &snapshot_path,
        format!(
            "# Snapshot file\nexport {PROXY_GIT_SSH_COMMAND_ENV_KEY}='{}'\n",
            shell_single_quote(&stale_command)
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #445097cc43ec8f92 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:753
    std::fs::write(
        &snapshot_path,
        format!(
            "# Snapshot file\nexport {PROXY_GIT_SSH_COMMAND_ENV_KEY}='{}'\n",
            shell_single_quote(&stale_command)
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b0f0c57ae7f72ba Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:792
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport HTTP_PROXY='http://user.proxy:8080'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2bc5ce1880ce9cbc Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:830
    std::fs::write(
        &snapshot_path,
        format!(
            "# Snapshot file\n\
             export {PROXY_ACTIVE_ENV_KEY}='1'\n\
             export PIP_PROXY='http://127.0.0.1:8080'\n\
             export HTTP_PROXY='http://127.0.0.1:8080'\n"
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0611a1d2ab9448c3 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:881
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport PATH='/snapshot/bin'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #718f84ca68ae2fa1 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:914
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport PATH='/snapshot/bin'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #17a3d32b8437a586 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:981
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport PATH='/snapshot/bin'\n",
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2afb9815e3e15f48 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:1024
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport PATH='/snapshot/bin'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #af1c0e76097dc35e Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:1073
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport OPENAI_API_KEY='snapshot-value'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9a4293ae267a2e94 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/mod_tests.rs:1118
    std::fs::write(
        &snapshot_path,
        "# Snapshot file\nexport CODEX_TEST_UNSET_OVERRIDE='snapshot-value'\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #d8c51df2c31cb15a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell.rs:310
                    tracing::warn!(
                        "ZshFork backend specified, but conditions for using it were not met, falling back to normal execution",
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d99d59492a1552a3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:117
        tracing::warn!("ZshFork backend specified, but ShellZshFork feature is not enabled.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #eec20960013287bc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:121
        tracing::warn!("ZshFork backend specified, but user shell is not Zsh.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #08eb500d95236095 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:276
            tracing::warn!("ZshFork unified exec fallback: {err:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6537241e189c94a2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:281
        tracing::warn!(
            "ZshFork backend specified, but unified exec command targets `{}` instead of `{}`.",
            parsed.program,
            shell_zsh_path.display(),
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6b782ca45c322d0d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:621
        tracing::debug!(
            "Policy decision for command {program:?} is {decision:?}, leading to escalation action {action:?}",
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e7a5eda2ef89f320 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:641
        tracing::debug!(
            "Determining escalation action for command {program:?} with args {argv:?} in {workdir:?}"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #d02b14a60cf4e84a Filesystem access.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation_tests.rs:474
    std::fs::write(
        &script_path,
        format!(
            "#!/bin/sh\ncat > {log_path}\nprintf '%s\\n' '{response}'\n",
            log_path = shlex::try_quote(log_path.to_string_lossy().as_ref())?,
            response = "{\"hookSpecificOutput\":{\"hookEventName\":\"PermissionRequest\",\"decision\":{\"behavior\":\"allow\"}}}",
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55ecaaf7331857c7 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation_tests.rs:494
    std::fs::write(
        turn_context.config.codex_home.join("hooks.json"),
        serde_json::json!({
            "hooks": {
                "PermissionRequest": [{
                    "hooks": [{
                        "type": "command",
                        "command": script_path.display().to_string(),
                    }]
                }]
            }
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f2d6104dacd9bfd3 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation_tests.rs:595
    let hook_inputs: Vec<Value> = std::fs::read_to_string(&log_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #e98c082bf35160d7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/unified_exec.rs:456
                    tracing::warn!(
                        "UnifiedExec ZshFork backend specified, but conditions for using it were not met, falling back to direct execution",
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #87a66991105e9e36 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:144
    fs::write(dir.path().join("b.txt"), "x\n").expect("seed file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #797810d237c94a3e Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:171
    fs::write(dir.path().join("src.txt"), "line\n").expect("seed file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b566df42619fc219 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:199
    fs::write(dir.path().join("old.txt"), "same\n").expect("seed file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8c15e5cf563fc763 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:215
    fs::write(dir.path().join("dup.txt"), "before\n").expect("seed file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3ca46ed6f5ec05b Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:243
    fs::write(dir.path().join("cycle.txt"), "before\n").expect("seed file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d8d196a7a39af1b Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:278
    fs::write(dir.path().join("a.txt"), "same\n").expect("seed source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #24a160eee703515d Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:279
    fs::write(dir.path().join("b.txt"), "same\n").expect("seed destination");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #648a46c82f7b53ea Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:307
    fs::write(dir.path().join("a.txt"), "from\n").expect("seed source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #83a251586ddc2184 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:308
    fs::write(dir.path().join("b.txt"), "existing\n").expect("seed destination");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b0b8a17ac13e5d2 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:344
    fs::write(dir.path().join("a.txt"), "from\n").expect("seed source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #70b640f71bd9b934 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:345
    fs::write(dir.path().join("b.txt"), "existing\n").expect("seed destination");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a40c1e8715da847 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:456
    fs::write(&path, &old_content).expect("seed large file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #591a78d0f0e125f8 Filesystem access.
repo/codex-rs/core/src/turn_metadata_tests.rs:95
    std::fs::write(repo_path.join("README.md"), "hello").expect("write file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3c6492b5fa3a7cbe Environment-variable access.
repo/codex-rs/core/src/unified_exec/mod_tests.rs:64
    std::env::vars().collect()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6bd681eb5398de3c Filesystem access.
repo/codex-rs/core/src/windows_sandbox_read_grants_tests.rs:49
    std::fs::write(&file_path, "hello").expect("write file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/core-plugins

rust first-party
expand_more 193 low-confidence finding(s)
low env_fs production #9684c81041bb8cc8 Filesystem access.
repo/codex-rs/core-plugins/src/command_migration.rs:172
        fs::write(target_dir.join("SKILL.md"), rendered)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #329be4d516faa993 Filesystem access.
repo/codex-rs/core-plugins/src/command_migration.rs:277
    Ok(parse_command_content(&fs::read_to_string(source_file)?))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a494f7378b2f8474 Filesystem access.
repo/codex-rs/core-plugins/src/command_migration_tests.rs:101
    fs::write(
        commands.join("review-code.md"),
        "Review the current change.\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3168382d3fed8289 Filesystem access.
repo/codex-rs/core-plugins/src/command_migration_tests.rs:115
    let rendered = fs::read_to_string(
        target_skills
            .join("source-command-review-code")
            .join("SKILL.md"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e357432467fc4c9 Filesystem access.
repo/codex-rs/core-plugins/src/command_migration_tests.rs:130
    fs::write(
        commands.join("foo-bar.md"),
        "---\ndescription: First\n---\nRun the first command.\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2fc228efd4883824 Filesystem access.
repo/codex-rs/core-plugins/src/command_migration_tests.rs:135
    fs::write(
        commands.join("foo_bar.md"),
        "---\ndescription: Second\n---\nRun the second command.\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cbb9d3e01b2b9194 Filesystem access.
repo/codex-rs/core-plugins/src/loader.rs:678
    let user_config = match fs::read_to_string(&config_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c316b4c26f7af24c Filesystem access.
repo/codex-rs/core-plugins/src/loader.rs:1166
    let contents = match fs::read_to_string(path.as_path()) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b02e2b09dbb42c7b Filesystem access.
repo/codex-rs/core-plugins/src/loader_tests.rs:246
    fs::write(plugin_root.join(".codex-plugin/plugin.json"), manifest).expect("write manifest");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1d6bc3a3a678b9b Filesystem access.
repo/codex-rs/core-plugins/src/loader_tests.rs:250
    fs::write(
        plugin_root.join(relative_path),
        format!(
            r#"{{
  "hooks": {{
    "{event}": [
      {{
        "hooks": [{{ "type": "command", "command": "{command}" }}]
      }}
    ]
  }}
}}"#
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #41540fdc7c1a814a Filesystem access.
repo/codex-rs/core-plugins/src/loader_tests.rs:313
    fs::write(
        plugin_root.join("hooks/hooks.json"),
        r#"{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [{ "type": "command", "command": "echo default" }]
      }
    ]
  }
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f37a78de5351110 Filesystem access.
repo/codex-rs/core-plugins/src/loader_tests.rs:407
    fs::write(plugin_root.join("hooks/hooks.json"), "{ not-json").expect("write invalid hooks");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d94c4aaaa61e0a3c Filesystem access.
repo/codex-rs/core-plugins/src/loader_tests.rs:464
    fs::write(plugin_dir.join("marker.txt"), "toolkit").expect("write plugin marker");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3fa2913b5b10d6ce Filesystem access.
repo/codex-rs/core-plugins/src/loader_tests.rs:465
    fs::write(repo.path().join("plugins/other/marker.txt"), "other").expect("write other marker");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2504c2cfbe136722 Filesystem access.
repo/codex-rs/core-plugins/src/loader_tests.rs:466
    fs::write(repo.path().join("root.txt"), "root").expect("write root marker");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #9a687be54ca6dda4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manager.rs:782
                tracing::warn!(
                    plugin_id = %plugin_id.as_key(),
                    error = %err,
                    "failed to read persisted remote plugin identity"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #21fbced9cd90377c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manager.rs:1427
            tracing::warn!(
                error_type = %marketplace_error_type(err),
                error = %err,
                "plugin install failed while resolving marketplace plugin"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f140e97e120f84f8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manager.rs:1442
        tracing::warn!(
            plugin_id = %plugin_id.as_key(),
            error_type = %error_type,
            sub_error_type = sub_error_type.as_deref(),
            error = %error_message,
            "plugin install failed"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #4cc57736e9e46a4c Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:686
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        format!(r#"{{"name":"{manifest_name}"{version}}}"#),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d91a30f3297aa1e6 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:691
    fs::write(plugin_root.join("skills/SKILL.md"), "skill").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #14f60e72d210d06e Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:692
    fs::write(plugin_root.join(".mcp.json"), r#"{"mcpServers":{}}"#).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55883575dab7b64c Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:2023
    fs::write(source_root.join("commands/review.md"), [0xff]).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b29ddc3a4e86858d Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:2763
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "sample-plugin",
      "source": {
        "source": "local",
        "path": "./sample-plugin"
      },
      "policy": {
        "authentication": "ON_USE"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e90ea519fccfe0d6 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:2808
    let config = fs::read_to_string(tmp.path().join("config.toml")).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b4f7b7561b04e76 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:2943
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "sample-plugin",
      "source": {
        "source": "local",
        "path": "./sample-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55ad28c9b09974d3 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:2996
    fs::write(
        plugin_root.join("skills/thermo-nuclear-code-quality-review/SKILL.md"),
        "review skill",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6709ff9c9ada4db4 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3005
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "quality-review",
      "description": "Strict code quality review focused on maintainability.",
      "source": "./plugins/quality-review",
      "author": {
        "name": "Byron Grogan"
      },
      "skills": [
        "./skills/thermo-nuclear-code-quality-review"
      ],
      "commands": ["./commands/review.md"],
      "category": "code-review"
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb992cfed3859036 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3078
        &fs::read_to_string(installed_path.join(".codex-plugin/plugin.json")).unwrap(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e274f0709687c41 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3108
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        format!(
            r#"{{
  "name": "debug",
  "plugins": [
    {{
      "name": "toolkit",
      "source": {{
        "source": "git-subdir",
        "url": "{remote_repo_url}",
        "path": "plugins/toolkit"
      }}
    }}
  ]
}}"#
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dc646f368d3a63b5 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3164
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "toolkit",
      "source": {
        "source": "git-subdir",
        "url": "./remote-plugin-repo",
        "path": "plugins/toolkit"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b6c5ca6cd27f39e Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3242
    let config = fs::read_to_string(tmp.path().join(CONFIG_TOML_FILE)).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f0fe44571f290e2a Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3262
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "enabled-plugin",
      "source": {
        "source": "local",
        "path": "./enabled-plugin"
      }
    },
    {
      "name": "disabled-plugin",
      "source": {
        "source": "local",
        "path": "./disabled-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ea8498e0cf9ca4c4 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3380
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "enabled-plugin",
      "source": {
        "source": "local",
        "path": "./enabled-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74cabdad6dd93966 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3425
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "disabled-plugin",
      "source": {
        "source": "local",
        "path": "./disabled-plugin"
      },
      "policy": {
        "products": []
      }
    },
    {
      "name": "default-plugin",
      "source": {
        "source": "local",
        "path": "./default-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #736b0646ef1d2b66 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3510
    fs::write(
        marketplace_path.as_path(),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "enabled-plugin",
      "source": {
        "source": "local",
        "path": "./enabled-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5443db5149b51797 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4223
    fs::write(
        curated_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "openai-curated",
  "plugins": [
    {
      "name": "linear",
      "source": {
        "source": "local",
        "path": "./plugins/linear"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5cddec755da6c58d Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4239
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"linear"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c4650326859e1eb3 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4461
    fs::write(
        marketplace_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "sample",
      "source": {
        "source": "local",
        "path": "./plugins/sample"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #446e273179038242 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4477
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"sample"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #012d0016be2913c5 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4631
    fs::write(
        marketplace_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "sample",
      "source": {
        "source": "local",
        "path": "./plugins/sample"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0ccf8f98350d3d62 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4647
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"sample"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a54f935886707031 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4653
    fs::write(registry_path, "{not valid json").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #418eeda8000977d1 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4689
    fs::write(
        marketplace_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "sample",
      "source": {
        "source": "local",
        "path": "./plugins/sample"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #17a782f023ba10ec Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4705
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"sample"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf8c99a90f35d323 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4737
    fs::write(
        repo_a_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "dup-plugin",
      "source": {
        "source": "local",
        "path": "./from-a"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #041bf68c698b3a32 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4753
    fs::write(
        repo_b_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "dup-plugin",
      "source": {
        "source": "local",
        "path": "./from-b"
      }
    },
    {
      "name": "b-only-plugin",
      "source": {
        "source": "local",
        "path": "./from-b-only"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e64189660bc506a1 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4882
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "sample-plugin",
      "source": {
        "source": "local",
        "path": "./sample-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9842bf237a9a9d34 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:5793
    fs::write(repo_root.join("sample-plugin/skills/SKILL.md"), "new skill").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d4b7ab4d3fb224a Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:5814
    fs::write(
        tmp.path()
            .join("plugins/cache/debug/sample-plugin/local/skills/SKILL.md"),
        "old skill",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4f0de8d1eb03718f Filesystem access.
repo/codex-rs/core-plugins/src/manifest.rs:137
    let contents = fs::read_to_string(&manifest_path).ok()?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #d011cbe737c60bca Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:141
            tracing::warn!(
                path = %manifest_path.display(),
                "failed to parse plugin manifest: {err}"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #5d78b6b128153f1f Filesystem access.
repo/codex-rs/core-plugins/src/manifest.rs:155
        serde_json::from_str::<RawPluginCommandManifest>(&fs::read_to_string(manifest_path)?)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #b0cf43e5daf4ee5a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:320
            tracing::warn!(
                "ignoring hooks: expected a string, string array, object, or object array; found {}",
                json_value_type(&value)
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f39d67d4d1be34e3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:343
                tracing::warn!("ignoring mcpServers: failed to serialize object: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f8be367e3cd22215 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:348
            tracing::warn!(
                "ignoring mcpServers: expected a string or object; found {}",
                json_value_type(&value)
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #46dccd779ea713f7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:440
    tracing::warn!(path = %manifest_path, "ignoring {field}: {message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9f2115ca9a415593 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:470
            tracing::warn!(
                "ignoring {field}: expected a string or string array; found {}",
                json_value_type(value)
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fcd0ef3fabcf6387 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:494
        tracing::warn!("ignoring {field}: path must not be `./`");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #db3ec941ea09fbcc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:508
        tracing::warn!("ignoring {field}: path must not contain '..'");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #be8167805df45b3d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:516
        tracing::warn!("ignoring {field}: path must stay within the plugin root");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ee56111c7d40be0d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:523
            tracing::warn!("ignoring {field}: path must resolve under plugin root: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #87f7834a2ae29dcd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manifest.rs:528
        tracing::warn!("ignoring {field}: path must stay within the plugin root");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #db3b222812ec5239 Filesystem access.
repo/codex-rs/core-plugins/src/manifest.rs:567
        fs::write(
            plugin_root.join(".codex-plugin/plugin.json"),
            format!(
                r#"{{
  "name": "demo-plugin",
{version}
  "interface": {interface}
}}"#
            ),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1aaba0b2d324664f Filesystem access.
repo/codex-rs/core-plugins/src/manifest.rs:584
        fs::write(manifest_path, contents).expect("write manifest");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74399f0a1ffeb60d Filesystem access.
repo/codex-rs/core-plugins/src/manifest.rs:717
        fs::write(
            plugin_root.join(".codex-plugin/plugin.json"),
            r#"{
  "name": "demo-plugin",
  "keywords": ["api-key", "developer tools"]
}"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e39bd99c069d7527 Filesystem access.
repo/codex-rs/core-plugins/src/manifest.rs:835
            fs::read_to_string(plugin_root.join(".codex-plugin/plugin.json")).expect("manifest");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1d5971ee7b327241 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace.rs:491
    let contents = fs::read_to_string(path.as_path()).map_err(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #182e7a15282ee72d Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_add.rs:269
        let config = fs::read_to_string(codex_home.path().join(codex_config::CONFIG_TOML_FILE))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #48ff4a70bf4cb15c Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_add.rs:349
        let config = fs::read_to_string(codex_home.path().join(codex_config::CONFIG_TOML_FILE))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #197130a9aebd5619 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_add.rs:435
        fs::write(
            source.join(".agents/plugins/marketplace.json"),
            r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "sample",
      "source": {
        "source": "local",
        "path": "./plugins/sample"
      }
    }
  ]
}"#,
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fcd65f065d016b85 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_add.rs:450
        fs::write(
            source.join("plugins/sample/.codex-plugin/plugin.json"),
            r#"{"name":"sample"}"#,
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e0869f69806e6e42 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_add.rs:454
        fs::write(source.join("plugins/sample/marker.txt"), marker)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #caed94c4d57e4ed0 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_add/metadata.rs:61
    let config = match fs::read_to_string(&config_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #13b49802a2944bb3 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_add/metadata.rs:104
    let config = match fs::read_to_string(&config_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef26bf8fde56fe0d Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_add/metadata.rs:295
        fs::write(
            source_root.join(".agents/plugins/marketplace.json"),
            r#"{"name":"debug","plugins":[]}"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2fcfa069b44561ad Environment-variable access.
repo/codex-rs/core-plugins/src/marketplace_add/source.rs:173
    let Some(home) = std::env::var_os("HOME").or_else(|| std::env::var_os("USERPROFILE")) else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1997e6057918c473 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_add/source.rs:337
        std::fs::write(&file, "{}").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #7e5411af5af4ecef Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/marketplace_policy.rs:297
            tracing::warn!("invalid plugins config: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #9f371940031d5ffa Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_remove.rs:133
        fs::write(
            installed_root.join(".agents/plugins/marketplace.json"),
            "{}",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4447cf8c4be35a88 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_remove.rs:153
            fs::read_to_string(codex_home.path().join(codex_config::CONFIG_TOML_FILE)).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd8907063b8673f0 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_remove.rs:209
            fs::read_to_string(codex_home.path().join(codex_config::CONFIG_TOML_FILE)).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3a0d2c272b83dfb4 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_remove.rs:216
        fs::write(
            codex_home.path().join(codex_config::CONFIG_TOML_FILE),
            "[marketplaces.debug\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d5f3e478e46a7fdf Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_remove.rs:257
        fs::write(&installed_root, "corrupt install root").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #67c67cc7abc66db3 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_remove.rs:278
            fs::read_to_string(codex_home.path().join(codex_config::CONFIG_TOML_FILE)).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #359887b2795b4345 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_remove.rs:285
        fs::write(
            codex_home.path().join(codex_config::CONFIG_TOML_FILE),
            r#"
marketplaces = { debug = { source_type = "git", source = "https://github.com/owner/repo.git" } }
"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #51eb077212910076 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_remove.rs:310
            fs::read_to_string(codex_home.path().join(codex_config::CONFIG_TOML_FILE)).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f28cbc20d9f45ffc Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:14
    fs::write(&marketplace_path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a076e89c0c81a039 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:21
    fs::write(manifest_path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f20a8dc035647cf Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:27
    fs::write(&marketplace_path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #78d524d80b5af5d8 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:34
    fs::write(manifest_path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #403b5d84e60e34f8 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:55
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "local-plugin",
      "source": {
        "source": "local",
        "path": "./plugin-1"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1fc6deb6be7144fc Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:179
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "remote-plugin",
      "source": {
        "source": "git-subdir",
        "url": "openai/joey_marketplace3",
        "path": "plugins/toolkit",
        "ref": "main",
        "sha": "abc123"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1ca7ba736ea06205 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:234
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "remote-plugin",
      "source": {
        "source": "git-subdir",
        "url": "openai/joey_marketplace3",
        "path": "plugins/toolkit"
      },
      "interface": {
        "displayName": "Remote Plugin",
        "composerIcon": "./assets/icon.svg",
        "logo": "./assets/logo.png",
        "logoDark": "./assets/logo-dark.png",
        "screenshots": ["./assets/shot.png"]
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d35eb51ccb50b9ec Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:279
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "npm-plugin",
      "source": {
        "source": "npm",
        "package": "@acme/codex-plugin",
        "version": "^1.2.0",
        "registry": "https://npm.example.com"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e6895b4c4c435819 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:482
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "npm-plugin",
      "source": {
        "source": "npm",
        "package": "@acme/codex-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae73d68107796ec5 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:524
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r##"{
  "name": "team-marketplace",
  "plugins": [
    {
      "name": "quality-review",
      "version": "1.2.3",
      "description": "Strict code quality review focused on maintainability.",
      "displayName": "Quality Review",
      "source": "./plugins/quality-review",
      "author": {
        "name": "Byron Grogan"
      },
      "homepage": "https://example.com/quality",
      "repository": "https://github.com/example/quality-review",
      "license": "MIT",
      "skills": [
        "./skills/thermo-nuclear-code-quality-review",
        "./skills/second-review"
      ],
      "commands": ["./commands/review.md"],
      "mcpServers": {
        "review": {
          "type": "stdio",
          "command": "review-mcp"
        }
      },
      "apps": "./apps/app.json",
      "hooks": ["./hooks/session.json"],
      "agents": [
        "./agents/thermo-nuclear-code-quality-review.md"
      ],
      "category": "code-review",
      "keywords": ["quality", "review"],
      "strict": false,
      "interface": {
        "shortDescription": "Interface short description.",
        "longDescription": "Runs strict reviews focused on maintainability and boundaries.",
        "category": "interface-category",
        "capabilities": ["review", "quality"],
        "privacyPolicyURL": "https://example.com/privacy",
        "termsOfServiceUrl": "https://example.com/terms",
        "defaultPrompt": [
          "Review this change",
          "Find structural issues"
        ],
        "brandColor": "#00AAFF",
        "composerIcon": "./assets/icon.svg",
        "logo": "./assets/logo.png",
        "screenshots": ["./assets/shot.png"]
      }
    }
  ]
}"##,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84230331f11e2e15 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:730
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "remote-plugin",
      "source": {
        "source": "git-subdir",
        "url": "openai/toolkit.git",
        "path": "plugins/toolkit"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6b271a9e21420ada Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:774
        fs::write(
            repo_root.join(".agents/plugins/marketplace.json"),
            format!(
                r#"{{
  "name": "codex-curated",
  "plugins": [
    {{
      "name": "remote-plugin",
      "source": {{
        "source": "git-subdir",
        "url": "{}",
        "path": "plugins/toolkit"
      }}
    }}
  ]
}}"#,
                source_url.replace('\\', "\\\\")
            ),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dbbde856f312dee3 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:845
        fs::write(
            repo_root.join(".agents/plugins/marketplace.json"),
            format!(
                r#"{{
  "name": "codex-curated",
  "plugins": [
    {{
      "name": "remote-plugin",
      "source": {{
        "source": "git-subdir",
        "url": "openai/toolkit",
        "path": "{path}"
      }}
    }}
  ]
}}"#
            ),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #193cce191d7191c1 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:884
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{"name":"codex-curated","plugins":[]}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7cba60f1b074e948 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:989
        fs::write(
            repo_root.join(".agents/plugins/marketplace.json"),
            format!(
                r#"{{
  "name": "repo-root-marketplace",
  "plugins": [
    {{
      "name": "repo-root-plugin",
      "source": {{
        "source": "local",
        "path": "{path}"
      }}
    }}
  ]
}}"#
            ),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #55fde19decfa8563 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1007
        fs::write(
            repo_root.join(".codex-plugin/plugin.json"),
            r#"{
  "name":"repo-root-plugin",
  "interface": {
    "displayName": "Repo Root Plugin"
  }
}"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bc880625e535cc71 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1127
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "agents-marketplace",
  "plugins": [
    {
      "name": "agents-plugin",
      "source": {
        "source": "local",
        "path": "./plugins/agents-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8bec95f23a9861c1 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1179
    fs::write(
        marketplace_path.as_path(),
        r#"{
  "name": "openai-api-curated",
  "plugins": [
    {
      "name": "api-plugin",
      "source": {
        "source": "local",
        "path": "./plugins/api-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c13c6e7b4eb1e7b3 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1237
    fs::write(
        home_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "shared-plugin",
      "source": {
        "source": "local",
        "path": "./home-shared"
      }
    },
    {
      "name": "home-only",
      "source": {
        "source": "local",
        "path": "./home-only"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #66610491f802e16a Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1260
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "shared-plugin",
      "source": {
        "source": "local",
        "path": "./repo-shared"
      }
    },
    {
      "name": "repo-only",
      "source": {
        "source": "local",
        "path": "./repo-only"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a850e8c1a282d45 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1388
    fs::write(
        home_marketplace.clone(),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "local-plugin",
      "source": {
        "source": "local",
        "path": "./home-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7a31b86a2e7f7b6 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1404
    fs::write(
        repo_marketplace.clone(),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "local-plugin",
      "source": {
        "source": "local",
        "path": "./repo-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3969942e018c210d Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1497
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "local-plugin",
      "source": {
        "source": "local",
        "path": "./plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d85af22fcf5c39b Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1557
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "openai-curated",
  "interface": {
    "displayName": "ChatGPT Official"
  },
  "plugins": [
    {
      "name": "local-plugin",
      "source": {
        "source": "local",
        "path": "./plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #67ebf224717838ff Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1602
    fs::write(
        valid_repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "valid-marketplace",
  "plugins": [
    {
      "name": "valid-plugin",
      "source": {
        "source": "local",
        "path": "./plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a110a5a44484a02 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1618
    fs::write(
        invalid_repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "invalid-marketplace",
  "plugins": [
    {
      "name": "broken-plugin",
      "source": {
        "source": "local",
        "path": "plugin-without-dot-slash"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ffb7c6ed0351e5f Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1658
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "invalid-name-marketplace",
  "plugins": [
    {
      "name": "valid-plugin",
      "source": {
        "source": "local",
        "path": "./valid-plugin"
      }
    },
    {
      "name": "invalid.plugin",
      "source": {
        "source": "local",
        "path": "./invalid-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #61f9c7b525b71cc1 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1725
    fs::write(
        valid_repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "valid-marketplace",
  "plugins": [
    {
      "name": "valid-plugin",
      "source": {
        "source": "local",
        "path": "./plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a4e627d7b93f0c1 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1744
    fs::write(invalid_marketplace_path.as_path(), "{not json").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ced8450f67cd49fb Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1888
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "demo-plugin",
      "source": {
        "source": "local",
        "path": "./plugins/demo-plugin"
      },
      "policy": {
        "installation": "AVAILABLE",
        "authentication": "ON_INSTALL",
        "products": ["CODEX", "CHATGPT", "ATLAS"]
      },
      "category": "Design"
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c966b1e92f14dd99 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1910
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{
  "name": "demo-plugin",
  "interface": {
    "displayName": "Demo",
    "category": "Productivity",
    "capabilities": ["Interactive", "Write"],
    "composerIcon": "./assets/icon.png",
    "logo": "./assets/logo.png",
    "screenshots": ["./assets/shot1.png"]
  }
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37f5a43f33167ce0 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:1978
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "demo-plugin",
      "source": {
        "source": "local",
        "path": "./plugins/demo-plugin"
      },
      "installPolicy": "NOT_AVAILABLE",
      "authPolicy": "ON_USE"
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #512371056ecf1c70 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:2024
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "demo-plugin",
      "source": {
        "source": "local",
        "path": "./plugins/demo-plugin"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #54376a7d3a0eb41c Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:2040
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{
  "name": "demo-plugin",
  "interface": {
    "displayName": "Demo",
    "capabilities": ["Interactive"],
    "composerIcon": "assets/icon.png",
    "logo": "/tmp/logo.png",
    "screenshots": ["assets/shot1.png"]
  }
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c322ed0f378e375b Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:2100
        fs::write(
            repo_root.join(".agents/plugins/marketplace.json"),
            format!(
                r#"{{
  "name": "codex-curated",
  "plugins": [
    {{
      "name": "local-plugin",
      "source": {{
        "source": "local",
        "path": "{path}"
      }}
    }}
  ]
}}"#
            ),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34ff606153a19485 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:2138
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "local-plugin",
      "source": {
        "source": "local",
        "path": "./first"
      }
    },
    {
      "name": "local-plugin",
      "source": {
        "source": "local",
        "path": "./second"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #743ad2433aab3800 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:2182
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "chatgpt-plugin",
      "source": {
        "source": "local",
        "path": "./plugin"
      },
      "policy": {
        "products": ["CHATGPT"]
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c55f0b813576c10 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:2221
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "default-plugin",
      "source": {
        "source": "local",
        "path": "./plugin"
      },
      "policy": {}
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45f1da52f531ed36 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_tests.rs:2254
    fs::write(
        repo_root.join(".agents/plugins/marketplace.json"),
        r#"{
  "name": "codex-curated",
  "plugins": [
    {
      "name": "disabled-plugin",
      "source": {
        "source": "local",
        "path": "./plugin"
      },
      "policy": {
        "products": []
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb12cdc3778c1bbd Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_upgrade.rs:306
    let raw_config = match std::fs::read_to_string(&config_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0484bc52d4ffd301 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_upgrade/activation.rs:27
    let metadata = match std::fs::read_to_string(installed_marketplace_metadata_path(root)) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #10ec7a49a484c593 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_upgrade/activation.rs:53
    std::fs::write(installed_marketplace_metadata_path(root), contents)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #edbfad3ff5eb7781 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_upgrade_tests.rs:14
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
[marketplaces.bad]
source_type = "git"
source = 17

[marketplaces.good]
source_type = "git"
source = "https://github.com/example/good.git"
ref = "main"
sparse_paths = ["plugins"]
last_revision = "abc123"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0c88e0ae19fbd5d Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_upgrade_tests.rs:66
    std::fs::write(codex_home.path().join(CONFIG_TOML_FILE), &config).expect("write config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #245111ffd1d8a868 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_upgrade_tests.rs:108
    std::fs::write(codex_home.path().join(CONFIG_TOML_FILE), config).expect("write config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a66a626add7474b Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_upgrade_tests.rs:145
    std::fs::write(
        manifest_dir.join("marketplace.json"),
        r#"{"name":"wrong","plugins":[]}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #66cd0417844e73f2 Filesystem access.
repo/codex-rs/core-plugins/src/marketplace_upgrade_tests.rs:197
    std::fs::write(
        manifest_dir.join("marketplace.json"),
        format!(r#"{{"name":"{marketplace_name}","plugins":[]}}"#),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e22435dc0c3721d Filesystem access.
repo/codex-rs/core-plugins/src/npm_source.rs:145
    fs::read(archive_path).map_err(|err| format!("failed to read npm package archive: {err}"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee9054366d307e31 Filesystem access.
repo/codex-rs/core-plugins/src/npm_source.rs:155
    let package_json = fs::read_to_string(&package_json_path).map_err(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a74f6c4dfc4cb3e1 Filesystem access.
repo/codex-rs/core-plugins/src/npm_source_tests.rs:18
    fs::write(&archive_path, &archive_bytes).expect("write fixture archive");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b99a0abe79b08044 Filesystem access.
repo/codex-rs/core-plugins/src/npm_source_tests.rs:20
    fs::write(
        &fake_npm,
        format!(
            r#"#!/bin/sh
destination=""
previous=""
for argument in "$@"; do
  if [ "$previous" = "--pack-destination" ]; then
    destination="$argument"
  fi
  previous="$argument"
done
cp "{}" "$destination/acme-plugin-1.2.0.tgz"
printf '%s\n' "$@" > "$destination/args.txt"
pwd > "$destination/pwd.txt"
"#,
            archive_path.display()
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b7e0a24320467a3c Filesystem access.
repo/codex-rs/core-plugins/src/npm_source_tests.rs:65
    let args = fs::read_to_string(tempdir.path().join("args.txt")).expect("read npm arguments");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a4a37f98706e2b5 Filesystem access.
repo/codex-rs/core-plugins/src/npm_source_tests.rs:73
        fs::read_to_string(tempdir.path().join("pwd.txt"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4f8fd90f32b39d6a Filesystem access.
repo/codex-rs/core-plugins/src/provider_tests.rs:177
    fs::write(manifest_path, contents).expect("write manifest");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #d124cdf68cb16e77 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/remote.rs:890
                tracing::warn!(
                    plugin_name = plugin.name,
                    error = %err,
                    "ignoring invalid recommended plugin"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #111eaba1dc895d77 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/remote.rs:953
                tracing::warn!(error = %err, "ignoring cached remote plugin recommendation entry");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #d2e173ac2a7c7c25 Filesystem access.
repo/codex-rs/core-plugins/src/remote/catalog_cache.rs:47
    let bytes = match std::fs::read(&cache_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7fb840a74735648e Filesystem access.
repo/codex-rs/core-plugins/src/remote/catalog_cache.rs:98
    let _ = std::fs::write(cache_path, bytes);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3837fe39e0f52e1 Filesystem access.
repo/codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs:523
        std::fs::write(&cached_manifest, r#"{"name":"linear","version":"1.2.3"}"#)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #53db5239f1f1ec60 Filesystem access.
repo/codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs:621
        std::fs::write(&cached_manifest, r#"{"name":"linear"}"#)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7669171e6f617f1 Filesystem access.
repo/codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs:694
        std::fs::write(
            &created_by_me_cached_manifest,
            r#"{"name":"created-by-me-plugin"}"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #67dcd2d2f562c37c Filesystem access.
repo/codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs:709
        std::fs::write(&cached_manifest, r#"{"name":"private-plugin"}"#)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39482a5ac25cebf8 Filesystem access.
repo/codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs:721
        std::fs::write(&canonical_cached_manifest, r#"{"name":"shared-plugin"}"#)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f1d5909c9e447173 Filesystem access.
repo/codex-rs/core-plugins/src/remote/share/checkout.rs:346
    match std::fs::read_to_string(marketplace_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7b90b7cbd2462516 Filesystem access.
repo/codex-rs/core-plugins/src/remote/share/local_paths.rs:58
    let contents = match std::fs::read_to_string(&path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f8f92210c8616a47 Filesystem access.
repo/codex-rs/core-plugins/src/remote/share/tests.rs:37
    fs::write(path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a95314fb1418bd2c Environment-variable access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:224
        if let Ok(value) = std::env::var(TEST_ALLOW_LOOPBACK_HTTP_REMOTE_PLUGIN_BUNDLES_ENV) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0ddd0436615e5478 Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:518
    let contents = fs::read_to_string(&manifest_path).map_err(|source| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3a66f5eac7c8d6be Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:575
    fs::write(path, contents).map_err(|source| RemotePluginBundleInstallError::io(context, source))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7b3dba305f0381cb Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:850
            &std::fs::read_to_string(
                result
                    .installed_path
                    .join(".codex-plugin/plugin.json")
                    .as_path(),
            )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f16607128ffea425 Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:867
            &std::fs::read_to_string(result.installed_path.join(".app.json").as_path())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d98a6801e6408fe Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:888
        std::fs::write(
            extraction_root.path().join(".codex-plugin/plugin.json"),
            r#"{"name":"linear"}"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8bb173401fa1b3a5 Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:905
        std::fs::write(
            plugin_root.join(".codex-plugin/plugin.json"),
            r#"{"name":"linear"}"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb0b5d34412b0140 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:590
    std::fs::write(sha_path, format!("{remote_sha}\n")).map_err(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8bc5d2189eef2a19 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:844
    let head = std::fs::read_to_string(&head_path).map_err(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #758e3338178f302b Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:896
    if let Ok(sha) = std::fs::read_to_string(&ref_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ee37b51e7165f79 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:908
    if let Ok(packed_refs) = std::fs::read_to_string(&packed_refs_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fad796ef9c11c778 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:1008
    std::fs::read_to_string(sha_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ef7ce967ba1c0d7 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:1071
        let mut output = std::fs::File::create(&output_path).map_err(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a483b1df5260305 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:38
    std::fs::write(path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8e1f3171b8e24dd Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:108
    std::fs::write(path, contents).expect("write script");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #723d10031323301c Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:258
    std::fs::write(tmp.path().join(".tmp/plugins.sha"), "abc123\n").expect("write sha");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd5e59928d777e7e Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:384
    let invocations = std::fs::read_to_string(invocation_log).expect("read invocation log");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9893043bea34b92a Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:419
    std::fs::write(
        work_repo.join(".agents/plugins/marketplace.json"),
        r#"{"name":"openai-curated","plugins":[{"name":"gmail","source":{"source":"local","path":"./plugins/gmail"}}]}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e9a206107179412f Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:424
    std::fs::write(
        work_repo.join("plugins/gmail/.codex-plugin/plugin.json"),
        r#"{"name":"gmail"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37757198d80472ce Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:462
    std::fs::write(
        &git_config_path,
        format!(
            "[url \"file://{}/\"]\n    insteadOf = https://github.com/\n",
            repo_root.path().join("remotes").display()
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6474b3cf167f166c Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:497
    let first_sync_invocation_count = std::fs::read_to_string(&invocation_log)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f2a55669407945b Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:502
        std::fs::read_to_string(&invocation_log).expect("read first sync invocations");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bef1c7ae0b18da4c Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:558
        std::fs::read_to_string(&invocation_log).expect("read sync invocations");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #89f2dacf6c604090 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:598
    let invocation_log = std::fs::read_to_string(&invocation_log).expect("read sync invocations");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4bed5e292ce483ba Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:856
    std::fs::write(
        repo_path.join(".agents/plugins/marketplace.json"),
        r#"{"name":"openai-curated","plugins":[]}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #215b4bccf457115d Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:863
    std::fs::write(tmp.path().join(".tmp/plugins.sha"), format!("{sha}\n")).expect("write sha");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #97d4111d1ed5d579 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:922
        std::fs::read_to_string(&plugin_manifest_path).expect("read existing plugin manifest");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ae9f4fc4b2209e1 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:962
    std::fs::write(tmp.path().join(".git/HEAD"), "ref: refs/heads/main\n").expect("write HEAD");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0304f67ee8bfe16 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:963
    std::fs::write(
        git_dir.join("main"),
        "3333333333333333333333333333333333333333\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e514a60f81ef7604 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:980
    std::fs::write(tmp.path().join(".git/HEAD"), "ref: HEAD\n").expect("write HEAD");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #58a3651618262fc3 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:992
    std::fs::write(tmp.path().join(".git/HEAD"), "ref: refs/heads/../../evil\n")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #325b468f6831faf4 Filesystem access.
repo/codex-rs/core-plugins/src/store.rs:139
        let contents = match fs::read_to_string(path.as_path()) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #82a1ed1df3139815 Filesystem access.
repo/codex-rs/core-plugins/src/store.rs:469
            fs::read_to_string(&manifest_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c223062884f96821 Filesystem access.
repo/codex-rs/core-plugins/src/store.rs:564
        fs::write(&manifest_path, contents)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #85879ee4f1a518a0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/store.rs:568
        tracing::warn!(%err, "failed to migrate plugin commands into skills");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #000bfaf1742b349a Filesystem access.
repo/codex-rs/core-plugins/src/store_tests.rs:19
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        format!(r#"{{"name":"{manifest_name}"{version}}}"#),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b33d81a51ce2f5fa Filesystem access.
repo/codex-rs/core-plugins/src/store_tests.rs:24
    fs::write(plugin_root.join("skills/SKILL.md"), "skill").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c739502ac0cd9c2c Filesystem access.
repo/codex-rs/core-plugins/src/store_tests.rs:25
    fs::write(plugin_root.join(".mcp.json"), r#"{"mcpServers":{}}"#).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #41e95be8430dab1b Filesystem access.
repo/codex-rs/core-plugins/src/store_tests.rs:80
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{
  "name": "counter-sample",
  "version": "1.1.1",
  "mcpServers": {
    "counter": {
      "type": "http",
      "url": "https://sample.example/counter/mcp"
    }
  }
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7258fa40b3adf697 Filesystem access.
repo/codex-rs/core-plugins/src/store_tests.rs:282
    fs::write(
        store
            .remote_plugin_install_metadata_path(&plugin_id)
            .as_path(),
        r#"{"schema_version":2,"remote_plugin_id":"plugins~Plugin_sample"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #af03818859156470 Filesystem access.
repo/codex-rs/core-plugins/src/test_support.rs:19
    fs::write(path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/core-skills

rust first-party
expand_more 51 low-confidence finding(s)
low telemetry production #c353563dc146cfa4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:422
                tracing::warn!(
                    "failed to stat repo skills root {}: {err:#}",
                    agents_skills.display()
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d5c521dac2d8d9ad Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:448
            tracing::warn!("invalid project_root_markers: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6771de9b2596c4dd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:482
                tracing::warn!(
                    "failed to stat project root marker {}: {err:#}",
                    marker_path.display()
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e5cd0053a18cb944 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:790
                    tracing::warn!(
                        "ignoring {path}: failed to stat {label}: {error}",
                        path = path,
                        label = SKILLS_METADATA_FILENAME
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6f408d02fb62887c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:805
            tracing::warn!(
                "ignoring {path}: failed to read {label}: {error}",
                path = metadata_path_uri,
                label = SKILLS_METADATA_FILENAME
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f076b77f80e401c0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:819
                tracing::warn!(
                    "ignoring {path}: invalid {label}: {error}",
                    path = metadata_path_uri,
                    label = SKILLS_METADATA_FILENAME
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c3817bb48ecc6d94 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:960
        tracing::warn!(
            "ignoring {field}: icon must be a relative assets path (not {})",
            assets_dir.display()
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a6ebe0cbea6dd9a6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:976
                tracing::warn!("ignoring {field}: icon path must be under assets/");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #df64bd86ca63ec30 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:986
            tracing::warn!("ignoring {field}: icon path must be under assets/");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #406a8e7033fbd1db Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1008
        tracing::warn!("ignoring {field}: icon path with '..' must resolve under plugin assets/");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c6ba152e8b9ec4b4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1014
            tracing::warn!("ignoring {field}: icon path must resolve to an absolute path: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #73fb2d570f4133d6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1146
        tracing::warn!("ignoring {field}: value is empty");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #be1ba1b545380c87 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1150
        tracing::warn!("ignoring {field}: exceeds maximum length of {max_len} characters");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ee510df4146e8c51 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1172
        tracing::warn!("ignoring {field}: value is empty");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fea8ef7206836ad1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1179
        tracing::warn!("ignoring {field}: expected #RRGGBB, got {value}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9b717b945ecaa61d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader/environment.rs:237
            tracing::warn!("ignoring {metadata_path}: failed to stat metadata: {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #abe114ecc96a153c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader/environment.rs:254
            tracing::warn!("ignoring {metadata_path}: failed to read metadata: {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #614e33650ebcd777 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader/environment.rs:261
            tracing::warn!("ignoring {metadata_path}: invalid metadata: {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #c6334f8d03b9b7e6 Filesystem access.
repo/codex-rs/core-skills/src/loader/environment_tests.rs:22
    fs::write(
        root.path().join(".codex-plugin/plugin.json"),
        r#"{"name":"demo-plugin"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f85251fe43fce2ff Filesystem access.
repo/codex-rs/core-skills/src/loader/environment_tests.rs:27
    fs::write(
        skill_dir.join("SKILL.md"),
        "---\nname: deploy\ndescription: Deploy the service.\n---\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #928cd93083eaf50c Filesystem access.
repo/codex-rs/core-skills/src/loader/environment_tests.rs:32
    fs::write(
        skill_dir.join("agents/openai.yaml"),
        r#"
dependencies:
  tools:
    - type: mcp
      value: deploy-server
      description: Deploy MCP
policy:
  allow_implicit_invocation: false
  products: [codex]
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7c2d7209f59e7f7 Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:305
    fs::write(dir.join(".git"), "gitdir: fake\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #daa7bf5d2086883e Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:534
    fs::write(&path, content).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d116cdd6f22a77b Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:543
    fs::write(&path, content).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90f15063e78c4312 Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:554
    fs::write(&path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1f8dab988b892c7 Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:565
    fs::write(manifest_path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e189b8c73b1412e3 Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:1045
    fs::write(plugin_root.join("assets/logo.svg"), "<svg/>").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #517f56166eadc405 Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:1527
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"should-not-be-read"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60536408c04688cf Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:1775
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        format!(r#"{{"name":"{plugin_name}"}}"#),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e786dd19830145e7 Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:1825
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        format!(r#"{{"name":"{plugin_name}"}}"#),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d2a6536a136f7118 Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:1861
    fs::write(&skill_path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #32e123c48769726f Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:2023
    fs::write(skill_dir.join(SKILLS_FILENAME), contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6d358233b816db64 Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:2041
    fs::write(
        hidden_dir.join(SKILLS_FILENAME),
        "---\nname: hidden\ndescription: hidden\n---\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c3f38892bd8963af Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:2050
    fs::write(invalid_dir.join(SKILLS_FILENAME), "---\nname: bad").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #342d8ea43808eeac Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:2361
        fs::write(path, contents).expect("write skill");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5a03120124f1907c Filesystem access.
repo/codex-rs/core-skills/src/loader_tests.rs:2730
    fs::write(&file_path, "contents").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9419808a5994c7ae Filesystem access.
repo/codex-rs/core-skills/src/remote.rs:234
        let mut out = std::fs::File::create(&file_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #23e10c041007d551 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/render.rs:261
        tracing::info!(
            budget_limit = budget.limit(),
            total_skills = available.report.total_count,
            included_skills = available.report.included_count,
            omitted_skills = available.report.omitted_count,
            truncated_description_chars_per_skill =
                available.report.average_truncated_description_chars(),
            truncated_skill_descriptions = available.report.truncated_description_count,
            "truncated skill metadata to fit skills context budget"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #258f4a89a299b168 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/service.rs:103
            tracing::error!("failed to install system skills: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #09680bcba7057b4f Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:27
    fs::write(skill_dir.join("SKILL.md"), content).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f1b96c5b06de2e15 Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:47
    fs::write(
        plugin_root.join(".codex-plugin/plugin.json"),
        format!(r#"{{"name":"{plugin_name}"}}"#),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46fbb8ddaea01654 Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:54
    fs::write(&skill_path, content).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e5d755ad25f9042d Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:99
    fs::write(
        &skill_path,
        "---\nname: demo-skill\ndescription: demo description\n---\n\n# Body\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7969ccb9b343eb3 Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:190
    fs::write(stale_system_skill_dir.join("SKILL.md"), "# stale\n")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4e3bb1c269504db5 Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:266
    fs::write(
        skill_dir.join("SKILL.md"),
        "---\nname: runtime-skill\ndescription: runtime skill\n---\n\n# Body\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #48b703d9107c0cab Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:329
    fs::write(
        skill_dir.join("SKILL.md"),
        "---\nname: runtime-skill\ndescription: runtime skill\n---\n\n# Body\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e6bbec0d926ad80 Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:415
    fs::write(
        repo_skill_dir.join("SKILL.md"),
        "---\nname: repo-skill\ndescription: from repo root\n---\n\n# Body\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #26edd09f82e77478 Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:479
    fs::write(
        repo_skill_dir.join("SKILL.md"),
        "---\nname: repo-skill\ndescription: from repo root\n---\n\n# Body\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #236684087ed0fb3a Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:535
    fs::write(
        bundled_skill_dir.join("SKILL.md"),
        "---\nname: bundled-skill\ndescription: from bundled root\n---\n\n# Body\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75bb79ec077b8dac Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:549
    fs::write(
        bundled_skill_dir.join("SKILL.md"),
        "---\nname: bundled-skill\ndescription: from bundled root\n---\n\n# Body\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #54f256b923c1358e Filesystem access.
repo/codex-rs/core-skills/src/service_tests.rs:784
    fs::write(
        &skill_path,
        "---\nname: demo-skill\ndescription: demo description\n---\n\n# Body\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/exec

rust first-party
expand_more 10 low-confidence finding(s)
low env_fs production #e9c9803267bdd8f7 Filesystem access.
repo/codex-rs/exec/src/event_processor.rs:44
        && let Err(e) = std::fs::write(path, contents)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2bf53dcaef16c02c Filesystem access.
repo/codex-rs/exec/src/event_processor_with_jsonl_output_tests.rs:10
    std::fs::write(&output_path, "keep existing contents").expect("seed output file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #40d8cdc4a5511193 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec/src/lib.rs:247
        tracing::warn!(?err, "Failed to set codex exec originator override {err:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1fb865bc7da00484 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec/src/lib.rs:883
            tracing::debug!("Keyboard interrupt");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #9a786027ab73727d Filesystem access.
repo/codex-rs/exec/src/lib.rs:1801
    let schema_str = match std::fs::read_to_string(&path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #42ecea40d37b44df Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec/src/lib_tests.rs:75
        tracing::error!(target: "opentelemetry_sdk", "telemetry export failed");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b345c96244e2fc59 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec/src/lib_tests.rs:76
        tracing::error!(target: "opentelemetry_otlp", "telemetry request failed");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #17a90b9caf8359ac Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec/src/lib_tests.rs:77
        tracing::error!(target: "codex_exec_test", "real exec error");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #0250f9ffe84dce58 Filesystem access.
repo/codex-rs/exec/src/lib_tests.rs:531
    std::fs::write(
        codex_home.path().join("config.toml"),
        r#"
approval_policy = "on-request"
approvals_reviewer = "auto_review"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #845657c46818ef74 Filesystem access.
repo/codex-rs/exec/src/lib_tests.rs:540
    std::fs::write(
        &requirements_path,
        r#"
allowed_approval_policies = ["never", "on-request"]
allowed_sandbox_modes = ["read-only", "workspace-write"]
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/exec-server

rust first-party
expand_more 16 low-confidence finding(s)
low env_fs production #be4007a21fd8eff0 Filesystem access.
repo/codex-rs/exec-server/src/client.rs:1921
            if let Ok(contents) = std::fs::read_to_string(path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #f10e9aadbff78e97 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec-server/src/client/reqwest_http_client.rs:307
    tracing::warn!(
        http_method = method.as_str(),
        error_is_timeout = error.is_timeout(),
        error_is_connect = error.is_connect(),
        error = %error,
        error_sources = ?source_chain,
        "http/request send failed"
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #836a42d1cad65daf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec-server/src/client_recovery.rs:264
                tracing::error!("finished an exec-server process start that was not active");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #19dfbaacc3d28b91 Environment-variable access.
repo/codex-rs/exec-server/src/environment.rs:553
    std::env::var(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #b367c4a5e277f06b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec-server/src/environment.rs:744
                    tracing::debug!(%error, "exec-server environment startup failed");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #091cdc11b1fe9b6d Environment-variable access.
repo/codex-rs/exec-server/src/environment_provider.rs:52
        Self::new(std::env::var(CODEX_EXEC_SERVER_URL_ENV_VAR).ok())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8162f8a69361625 Filesystem access.
repo/codex-rs/exec-server/src/environment_toml.rs:311
    let contents = std::fs::read_to_string(path).map_err(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ba6fd59e247bf4c Filesystem access.
repo/codex-rs/exec-server/src/environment_toml.rs:742
        std::fs::write(
            &path,
            r#"
default = "ssh-dev"
include_local = false

[[environments]]
id = "devbox"
url = "ws://127.0.0.1:4512"
connect_timeout_sec = 12.0
initialize_timeout_sec = 34.0

[[environments]]
id = "ssh-dev"
program = "ssh"
args = ["dev", "codex exec-server --listen stdio"]
cwd = "/tmp"
[environments.env]
CODEX_LOG = "debug"
"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e181638feb0826d6 Filesystem access.
repo/codex-rs/exec-server/src/environment_toml.rs:817
            std::fs::write(&path, contents).expect("write environments.toml");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5c0fa130e2c830d1 Filesystem access.
repo/codex-rs/exec-server/src/environment_toml.rs:851
        std::fs::write(
            codex_home.path().join(ENVIRONMENTS_TOML_FILE),
            r#"
default = "none"
include_local = false
"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #d52f24e75c6ad9a7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec-server/src/server/handler.rs:139
        tracing::debug!(
            session_id,
            connection_id = %session.connection_id(),
            "exec-server session attached"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #18ce2b53f4cbc754 Environment-variable access.
repo/codex-rs/exec-server/src/server/handler/tests.rs:45
    if let Some(path) = std::env::var_os("PATH") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d677d3073834e8d1 Environment-variable access.
repo/codex-rs/exec-server/src/server/handler/tests.rs:72
    std::env::var("COMSPEC").unwrap_or_else(|_| "cmd.exe".to_string())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #54732a922b9a7399 Environment-variable access.
repo/codex-rs/exec-server/src/server/processor.rs:591
        if let Some(path) = std::env::var_os("PATH") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #7c774a1fed6e0a44 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec-server/src/server/transport.rs:113
    tracing::info!("codex-exec-server listening on stdio");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #98219200fe4ba25c Environment-variable access.
repo/codex-rs/exec-server/testing/wine_remote_test_runner.rs:20
        std::env::var_os(TEST_BINARY_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/execpolicy

rust first-party
expand_more 8 low-confidence finding(s)
low env_fs production #7df43da0214e50d2 Filesystem access.
repo/codex-rs/execpolicy/src/amend.rs:212
        let contents = std::fs::read_to_string(&policy_path).expect("default.rules should exist");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fcc4b97d17367e6e Filesystem access.
repo/codex-rs/execpolicy/src/amend.rs:225
        std::fs::write(
            &policy_path,
            r#"prefix_rule(pattern=["ls"], decision="allow")
"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #953c5c41fc1d4a22 Filesystem access.
repo/codex-rs/execpolicy/src/amend.rs:238
        let contents = std::fs::read_to_string(&policy_path).expect("read policy");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a0ad6fc01b19560 Filesystem access.
repo/codex-rs/execpolicy/src/amend.rs:252
        std::fs::write(
            &policy_path,
            r#"prefix_rule(pattern=["ls"], decision="allow")"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #534141803c522240 Filesystem access.
repo/codex-rs/execpolicy/src/amend.rs:264
        let contents = std::fs::read_to_string(&policy_path).expect("read policy");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #61fb130e9783fa35 Filesystem access.
repo/codex-rs/execpolicy/src/amend.rs:287
        let contents = std::fs::read_to_string(&policy_path).expect("read policy");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65e9623c0c7cc092 Filesystem access.
repo/codex-rs/execpolicy/src/amend.rs:311
        let contents = std::fs::read_to_string(&policy_path).expect("read policy");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2b7f4831966eee9 Filesystem access.
repo/codex-rs/execpolicy/src/execpolicycheck.rs:77
        let policy_file_contents = fs::read_to_string(policy_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/ext/goal

rust first-party
expand_more 14 low-confidence finding(s)
low telemetry production #0c0ddb650cf4f937 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/api.rs:81
            tracing::warn!("failed to apply external goal status runtime effects: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ea49419df5a8b479 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/api.rs:187
            tracing::warn!("failed to prepare external goal mutation: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #04decc8fc7e0ca63 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/api.rs:304
            tracing::warn!("failed to prepare external goal mutation: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #65eb38ba899bcecd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/api.rs:321
            tracing::warn!("failed to apply external goal clear runtime effects: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #948c6267a3b38fcc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/extension.rs:146
                tracing::warn!(
                    "failed to restore goal runtime after thread resume for {}: {err}",
                    runtime.thread_id()
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d8535f701b1720fb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/extension.rs:161
                tracing::warn!(
                    "failed to continue active goal for idle thread {}: {err}",
                    runtime.thread_id()
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b566bb565043a7f6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/extension.rs:216
                tracing::warn!("failed to clear deferred goal continuation: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e32f12b8dd465f08 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/extension.rs:271
                tracing::warn!(
                    "failed to account active goal progress at turn stop for {turn_id}: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e3d62ac6d8cd5e77 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/extension.rs:299
                tracing::warn!(
                    "failed to account active goal progress after turn abort for {turn_id}: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #53c6199457e43cc0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/extension.rs:326
                tracing::warn!(
                    error = ?input.error,
                    "failed to stop active goal after turn error: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c9bb7e72c0a9d86e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/extension.rs:393
                    tracing::warn!(
                        "failed to account active goal progress after tool finish for {turn_id}: {err}"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9392fc9b571212e4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/runtime.rs:407
            tracing::debug!(
                ?reason,
                "skipping goal continuation because automatic idle work was rejected"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #8f13e8ab229cc12a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/runtime.rs:438
            tracing::debug!("skipping goal steering because no turn is active");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a86ae58f22113e3c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/goal/src/tool.rs:448
        tracing::warn!(
            "failed to set empty thread preview from goal objective for {thread_id}: {err}"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/ext/image-generation

rust first-party
expand_more 1 low-confidence finding(s)
low telemetry production #cabc057f35afbb31 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/image-generation/src/tool.rs:197
                    tracing::warn!(
                        call_id = %call.call_id,
                        output_dir = %output_dir.display(),
                        "failed to save generated image: {error}"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/ext/mcp

rust first-party
expand_more 4 low-confidence finding(s)
low telemetry production #a64db95de8714a6f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin.rs:79
                tracing::warn!(
                    selected_root = selected_root.id,
                    error = %err,
                    "failed to resolve selected executor plugin"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #61a742b335bbc6c7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin.rs:97
                    tracing::warn!(
                        selected_root = selected_root.id,
                        error = %err,
                        "failed to load selected executor plugin MCP servers"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c6b41f3c1e6d85ff Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin.rs:106
                        tracing::warn!(
                            selected_root = selected_root.id,
                            error = %err,
                            "failed to load selected executor plugin connectors"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ab02c031fce016e3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin/provider.rs:126
        tracing::warn!(
            plugin = plugin_id,
            server = error.name,
            error = error.message,
            "ignoring invalid executor plugin MCP server"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/ext/memories

rust first-party
expand_more 1 low-confidence finding(s)
low env_fs production #41411fe45bffea4d Filesystem access.
repo/codex-rs/ext/memories/src/prompts.rs:32
    let memory_summary = fs::read_to_string(&memory_summary_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/ext/skills

rust first-party
expand_more 2 low-confidence finding(s)
low telemetry production #7c981b3ad9667a29 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/skills/src/shadow_selection_experiment.rs:107
            tracing::debug!(
                method = selector.method(),
                catalog_entries = documents.len(),
                selected_entries = selected_ids.len(),
                query_terms = selection.query_term_count,
                query_script,
                query_truncated = query.truncated || selection.query_truncated,
                candidate_set_truncated = selection.candidate_set_truncated,
                "ran shadow skill selection"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c034aa6604d8db35 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/skills/src/tools/read.rs:91
                    tracing::warn!(
                        error = %err,
                        turn_id = %call.turn_id,
                        call_id = %call.call_id,
                        resource = requested_resource.as_str(),
                        "skills.read provider request failed"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/external-agent-migration

rust first-party
expand_more 237 low-confidence finding(s)
low env_fs production #303fadb2cf80f8dd Filesystem access.
repo/codex-rs/external-agent-migration/src/config_values.rs:80
    fs::write(path, format!("{}\n", serialized.trim_end()))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f445fa1f919d29d Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/mod.rs:92
                    let existing_raw = fs::read_to_string(&target_config)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dd20c4f546249fbb Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/mod.rs:130
                let existing_raw = fs::read_to_string(&target_config)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #c61bab0d01b962c3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/external-agent-migration/src/detect/mod.rs:334
                                    tracing::warn!("invalid plugins config: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9e76a2e33c78bc05 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/external-agent-migration/src/detect/mod.rs:371
                    tracing::warn!(
                        error = %err,
                        settings_path = %source_settings.display(),
                        "skipping external agent plugin migration detection because config load failed"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #7a07fbb6f4632b8d Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cla.rs:281
            std::fs::write(
                &session.path,
                jsonl(&[
                    record("user", title, &project_root),
                    record("assistant", "updated", &project_root),
                ]),
            )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5c8b0eb65d18aabf Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cla.rs:346
        std::fs::write(
            &session_path,
            jsonl(&[
                record("user", "hello there", project_root.as_path()),
                record("assistant", "new reply", project_root.as_path()),
            ]),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ec9ad83f21da421 Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cla.rs:381
        std::fs::write(&session_path, jsonl(records)).expect("session");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75507b73cd0a2afb Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/connectors_cla.rs:91
    let contents = fs::read_to_string(path).ok()?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a0b212f9ea8893ba Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cur_tests.rs:50
    fs::write(
        &transcript,
        [
            serde_json::json!({
                "cwd": unc_cwd,
                "role": "user",
                "timestamp_ms": 1_800_000_000_000_i64,
                "message": {
                    "content": [{
                        "type": "text",
                        "text": "<user_query>first request</user_query>",
                    }],
                },
            })
            .to_string(),
            serde_json::json!({
                "role": "assistant",
                "message": {
                    "content": [{"type": "text", "text": "first answer"}],
                },
            })
            .to_string(),
        ]
        .join("\n"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f132aa517b58831a Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cur_tests.rs:111
    fs::write(&subagent_transcript, transcript_contents("first request"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a015a77e2ac98f5a Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cur_tests.rs:227
    fs::write(
        &modified_session.path,
        format!(
            "{}\n{updated_record}",
            transcript_contents(modified_session.title.as_deref().expect("session title"))
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e0cb44eacefb9d67 Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cur_tests.rs:260
    fs::write(&transcript, transcript_contents(first_request)).expect("transcript");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e8cd56b3f8d64e18 Filesystem access.
repo/codex-rs/external-agent-migration/src/hooks_cla.rs:74
        let raw = fs::read_to_string(&settings_file)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7900beaebcca1167 Filesystem access.
repo/codex-rs/external-agent-migration/src/hooks_common.rs:28
    fs::write(target_hooks, format!("{rendered}\n"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ad6c78edc155bded Filesystem access.
repo/codex-rs/external-agent-migration/src/hooks_common.rs:282
    Ok(fs::read_to_string(path)?.trim().is_empty())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f93d9cc714d0152d Filesystem access.
repo/codex-rs/external-agent-migration/src/hooks_cur.rs:51
    let raw = fs::read_to_string(source_hooks)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8dd5e95048269080 Filesystem access.
repo/codex-rs/external-agent-migration/src/hooks_cur_tests.rs:15
    fs::write(source_hooks_dir.join("check.sh"), "echo check\n").expect("hook script");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e85fc7c2b6eb2826 Filesystem access.
repo/codex-rs/external-agent-migration/src/hooks_cur_tests.rs:16
    fs::write(
        &source_hooks,
        serde_json::json!({
            "hooks": {
                "preToolUse": [{
                    "type": "command",
                    "command": "sh .source/hooks/check.sh",
                    "matcher": "Shell",
                    "statusMessage": "Source agent check",
                    "timeoutSec": "7",
                    "failClosed": false
                }],
                "postToolUse": [{
                    "type": "prompt",
                    "command": "echo ignored"
                }],
                "subagentStart": [{
                    "command": "echo subagent",
                    "failClosed": true
                }],
                "beforeSubmitPrompt": [{
                    "command": "echo ready",
                    "matcher": "ignored"
                }],
                "preCompact": [{
                    "command": "echo compact",
                    "matcher": "auto"
                }]
            }
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #00e6cc0d39297f1e Filesystem access.
repo/codex-rs/external-agent-migration/src/hooks_cur_tests.rs:61
        serde_json::from_str(&fs::read_to_string(&target_hooks).expect("target hooks"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d5793a17e1163aa1 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:68
    fs::write(
        root.path().join(".mcp.json"),
        r#"{"mcpServers":{"db":{"command":"db-server","args":["${DATABASE_URL}"]}}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ef14291373618bd Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:88
    fs::write(
        root.path().join(".mcp.json"),
        r#"{
          "mcpServers": {
            "mixedTransport": {
              "command": "mcp-remote-proxy",
              "args": [
                "https://example.com/mixed-transport",
                "--transport",
                "http"
              ],
              "url": "https://example.com/mixed-transport"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e3913e5111d523d2 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:131
    fs::write(
        root.path().join(".mcp.json"),
        r#"{
          "mcpServers": {
            "legacy-sse": {"type": "sse", "url": "https://example.invalid/sse"},
            "vault": {
              "url": "https://example.invalid/vault",
              "headers": {"Authorization": "Bearer ${VAULT_TOKEN:-dev-token}"}
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d1cb150f2d493583 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:170
    fs::write(
        project.join(external_agent_project_config_file()),
        serde_json::json!({
            "mcpServers": {
                "top": {"command": "top-server"}
            },
            "projects": {
                project.display().to_string(): {
                    "mcpServers": {
                        "repo": {"command": "repo-server"}
                    }
                },
                other.display().to_string(): {
                    "mcpServers": {
                        "other": {"command": "other-server"}
                    }
                }
            }
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b98cbeb8945211fc Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:218
    fs::write(
        root.path().join(external_agent_project_config_file()),
        serde_json::json!({
            "projects": {
                project.display().to_string(): {
                    "mcpServers": {
                        "repo": {"command": "repo-server"}
                    }
                }
            }
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8e10f0680e803b89 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:257
    fs::write(
        project.join(EXTERNAL_AGENT_MCP_CONFIG_FILE),
        serde_json::json!({
            "mcpServers": {
                "shared": {"command": "repo-server"}
            }
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a047f7aa7be710ab Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:267
    fs::write(
        root.path().join(external_agent_project_config_file()),
        serde_json::json!({
            "projects": {
                project.display().to_string(): {
                    "mcpServers": {
                        "home-only": {"command": "home-only-server"},
                        "shared": {"command": "home-server"}
                    }
                }
            }
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80b6ce783213aa40 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:306
    fs::write(
        root.path().join(".mcp.json"),
        r#"{
          "mcpServers": {
            "enabled": {"command": "enabled-server"},
            "explicit-disabled": {"command": "disabled-server", "disabled": true},
            "not-enabled": {"command": "not-enabled-server"}
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #796867d8dea3266d Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:486
    fs::write(
        root.path().join("settings.json"),
        r#"{
          "disableAllHooks": true,
          "hooks": {
            "SessionStart": [{
              "matcher": "startup",
              "hooks": [{"type": "command", "command": "echo setup"}]
            }]
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8c74f3706f20cd7 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:514
    fs::write(
        root.path().join("settings.json"),
        r#"{
          "disableAllHooks": true,
          "hooks": {
            "SessionStart": [{
              "matcher": "project",
              "hooks": [{"type": "command", "command": "echo project"}]
            }]
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dc635a8dab21a5ff Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:527
    fs::write(
        root.path().join("settings.local.json"),
        r#"{
          "disableAllHooks": false,
          "hooks": {
            "SessionStart": [{
              "matcher": "local",
              "hooks": [{"type": "command", "command": "echo local"}]
            }]
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1fa642876907851 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:726
    fs::write(source_hooks.join("check.py"), "new script").expect("write source hook");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #04e3023d8bb8f971 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:727
    fs::write(target_hooks.join("check.py"), "existing script").expect("write target hook");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f8d05a7f4de8a5db Filesystem access.
repo/codex-rs/external-agent-migration/src/mcp.rs:26
    let raw = fs::read_to_string(source_file)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f5f01566248ef396 Filesystem access.
repo/codex-rs/external-agent-migration/src/mcp.rs:88
        let raw = fs::read_to_string(&source_file)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #380c73849147aa33 Filesystem access.
repo/codex-rs/external-agent-migration/src/mcp.rs:127
    let raw = fs::read_to_string(source_file)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #ae92c26f4f3690c5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/external-agent-migration/src/memory_import.rs:87
        tracing::warn!(error = %err, "failed to enqueue imported memory consolidation");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #480ee53c9c4aae9f Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import.rs:163
        if fs::read_to_string(&instructions_path).ok().as_deref() != Some(EXTENSION_INSTRUCTIONS) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #71df522994f38a8e Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import.rs:164
            fs::write(instructions_path, EXTENSION_INSTRUCTIONS)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9aba017c4764480e Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import.rs:257
        let source_content = fs::read(&memory_file.source_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8f32d1dcdc94f24c Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import.rs:258
        if fs::read(resource_path(codex_home, memory_file))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5a7f7d4fb3472c05 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import.rs:268
    if fs::read(project_scope_path(codex_home, project_key))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c528090befd52c0e Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import.rs:290
            fs::read(&memory_file.source_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5622ca8687cf1a6f Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import.rs:299
    fs::write(target_root.join(PROJECT_SCOPE_FILE), scope_content)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eded1f7e1594e123 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import.rs:309
        fs::write(target_path, content)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #829a2b9adbbc5c0f Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:7
    fs::write(
        project_root.join("session.jsonl"),
        serde_json::json!({
            "type": "user",
            "cwd": project_cwd,
            "timestamp": "2026-07-13T00:00:00Z",
            "message": { "content": "remember this" },
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #198b028192e73102 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:38
    fs::write(&project_a_source, b"project A memory").expect("write project A memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #af3c8706f927513c Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:40
    fs::write(&project_a_topic, b"project A release process").expect("write project A topic");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #053bb5588b4e0813 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:41
    fs::write(project_b_memory.join("MEMORY.md"), b"project B memory")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b557a6025cc6f788 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:72
    fs::write(project_a_memory.join("updated.md"), b"updated memory")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #075c288d4a297e41 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:88
    fs::write(&project_a_source, b"project A changed").expect("change project A memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b241cfa00fd531a4 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:122
    fs::write(project_a_memory.join("MEMORY.md"), b"project A memory")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #795bd72b07373e2f Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:125
    fs::write(&project_b_source, b"project B memory").expect("write project B memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74ba1111cc2c6e76 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:168
    fs::write(project_memory.join("MEMORY.md"), b"project A memory").expect("write project memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f246ef9bd794861 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:198
    fs::write(resources_root.join("project-a/scope.json"), b"{}").expect("write project scope");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #94d3610addb234f9 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:200
    fs::write(resources_root.join(".project/scope.json"), b"{}")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #70985cff5e716c9a Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:204
    fs::write(resources_root.join(".DS_Store"), b"metadata").expect("write metadata file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f8e0acc152e3931c Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:221
    fs::write(project_a_memory.join("MEMORY.md"), b"project memory").expect("write project memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c3e85cace75a793 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:259
    fs::write(project_memory.join("MEMORY.md"), b"project memory").expect("write project memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #278453cac4722112 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:292
    fs::write(project_memory.join("MEMORY.md"), b"project memory").expect("write project memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0ac980a2388ce27b Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:314
    fs::write(project_memory.join("MEMORY.md"), b"source memory").expect("write source memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #777cb72bed894949 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_import_tests.rs:317
    fs::write(target_root.join("MEMORY.md"), b"imported memory").expect("write unscoped target");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a558a102cee8f0c8 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_tests.rs:14
    fs::write(
        project_root.join("session.jsonl"),
        serde_json::json!({
            "type": "user",
            "cwd": &project_cwd,
            "timestamp": "2026-07-13T00:00:00Z",
            "message": { "content": "remember this" },
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b95b6ce1b1555fcd Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_tests.rs:25
    fs::write(project_memory.join("MEMORY.md"), "index").expect("write index");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9107b8fa29c2c8d1 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_tests.rs:26
    fs::write(project_memory.join("release-process.md"), "release notes")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4c4efdc83ca90c88 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_tests.rs:28
    fs::write(project_memory.join("topics/database.md"), "database notes")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3dba9273383eef7c Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_tests.rs:30
    fs::write(project_memory.join("ignored.txt"), "not markdown").expect("write ignored file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ec4d3a8121d72818 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_tests.rs:73
    fs::write(
        project_root.join("session.jsonl"),
        serde_json::json!({
            "type": "user",
            "cwd": root.path().join("missing-project"),
            "timestamp": "2026-07-13T00:00:00Z",
            "message": { "content": "remember this" },
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #82def4be931598d5 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_tests.rs:84
    fs::write(project_memory.join("MEMORY.md"), "index").expect("write index");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1a4e2f52ea7f9027 Filesystem access.
repo/codex-rs/external-agent-migration/src/memory_tests.rs:111
    fs::write(outside_memory.join("secret.md"), "secret").expect("write outside memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #15b7a0d3df1cacb4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/external-agent-migration/src/service.rs:456
                    tracing::warn!(
                        path = %home_settings.display(),
                        error = %err,
                        "ignoring invalid external agent home settings during repo MCP migration"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #8006911eb4533419 Filesystem access.
repo/codex-rs/external-agent-migration/src/service.rs:510
        let existing_raw = fs::read_to_string(&target_config)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aa20add9ef18ed8e Filesystem access.
repo/codex-rs/external-agent-migration/src/service.rs:554
        let existing_raw = fs::read_to_string(&target_config)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #108757630d01edcc Filesystem access.
repo/codex-rs/external-agent-migration/src/service.rs:710
        fs::write(&target_agents_md, source_contents)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30177dd18f9651bb Environment-variable access.
repo/codex-rs/external-agent-migration/src/service.rs:719
    if let Some(home) = std::env::var_os("HOME").or_else(|| std::env::var_os("USERPROFILE")) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed82e2c0970d4928 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:9
    fs::write(
        repo_root.join(".mcp.json"),
        r#"{
          "mcpServers": {
            "mixedTransport": {
              "command": "mcp-remote-proxy",
              "args": [
                "https://example.com/mixed-transport",
                "--transport",
                "http"
              ],
              "url": "https://example.com/mixed-transport"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #64da31bed20a7b65 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:30
    fs::write(
        repo_root.join(".codex").join("config.toml"),
        existing_config,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #35da5f9974079976 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:72
    fs::write(
        repo_root.join(".mcp.json"),
        r#"{
          "mcpServers": {
            "docs": {"command": "docs-server"},
            "mixedTransport": {"command": "mcp-remote-proxy"}
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #787762fbe728d759 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:83
    fs::write(
        repo_root.join(".codex").join("config.toml"),
        r#"[mcp_servers.mixedTransport]
url = "https://example.com/mixed-transport"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e974284089042041 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:131
    fs::write(
            external_agent_home.join("settings.json"),
            format!(r#"{{"model":"{SOURCE_EXTERNAL_AGENT_NAME}","permissions":{{"ask":["git push"]}},"env":{{"FOO":"bar","CI":false,"MAX_RETRIES":3,"MY_TEAM":"codex","IGNORED":null,"LIST":["a","b"],"MAP":{{"x":1}}}},"sandbox":{{"enabled":true,"network":{{"allowLocalBinding":true}}}}}}"#),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #36ae20f04fd1d75e Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:136
    fs::write(
        external_agent_home
            .join("skills")
            .join("skill-a")
            .join("SKILL.md"),
        format!(
            "Use {SOURCE_EXTERNAL_AGENT_PRODUCT_NAME} and {SOURCE_EXTERNAL_AGENT_UPPER_NAME} utilities."
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1a7a5e73e9280349 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:146
    fs::write(
        external_agent_home.join(EXTERNAL_AGENT_CONFIG_MD),
        format!("{SOURCE_EXTERNAL_AGENT_DISPLAY_NAME} code guidance"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #777396be57a051fa Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:181
        toml::from_str(&fs::read_to_string(codex_home.join("config.toml")).expect("read config"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cbee925268ce2056 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:210
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{"env":{"FOO":"project","PROJECT_ONLY":"yes"},"sandbox":{"enabled":false}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc859cc307c73671 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:215
    fs::write(
        external_agent_home.join("settings.local.json"),
        r#"{"env":{"FOO":"local","LOCAL_ONLY":true},"sandbox":{"enabled":true}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a4f067e0b74454cb Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:231
        toml::from_str(&fs::read_to_string(codex_home.join("config.toml")).expect("read config"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3a259168ddce1b92 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:254
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{"env":{"FOO":"project"},"sandbox":{"enabled":false}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2c8fae68bdfe1257 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:259
    fs::write(
        external_agent_home.join("settings.local.json"),
        "{invalid json",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #896bfcdc2b3c1323 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:284
    fs::write(
        external_agent_home.join("settings.json"),
        format!(r#"{{"model":"{SOURCE_EXTERNAL_AGENT_NAME}","sandbox":{{"enabled":false}}}}"#),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #48b283495ef9c891 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:324
    fs::write(
        external_agent_home.join("settings.json"),
        serde_json::to_string_pretty(&serde_json::json!({
            "enabledPlugins": {
                "cloudflare@my-plugins": true
            },
            "extraKnownMarketplaces": {
                "my-plugins": {
                    "source": "local",
                    "path": marketplace_root
                }
            }
        }))
        .expect("serialize settings"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4a735ea3892e7cab Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:340
    fs::write(
        marketplace_root
            .join(EXTERNAL_AGENT_PLUGIN_MANIFEST_DIR)
            .join("marketplace.json"),
        r#"{
          "name": "my-plugins",
          "plugins": [
            {
              "name": "cloudflare",
              "source": "./plugins/cloudflare"
            }
          ]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #52a7e3875d28fe0e Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:355
    fs::write(
        plugin_root.join(".codex-plugin").join("plugin.json"),
        r#"{"name":"cloudflare","version":"0.1.0"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f84ff4ec91132a5d Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:397
    let config = fs::read_to_string(codex_home.join("config.toml")).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1a5c5331b8f94855 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:406
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": "owner/debug-marketplace"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dbd9724f59bb996b Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:470
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{"env":{"FOO":"bar"},"sandbox":{"enabled":true}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8cd923220ba17829 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/config_import.rs:475
    fs::write(
        codex_home.join("config.toml"),
        r#"
            sandbox_mode = "workspace-write"

            [shell_environment_policy]
            inherit = "core"

            [shell_environment_policy.set]
            FOO = "bar"
            "#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c4a75c50335b4f23 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:13
    fs::write(
        external_agent_home.join(EXTERNAL_AGENT_CONFIG_MD),
        format!("{SOURCE_EXTERNAL_AGENT_NAME} rules"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c8c1bbc8576c12e Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:18
    fs::write(
        external_agent_home.join("settings.json"),
        format!(r#"{{"model":"{SOURCE_EXTERNAL_AGENT_NAME}","env":{{"FOO":"bar"}}}}"#),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #049db74609c1fc70 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:83
    fs::write(
        &session_path,
        serde_json::json!({
            "type": "user",
            "cwd": &project_root,
            "timestamp": &recent_timestamp,
            "message": { "content": "first request" },
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #789495d47b86e890 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:133
    fs::write(
        repo_root.join(EXTERNAL_AGENT_CONFIG_MD),
        format!("{SOURCE_EXTERNAL_AGENT_DISPLAY_NAME} code guidance"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #86c906f2f40f7a97 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:191
    fs::write(codex_home.join("config.toml"), "this is not valid = [toml")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ebac57c3a8ae5154 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:193
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{"env":{"FOO":"bar"}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5b78324c3c3d7f9d Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:198
    fs::write(
        repo_root
            .join(EXTERNAL_AGENT_DIR)
            .join("skills")
            .join("skill-a")
            .join("SKILL.md"),
        format!(
            "Use {SOURCE_EXTERNAL_AGENT_PRODUCT_NAME} and {SOURCE_EXTERNAL_AGENT_UPPER_NAME} utilities."
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #48263db8801be49c Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:209
    fs::write(
        repo_root
            .join(EXTERNAL_AGENT_DIR)
            .join(EXTERNAL_AGENT_CONFIG_MD),
        format!("{SOURCE_EXTERNAL_AGENT_DISPLAY_NAME} code guidance"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e0479211daf705a Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:285
    fs::write(
        repo_root.join(".mcp.json"),
        r#"{"mcpServers":{"docs":{"command":"docs-server"}}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2079f49797dcc77e Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:290
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{"hooks":{"PreToolUse":[{"matcher":"Bash","hooks":[{"type":"command","command":"echo external-agent","timeout":3},{"type":"http","url":"https://example.invalid/hook"}]}]}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3eacafc2279c3557 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:295
    fs::write(
        repo_root
            .join(EXTERNAL_AGENT_DIR)
            .join("commands")
            .join("pr")
            .join("review.md"),
        "---\ndescription: Review PR\n---\nReview the pull request carefully.\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c396709b84249fb Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:304
    fs::write(
        repo_root
            .join(EXTERNAL_AGENT_DIR)
            .join("agents")
            .join("researcher.md"),
        "---\nname: researcher\ndescription: Research role\n---\nResearch carefully.\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #83bea5e4022d0bc2 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:401
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{"hooks":{"PreToolUse":[{"matcher":"Bash","hooks":[{"type":"command","if":"Bash(rm *)","command":"echo blocked"}]}],"UnsupportedEvent":[{"matcher":"worker","hooks":[{"type":"command","command":"echo started"}]}]}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7bf668dcd4b9d3f9 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:435
    fs::write(
        repo_root.join(".mcp.json"),
        r#"{
          "mcpServers": {
            "docs": {
              "command": "docs-server",
              "args": ["--stdio"],
              "headers": {"X-Ignored": "unsupported for stdio"},
              "env": {"DOCS_TOKEN": "${DOCS_TOKEN}", "STATIC": "yes"}
            },
            "api": {
              "url": "https://example.com/mcp",
              "args": ["ignored-for-http"],
              "env": {"IGNORED": "unsupported for http"},
              "headers": {
                "Authorization": "Bearer ${API_TOKEN}",
                "X-Team": "${TEAM}"
              }
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #200c7090a3494104 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:458
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{"hooks":{"PreToolUse":[{"matcher":"Bash","hooks":[{"type":"command","command":"echo external-agent","timeout":3},{"type":"prompt","prompt":"skip"}]}],"Stop":[{"matcher":"ignored","hooks":[{"command":"echo done"}]}]}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #50ce1cab52977b62 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:463
    fs::write(
        repo_root
            .join(EXTERNAL_AGENT_DIR)
            .join("commands")
            .join("pr")
            .join("review.md"),
        "---\ndescription: Review PR\n---\nReview the pull request carefully.\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b986e5fdbc28964 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:472
    fs::write(
        repo_root
            .join(EXTERNAL_AGENT_DIR)
            .join("agents")
            .join("researcher.md"),
        format!("---\nname: researcher\ndescription: Research role\npermissionMode: acceptEdits\nskills: [deep-research]\ntools: Bash, Read\ndisallowedTools: WebFetch\neffort: high\n---\nResearch with {SOURCE_EXTERNAL_AGENT_PRODUCT_NAME} carefully.\n"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d0818291627f9ea1 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:514
        &fs::read_to_string(repo_root.join(".codex").join("config.toml")).expect("read config"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1dcb09e6f0021223 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:550
        &fs::read_to_string(repo_root.join(".codex").join("hooks.json")).expect("read hooks"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d1a064792e9c4eb8 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/detection.rs:596
        &fs::read_to_string(
            repo_root
                .join(".codex")
                .join("agents")
                .join("researcher.toml"),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #37c9071f4190f987 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:13
    fs::write(
        repo_root.join(EXTERNAL_AGENT_CONFIG_MD),
        format!(
            "{SOURCE_EXTERNAL_AGENT_PRODUCT_NAME}\n{SOURCE_EXTERNAL_AGENT_NAME}\n{SOURCE_EXTERNAL_AGENT_UPPER_PRODUCT_NAME}\nSee {EXTERNAL_AGENT_CONFIG_MD}\n"
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #935fd6ee9410bb90 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:20
    fs::write(
        repo_with_existing_target.join(EXTERNAL_AGENT_CONFIG_MD),
        "new source",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #752d49a00dd6183e Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:25
    fs::write(
        repo_with_existing_target.join("AGENTS.md"),
        "keep existing target",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c7b55647bbcb64b1 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:98
    fs::write(
        repo_root.join(EXTERNAL_AGENT_CONFIG_MD),
        format!("{SOURCE_EXTERNAL_AGENT_DISPLAY_NAME} code guidance"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #58ebc7fdb5a2a2a9 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:103
    fs::write(repo_root.join("AGENTS.md"), " \n\t").expect("write empty target");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f10693f00f7dea64 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:149
    fs::write(repo_root.join(EXTERNAL_AGENT_CONFIG_MD), " \n\t").expect("write empty root source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff989d2dae2a5d80 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:150
    fs::write(
        repo_root
            .join(EXTERNAL_AGENT_DIR)
            .join(EXTERNAL_AGENT_CONFIG_MD),
        format!("{SOURCE_EXTERNAL_AGENT_DISPLAY_NAME} code guidance"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16a235351ac0c198 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:195
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{"hooks":{"Stop":[{"hooks":[{"command":"echo done"}]}]}}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8acae6cc17284e44 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:200
    fs::write(
        repo_root.join(".codex").join("config.toml"),
        "[features]\ncodex_hooks = false\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc691a308296ae71 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:240
        &fs::read_to_string(repo_root.join(".codex").join("hooks.json")).expect("read hooks"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f57cf23c17ba21de Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:265
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{"disabledMcpjsonServers":["blocked"]}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39d9b82cf20f34bf Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:270
    fs::write(
        root.path().join(EXTERNAL_AGENT_PROJECT_CONFIG_FILE),
        serde_json::json!({
            "projects": {
                repo_root.display().to_string(): {
                    "mcpServers": {
                        "allowed": {"command": "allowed-server"},
                        "blocked": {"command": "blocked-server"}
                    }
                }
            }
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6a79c3477407242 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:313
        &fs::read_to_string(repo_root.join(".codex").join("config.toml")).expect("read config"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a79a8cf40fc52053 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:333
    fs::write(
        repo_root.join(".mcp.json"),
        r#"{
          "mcpServers": {
            "project-disabled": {"command": "project-disabled-server"},
            "local-disabled": {"command": "local-disabled-server"},
            "local-enabled": {"command": "local-enabled-server"}
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c66b962ee707ac5e Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:344
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{
          "enabledMcpjsonServers": ["project-disabled", "local-disabled"],
          "disabledMcpjsonServers": ["project-disabled"]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd1aa1d5be9647b4 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:352
    fs::write(
        repo_root
            .join(EXTERNAL_AGENT_DIR)
            .join("settings.local.json"),
        r#"{
          "enabledMcpjsonServers": ["local-enabled", "local-disabled"],
          "disabledMcpjsonServers": ["local-disabled"]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c27a28b0d96de9cd Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:373
        &fs::read_to_string(repo_root.join(".codex").join("config.toml")).expect("read config"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0ee623d456ba731f Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:393
    fs::write(external_agent_home.join("settings.json"), "{ invalid json")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08db768fac59e233 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:395
    fs::write(
        root.path().join(EXTERNAL_AGENT_PROJECT_CONFIG_FILE),
        serde_json::json!({
            "projects": {
                repo_root.display().to_string(): {
                    "mcpServers": {
                        "docs": {"command": "docs-server"}
                    }
                }
            }
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #52d0bff67d682fb1 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:420
        &fs::read_to_string(repo_root.join(".codex").join("config.toml")).expect("read config"),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #70f4297db399ea2d Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:439
    fs::write(repo_root.join(EXTERNAL_AGENT_CONFIG_MD), "").expect("write empty root source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0176a00f6bbd1016 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:440
    fs::write(
        repo_root
            .join(EXTERNAL_AGENT_DIR)
            .join(EXTERNAL_AGENT_CONFIG_MD),
        format!("{SOURCE_EXTERNAL_AGENT_DISPLAY_NAME} code guidance"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8063edf89f2c21c Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/general/repo_import.rs:471
    fs::write(repo_root.join(EXTERNAL_AGENT_CONFIG_MD), "Claude guidance").expect("write source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #74342d76963db1b1 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/memory.rs:14
    fs::write(project_memory.join("MEMORY.md"), "project memory").expect("write project memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d67fab71557bf778 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/memory.rs:15
    fs::write(
        project_root.join("session.jsonl"),
        serde_json::json!({
            "type": "user",
            "cwd": project_cwd,
            "timestamp": "2026-07-13T00:00:00Z",
            "message": { "content": "remember this" },
        })
        .to_string(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3326bd0b19e96e20 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:10
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true,
            "deployer@acme-tools": true,
            "analyzer@security-plugins": false
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": "acme-corp/external-agent-plugins"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #098ba75096523af4 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:66
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": {
                "source": "settings",
                "name": "acme-tools",
                "plugins": [{
                  "name": "formatter",
                  "source": {
                    "source": "npm",
                    "package": "@acme/formatter"
                  }
                }]
              }
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #21e4d9e564ec19bf Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:90
    fs::write(
        external_agent_home.join(EXTERNAL_AGENT_KNOWN_MARKETPLACES_PATH),
        serde_json::to_string_pretty(&serde_json::json!({
            "acme-tools": {
                "source": {
                    "source": "settings",
                    "name": "acme-tools",
                    "plugins": [{
                        "name": "formatter",
                        "source": {
                            "source": "npm",
                            "package": "@acme/formatter",
                        },
                    }],
                },
                "installLocation": "plugins/marketplaces/acme-tools",
                "lastUpdated": "2026-07-09T00:16:23.611Z",
            }
        }))
        .expect("serialize known marketplaces"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #021fb2e2e04cd16d Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:150
    fs::write(
        external_agent_home.join(EXTERNAL_AGENT_KNOWN_MARKETPLACES_PATH),
        serde_json::to_string_pretty(&serde_json::json!({
            "debug": {
                "source": {
                    "source": "github",
                    "repo": "acme/global-marketplace",
                },
                "installLocation": cached_marketplace,
            }
        }))
        .expect("serialize known marketplaces"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c05796a87fc64fba Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:192
    fs::write(
        external_agent_home.join(EXTERNAL_AGENT_KNOWN_MARKETPLACES_PATH),
        serde_json::to_string_pretty(&serde_json::json!({
            "acme-tools": {
                "source": {
                    "source": "git",
                    "url": "https://git.example.com/acme/tools.git",
                    "ref": "release",
                },
                "installLocation": cached_marketplace,
            }
        }))
        .expect("serialize known marketplaces"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30f4a573f29d0643 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:227
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true,
            "legacy@acme-tools": true
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": "acme-corp/external-agent-plugins"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f612b1986d6b9f06 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:242
    fs::write(
        external_agent_home.join("settings.local.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": false,
            "deployer@acme-tools": true
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9dfdf7e4ccc3774c Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:291
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true,
            "deployer@acme-tools": true
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": "acme-corp/external-agent-plugins"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #77cc1ff5d72b9f18 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:306
    fs::write(
        codex_home.join("config.toml"),
        r#"
[plugins."formatter@acme-tools"]
enabled = true
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9004ef90e9cccbb8 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:356
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": "acme-corp/external-agent-plugins"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0bbf1cd05ee1969e Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:370
    fs::write(
        codex_home.join("config.toml"),
        r#"
[plugins."formatter@acme-tools"]
enabled = false
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d187f7dd87d17b7c Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:400
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": "acme-corp/external-agent-plugins"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e0c1d969d41f8198 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:414
    fs::write(
        codex_home.join("config.toml"),
        r#"
[plugins."formatter@acme-tools"]
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f39c4e8e55af986c Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:457
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": "acme-corp/external-agent-plugins"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #adfd4d1187bedbb4 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:471
    fs::write(
        repo_root.join(".codex").join("config.toml"),
        r#"
[plugins."formatter@acme-tools"]
enabled = true
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #130b42ce99b4e4a6 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:516
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4943a879033f85cf Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:542
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": "github"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #45eaa6adb217e26c Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:594
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{
          "enabledPlugins": {
            "sample@debug": true,
            "available@debug": true,
            "missing@debug": true
          },
          "extraKnownMarketplaces": {
            "debug": {
              "source": "owner/debug-marketplace"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #470843e479868a60 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:610
    fs::write(
        codex_home.join("config.toml"),
        r#"
[marketplaces.debug]
source_type = "git"
source = "owner/debug-marketplace"
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98f2398d2db9ebe8 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:619
    fs::write(
        marketplace_root
            .join(".agents")
            .join("plugins")
            .join("marketplace.json"),
        r#"{
  "name": "debug",
  "plugins": [
    {
      "name": "sample",
      "source": {
        "source": "local",
        "path": "./plugins/sample"
      },
      "policy": {
        "installation": "NOT_AVAILABLE"
      }
    },
    {
      "name": "available",
      "source": {
        "source": "local",
        "path": "./plugins/available"
      }
    }
  ]
}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #87b1c4e371f2620e Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:648
    fs::write(
        marketplace_root
            .join("plugins")
            .join("sample")
            .join(".codex-plugin")
            .join("plugin.json"),
        r#"{"name":"sample"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9059b73a61b43b8a Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/basics.rs:657
    fs::write(
        marketplace_root
            .join("plugins")
            .join("available")
            .join(".codex-plugin")
            .join("plugin.json"),
        r#"{"name":"available"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1a4fdb836d956576 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:8
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": "github",
              "repo": "acme-corp/external-agent-plugins"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #db7a17d0e8d1ddba Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:57
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{
          "enabledPlugins": {
            "formatter@acme-tools": true
          },
          "extraKnownMarketplaces": {
            "acme-tools": {
              "source": "local",
              "path": "./external_plugins/acme-tools"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7fae1eb46a775c35 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:103
    fs::write(
        external_agent_home.join("settings.json"),
        serde_json::to_string_pretty(&serde_json::json!({
            "enabledPlugins": {
                "cloudflare@my-plugins": true
            },
            "extraKnownMarketplaces": {
                "my-plugins": {
                    "source": "local",
                    "path": marketplace_root
                }
            }
        }))
        .expect("serialize settings"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #62987dbf013ee664 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:119
    fs::write(
        marketplace_root
            .join(EXTERNAL_AGENT_PLUGIN_MANIFEST_DIR)
            .join("marketplace.json"),
        r#"{
          "name": "my-plugins",
          "plugins": [
            {
              "name": "cloudflare",
              "source": "./plugins/cloudflare"
            }
          ]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #82357ab978c31185 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:134
    fs::write(
        plugin_root.join(".codex-plugin").join("plugin.json"),
        r#"{"name":"cloudflare","version":"0.1.0"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bd7e52029ae22f4a Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:164
    let config = fs::read_to_string(codex_home.join("config.toml")).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8309d2038c2f0eb Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:186
    fs::write(
        external_agent_home.join("settings.json"),
        serde_json::to_string_pretty(&serde_json::json!({
            "enabledPlugins": {
                "cloudflare@my-plugins": true
            },
            "extraKnownMarketplaces": {
                "my-plugins": {
                    "source": "local",
                    "path": source_marketplace_root
                }
            }
        }))
        .expect("serialize settings"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1071d96f7abfe9f Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:202
    fs::write(
        codex_home.join("config.toml"),
        format!(
            r#"[marketplaces.my-plugins]
source_type = "local"
source = {configured_marketplace_root:?}
"#
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84f72d42ba06b706 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:212
    fs::write(
        configured_marketplace_root.join(".agents/plugins/marketplace.json"),
        r#"{
          "name": "my-plugins",
          "plugins": [{
            "name": "cloudflare",
            "source": {"source": "local", "path": "./plugins/cloudflare"}
          }]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #68ea8dfa39f01ca8 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:223
    fs::write(
        source_marketplace_root
            .join(EXTERNAL_AGENT_PLUGIN_MANIFEST_DIR)
            .join("marketplace.json"),
        r#"{
          "name": "my-plugins",
          "plugins": [{"name": "cloudflare", "source": "./plugins/cloudflare"}]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a1c075d694dc5778 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:233
    fs::write(
        configured_plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"cloudflare","version":"0.1.0"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2774c3c779d4b336 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:238
    fs::write(
        source_plugin_root.join(".codex-plugin/plugin.json"),
        r#"{"name":"cloudflare","version":"0.2.0"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a12f17529778aafc Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:269
        toml::from_str(&fs::read_to_string(codex_home.join("config.toml")).expect("read config"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ce3eb2a14ad5d79 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:294
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{
          "enabledPlugins": {
            "cloudflare@my-plugins": true
          },
          "extraKnownMarketplaces": {
            "my-plugins": {
              "source": "directory",
              "path": "./my-marketplace"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f14b48dcd54892d2 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:309
    fs::write(
        marketplace_root
            .join(EXTERNAL_AGENT_PLUGIN_MANIFEST_DIR)
            .join("marketplace.json"),
        r#"{
          "name": "my-plugins",
          "plugins": [
            {
              "name": "cloudflare",
              "source": "./plugins/cloudflare"
            }
          ]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ea0e13b52faf93ce Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:324
    fs::write(
        plugin_root.join(".codex-plugin").join("plugin.json"),
        r#"{"name":"cloudflare","version":"0.1.0"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #54e45fa6621f02d9 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:365
    fs::write(
        external_agent_home.join("settings.json"),
        format!(
            r#"{{
          "enabledPlugins": {{
            "sample@{EXTERNAL_OFFICIAL_MARKETPLACE_NAME}": true
          }}
        }}"#
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1ab1dd932419b5f Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:416
    fs::write(
        external_agent_home.join("settings.json"),
        r#"{
          "enabledPlugins": {
            "cloudflare@my-plugins": true
          },
          "extraKnownMarketplaces": {
            "my-plugins": {
              "source": "directory",
              "path": "./my-marketplace"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d2bb66320d24c5ec Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:431
    fs::write(
        marketplace_root
            .join(EXTERNAL_AGENT_PLUGIN_MANIFEST_DIR)
            .join("marketplace.json"),
        r#"{
          "name": "my-plugins",
          "plugins": [
            {
              "name": "cloudflare",
              "source": "./plugins/cloudflare"
            }
          ]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #601b1e693fb8110c Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:446
    fs::write(
        plugin_root.join(".codex-plugin").join("plugin.json"),
        r#"{"name":"cloudflare","version":"0.1.0"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34f661ec8ae581dd Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:476
    let config = fs::read_to_string(codex_home.join("config.toml")).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #216afe0fac0fcee4 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:487
    fs::write(
        external_agent_home.join("settings.json"),
        format!(
            r#"{{
          "enabledPlugins": {{
            "sample@{EXTERNAL_OFFICIAL_MARKETPLACE_NAME}": true
          }}
        }}"#
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc5ef90c6429fd73 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:546
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{
          "enabledPlugins": {
            "cloudflare@my-plugins": true
          },
          "extraKnownMarketplaces": {
            "my-plugins": {
              "source": "directory",
              "path": "./my-marketplace"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b1ce133c7b1ad70f Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:561
    fs::write(
        marketplace_root
            .join(EXTERNAL_AGENT_PLUGIN_MANIFEST_DIR)
            .join("marketplace.json"),
        r#"{
          "name": "my-plugins",
          "plugins": [
            {
              "name": "cloudflare",
              "source": "./plugins/cloudflare"
            }
          ]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81f5d4c5c2917261 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:576
    fs::write(
        plugin_root.join(".codex-plugin").join("plugin.json"),
        r#"{"name":"cloudflare","version":"0.1.0"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d075e18e57902bd Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:629
    fs::write(
        repo_root.join(EXTERNAL_AGENT_DIR).join("settings.json"),
        r#"{
          "enabledPlugins": {
            "cloudflare@my-plugins": true
          },
          "extraKnownMarketplaces": {
            "my-plugins": {
              "source": "directory",
              "path": "./my-marketplace"
            }
          }
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #10223b000b5287d3 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:644
    fs::write(
        marketplace_root
            .join(EXTERNAL_AGENT_PLUGIN_MANIFEST_DIR)
            .join("marketplace.json"),
        r#"{
          "name": "my-plugins",
          "plugins": [
            {
              "name": "cloudflare",
              "source": "./plugins/cloudflare"
            }
          ]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #54860f3893b93f64 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:659
    fs::write(
        plugin_root.join(".codex-plugin").join("plugin.json"),
        r#"{"name":"cloudflare","version":"0.1.0"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aa8e02003662e778 Filesystem access.
repo/codex-rs/external-agent-migration/src/service_tests/plugins/marketplaces.rs:689
    let config = fs::read_to_string(codex_home.join("config.toml")).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6f30defb720d6e5d Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/export.rs:221
        std::fs::write(
            &path,
            jsonl(&[
                record("user", "first request", &project_root),
                record("assistant", "first answer", &project_root),
                record("user", "second request", &project_root),
            ]),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd5f2a51d7a052af Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/export.rs:256
        std::fs::write(
            &path,
            jsonl(&[
                record("user", "first request", &project_root),
                record("assistant", "first answer", &project_root),
            ]),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #edf9616ddfc35a4a Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/export.rs:302
        std::fs::write(
            &path,
            jsonl(&[
                record("user", &request, &project_root),
                record("assistant", &answer, &project_root),
            ]),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac2587546953e600 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/export.rs:344
        std::fs::write(
            &path,
            jsonl(&[
                record("user", "first request", &project_root),
                custom_title_record("named by source app"),
            ]),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f85eaf543686f90 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/export.rs:366
        std::fs::write(
            &path,
            jsonl(&[
                record("user", "first request", &project_root),
                ai_title_record("generated by source app"),
            ]),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #14ae57e110318b6d Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/export.rs:388
        std::fs::write(
            &path,
            jsonl(&[
                record("user", "first request", &project_root),
                custom_title_record("named by source app"),
                ai_title_record("generated by source app"),
            ]),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e1c2c69a65741318 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/export.rs:412
        std::fs::write(&path, jsonl(&[record("user", message, &project_root)])).expect("session");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34d88b05877303db Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/export.rs:437
        std::fs::write(
            &path,
            jsonl(&[
                record("user", control_message, &project_root),
                record("user", "Fix auth flow", &project_root),
            ]),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b1519a821fe982d9 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/export.rs:463
        std::fs::write(
            &path,
            jsonl(&[
                record(
                    "user",
                    "<ide_selection>src/auth.rs:1-5</ide_selection>",
                    &project_root,
                ),
                record(
                    "user",
                    "<local-command-stderr>tests failed</local-command-stderr>",
                    &project_root,
                ),
            ]),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #807218cc73f4f4ee Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/export.rs:496
        std::fs::write(
            &path,
            jsonl(&[
                record("user", "first request", &project_root),
                record("assistant", "first answer", &project_root),
                record("user", "second request", &project_root),
            ]),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bcfb64948d1ef56d Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/ledger.rs:210
    let raw = match fs::read_to_string(path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #495a5e0cde073f53 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/ledger.rs:232
    fs::write(path, raw)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5f743b2ad023ec0e Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/ledger.rs:244
    let mut file = File::open(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9323165e2a767f75 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/ledger_tests.rs:29
    std::fs::write(&source_path, contents).expect("source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #30e9f6fcb9fe2594 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/ledger_tests.rs:58
    std::fs::write(&source_path, contents).expect("source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e621b1b68ff0133 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/mod.rs:165
        std::fs::write(&source_path, "{}\n").expect("session");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef62d001ef09d6bb Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/mod.rs:198
        std::fs::write(&source_path, &contents).expect("session");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4f734d478b10230 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/mod.rs:215
        std::fs::write(
            &source_path,
            serde_json::json!({
                "type": "message",
                "role": "user",
                "timestamp_ms": 1_782_817_200_000_i64,
                "message": {"content": "first request"},
            })
            .to_string(),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a8bbec393e3ed75d Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/records.rs:46
    let file = File::open(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #69ac36086a915a17 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/records.rs:125
    let file = File::open(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #51da2c5246b75094 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/records.rs:456
        std::fs::write(&path, &contents).expect("session");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c92ac3ed61f645d3 Filesystem access.
repo/codex-rs/external-agent-migration/src/sessions/records.rs:478
        std::fs::write(
            &path,
            serde_json::json!({
                "cwd": embedded_cwd,
                "role": "user",
                "message": {"content": "first request"},
            })
            .to_string(),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5a0eeb780a316f61 Environment-variable access.
repo/codex-rs/external-agent-migration/src/source/cla.rs:51
            let roaming = std::env::var_os("APPDATA")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #22b5a20869d74b19 Environment-variable access.
repo/codex-rs/external-agent-migration/src/source/cla.rs:55
            let local = std::env::var_os("LOCALAPPDATA")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4515a8d8cb94e677 Filesystem access.
repo/codex-rs/external-agent-migration/src/source/cla.rs:151
        fs::read_to_string(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #92de1a171581b2b3 Filesystem access.
repo/codex-rs/external-agent-migration/src/source/cur.rs:136
        fs::read_to_string(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6d76bbc91e310907 Filesystem access.
repo/codex-rs/external-agent-migration/src/source/mod.rs:26
    let raw = fs::read_to_string(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #885feffbdd9f603c Filesystem access.
repo/codex-rs/external-agent-migration/src/source/mod.rs:90
    Ok(!fs::read_to_string(path)?.trim().is_empty())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #78bad39e2624bc08 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/external-agent-migration/src/source_cla.rs:44
            tracing::warn!(
                path = %known_marketplaces_path.display(),
                error = %err,
                "ignoring invalid external agent marketplace registry"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5ec3af042aa10743 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/external-agent-migration/src/source_cla.rs:166
                tracing::warn!(
                    plugin_id = %plugin_id.as_key(),
                    marketplace_name = %plugin_id.marketplace_name,
                    "enabled external agent plugin was not found in configured marketplace"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #964eeda6b5532090 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/external-agent-migration/src/source_cla.rs:174
            tracing::warn!(
                plugin_id = %plugin_id.as_key(),
                marketplace_name = %plugin_id.marketplace_name,
                "marketplace source was not found for enabled external agent plugin"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #989a5b920224c9fe Filesystem access.
repo/codex-rs/external-agent-migration/src/source_cur.rs:95
        let manifest = match fs::read_to_string(&manifest_path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #6cfcf8c62dfdcaa3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/external-agent-migration/src/source_cur.rs:98
                tracing::warn!(
                    path = %manifest_path.display(),
                    error = %err,
                    "ignoring unreadable external marketplace manifest"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #50aad0724c4de508 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/external-agent-migration/src/source_cur.rs:109
                tracing::warn!(
                    path = %manifest_path.display(),
                    error = %err,
                    "ignoring invalid external marketplace manifest"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #39eba88aa84b50af Filesystem access.
repo/codex-rs/external-agent-migration/src/source_cur_tests.rs:18
    fs::write(&source_settings, r#"{"env":{"FOO":"bar"}}"#).expect("source settings");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cf1e04b65d0a19b8 Filesystem access.
repo/codex-rs/external-agent-migration/src/source_cur_tests.rs:19
    fs::write(
        source_dir.join(CurSource::SANDBOX_CONFIG_FILE),
        r#"{"type":"read_only"}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f06f0b3db85f7f02 Filesystem access.
repo/codex-rs/external-agent-migration/src/source_cur_tests.rs:86
    fs::write(
        &manifest_path,
        r#"{
            "name": "acme",
            "plugins": [{"name": "sample"}, {"name": "not-cached"}]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4fbcb569e6e19a97 Filesystem access.
repo/codex-rs/external-agent-migration/src/source_cur_tests.rs:113
    fs::write(
        &manifest_path,
        r#"{"name":"acme","plugins":[{"name":"sample"}]}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #14947166002fe5ad Filesystem access.
repo/codex-rs/external-agent-migration/src/source_cur_tests.rs:152
    fs::write(&source, "Use the source agent carefully.\n").expect("legacy rules");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b818edba9a8ed491 Filesystem access.
repo/codex-rs/external-agent-migration/src/subagents.rs:78
        fs::write(
            &target,
            render_agent_toml(&document.body, &metadata, rewrite_profile)?,
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #502242520001a3cd Filesystem access.
repo/codex-rs/external-agent-migration/src/subagents.rs:116
    let content = fs::read_to_string(source_file)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #806f7779be208907 Filesystem access.
repo/codex-rs/external-agent-migration/src/utils.rs:21
    let raw = fs::read_to_string(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8ef63c0a18c91898 Filesystem access.
repo/codex-rs/external-agent-migration/src/utils.rs:35
    Ok(fs::read_to_string(path)?.trim().is_empty())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a0ed34970d48edc8 Filesystem access.
repo/codex-rs/external-agent-migration/src/utils.rs:90
    let source_contents = fs::read_to_string(source)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80771662f41e8a02 Filesystem access.
repo/codex-rs/external-agent-migration/src/utils.rs:92
    fs::write(target, rewritten)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/features

rust first-party
expand_more 1 low-confidence finding(s)
low telemetry production #2a2d50dcd99f5dd6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/features/src/lib.rs:521
                    tracing::warn!("unknown feature key in config: {k}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/feedback

rust first-party
expand_more 10 low-confidence finding(s)
low env_fs production #9e4fae190f5e4582 Environment-variable access.
repo/codex-rs/feedback/src/feedback_diagnostics.rs:30
        Self::collect_from_pairs(std::env::vars())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #64e61af22e07ec0d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/feedback/src/lib.rs:113
    tracing::info!(
        target: FEEDBACK_TAGS_TARGET,
        endpoint = tracing::field::debug(snapshot.endpoint),
        auth_header_attached = tracing::field::debug(snapshot.auth_header_attached),
        auth_header_name = tracing::field::debug(snapshot.auth_header_name),
        auth_mode = tracing::field::debug(snapshot.auth_mode),
        auth_retry_after_unauthorized = tracing::field::debug(&snapshot.auth_retry_after_unauthorized),
        auth_recovery_mode = tracing::field::debug(snapshot.auth_recovery_mode),
        auth_recovery_phase = tracing::field::debug(snapshot.auth_recovery_phase),
        auth_connection_reused = tracing::field::debug(&snapshot.auth_connection_reused),
        auth_request_id = tracing::field::debug(snapshot.auth_request_id),
        auth_cf_ray = tracing::field::debug(snapshot.auth_cf_ray),
        auth_error = tracing::field::debug(snapshot.auth_error),
        auth_error_code = tracing::field::debug(snapshot.auth_error_code),
        auth_recovery_followup_success = tracing::field::debug(&snapshot.auth_recovery_followup_success),
        auth_recovery_followup_status = tracing::field::debug(&snapshot.auth_recovery_followup_status),
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b489823f664815f1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/feedback/src/lib.rs:137
    tracing::info!(
        target: FEEDBACK_TAGS_TARGET,
        endpoint = tracing::field::debug(snapshot.endpoint),
        auth_header_attached = tracing::field::debug(snapshot.auth_header_attached),
        auth_header_name = tracing::field::debug(snapshot.auth_header_name),
        auth_mode = tracing::field::debug(snapshot.auth_mode),
        auth_retry_after_unauthorized = tracing::field::debug(&snapshot.auth_retry_after_unauthorized),
        auth_recovery_mode = tracing::field::debug(snapshot.auth_recovery_mode),
        auth_recovery_phase = tracing::field::debug(snapshot.auth_recovery_phase),
        auth_connection_reused = tracing::field::debug(&snapshot.auth_connection_reused),
        auth_request_id = tracing::field::debug(snapshot.auth_request_id),
        auth_cf_ray = tracing::field::debug(snapshot.auth_cf_ray),
        auth_error = tracing::field::debug(snapshot.auth_error),
        auth_error_code = tracing::field::debug(snapshot.auth_error_code),
        auth_recovery_followup_success = tracing::field::debug(&snapshot.auth_recovery_followup_success),
        auth_recovery_followup_status = tracing::field::debug(&snapshot.auth_recovery_followup_status),
        auth_env_openai_api_key_present = tracing::field::debug(auth_env.openai_api_key_env_present),
        auth_env_codex_api_key_present = tracing::field::debug(auth_env.codex_api_key_env_present),
        auth_env_codex_api_key_enabled = tracing::field::debug(auth_env.codex_api_key_env_enabled),
        // Custom provider `env_key` is arbitrary config text, so emit only a safe bucket.
        auth_env_provider_key_name = tracing::field::debug(
            auth_env.provider_env_key_name.as_deref().unwrap_or("")
        ),
        auth_env_provider_key_present = tracing::field::debug(
            &auth_env.provider_env_key_present.map_or_else(String::new, |value| value.to_string())
        ),
        auth_env_refresh_token_url_override_present = tracing::field::debug(
            auth_env.refresh_token_url_override_present
        ),
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #0c5692caeaa4c3a2 Filesystem access.
repo/codex-rs/feedback/src/lib.rs:423
        fs::write(&path, self.as_bytes())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1ee7bf7652642aa1 Filesystem access.
repo/codex-rs/feedback/src/lib.rs:585
            let data = match fs::read(&attachment_path.path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #e4f93cc09c27a3be Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/feedback/src/lib.rs:588
                    tracing::warn!(
                        path = %attachment_path.path.display(),
                        error = %err,
                        "failed to read log attachment; skipping"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1666faa2d178660e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/feedback/src/lib.rs:756
        tracing::info!(target: FEEDBACK_TAGS_TARGET, model = "gpt-5", cached = true, "tags");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #37b45821219a483d Filesystem access.
repo/codex-rs/feedback/src/lib.rs:771
        fs::write(&extra_path, "rollout").expect("extra attachment should be written");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6cdea9ab42aff2c8 Filesystem access.
repo/codex-rs/feedback/src/lib.rs:847
        fs::write(&gzip_path, gzip_bytes).expect("gzip attachment should be written");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #becddb4ca12f2a00 Filesystem access.
repo/codex-rs/feedback/src/lib.rs:848
        fs::write(&unknown_path, unknown_bytes).expect("unknown attachment should be written");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/file-search

rust first-party
expand_more 16 low-confidence finding(s)
low env_fs production #ca93a75457fa6d5d Filesystem access.
repo/codex-rs/file-search/src/lib.rs:791
            fs::write(path, format!("contents {i}")).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #984f119690544c5c Filesystem access.
repo/codex-rs/file-search/src/lib.rs:844
        fs::write(dir.path().join("alpha.txt"), "alpha").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b64b9ff82804b227 Filesystem access.
repo/codex-rs/file-search/src/lib.rs:845
        fs::write(dir.path().join("beta.txt"), "beta").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a6ad684f04eede99 Filesystem access.
repo/codex-rs/file-search/src/lib.rs:875
        fs::write(dir.path().join("alpha.txt"), "alpha").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da30296ecac89f79 Filesystem access.
repo/codex-rs/file-search/src/lib.rs:876
        fs::write(dir.path().join("beta.txt"), "beta").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b1bb9e0739899528 Filesystem access.
repo/codex-rs/file-search/src/lib.rs:992
        fs::write(dir.path().join("docs/guides/intro.md"), "intro").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2c71e6d34feca59e Filesystem access.
repo/codex-rs/file-search/src/lib.rs:993
        fs::write(dir.path().join("docs/readme.md"), "readme").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #99104343c7f7cf01 Filesystem access.
repo/codex-rs/file-search/src/lib.rs:1054
        fs::write(parent.join(".gitignore"), "*\n!.gitignore\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a25445a74df132ff Filesystem access.
repo/codex-rs/file-search/src/lib.rs:1055
        fs::write(
            repo.join(".gitignore"),
            ".vscode/*\n!.vscode/\n!.vscode/settings.json\n!package.json\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d699b8d734c29c80 Filesystem access.
repo/codex-rs/file-search/src/lib.rs:1060
        fs::write(repo.join("package.json"), "{ \"name\": \"demo\" }\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #644db124515c292d Filesystem access.
repo/codex-rs/file-search/src/lib.rs:1061
        fs::write(repo.join(".vscode/settings.json"), "{ \"editor\": true }\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0bc0842e2dd591ed Filesystem access.
repo/codex-rs/file-search/src/lib.rs:1111
        fs::write(parent.join(".gitignore"), "*\n!.gitignore\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d98bd967980b1229 Filesystem access.
repo/codex-rs/file-search/src/lib.rs:1112
        fs::write(
            repo.join(".gitignore"),
            ".vscode/*\n!.vscode/\n!.vscode/settings.json\n!package.json\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7f79bfa37347d4b3 Filesystem access.
repo/codex-rs/file-search/src/lib.rs:1117
        fs::write(repo.join("package.json"), "{ \"name\": \"demo\" }\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c8e0f4038588d056 Filesystem access.
repo/codex-rs/file-search/src/lib.rs:1118
        fs::write(repo.join(".vscode/settings.json"), "{ \"editor\": true }\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca33f184767b0acb Filesystem access.
repo/codex-rs/file-search/src/lib.rs:1119
        fs::write(
            repo.join(".vscode/extensions.json"),
            "{ \"extensions\": [] }\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/file-watcher

rust first-party
expand_more 5 low-confidence finding(s)
low env_fs production #dca4941fd42fe292 Filesystem access.
repo/codex-rs/file-watcher/src/file_watcher_tests.rs:242
    std::fs::write(temp_dir.path().join("refs"), "not a dir").expect("write refs file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #672c424a4a0a3ec5 Filesystem access.
repo/codex-rs/file-watcher/src/file_watcher_tests.rs:404
    std::fs::write(&skill_file, "name: rust\n").expect("write skill file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fa0b5077c192308f Filesystem access.
repo/codex-rs/file-watcher/src/file_watcher_tests.rs:442
    std::fs::write(&missing_file, "origin/main\n").expect("write missing file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ced11d57aab75cbd Filesystem access.
repo/codex-rs/file-watcher/src/file_watcher_tests.rs:470
    std::fs::write(&missing_file, "origin/main\n").expect("write missing file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8efc74d8d5ac1a7e Filesystem access.
repo/codex-rs/file-watcher/src/file_watcher_tests.rs:534
    std::fs::write(&skill_file, "name: rust\n").expect("write skill file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/git-utils

rust first-party
expand_more 32 low-confidence finding(s)
low env_fs production #4bdfce8dfbe58d25 Environment-variable access.
repo/codex-rs/git-utils/src/apply.rs:62
    if let Ok(cfg) = std::env::var("CODEX_APPLY_GIT_CFG") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6305cbf50be0247 Filesystem access.
repo/codex-rs/git-utils/src/apply.rs:147
    std::fs::write(&path, diff)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e9f8119ef2053e46 Filesystem access.
repo/codex-rs/git-utils/src/apply.rs:631
        std::fs::read_to_string(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #28b8e4a54e34898e Filesystem access.
repo/codex-rs/git-utils/src/apply.rs:691
        std::fs::write(root.join("file.txt"), "line1\nline2\nline3\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34315814c80d7aee Filesystem access.
repo/codex-rs/git-utils/src/apply.rs:695
        std::fs::write(root.join("file.txt"), "line1\nlocal2\nline3\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7970010e9fd559c9 Filesystem access.
repo/codex-rs/git-utils/src/apply.rs:731
        std::fs::write(root.join("file.txt"), "orig\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d2ea990a24a71145 Filesystem access.
repo/codex-rs/git-utils/src/apply.rs:767
        std::fs::write(root.join("file.txt"), "orig\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16333f74d1a4bafc Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:198
            let bytes = fs::read(&path).with_context(|| format!("read {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e2c5a54090cfbe0 Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:293
            let bytes = fs::read(&path).with_context(|| format!("read {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ba3e22bec42bfeb5 Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:447
        fs::read(&path).with_context(|| format!("read {}", path.display()))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #499cefba221d2d13 Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:556
        fs::write(root.join("MEMORY.md"), "baseline").expect("write memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc7be3a54ba1b151 Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:574
        fs::write(root.join("MEMORY.md"), "memory").expect("write memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bda4f84d17a10cf1 Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:599
        fs::write(root.join("MEMORY.md"), "baseline").expect("write memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae72ad611b700720 Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:602
        fs::write(
            &hook_path,
            format!(
                "#!/bin/sh\nprintf ran > \"{}\"\n",
                marker_path.to_string_lossy()
            ),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1be2ac48d355056d Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:637
        fs::write(root.join("MEMORY.md"), "old").expect("write memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2e5d02584695a55e Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:638
        fs::write(
            root.join("rollout_summaries/deleted.md"),
            "thread_id: 00000000-0000-4000-8000-000000000001\nimportant stale evidence\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #004cbb5694bead28 Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:645
        fs::write(root.join("MEMORY.md"), "new").expect("update memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #32d2ffe12038372a Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:646
        fs::write(root.join("memory_summary.md"), "summary").expect("write summary");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #77c67badad61a3eb Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:696
        fs::write(root.join("MEMORY.md"), "old").expect("write memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #964cd42067f2126b Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:699
        fs::write(root.join("MEMORY.md"), "new").expect("update memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08964fec9cc79cb9 Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:717
        fs::write(root.join("MEMORY.md"), added_content).expect("write memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #69a2f2feefc2ca6c Filesystem access.
repo/codex-rs/git-utils/src/baseline.rs:739
        fs::write(&path, "same content").expect("write memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a81c0258fa128921 Filesystem access.
repo/codex-rs/git-utils/src/branch.rs:173
        std::fs::write(repo.join("base.txt"), "base\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84eefae57319df52 Filesystem access.
repo/codex-rs/git-utils/src/branch.rs:178
        std::fs::write(repo.join("feature.txt"), "feature change\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0c141d9b064f4de7 Filesystem access.
repo/codex-rs/git-utils/src/branch.rs:183
        std::fs::write(repo.join("main.txt"), "main change\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ab46f59ee5422e3a Filesystem access.
repo/codex-rs/git-utils/src/branch.rs:208
        std::fs::write(repo.join("base.txt"), "base\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ebc99348f0b723c6 Filesystem access.
repo/codex-rs/git-utils/src/branch.rs:219
        std::fs::write(repo.join("feature.txt"), "feature change\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd17b4d0fa301463 Filesystem access.
repo/codex-rs/git-utils/src/branch.rs:225
        std::fs::write(repo.join("new-main.txt"), "rewritten main\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e7351bde53cd9ea3 Filesystem access.
repo/codex-rs/git-utils/src/branch.rs:247
        std::fs::write(repo.join("tracked.txt"), "tracked\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ec50bdd4fb8658b5 Filesystem access.
repo/codex-rs/git-utils/src/info.rs:996
        std::fs::write(
            &git,
            "#!/bin/sh\n\
             printf '%s\\n' \"$*\" >>\"$0.log\"\n\
             case \"$1\" in\n\
             config) printf '/tmp/fsmonitor-helper\\000' ;;\n\
             *) printf 'worktree output\\n' ;;\n\
             esac\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c9ad088c5cb63d6d Filesystem access.
repo/codex-rs/git-utils/src/info.rs:1061
        std::fs::write(
            &git,
            "#!/bin/sh\n\
             printf '%s\\n' \"$*\" >>\"$0.log\"\n\
             case \"$1\" in\n\
             config)\n\
               GIT_CONFIG_NOSYSTEM=1 GIT_CONFIG_GLOBAL=\"$0.global\" exec git \"$@\"\n\
               ;;\n\
             version) printf 'feature: fsmonitor--daemon\\n' ;;\n\
             *) printf 'worktree output\\n' ;;\n\
             esac\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c9e63876d1e68a5 Filesystem access.
repo/codex-rs/git-utils/src/info.rs:1120
        let actual = std::fs::read_to_string(log).expect("read layered-config Git log");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/hooks

rust first-party
expand_more 13 low-confidence finding(s)
low env_fs production #6bc2bb5bbb15ab29 Environment-variable access.
repo/codex-rs/hooks/src/engine/command_runner.rs:183
        let comspec = std::env::var("COMSPEC").unwrap_or_else(|_| "cmd.exe".to_string());

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9ea0252e9aeef473 Environment-variable access.
repo/codex-rs/hooks/src/engine/command_runner.rs:191
        let shell = std::env::var("SHELL").unwrap_or_else(|_| "/bin/sh".to_string());

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9050385de4819827 Filesystem access.
repo/codex-rs/hooks/src/engine/discovery.rs:312
    let contents = match fs::read_to_string(source_path.as_path()) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9746943f7fb79f56 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:149
    fs::write(
        script_path.as_path(),
        format!(
            r#"import json
from pathlib import Path
import sys

payload = json.load(sys.stdin)
with Path(r"{log_path}").open("a", encoding="utf-8") as handle:
    handle.write(json.dumps(payload) + "\n")
"#,
            log_path = log_path.display(),
        ),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9b318778cddcbd3a Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:260
    let log_contents = fs::read_to_string(log_path).expect("read managed hook log");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c405fcba8e17ef05 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:836
    fs::write(
        hooks_json_path.as_path(),
        r#"{
              "hooks": {
                "PreToolUse": [
                  {
                    "matcher": "^Bash$",
                    "hooks": [
                      {
                        "type": "command",
                        "command": "python3 /tmp/json-hook.py"
                      }
                    ]
                  }
                ]
              }
            }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #dccea4d36ade98c1 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:1025
    fs::write(
        hooks_json_path.as_path(),
        r#"{
              "hooks": {
                "PreToolUse": [
                  {
                    "matcher": "^Bash$",
                    "hooks": [
                      {
                        "type": "command",
                        "command": "python3 /tmp/json-hook.py"
                      }
                    ]
                  }
                ]
              }
            }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e154a9a2cc6ec35 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:1146
    fs::write(
        hooks_json_path.as_path(),
        r#"{
              "hooks": {
                "PreToolUse": [
                  {
                    "matcher": "^Bash$",
                    "hooks": [
                      {
                        "type": "command",
                        "command": "python3 /tmp/json-hook.py"
                      }
                    ]
                  }
                ]
              }
            }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0fb9c0905432ce73 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:1235
    fs::write(
        hooks_json_path.as_path(),
        r#"{
          "SessionStart": [
            {
              "hooks": [
                {
                  "type": "command",
                  "command": "python3 /tmp/session-start.py"
                }
              ]
            }
          ]
        }"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #66814810290c1aa4 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:1294
    fs::write(
        script_path.as_path(),
        r#"import json
import os
print(json.dumps({
    "systemMessage": json.dumps({
        "plugin": os.environ.get("PLUGIN_ROOT"),
        "claude": os.environ.get("CLAUDE_PLUGIN_ROOT"),
    })
}))
"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #02a391a186c8ba84 Filesystem access.
repo/codex-rs/hooks/src/output_spill.rs:52
        if let Err(err) = fs::write(path.as_ref(), &text).await {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ab49c301da3ab9cf Filesystem access.
repo/codex-rs/hooks/src/schema.rs:686
    std::fs::write(path, json)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5d06026e2e902ad2 Filesystem access.
repo/codex-rs/hooks/src/schema.rs:982
            let actual = std::fs::read_to_string(schema_root.join("generated").join(fixture))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/http-client

rust first-party
expand_more 13 low-confidence finding(s)
low env_fs production #7b8182c885f6d6c3 Environment-variable access.
repo/codex-rs/http-client/src/bin/custom_ca_probe.rs:48
    let proxy_url = env::var(PROBE_PROXY_ENV).ok();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2dcb96ac89c80f30 Environment-variable access.
repo/codex-rs/http-client/src/bin/custom_ca_probe.rs:49
    let target_url = env::var(PROBE_URL_ENV).ok();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6750dd87d2125871 Environment-variable access.
repo/codex-rs/http-client/src/bin/custom_ca_probe.rs:54
    if env::var_os(PROBE_TLS13_ENV).is_some() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #984f8a741b3b26a8 Environment-variable access.
repo/codex-rs/http-client/src/custom_ca.rs:423
        env::var(key).ok()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #836cf927e00835ae Filesystem access.
repo/codex-rs/http-client/src/custom_ca.rs:530
        fs::read(&self.path).map_err(|source| BuildCustomCaTransportError::ReadCaFile {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ce620d15c0c205e8 Filesystem access.
repo/codex-rs/http-client/src/custom_ca.rs:752
        fs::write(&path, contents).unwrap_or_else(|error| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #b9a40ec8c2782854 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/default_client.rs:153
                    tracing::debug!(
                        method = %self.method,
                        url = %self.url,
                        status = %response.status(),
                        headers = ?response.headers(),
                        version = ?response.version(),
                        "Request completed"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e76e356c9bfaca82 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/default_client.rs:168
                    tracing::debug!(
                        method = %self.method,
                        url = %self.url,
                        status = status.map(|s| s.as_u16()),
                        error = %error,
                        "Request failed"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #9fce26a4186d66fc Environment-variable access.
repo/codex-rs/http-client/src/outbound_proxy.rs:704
        std::env::var(key).ok()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4ccb8ce88a2d8d4c Environment-variable access.
repo/codex-rs/http-client/src/outbound_proxy.rs:710
    env.var(upper)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2c52477c060c084e Environment-variable access.
repo/codex-rs/http-client/src/outbound_proxy.rs:711
        .or_else(|| env.var(&lower))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress production #fac40905d9dea6c0 Hardcoded external endpoint. Review what data is sent to this destination.
repo/codex-rs/http-client/src/outbound_proxy_tests.rs:130
    let response = builder
        .build()
        .expect("proxy client should build")
        .get(request_url)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low telemetry production #a5c50d1c90d52e39 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/request.rs:215
            tracing::debug!(
                pre_compression_bytes,
                post_compression_bytes,
                compression_duration_ms = compression_duration.as_millis(),
                "Compressed request body with zstd"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/install-context

rust first-party
expand_more 23 low-confidence finding(s)
low env_fs production #436f681b650e4009 Environment-variable access.
repo/codex-rs/install-context/src/lib.rs:109
            let method_override = if std::env::var_os("CODEX_MANAGED_BY_PNPM").is_some() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #17549fc88ef70633 Environment-variable access.
repo/codex-rs/install-context/src/lib.rs:111
            } else if std::env::var_os("CODEX_MANAGED_BY_NPM").is_some() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3de9b433228bb7e5 Environment-variable access.
repo/codex-rs/install-context/src/lib.rs:113
            } else if std::env::var_os("CODEX_MANAGED_BY_BUN").is_some() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a7ca02ca64441ca Filesystem access.
repo/codex-rs/install-context/src/lib.rs:303
        fs::write(&exe_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3c91f7f0108fef74 Filesystem access.
repo/codex-rs/install-context/src/lib.rs:304
        fs::write(resources_dir.join(default_rg_command()), "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9497926025f290e4 Filesystem access.
repo/codex-rs/install-context/src/lib.rs:305
        fs::write(resources_dir.join(TEST_RESOURCE_NAME), "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4595c35f4cad503b Filesystem access.
repo/codex-rs/install-context/src/lib.rs:343
        fs::write(&exe_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #85a587170e014d36 Filesystem access.
repo/codex-rs/install-context/src/lib.rs:364
        fs::write(package_dir.path().join(PACKAGE_METADATA_FILENAME), "{}")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d31b3253bc042edb Filesystem access.
repo/codex-rs/install-context/src/lib.rs:366
        fs::write(&exe_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #708b7fa8d1f3bcf0 Filesystem access.
repo/codex-rs/install-context/src/lib.rs:367
        fs::write(resources_dir.join(TEST_RESOURCE_NAME), "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4ff58ea35c8a451 Filesystem access.
repo/codex-rs/install-context/src/lib.rs:368
        fs::write(path_dir.join(default_rg_command()), "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7d7d0bd09b52bd9a Filesystem access.
repo/codex-rs/install-context/src/lib.rs:372
            fs::write(&zsh_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #742008aea04df665 Filesystem access.
repo/codex-rs/install-context/src/lib.rs:438
        fs::write(package_dir.join(PACKAGE_METADATA_FILENAME), "{}")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6d736a5f64b1ed09 Filesystem access.
repo/codex-rs/install-context/src/lib.rs:440
        fs::write(&exe_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7fe9d55201e29f34 Filesystem access.
repo/codex-rs/install-context/src/lib.rs:441
        fs::write(resources_dir.join(TEST_RESOURCE_NAME), "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #404b1fab816b4bbf Filesystem access.
repo/codex-rs/install-context/src/lib.rs:442
        fs::write(path_dir.join(default_rg_command()), "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #67f0a8221ce07929 Filesystem access.
repo/codex-rs/install-context/src/lib.rs:492
        fs::write(package_dir.path().join(PACKAGE_METADATA_FILENAME), "{}")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #70b821cf787caf5c Filesystem access.
repo/codex-rs/install-context/src/lib.rs:494
        fs::write(&exe_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ec3ab7443a6f31e Filesystem access.
repo/codex-rs/install-context/src/lib.rs:495
        fs::write(path_dir.join(default_rg_command()), "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #caea1e54e084364b Filesystem access.
repo/codex-rs/install-context/src/lib.rs:519
        fs::write(package_dir.path().join(PACKAGE_METADATA_FILENAME), "{}")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ce63f94a954dde8a Filesystem access.
repo/codex-rs/install-context/src/lib.rs:521
        fs::write(&exe_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0c8e4a3eb79504df Filesystem access.
repo/codex-rs/install-context/src/lib.rs:542
        fs::write(package_dir.path().join(PACKAGE_METADATA_FILENAME), "{}")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #10e02561de286ef7 Filesystem access.
repo/codex-rs/install-context/src/lib.rs:544
        fs::write(&exe_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/linux-sandbox

rust first-party
expand_more 42 low-confidence finding(s)
low env_fs production #b7266a15ad6308b4 Environment-variable access.
repo/codex-rs/linux-sandbox/src/bazel_bwrap.rs:16
    let raw = PathBuf::from(std::env::var_os(BAZEL_BWRAP_ENV_VAR)?);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c6c4161b0ede9b35 Environment-variable access.
repo/codex-rs/linux-sandbox/src/bazel_bwrap.rs:30
    std::env::var_os("RUNFILES_DIR").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #708f2c8f6bcfc9b6 Environment-variable access.
repo/codex-rs/linux-sandbox/src/bazel_bwrap.rs:31
        || std::env::var_os("TEST_SRCDIR").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #139956b845cdf94c Environment-variable access.
repo/codex-rs/linux-sandbox/src/bazel_bwrap.rs:32
        || std::env::var_os("RUNFILES_MANIFEST_FILE").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9debc725c039d749 Environment-variable access.
repo/codex-rs/linux-sandbox/src/bazel_bwrap.rs:38
    if let Ok(workspace) = std::env::var("TEST_WORKSPACE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b43060cdffbb87a0 Environment-variable access.
repo/codex-rs/linux-sandbox/src/bazel_bwrap.rs:45
        let Some(root) = std::env::var_os(root_env) else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #306de40e5953e3c2 Environment-variable access.
repo/codex-rs/linux-sandbox/src/bazel_bwrap.rs:57
    let manifest = PathBuf::from(std::env::var_os("RUNFILES_MANIFEST_FILE")?);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a044b021582585f1 Filesystem access.
repo/codex-rs/linux-sandbox/src/bazel_bwrap.rs:58
    let file = File::open(manifest).ok()?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3c9225c59003c158 Filesystem access.
repo/codex-rs/linux-sandbox/src/bundled_bwrap.rs:37
        let bwrap_file = File::open(self.program.as_path()).unwrap_or_else(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #65585f5c20b008d5 Filesystem access.
repo/codex-rs/linux-sandbox/src/bundled_bwrap.rs:274
        fs::write(file.path(), b"contents").expect("write file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98ade4fb373b5a26 Filesystem access.
repo/codex-rs/linux-sandbox/src/bundled_bwrap.rs:283
        fs::write(file.path(), b"contents").expect("write file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1678875d585d0cdb Filesystem access.
repo/codex-rs/linux-sandbox/src/bundled_bwrap.rs:293
        fs::write(file.path(), b"contents").expect("write file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #990f9962928479f7 Filesystem access.
repo/codex-rs/linux-sandbox/src/bundled_bwrap.rs:312
        fs::write(path, b"").expect("write executable");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a769b3c0793c4e12 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:694
        return fs::read_to_string(git_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #285406029694482b Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:1076
        bwrap_args.preserved_files.push(File::open("/dev/null")?);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e608cf82a2925306 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:1422
        std::fs::write(&root_env, "secret").expect("write env");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b884b45070d460f7 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:1744
        File::create(&dot_git).expect("create empty .git file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e635fdafa5c88e0a Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:1792
        std::fs::write(repo.join(".git/HEAD"), "ref: refs/heads/main\n").expect("write HEAD");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e8cd89f191e96b6 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:1837
        std::fs::write(repo.join(".git/HEAD"), "ref: refs/heads/main\n").expect("write HEAD");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #82549cef2117b227 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2354
        std::fs::write(&allowed_file, "ok").expect("create note");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16643fb5e3bcbf61 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2531
        std::fs::write(&blocked_file, "secret").expect("create blocked file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #85c507e3f108e6ad Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2575
        std::fs::write(temp_dir.path().join(".gitignore"), ".env\n").expect("write gitignore");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d2d502a26fd54048 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2576
        std::fs::write(&root_env, "secret").expect("write root env");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2bae5caf679aa29a Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2577
        std::fs::write(&nested_env, "secret").expect("write nested env");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1209fe3036a94a43 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2578
        std::fs::write(&too_deep_env, "secret").expect("write deep env");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bfa2a51975019702 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2609
        std::fs::write(&real_secret, "secret").expect("write real secret");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #36ffc6d8b99c099a Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main.rs:906
                fs::write(&marker_file, synthetic_mount_marker_contents(&target)).unwrap_or_else(

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3a0971fd85deec9a Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main.rs:939
                fs::write(&marker_file, PROTECTED_CREATE_MARKER).unwrap_or_else(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a953bab3ac1c6c33 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main.rs:965
        match fs::read(path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7032b0659db23c4d Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:284
    std::fs::write(&empty_file, "").expect("write empty file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #450118b222306fbd Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:286
    std::fs::write(&non_empty_file, "keep").expect("write nonempty file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8de42de1afd288b9 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:320
    std::fs::write(&empty_file, "").expect("write empty file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #502fadc0b58e3b74 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:325
    std::fs::write(&active_marker, "").expect("write active marker");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #10af5ae5f44cf04d Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:344
    std::fs::write(&empty_file, "").expect("write transient empty file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #25906f3e110892f2 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:346
    std::fs::write(&active_marker, SYNTHETIC_MOUNT_MARKER_SYNTHETIC).expect("write active marker");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90362492b25ad4a6 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:365
    std::fs::write(&empty_file, "").expect("write pre-existing empty file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a016a7311b6dcc0f Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:403
    std::fs::write(&active_marker, PROTECTED_CREATE_MARKER).expect("write active marker");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4b01372a9ad76478 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:404
    std::fs::write(&dot_git, "").expect("create protected path");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #22d99d20c6cbce1b Environment-variable access.
repo/codex-rs/linux-sandbox/src/proxy_routing.rs:76
    let (attribution_token, plan) = extract_attribution_token_and_plan(std::env::vars().collect());

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #85899ff4f596ba02 Environment-variable access.
repo/codex-rs/linux-sandbox/src/proxy_routing.rs:168
        let original_value = std::env::var(&route.env_key).map_err(|_| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a505a0dea055af25 Environment-variable access.
repo/codex-rs/linux-sandbox/src/proxy_routing.rs:325
    if let Some(codex_home) = std::env::var_os("CODEX_HOME") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #64ca5a4b77c3cab9 Filesystem access.
repo/codex-rs/linux-sandbox/src/proxy_routing.rs:846
        std::fs::write(&marker, b"test").expect("marker should write");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/lmstudio

rust first-party
expand_more 16 low-confidence finding(s)
low telemetry production #af517bf85b408cb1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:84
            tracing::info!("Successfully loaded model '{model}'");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #7bbb16764bf395ca Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:143
                    std::env::var("HOME").unwrap_or_default()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1796b86560752292 Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:147
                    std::env::var("USERPROFILE").unwrap_or_default()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #f521fd41ecc4c78c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:188
        tracing::info!("Successfully downloaded model '{model}'");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #fba3028372ed065b Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:213
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #da0788dd91ba3c92 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:214
            tracing::info!(
                "{} is set; skipping test_fetch_models_happy_path",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #96dd97f090aaeb3f Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:245
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #4dff61db98f54658 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:246
            tracing::info!(
                "{} is set; skipping test_fetch_models_no_data_array",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #6094515f48f22948 Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:276
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #938d479fd47718ac Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:277
            tracing::info!(
                "{} is set; skipping test_fetch_models_server_error",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #d221db0312ad6f5c Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:304
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #ec680f72e75d766e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:305
            tracing::info!(
                "{} is set; skipping test_check_server_happy_path",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #cf497813a3963425 Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:328
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #071b97c27d95eb29 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:329
            tracing::info!(
                "{} is set; skipping test_check_server_error",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #beeabbbd50fcc63b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/lib.rs:30
            tracing::warn!("Failed to query local models from LM Studio: {}.", err);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #811dd7e4934491f0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/lib.rs:40
                tracing::warn!("Failed to load model {}: {}", model, e);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/login

rust first-party
expand_more 53 low-confidence finding(s)
low telemetry production #9d6fc1dc19bec37d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/agent_identity.rs:288
                tracing::warn!(
                    attempt,
                    max_attempts = MAX_AGENT_IDENTITY_BOOTSTRAP_ATTEMPTS,
                    error = %err,
                    "agent identity registration attempt failed; retrying"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #c4c62dc0e13b274a Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:79
    std::fs::write(
        &auth_path,
        serde_json::to_string_pretty(&stale_auth).unwrap(),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ec59827743a95b66 Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:254
        serde_json::from_str(&std::fs::read_to_string(auth_path).unwrap()).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d7580c956a74046 Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:871
    std::fs::write(
        auth_file,
        r#"{"OPENAI_API_KEY":"sk-test-key","tokens":null,"last_refresh":null}"#,
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0677d96e912e2fc3 Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:1168
        std::fs::write(&token_file, token_file_contents)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1e38d191a7851f91 Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:1173
            std::fs::write(
                &script_path,
                r#"#!/bin/sh
first_line=$(sed -n '1p' tokens.txt)
printf '%s\n' "$first_line"
tail -n +2 tokens.txt > tokens.next
mv tokens.next tokens.txt
"#,
            )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d59f174115d86a5d Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:1194
            std::fs::write(
                &script_path,
                r#"@echo off
setlocal EnableExtensions DisableDelayedExpansion
set "first_line="
<tokens.txt set /p "first_line="
if not defined first_line exit /b 1
setlocal EnableDelayedExpansion
echo(!first_line!
endlocal
more +1 tokens.txt > tokens.next
move /y tokens.next tokens.txt >nul
"#,
            )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d869112d8dbc338 Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:1232
            std::fs::write(
                &script_path,
                r#"#!/bin/sh
exit 1
"#,
            )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0dc5bc78c69c948f Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:1298
    std::fs::write(auth_file, auth_json)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d028b5338eae76cf Environment-variable access.
repo/codex-rs/login/src/auth/auth_tests.rs:1365
        let original = env::var_os(key);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7491aa48d9d046ca Environment-variable access.
repo/codex-rs/login/src/auth/auth_tests.rs:1373
        let original = env::var_os(key);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f29855dd95352876 Environment-variable access.
repo/codex-rs/login/src/auth/default_client.rs:66
    let value = std::env::var(CODEX_INTERNAL_ORIGINATOR_OVERRIDE_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #e19787281eca8380 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:77
            tracing::error!("Unable to turn originator override {value} into header value: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #deeac2638e51e634 Environment-variable access.
repo/codex-rs/login/src/auth/default_client.rs:116
    if std::env::var(CODEX_INTERNAL_ORIGINATOR_OVERRIDE_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #731d427fc99a430d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:145
            tracing::warn!("ignoring invalid thread originator header value: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #912aa0400e0095df Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:202
        tracing::warn!(
            "Sanitized Codex user agent because provided suffix contained invalid header characters"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1c89ac0f38b483e8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:207
        tracing::warn!(
            "Falling back to base Codex user agent because provided suffix could not be sanitized"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #98d8cf09b93b9d31 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:212
        tracing::warn!(
            "Falling back to default Codex originator because base user agent string is invalid"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1624ff70d4b29718 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:240
        tracing::warn!(error = %error, "failed to build default reqwest client");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1cf3a40230996cd3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:244
                tracing::warn!(
                    error = %fallback_error,
                    "failed to build fallback reqwest client with ChatGPT Cloudflare cookie store"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #848f95aeb79f030e Environment-variable access.
repo/codex-rs/login/src/auth/default_client.rs:373
    std::env::var("CODEX_SANDBOX").as_deref() == Ok("seatbelt")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #120068ed65760112 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client_tests.rs:212
    tracing::debug!("log capture sentinel");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #31ecc49e4c9fe46d Environment-variable access.
repo/codex-rs/login/src/auth/manager.rs:841
    env::var(OPENAI_API_KEY_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a28519ae46d6219a Environment-variable access.
repo/codex-rs/login/src/auth/manager.rs:856
    env::var(key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #b6c76c8d9302b64d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:890
            tracing::warn!("failed to load stored auth during logout: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f1398f95e3a269e3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:895
        tracing::warn!("failed to revoke auth tokens during logout: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1c789156edddbd81 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:1363
        tracing::error!("Failed to refresh token: {status}: {body}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c4e16619ea24360c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:1388
        tracing::warn!(
            backend_code = normalized_code.as_deref(),
            backend_body = body,
            "Encountered unknown response while refreshing token"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #e3474db34fc93826 Environment-variable access.
repo/codex-rs/login/src/auth/manager.rs:1449
    std::env::var(CLIENT_ID_OVERRIDE_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7fbac5dcb0c0c1d7 Environment-variable access.
repo/codex-rs/login/src/auth/manager.rs:1456
    std::env::var(REFRESH_TOKEN_URL_OVERRIDE_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #008db7f0743b31c7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2033
            tracing::error!("Failed to refresh token: {}", err);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #abdfbd82bb68436d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2068
                tracing::warn!("agent identity bootstrap retry suppressed during shared cooldown");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b1fb3e599a75331a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2104
        tracing::info!("Reloading auth");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5ddedddafe3725a9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2116
                tracing::info!("Skipping auth reload because no account id is available.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2ae7c727ee70a313 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2126
            tracing::info!(
                "Skipping auth reload due to account id mismatch (expected: {expected_account_id}, found: {found_account_id})"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #11f7c0747f3b6f73 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2132
        tracing::info!("Reloading auth for account {expected_account_id}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e5aca28a8a0ab429 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2200
                    tracing::error!("Failed to resolve external auth: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #dab5803d9c8d56cd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2231
            tracing::info!("Reloaded auth, changed: {changed}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9a2ddc1b6d6aedd8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2389
                tracing::info!("Skipping token refresh because auth changed after guarded reload.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c12ee9cac853786f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2416
        tracing::info!("Refreshing token");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #080d4f6e32337092 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2478
            tracing::warn!("failed to revoke auth tokens during logout: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #185dd05ecb9f66df Environment-variable access.
repo/codex-rs/login/src/auth/personal_access_token.rs:44
        let authapi_base_url = env::var(CODEX_AUTHAPI_BASE_URL_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fb299d27b11a7221 Environment-variable access.
repo/codex-rs/login/src/auth/revoke.rs:135
    if let Ok(endpoint) = std::env::var(REVOKE_TOKEN_URL_OVERRIDE_ENV_VAR) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e2a0a1c35603479 Environment-variable access.
repo/codex-rs/login/src/auth/revoke.rs:139
    if let Ok(refresh_endpoint) = std::env::var(REFRESH_TOKEN_URL_OVERRIDE_ENV_VAR)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #26d6def1ff1e275e Filesystem access.
repo/codex-rs/login/src/auth/storage.rs:182
        let mut file = File::open(auth_file)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7e3d72ab1d1c1b5f Filesystem access.
repo/codex-rs/login/src/auth/storage_tests.rs:132
    std::fs::write(
        &auth_file,
        serde_json::to_string_pretty(&json!({
            "auth_mode": "chatgpt",
            "agent_identity": {
                "agent_runtime_id": "agent-runtime-id",
                "agent_private_key": "private-key",
                "account_id": "account-id",
                "chatgpt_user_id": "user-id",
                "email": "",
                "plan_type": "pro",
                "chatgpt_account_is_fedramp": false,
            },
        }))?,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #11a1c73f531d641a Filesystem access.
repo/codex-rs/login/src/auth/storage_tests.rs:200
    let saved: serde_json::Value = serde_json::from_str(&std::fs::read_to_string(auth_file)?)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f73b41eaea276cbb Filesystem access.
repo/codex-rs/login/src/auth/storage_tests.rs:241
    std::fs::write(
        &auth_file,
        serde_json::to_string_pretty(&json!({
            "auth_mode": "agentIdentity",
            "agent_identity": agent_identity_jwt,
        }))?,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cba5aa74c677db88 Filesystem access.
repo/codex-rs/login/src/auth/storage_tests.rs:331
    std::fs::write(&auth_file, "stale")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a74f7b19ee29635 Filesystem access.
repo/codex-rs/login/src/auth/storage_tests.rs:487
    std::fs::write(&auth_file, "stale")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #03975b1b0bec16e0 Filesystem access.
repo/codex-rs/login/src/auth/storage_tests.rs:517
    std::fs::write(&auth_file, "stale")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #079ea40aa0e1095c Filesystem access.
repo/codex-rs/login/src/auth/storage_tests.rs:584
    std::fs::write(&auth_file, "stale")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #69d9492485f60f58 Environment-variable access.
repo/codex-rs/login/src/auth_env_telemetry.rs:46
    match std::env::var(name) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/mcp-server

rust first-party
expand_more 30 low-confidence finding(s)
low telemetry production #08445cfd2f015949 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/codex_tool_runner.rs:121
        tracing::error!("Failed to submit initial prompt: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #75916f8f8767284f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/codex_tool_runner.rs:169
        tracing::error!("Failed to submit user input: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2e2bbd43f38d37a0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/codex_tool_runner.rs:322
                        tracing::error!("unexpected SessionConfigured event");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e9e334089a372559 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:177
        tracing::info!("<- response: {:?}", response);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #26762e43673e327d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:200
                tracing::warn!("ignoring custom client notification");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d5a65ec3bf6f9b37 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:206
        tracing::error!("<- error: {:?}", err);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #14fc4e7ca7881ad7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:214
        tracing::info!("initialize -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1de3f1ff0c01dd9c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:289
        tracing::info!("ping");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #019f3c1e9e0045ea Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:294
        tracing::info!("resources/list -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #da73cf9c7ce27e83 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:298
        tracing::info!("resources/templates/list -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c05e7316493124e6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:302
        tracing::info!("resources/read -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #24541f42d255f453 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:306
        tracing::info!("resources/subscribe -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4c30f03adc2c2c1b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:310
        tracing::info!("resources/unsubscribe -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6bab82b6f565fb86 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:314
        tracing::info!("prompts/list -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3c6e7c113fbb0f93 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:318
        tracing::info!("prompts/get -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #7f129bfbf59da419 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:340
        tracing::info!("tools/call -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #34b1760ba1b99b0a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:422
        tracing::info!("tools/call -> params: {:?}", arguments);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1ac8baf486715c35 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:429
                    tracing::error!("Failed to parse Codex tool call reply parameters: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b348e630590b98ce Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:438
                tracing::error!(
                    "Missing arguments for codex-reply tool-call; the `thread_id` and `prompt` fields are required."
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c50a2fe8f0e06486 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:452
                tracing::error!("Failed to parse thread_id: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #42370f15211b4448 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:468
                tracing::warn!("Session not found for thread_id: {thread_id}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6d8e20d0d9be59c9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:500
        tracing::info!("logging/setLevel -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3f41e110b7812d94 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:504
        tracing::info!("completion/complete -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #cb1ddfe68ed171d3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:535
                    tracing::warn!("Session not found for request_id: {request_id_string}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #69aee11a0ed01178 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:540
        tracing::info!("thread_id: {thread_id}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #7ad5c9c1b324e3e7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:546
                tracing::warn!("Session not found for thread_id: {thread_id}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3d97b3334f172a1a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:561
            tracing::error!("Failed to submit interrupt to Codex: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #96876f57c9840bf7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:572
        tracing::info!("notifications/progress -> params: {:?}", params);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a153f69985d983c1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:576
        tracing::info!("notifications/roots/list_changed");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #7c74324d4e7abac0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:580
        tracing::info!("notifications/initialized");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/memories/write

rust first-party
expand_more 19 low-confidence finding(s)
low telemetry production #8e2a5a0a1379c560 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase1.rs:335
            tracing::warn!("Phase 1 job failed for thread {thread_id}: {reason}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #80f17fe130988a26 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:74
        tracing::error!("failed preparing memory workspace: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b42a1291dfe9adcb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:111
            tracing::error!("failed to list stage1 outputs from global: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6bf9a2c91ab89b37 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:127
        tracing::error!("failed syncing phase2 workspace inputs: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #88d646287db8ccdd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:142
            tracing::error!("failed checking memory workspace changes: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #aaf2e611cc23db05 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:154
        tracing::error!("Phase 2 no changes");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e12b4f030028b607 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:170
        tracing::error!("failed writing memory workspace diff file: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #790a15ba992f0107 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:189
            tracing::error!("failed to spawn global memory consolidation agent: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2610951aec458629 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:236
                tracing::error!("failed to claim job: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b69cdcac1b9cb996 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:414
                        tracing::error!("memory consolidation artifacts are invalid: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3631d1f609801002 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:434
                        tracing::error!(
                            "failed confirming global memory consolidation ownership before resetting workspace baseline: {err}"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #681770ebabec6173 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:440
                        tracing::error!(
                            "lost global memory consolidation ownership before resetting workspace baseline"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3dd9aed71e61bb8d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:453
                        tracing::error!("failed resetting memory workspace baseline: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5e65fe0a927c06e9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:465
                        tracing::error!(
                            "failed marking global memory consolidation job succeeded after resetting workspace baseline"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #91fd44c6a82c5982 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/runtime.rs:363
                tracing::warn!(
                    "failed to shut down consolidation agent after submit error: {shutdown_err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #f20e72a4ae0b1ac6 Filesystem access.
repo/codex-rs/memories/write/src/workspace_tests.rs:32
    fs::write(root.join("MEMORY.md"), "memory").expect("write memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #827fa352c16e53d8 Filesystem access.
repo/codex-rs/memories/write/src/workspace_tests.rs:62
    fs::write(root.join("MEMORY.md"), "memory").expect("write memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b54ccb2bb045684 Filesystem access.
repo/codex-rs/memories/write/src/workspace_tests.rs:85
    fs::write(root.join("MEMORY.md"), "memory").expect("write memory");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da786eebf17b2ba8 Filesystem access.
repo/codex-rs/memories/write/src/workspace_tests.rs:86
    fs::write(root.join("memory_summary.md"), "outdated\n").expect("write summary");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/message-history

rust first-party
expand_more 10 low-confidence finding(s)
low telemetry production #a76acf73e47af0dc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/message-history/src/lib.rs:357
            tracing::warn!(error = %e, "failed to open history file");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3bae42e41c12f273 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/message-history/src/lib.rs:365
            tracing::warn!(error = %e, "failed to stat history file");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #919e59c69c3a3867 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/message-history/src/lib.rs:388
                            tracing::warn!(error = %e, "failed to read line from history file");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #8ecc9097abc8a6de Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/message-history/src/lib.rs:397
                                tracing::warn!(error = %e, "failed to parse history entry");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #246fbd3f26581590 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/message-history/src/lib.rs:410
                tracing::warn!(error = %e, "failed to acquire shared lock on history file");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #b92b3a1a400d35c0 Filesystem access.
repo/codex-rs/message-history/src/tests.rs:26
    let mut file = File::create(&history_path).expect("create history file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #920fd49f67dc90c6 Filesystem access.
repo/codex-rs/message-history/src/tests.rs:59
    std::fs::write(&history_path, contents).expect("write history file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b6af6bf2b53a84fa Filesystem access.
repo/codex-rs/message-history/src/tests.rs:82
    let mut file = File::create(&history_path).expect("create history file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e234bd78befb5882 Filesystem access.
repo/codex-rs/message-history/src/tests.rs:135
    let contents = std::fs::read_to_string(&history_path).expect("read history");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #425977b177976b94 Filesystem access.
repo/codex-rs/message-history/src/tests.rs:189
    let contents = std::fs::read_to_string(&history_path).expect("read history");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/model-provider

rust first-party
expand_more 2 low-confidence finding(s)
low telemetry production #523a7b5a6fdc562b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/model-provider/src/auth.rs:244
                tracing::warn!(
                    operation,
                    attempts = *attempts,
                    error = %message,
                    newly_engaged,
                    "agent identity bootstrap unavailable; using ChatGPT bearer auth for this session"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #c47511ddd4478e37 Filesystem access.
repo/codex-rs/model-provider/src/auth.rs:396
        std::fs::write(
            codex_home.join("auth.json"),
            serde_json::to_string_pretty(&auth_json).expect("serialize auth.json"),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/model-provider-info

rust first-party
expand_more 3 low-confidence finding(s)
low env_fs production #597b24a35f0820d8 Environment-variable access.
repo/codex-rs/model-provider-info/src/lib.rs:228
                if let Ok(val) = std::env::var(env_var)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eda7285ce6eeeda3 Environment-variable access.
repo/codex-rs/model-provider-info/src/lib.rs:286
                let api_key = std::env::var(env_key)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bdb00d34f2df47fe Environment-variable access.
repo/codex-rs/model-provider-info/src/lib.rs:517
    let codex_oss_base_url = std::env::var("CODEX_OSS_BASE_URL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/models-manager

rust first-party
expand_more 3 low-confidence finding(s)
low env_fs production #f31f8b8188198371 Filesystem access.
repo/codex-rs/models-manager/src/cache.rs:105
        match fs::read(&self.cache_path).await {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #66a81c2336db1c51 Filesystem access.
repo/codex-rs/models-manager/src/cache.rs:122
        fs::write(&self.cache_path, json).await

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ea3c7ee9d5db515 Filesystem access.
repo/codex-rs/models-manager/src/manager_tests.rs:263
    std::fs::write(
        codex_home.join("auth.json"),
        serde_json::to_string(&auth_dot_json).expect("auth should serialize"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/network-proxy

rust first-party
expand_more 33 low-confidence finding(s)
low env_fs production #45880950a709f8d5 Environment-variable access.
repo/codex-rs/network-proxy/src/certs.rs:174
        .filter_map(|key| std::env::var(key).ok().map(|value| (key, value)))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #08570d69aa2e78f4 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:284
    let managed_ca_cert = fs::read(managed_ca_cert_path).with_context(|| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2475f27a25f6d145 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:327
    let pem = fs::read(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a4f42585b9d6f23d Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:417
    let Ok(trust_bundle) = fs::read(path) else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d1d49c6890c9fd80 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:420
    let Ok(managed_ca_cert) = fs::read(managed_ca_cert_path) else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b0d28ea2e891604 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:450
    let Ok(trust_bundle) = fs::read(path) else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f5960cd2cdb6698 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:495
    let pem = fs::read_to_string(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #82e7fcf02109bf15 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:582
            .filter_map(|path| fs::read(path).ok())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cbbf424d4fbc0c86 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:588
        let Ok(contents) = fs::read(&bundle_path) else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #80893cc161070881 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:750
    let dir = File::open(parent).with_context(|| format!("failed to open {}", parent.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #717999566fac2c44 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:767
    if fs::read(path).ok().as_deref() == Some(contents) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ee2e8671b16e041 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:778
        Err(_err) if fs::read(path).ok().as_deref() == Some(contents) => Ok(()),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #395b1f357f3305eb Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:860
        fs::write(&unrelated_path, "user managed").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb95f420560dde87 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:890
        fs::write(&managed_ca_cert_path, "managed ca\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff956b957a060100 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:891
        fs::write(&trust_bundle_path, "stale managed bundle\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84709f9755a6872a Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:909
        fs::write(&trust_bundle_path, "tampered roots").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee391a0c0e5a3335 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:934
        fs::write(&managed_ca_cert_path, &managed_ca_cert).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5862596a9dad71ae Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:935
        fs::write(
            &startup_ca_bundle_path,
            format!("{trusted_ca_cert}{startup_ca_key}"),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d84951ee8c295887 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:941
        fs::write(startup_ca_dir.join("directory-ca.pem"), &directory_ca_cert).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5de5cc3a2b19391e Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:954
        let baseline_bundle = fs::read_to_string(&trust_bundle.path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8ae68e0bb244508c Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:976
        fs::write(&managed_ca_cert_path, &managed_ca_cert).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1001c8ff082fe7f3 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:977
        fs::write(
            &inherited_bundle_path,
            format!("parent roots\n{managed_ca_cert}"),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a38ea7224f766738 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:989
        let baseline_bundle = fs::read_to_string(&trust_bundle.path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2c097b6d09395a99 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:1002
        fs::write(&target, "bundle").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2555fdb1ec01e1bd Environment-variable access.
repo/codex-rs/network-proxy/src/mitm_hook.rs:234
        |name| env::var(name).ok(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a0c4cc08e161788b Filesystem access.
repo/codex-rs/network-proxy/src/mitm_hook.rs:236
            let value = fs::read_to_string(path.as_path()).with_context(|| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b4eb750bc1387c6a Filesystem access.
repo/codex-rs/network-proxy/src/mitm_hook.rs:766
        std::fs::write(secret_file.path(), "ghp-file-secret\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0dce74ea5a8264b0 Filesystem access.
repo/codex-rs/network-proxy/src/mitm_tests.rs:245
    std::fs::write(secret_file.path(), "ghp-secret\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a2018f3c69afbca4 Filesystem access.
repo/codex-rs/network-proxy/src/mitm_tests.rs:327
    std::fs::write(secret_file.path(), "ghp-secret\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6f2f77b1030c4535 Filesystem access.
repo/codex-rs/network-proxy/src/runtime.rs:1998
        std::fs::write(&real, b"not a socket").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7354bce09cf69f46 Environment-variable access.
repo/codex-rs/network-proxy/src/upstream.rs:63
        let Ok(value) = std::env::var(key) else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3f7ff5b3c644eb6 Filesystem access.
repo/codex-rs/network-proxy/src/upstream_tests.rs:50
    fs::write(&startup_ca_path, &startup_ca_pem).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #88afa048db97ebb7 Filesystem access.
repo/codex-rs/network-proxy/src/upstream_tests.rs:51
    fs::write(&managed_ca_path, managed_ca_pem).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/ollama

rust first-party
expand_more 16 low-confidence finding(s)
low telemetry production #9c107626904a598c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ollama/src/client.rs:88
            tracing::warn!("Failed to connect to Ollama server: {err:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e58333cc40228584 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ollama/src/client.rs:94
            tracing::warn!(
                "Failed to probe server at {}: HTTP {}",
                self.host_root,
                resp.status()
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #29aea2e2e29db3d1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ollama/src/client.rs:149
                tracing::warn!("Failed to parse Ollama version `{version_str}`: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #80243bbbb4c5a48d Environment-variable access.
repo/codex-rs/ollama/src/client.rs:271
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #eaf36d1cfe3ebce8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ollama/src/client.rs:272
            tracing::info!(
                "{} is set; skipping test_fetch_models_happy_path",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #c519e9b933f93270 Environment-variable access.
repo/codex-rs/ollama/src/client.rs:302
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #5de9fe457a26942c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ollama/src/client.rs:303
            tracing::info!(
                "{} is set; skipping test_fetch_version",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #be3374f93fb24c40 Environment-variable access.
repo/codex-rs/ollama/src/client.rs:338
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #dd039b30af6440e6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ollama/src/client.rs:339
            tracing::info!(
                "{} set; skipping test_pull_model_stream_parses_large_json_lines",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #54f35c2886408628 Environment-variable access.
repo/codex-rs/ollama/src/client.rs:382
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #2737f568022fde82 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ollama/src/client.rs:383
            tracing::info!(
                "{} set; skipping test_probe_server_happy_path_openai_compat_and_native",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #66dedf373431b686 Environment-variable access.
repo/codex-rs/ollama/src/client.rs:419
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #c94bedc3d3881a42 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ollama/src/client.rs:420
            tracing::info!(
                "{} set; skipping test_try_from_oss_provider_ok_when_server_running",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #a5a0ebaea4a51cbd Environment-variable access.
repo/codex-rs/ollama/src/client.rs:443
        if std::env::var(codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #46f7ee3c3bc92f14 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ollama/src/client.rs:444
            tracing::info!(
                "{} set; skipping test_try_from_oss_provider_err_when_server_missing",
                codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #04845dfa25613d70 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ollama/src/lib.rs:45
            tracing::warn!("Failed to query local models from Ollama: {}.", err);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/otel

rust first-party
expand_more 10 low-confidence finding(s)
low telemetry production #d277df4ba88398a1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/otel/src/events/session_telemetry.rs:175
            tracing::warn!("metrics counter [{name}] failed: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2d0c16d665aa214d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/otel/src/events/session_telemetry.rs:190
            tracing::warn!("metrics histogram [{name}] failed: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d6cfdcda4cef466b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/otel/src/events/session_telemetry.rs:205
            tracing::warn!("metrics duration [{name}] failed: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d92c75cbb4248d05 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/otel/src/events/session_telemetry.rs:220
            tracing::warn!("metrics duration [{name}] failed: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #458bd1bc744e8c37 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/otel/src/events/session_telemetry.rs:352
            tracing::debug!("runtime metrics reset skipped: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9a280b68bd374046 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/otel/src/metrics/timer.rs:16
            tracing::error!("metrics client error: {}", e);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #f8cae59a27d2f98c Environment-variable access.
repo/codex-rs/otel/src/otlp.rs:207
    let value = env::var(var).ok()?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #defee14a2177d393 Filesystem access.
repo/codex-rs/otel/src/otlp.rs:216
    match fs::read(path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f50864d9398280f5 Environment-variable access.
repo/codex-rs/otel/src/trace_context.rs:148
    let traceparent = env::var(TRACEPARENT_ENV_VAR).ok()?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #145f5c78fa180d02 Environment-variable access.
repo/codex-rs/otel/src/trace_context.rs:149
    let tracestate = env::var(TRACESTATE_ENV_VAR).ok();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/protocol

rust first-party
expand_more 23 low-confidence finding(s)
low env_fs production #88d6da3df44718bc Filesystem access.
repo/codex-rs/protocol/src/models.rs:1633
                        match std::fs::read(&path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0dfe9abf1251501d Filesystem access.
repo/codex-rs/protocol/src/models.rs:3394
        std::fs::write(&local_path, TINY_PNG_BYTES)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #53e414fc9396c915 Filesystem access.
repo/codex-rs/protocol/src/models.rs:3457
        std::fs::write(&local_path, TINY_PNG_BYTES)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7010d4ccb8811746 Filesystem access.
repo/codex-rs/protocol/src/models.rs:3518
        std::fs::write(&json_path, br#"{"hello":"world"}"#)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d3c4d6b49aac84f6 Filesystem access.
repo/codex-rs/protocol/src/models.rs:3552
        std::fs::write(
            &svg_path,
            br#"<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="1" height="1"></svg>"#,
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6e47689e6653aa0c Environment-variable access.
repo/codex-rs/protocol/src/permissions.rs:1472
            let tmpdir = std::env::var_os("TMPDIR")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e41558c09f7d2339 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:1812
    let contents = match std::fs::read_to_string(dot_git.as_path()) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b22201372be00863 Environment-variable access.
repo/codex-rs/protocol/src/permissions.rs:2466
        if std::env::var_os(SYMLINKED_TMPDIR_TEST_ENV).is_none() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ce665875bec05f24 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3106
        std::fs::write(&nested, "secret").expect("write secret");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16012a1a228332b7 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3128
        std::fs::write(&secret, "secret").expect("write secret");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ea6625bfc4dde023 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3141
        std::fs::write(&other, "notes").expect("write notes");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9766c31b0a4ab825 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3158
        std::fs::write(&denied, "secret").expect("write secret");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #83eb3ac5ca52a016 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3176
        std::fs::write(&matching, "secret").expect("write matching");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f75a8a00bdd8a7a Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3177
        std::fs::write(&nested, "secret").expect("write nested");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16e99c3946b1e425 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3178
        std::fs::write(&short, "secret").expect("write short");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e6db5d8182d0e2fe Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3179
        std::fs::write(&letters, "secret").expect("write letters");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d5e90143f19ceb7 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3199
        std::fs::write(&root_env, "secret").expect("write root env");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #edd2233e04ef42cb Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3200
        std::fs::write(&nested_env, "secret").expect("write nested env");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #766e14afd87f84c5 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3201
        std::fs::write(&other, "notes").expect("write notes");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6c032db605008b0f Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3216
        std::fs::write(&bracket_file, "secret").expect("write bracket file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #aaddeb0cd97280d3 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3217
        std::fs::write(&other, "notes").expect("write notes");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5ebb1e745d5f6654 Environment-variable access.
repo/codex-rs/protocol/src/protocol.rs:1226
                    && let Some(tmpdir) = std::env::var_os("TMPDIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2a8d6be4d9f3b171 Environment-variable access.
repo/codex-rs/protocol/src/shell_environment.rs:14
    create_env_from_vars(std::env::vars(), policy, thread_id)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/responses-api-proxy

rust first-party
expand_more 4 low-confidence finding(s)
low env_fs production #54d32275d1a27e8f Filesystem access.
repo/codex-rs/responses-api-proxy/src/dump.rs:200
    fs::write(path, bytes)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da6cbfd88e820c02 Filesystem access.
repo/codex-rs/responses-api-proxy/src/dump.rs:251
        let request_dump = fs::read_to_string(dump_file_with_suffix(&dump_dir, "-request.json"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #faf3b017b720008f Filesystem access.
repo/codex-rs/responses-api-proxy/src/dump.rs:328
        let response_dump = fs::read_to_string(dump_file_with_suffix(&dump_dir, "-response.json"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6575e0f894074991 Filesystem access.
repo/codex-rs/responses-api-proxy/src/lib.rs:158
    let mut f = File::create(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/rmcp-client

rust first-party
expand_more 35 low-confidence finding(s)
low env_fs production #0518bf41e9a4f64b Environment-variable access.
repo/codex-rs/rmcp-client/src/auth_status.rs:350
            let original = std::env::var_os(key);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #be53c9e18b211947 Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:125
                let env_snapshot: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #defce5c14aaf5669 Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_stdio_server.rs:59
    std::env::var_os(DYNAMIC_SERVER_METADATA_ENV)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b2363a69f3865958 Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_stdio_server.rs:478
        if let Ok(barrier_file) = std::env::var(INITIALIZE_BARRIER_FILE_ENV) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f44bc1b2549e7dee Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_stdio_server.rs:528
            if let Some(marker_file) = std::env::var_os(APP_ONLY_CWD_MARKER_FILE_ENV)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #546cb5f311af808d Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_stdio_server.rs:643
                let env_snapshot: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0160a23e88b2e56d Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_stdio_server.rs:673
                let data_url = std::env::var("MCP_TEST_IMAGE_DATA_URL").map_err(|_| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e689f4c9091e714b Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_stdio_server.rs:909
    if let Ok(pid_file) = std::env::var("MCP_TEST_PID_FILE") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ef2c35c29487e9b Filesystem access.
repo/codex-rs/rmcp-client/src/bin/test_stdio_server.rs:910
        std::fs::write(pid_file, std::process::id().to_string())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #809a55d4c3d8788d Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:140
    if let Ok(bound_addr_file) = std::env::var("MCP_STREAMABLE_HTTP_BOUND_ADDR_FILE") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0b5c6dabb455da17 Filesystem access.
repo/codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:141
        fs::write(bound_addr_file, actual_bind_addr.to_string())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4dc319332d75b7da Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:196
    let router = if let Ok(token) = std::env::var("MCP_EXPECT_BEARER") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8fe0527a5e595067 Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:303
                let env_snapshot: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #421cabe96c6e427a Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:407
    let bind_addr = std::env::var("MCP_STREAMABLE_HTTP_BIND_ADDR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #402c1766b4758204 Environment-variable access.
repo/codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:408
        .or_else(|_| std::env::var("BIND_ADDR"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #6040370e2259fb7f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rmcp-client/src/http_client_adapter.rs:440
    tracing::warn!(
        endpoint_scheme = parsed_url
            .as_ref()
            .map(reqwest::Url::scheme)
            .unwrap_or("<invalid>"),
        endpoint_host = parsed_url
            .as_ref()
            .and_then(reqwest::Url::host_str)
            .unwrap_or("<invalid>"),
        endpoint_path = parsed_url
            .as_ref()
            .map(reqwest::Url::path)
            .unwrap_or("<invalid>"),
        endpoint_has_query = parsed_url.as_ref().is_some_and(|url| url.query().is_some()),
        mcp_method = mcp_method.unwrap_or("<none>"),
        mcp_request_id = mcp_request_id.unwrap_or("<none>"),
        has_session_id = has_session_id,
        has_authorization_header = has_authorization_header,
        "streamable HTTP post_message failed"
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #65ad939eab8d1f58 Filesystem access.
repo/codex-rs/rmcp-client/src/oauth.rs:768
    let contents = match fs::read_to_string(&path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7c9eb0a17ad46b55 Filesystem access.
repo/codex-rs/rmcp-client/src/oauth.rs:803
    fs::write(&path, serialized)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6c3c55d317adac90 Filesystem access.
repo/codex-rs/rmcp-client/src/oauth.rs:925
        let fallback_before = fs::read(&fallback_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #265674fde353e2a6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rmcp-client/src/oauth/refresh_lock.rs:76
                            tracing::debug!(
                                target: LOCK_CONTENTION_EVENT_TARGET,
                                lock_path = %path.display(),
                                "waiting for another process to finish refreshing MCP OAuth credentials"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e56faeaab3f747db Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rmcp-client/src/oauth/store_lock.rs:105
                        tracing::debug!(
                            target: LOCK_CONTENTION_EVENT_TARGET,
                            store = %store,
                            lock_path = %path.display(),
                            "waiting for another process to finish updating MCP OAuth store state"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e9754eaf4910c792 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rmcp-client/src/program_resolver.rs:52
            tracing::debug!("Resolved {program:?} to {resolved:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #aaee22693914079d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rmcp-client/src/program_resolver.rs:56
            tracing::debug!("Failed to resolve {program:?}: {e}. Using original path");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #9dc4a8b079e91cb6 Filesystem access.
repo/codex-rs/rmcp-client/src/program_resolver.rs:197
                fs::write(&file, "@echo off\nexit 0")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #559b874fefe0d409 Filesystem access.
repo/codex-rs/rmcp-client/src/program_resolver.rs:203
                fs::write(&file, "#!/bin/sh\nexit 0")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #31f6f8e0155c05be Environment-variable access.
repo/codex-rs/rmcp-client/src/program_resolver.rs:222
            if let Some(current) = std::env::var_os("PATH") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9dc3c0480ed22e94 Environment-variable access.
repo/codex-rs/rmcp-client/src/program_resolver.rs:233
            let current = std::env::var_os("PATHEXT").unwrap_or_default();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b0d1d792d427651f Environment-variable access.
repo/codex-rs/rmcp-client/src/utils.rs:21
        .filter_map(|var| env::var_os(var).map(|value| (OsString::from(var), value)))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3c3d15fdd798d2fd Environment-variable access.
repo/codex-rs/rmcp-client/src/utils.rs:37
        .filter_map(|var| env::var_os(var.name()).map(|value| (OsString::from(var.name()), value)))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #8675253d78053c95 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rmcp-client/src/utils.rs:71
                    tracing::warn!("invalid HTTP header name `{name}`: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #31126cabe7800eb1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rmcp-client/src/utils.rs:78
                    tracing::warn!("invalid HTTP header value for `{name}`: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #47a7a7a7974912b5 Environment-variable access.
repo/codex-rs/rmcp-client/src/utils.rs:88
            if let Ok(value) = env::var(&env_var) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #e16d97e1d75aaf8a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rmcp-client/src/utils.rs:96
                        tracing::warn!("invalid HTTP header name `{name}`: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ed6819ce3b2abacb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rmcp-client/src/utils.rs:104
                        tracing::warn!(
                            "invalid HTTP header value read from {env_var} for `{name}`: {err}"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #d2a80fa39e8f1df0 Environment-variable access.
repo/codex-rs/rmcp-client/src/utils.rs:163
            let original = std::env::var_os(key);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/rollout

rust first-party
expand_more 66 low-confidence finding(s)
low env_fs production #ac7ea3880bc06e94 Filesystem access.
repo/codex-rs/rollout/src/compression.rs:94
            let input = File::open(compressed_path.as_path())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1cfa5f8ed0395c9e Filesystem access.
repo/codex-rs/rollout/src/compression.rs:702
        let mut input = File::open(source)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #47cf9217cd029c5b Filesystem access.
repo/codex-rs/rollout/src/compression.rs:710
        let input = File::open(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c52e97f0e4d4e787 Filesystem access.
repo/codex-rs/rollout/src/compression.rs:991
                let input = File::open(path.as_path())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bddd8d0df1c2bdfc Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:153
    fs::write(&stale_temp, "stale temp")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #47486a70ee36938b Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:157
    fs::write(&fresh_temp, "fresh temp")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4fda38f3d76c772b Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:287
    fs::write(&temp_path, "completed rollout")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0091648a41e0d9b6 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:301
    fs::write(&temp_path, "candidate rollout")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #523c1ee3d5e98650 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:302
    fs::write(&destination, "existing rollout")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2deb883fe1c0ffe5 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:366
    fs::write(marker_dir.join("rollout-compression.lock"), "recent run")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2ede8245acce05bc Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:504
    fs::write(path, format!("{jsonl}\n"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #127c59f87164104f Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:510
    let input = fs::File::open(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1b97cd3bf98ff4e1 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:511
    let output = fs::File::create(compressed_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #1fdfe3c187309c79 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1348
                            tracing::error!(
                                "state db returned rollout path for thread {id_str} but file belongs to thread {}: {}",
                                meta_line.meta.id,
                                existing_db_path.display()
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4793b8b7533801f1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1353
                            tracing::warn!(
                                "state db discrepancy during find_thread_path_by_id_str_in_subdir: mismatched_db_path"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d765f88b86f8bd47 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1363
                            tracing::debug!(
                                "state db returned rollout path for thread {id_str} that could not be verified: {}: {err}",
                                existing_db_path.display()
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4b36b906d0d2befa Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1371
                    tracing::error!(
                        "state db returned stale rollout path for thread {id_str}: {}",
                        db_path.display()
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fcd1a5b559143bec Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1375
                    tracing::warn!(
                        "state db discrepancy during find_thread_path_by_id_str_in_subdir: stale_db_path"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9bc698de6ef33e1d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1387
                tracing::warn!(
                    "state db find_rollout_path_by_id failed during find_path_query: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3d752e26d12d560f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1408
            tracing::warn!(
                "rollout filename lookup failed during find_thread_path_by_id_str_in_subdir: {err}"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #dd886d83f75862d9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1452
        tracing::debug!("state db missing rollout path for thread {id_str}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #91da7e0c0cb11075 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1453
        tracing::warn!(
            "state db discrepancy during find_thread_path_by_id_str_in_subdir: falling_back"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #200567e5abc527a9 Filesystem access.
repo/codex-rs/rollout/src/metadata_tests.rs:70
    let mut file = File::create(&path).expect("create rollout");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #84dd16409a529c73 Filesystem access.
repo/codex-rs/rollout/src/metadata_tests.rs:114
    let mut file = File::create(&path).expect("create rollout");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ceea47ebdbda187c Filesystem access.
repo/codex-rs/rollout/src/metadata_tests.rs:180
    let mut file = File::create(&path).expect("create rollout");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f8d0d07e28621176 Filesystem access.
repo/codex-rs/rollout/src/metadata_tests.rs:441
    let mut file = File::create(&path).expect("create rollout");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #8b6b0ef1d839b2f0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/recorder.rs:675
        tracing::error!("Falling back on rollout system");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3f8e0ca28ebbb1ec Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/recorder.rs:676
        tracing::warn!("state db discrepancy during list_threads_with_db_fallback: falling_back");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #29651f26d1aa00e1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/recorder.rs:1015
        tracing::debug!(
            "Resumed rollout with {} items, thread ID: {:?}, parse errors: {}",
            items.len(),
            thread_id,
            parse_errors,
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #6ba7754b2df5db61 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:91
    fs::write(path, format!("{jsonl}\n"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #927e731ff1ad8d3a Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:95
    fs::read_to_string(path)?

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #feef1c29c5002665 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:106
    let mut file = File::create(&path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b402031f6cc835a6 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:139
    fs::write(&rollout_path, b"{\"type\":\"event_msg\"}")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ed35c5c450cf6ba9 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:211
    fs::write(&rollout_path, format!("{jsonl}\n"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #86262fc2194718f8 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:234
    let mut file = File::create(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #795040ed31767a30 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:349
    let mut file = File::create(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8d9945015059e560 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:413
    let mut file = File::create(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d2da993adfe934d5 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:554
    let text = std::fs::read_to_string(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #54f6aa9ad92016d1 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:584
    let text_after_second_persist = std::fs::read_to_string(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #01d3c864fc2a4d06 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:614
    let text = fs::read_to_string(recorder.rollout_path())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60a5827b487ee69d Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:629
    File::create(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8050614d16dc2458 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:638
    let text = fs::read_to_string(rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ae1ac32bd77f33b Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:679
    File::create(&sessions_blocker_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f5b4e49150179e5 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:693
    let text = std::fs::read_to_string(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7624ec9b0605294c Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:707
    File::create(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #52a4ec057fca1284 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:730
    let text_after_retry = std::fs::read_to_string(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c9ee6215806e9a63 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:795
        let contents = fs::read_to_string(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb8b7f0805ef795d Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:817
    let before = fs::read(&rollout_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c25cd5b41a2f12da Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:861
    fs::write(&rollout_path, format!("{jsonl}\n"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39c20075841684cd Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:1087
    let mut file = File::create(&path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #75b65cb3a6c9f39e Filesystem access.
repo/codex-rs/rollout/src/session_index.rs:80
    let contents = match std::fs::read_to_string(&path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c2b747d92754c122 Filesystem access.
repo/codex-rs/rollout/src/session_index.rs:101
    std::fs::write(&temp_path, remaining)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1c8f5cfc3dd5b420 Filesystem access.
repo/codex-rs/rollout/src/session_index.rs:246
    let mut scanner = ReverseJsonlScanner::new(File::open(path)?)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2f0b08f3784d5248 Filesystem access.
repo/codex-rs/rollout/src/session_index_tests.rs:19
    std::fs::write(path, out)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #423df67cdb1d1261 Filesystem access.
repo/codex-rs/rollout/src/session_index_tests.rs:56
    std::fs::write(path, format!("{body}\n"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #04440e0910e6220e Filesystem access.
repo/codex-rs/rollout/src/session_index_tests.rs:133
    std::fs::write(&partial_rollout_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #353fdf69fd250c8f Filesystem access.
repo/codex-rs/rollout/src/session_index_tests.rs:253
    std::fs::write(
        &path,
        format!(
            "{}\nnot-json\n{}",
            serde_json::to_string(&expected)?,
            serde_json::to_string(&unterminated)?
        ),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6cb38da98d96425c Filesystem access.
repo/codex-rs/rollout/src/state_db_tests.rs:202
    std::fs::write(path.as_path(), format!("{jsonl}\n"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #624ab67756bee51e Filesystem access.
repo/codex-rs/rollout/src/tests.rs:147
    let contents = fs::read_to_string(&path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #475040f74657ef7d Filesystem access.
repo/codex-rs/rollout/src/tests.rs:158
    fs::write(
        &path,
        format!("{canonical_meta}\n{user_event}\n{source_meta}\n"),
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #29bee0893e8b1fc3 Filesystem access.
repo/codex-rs/rollout/src/tests.rs:253
    fs::write(&db_rollout_path, "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c58662adc5d23c4c Filesystem access.
repo/codex-rs/rollout/src/tests.rs:332
    let mut file = File::create(file_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7656e5fc90f1cba2 Filesystem access.
repo/codex-rs/rollout/src/tests.rs:403
    let mut file = File::create(file_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8ad022ca80fec801 Filesystem access.
repo/codex-rs/rollout/src/tests.rs:482
    let mut file = File::create(file_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ca8dad7d99f14967 Filesystem access.
repo/codex-rs/rollout/src/tests.rs:541
    let mut file = File::create(file_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8d62c0c61c46ccf8 Filesystem access.
repo/codex-rs/rollout/src/tests.rs:1312
    let mut file = File::create(&file_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/rollout-trace

rust first-party
expand_more 6 low-confidence finding(s)
low env_fs production #95bcde64e9808176 Filesystem access.
repo/codex-rs/rollout-trace/src/reducer/mod.rs:47
        serde_json::from_reader(File::open(bundle_dir.join(MANIFEST_FILE_NAME))?)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #befda84d88fe862b Filesystem access.
repo/codex-rs/rollout-trace/src/reducer/mod.rs:69
    let event_log = File::open(&event_log_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9a3a84934586d427 Filesystem access.
repo/codex-rs/rollout-trace/src/reducer/mod.rs:143
        let file = File::open(&payload_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4fe415355366e918 Environment-variable access.
repo/codex-rs/rollout-trace/src/thread.rs:107
        let Some(root) = std::env::var_os(CODEX_ROLLOUT_TRACE_ROOT_ENV) else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #63bd16c57ffc505d Filesystem access.
repo/codex-rs/rollout-trace/src/thread_tests.rs:210
    let event_log = fs::read_to_string(single_bundle_dir(temp.path())?.join("trace.jsonl"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b0f6adba2d0ff2d8 Filesystem access.
repo/codex-rs/rollout-trace/src/writer.rs:145
    let file = File::create(path).with_context(|| format!("create {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/sandboxing

rust first-party
expand_more 12 low-confidence finding(s)
low env_fs production #94dc2e0c0c36e4d8 Filesystem access.
repo/codex-rs/sandboxing/src/bwrap.rs:139
    std::fs::read_to_string("/proc/version")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9279c39000316301 Environment-variable access.
repo/codex-rs/sandboxing/src/bwrap.rs:169
    let search_path = std::env::var_os("PATH")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #34b4240de012c5c9 Filesystem access.
repo/codex-rs/sandboxing/src/bwrap_tests.rs:125
    std::fs::write(first_dir.join("bwrap"), "not executable").expect("write non-executable bwrap");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #132de0d7fb7b6b2a Filesystem access.
repo/codex-rs/sandboxing/src/bwrap_tests.rs:186
    fs::write(&path, contents).expect("write fake bwrap");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0bb4c0766795b129 Filesystem access.
repo/codex-rs/sandboxing/src/bwrap_tests.rs:197
    fs::write(&path, "#!/bin/sh\n").expect("write fake bwrap");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d4fb6bb5363ecdf1 Environment-variable access.
repo/codex-rs/sandboxing/src/manager.rs:644
    let tmpdir_writable = std::env::var_os("TMPDIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4e46b1354ad64c98 Filesystem access.
repo/codex-rs/sandboxing/src/manager_tests.rs:467
    std::fs::write(&configured_helper, b"helper").expect("write configured helper");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #df47a16627140392 Environment-variable access.
repo/codex-rs/sandboxing/src/policy_transforms.rs:391
                let tmpdir = std::env::var_os("TMPDIR")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4529d84d041911e7 Filesystem access.
repo/codex-rs/sandboxing/src/seatbelt_tests.rs:1183
    fs::write(&gitdir_config, gitdir_config_contents).expect("write gitdir config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #09e8c3589a84d6f0 Filesystem access.
repo/codex-rs/sandboxing/src/seatbelt_tests.rs:1187
    fs::write(&dot_git, &dot_git_contents).expect("write .git pointer");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3ab17d3593c12f22 Environment-variable access.
repo/codex-rs/sandboxing/src/seatbelt_tests.rs:1333
    if let Some(tmpdir_env_var) = std::env::var("TMPDIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3591839cc59d5b96 Filesystem access.
repo/codex-rs/sandboxing/src/seatbelt_tests.rs:1424
    fs::write(
        vulnerable_root.join(".codex").join("config.toml"),
        "sandbox_mode = \"read-only\"\n",
    )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/secrets

rust first-party
expand_more 1 low-confidence finding(s)
low env_fs production #86cafb5efe0dc882 Filesystem access.
repo/codex-rs/secrets/src/local.rs:157
        let ciphertext = fs::read(&path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/shell-command

rust first-party
expand_more 1 low-confidence finding(s)
low env_fs production #a016eb5264cccaf3 Filesystem access.
repo/codex-rs/shell-command/src/command_safety/is_safe_command.rs:778
        let mut script = fs::File::create(&fake_pwsh).expect("create fake pwsh");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/shell-escalation

rust first-party
expand_more 7 low-confidence finding(s)
low env_fs production #2e21ed1127845e2c Environment-variable access.
repo/codex-rs/shell-escalation/src/unix/escalate_client.rs:21
    let client_fd = std::env::var(ESCALATE_SOCKET_ENV_VAR)?.parse::<i32>()?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3a7452770304adc8 Environment-variable access.
repo/codex-rs/shell-escalation/src/unix/escalate_client.rs:47
    let env = std::env::vars()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #8681d8d5f527d80c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/shell-escalation/src/unix/escalate_server.rs:240
            tracing::error!("expected 1 fd in datagram handshake, got {}", fds.len());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #0d860c5b2cea60c0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/shell-escalation/src/unix/escalate_server.rs:258
                tracing::error!("escalate session failed: {err:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #beda56aeb6ec7ea1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/shell-escalation/src/unix/escalate_server.rs:290
    tracing::debug!("decided {decision:?} for {program:?} {argv:?} {workdir:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #f160fb73c2db88f7 Filesystem access.
repo/codex-rs/shell-escalation/src/unix/escalate_server.rs:550
            if let Ok(contents) = std::fs::read_to_string(pid_file) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #1e387ee21eb5ae2d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/shell-escalation/src/unix/socket.rs:309
            tracing::warn!("unexpected fds in receive: {}", fds.len());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/skills

rust first-party
expand_more 3 low-confidence finding(s)
low env_fs production #0613c04f44ad9d37 Filesystem access.
repo/codex-rs/skills/src/lib.rs:53
    fs::write(marker_path.as_path(), format!("{expected_fingerprint}\n"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3f903dc140b0c6a6 Filesystem access.
repo/codex-rs/skills/src/lib.rs:59
    Ok(fs::read_to_string(path.as_path())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f25c9fba329c7c49 Filesystem access.
repo/codex-rs/skills/src/lib.rs:121
                fs::write(path.as_path(), file.contents())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/state

rust first-party
expand_more 8 low-confidence finding(s)
low telemetry production #70c071df97d989f5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:608
            tracing::info!(foo = 2, "thread-scoped");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d9e630ab13f96fac Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:610
        tracing::debug!("threadless-after");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9ccd0c9039055b8d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:656
        tracing::info!("buffered-log");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6635ac05df036d4f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:694
        tracing::info!("first-batch-log");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d43bb0b3360bcf47 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:705
        tracing::info!("second-batch-log");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3cdb28355ac753ef Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:744
        tracing::info!("interval-log");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #923119ed8de35868 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db_filter_tests.rs:22
    tracing::debug!(target: "opentelemetry_sdk", "dropped-debug");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #727ed876dc48bc2c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db_filter_tests.rs:23
    tracing::info!(target: "opentelemetry_sdk", "retained-info");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/terminal-detection

rust first-party
expand_more 5 low-confidence finding(s)
low env_fs production #3f715cabcdbd946d Environment-variable access.
repo/codex-rs/terminal-detection/src/lib.rs:255
        match std::env::var(name) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #f1435b2c09947626 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/terminal-detection/src/lib.rs:259
                tracing::warn!("failed to read env var {name}: value not valid UTF-8");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #a4fd7e6e5c3f456b Environment-variable access.
repo/codex-rs/terminal-detection/src/lib.rs:336
        || env
            .var("TERM")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f8423f55333e473d Environment-variable access.
repo/codex-rs/terminal-detection/src/lib.rs:345
        || env
            .var("TERM")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2e1afb655ee3fe53 Environment-variable access.
repo/codex-rs/terminal-detection/src/lib.rs:438
    let term_program = env.var("TERM_PROGRAM")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/test-binary-support

rust first-party
expand_more 1 low-confidence finding(s)
low env_fs production #8158293a889eedf8 Environment-variable access.
repo/codex-rs/test-binary-support/lib.rs:51
            let previous_codex_home = std::env::var_os("CODEX_HOME");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/thread-manager-sample

rust first-party
expand_more 1 low-confidence finding(s)
low telemetry production #e3ca02a41c1972e7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/thread-manager-sample/src/main.rs:91
        tracing::warn!("failed to set originator: {err:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/thread-store

rust first-party
expand_more 14 low-confidence finding(s)
low env_fs production #704a98476d2bb480 Filesystem access.
repo/codex-rs/thread-store/src/local/delete_thread.rs:159
        std::fs::write(&compressed_path, b"compressed sibling").expect("compressed sibling");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #6e21c78e32b47a8f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/thread-store/src/local/helpers.rs:174
            tracing::warn!("failed to serialize permission profile metadata: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #c5dc4fc70375ff61 Filesystem access.
repo/codex-rs/thread-store/src/local/list_threads.rs:279
        fs::write(&rollout_path, "").expect("placeholder rollout file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a26a71c4dfb36315 Filesystem access.
repo/codex-rs/thread-store/src/local/model_context.rs:109
    let mut scanner = ReverseJsonlScanner::new(File::open(path)?)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1760381fa2d14ba1 Filesystem access.
repo/codex-rs/thread-store/src/local/read_thread.rs:858
        let mut file = std::fs::File::create(&rollout_path).expect("session file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6ae336d69fdf6e81 Filesystem access.
repo/codex-rs/thread-store/src/local/read_thread.rs:965
        let mut file = std::fs::File::create(&rollout_path).expect("session file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c6ed5afb051af3df Filesystem access.
repo/codex-rs/thread-store/src/local/read_thread.rs:1131
        let mut file = std::fs::File::create(&rollout_path).expect("session file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #202d3c02c3349d2c Filesystem access.
repo/codex-rs/thread-store/src/local/test_support.rs:91
    let mut file = fs::File::create(&path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e80d6457f7800d76 Filesystem access.
repo/codex-rs/thread-store/src/local/thread_history_materialization_tests.rs:688
    fs::write(home.path().join("sessions"), "not a directory").expect("block sessions dir");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f957d31b3169131a Filesystem access.
repo/codex-rs/thread-store/src/local/thread_history_materialization_tests.rs:733
    fs::write(sqlite_home.as_path(), "not a directory").expect("block sqlite home");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #00ce3c39e4870aee Filesystem access.
repo/codex-rs/thread-store/src/local/update_thread_metadata.rs:823
        let original_rollout = std::fs::read_to_string(&path).expect("read rollout");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6a34dd04d0d9cebb Filesystem access.
repo/codex-rs/thread-store/src/local/update_thread_metadata.rs:1308
        let content = std::fs::read_to_string(&path).expect("read rollout");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5cba188f17fc91f3 Filesystem access.
repo/codex-rs/thread-store/src/local/update_thread_metadata.rs:1309
        std::fs::write(
            &path,
            content.replace(&filename_uuid.to_string(), &metadata_uuid.to_string()),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cc4516c09bc1e13c Filesystem access.
repo/codex-rs/thread-store/src/local/update_thread_metadata.rs:1849
        let last_line = std::fs::read_to_string(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/tools

rust first-party
expand_more 2 low-confidence finding(s)
low telemetry production #b2ea67c4ca4c0f7c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tools/src/tool_config.rs:144
                    tracing::warn!(
                        "Failed to convert shell_zsh_path `{shell_zsh_path:?}`: {err:?}"
                    )

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c7bcf1b277823504 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tools/src/tool_config.rs:150
                        tracing::warn!(
                            "Failed to convert main_execve_wrapper_exe `{main_execve_wrapper_exe:?}`: {err:?}"
                        )

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/tui

rust first-party
expand_more 307 low-confidence finding(s)
low telemetry production #772825c62b9a022d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:629
            tracing::warn!(%err, "failed to resolve runtime model provider base URL for status");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d6414a0e20f75a22 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:834
                    tracing::warn!("app-server shutdown failed: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #72f1b227a0b7ca9e Environment-variable access.
repo/codex-rs/tui/src/app.rs:1110
                let env_map: std::collections::HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #5aa49a322e0b923b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:1129
        tracing::info!(
            duration_ms = %(startup_elapsed_before_app + startup_started_at.elapsed()).as_millis(),
            bootstrap_ms = %bootstrap_ms,
            runtime_model_provider_ms = %runtime_model_provider_ms,
            thread_and_widget_ms = %thread_and_widget_ms,
            initial_session_ms = %initial_session_ms,
            event_stream_ms = %event_stream_started_at.elapsed().as_millis(),
            "tui startup initial frame scheduled"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4043c0ee01468ce9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:1241
            tracing::warn!(error = %err, "failed to shut down embedded app server");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a806710242e38d92 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:1253
                    tracing::warn!(error = %clear_pet_err, "failed to clear ambient pet image");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #0b15dcb7da006ab7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:1256
                    tracing::warn!(error = %clear_err, "failed to clear terminal UI");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c7c63b960c6a5743 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:1379
            tracing::debug!(error = %err, "failed to clear terminal title on app drop");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d1de42894922fb91 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/agent_message_consolidation.rs:46
        tracing::debug!(
            "ConsolidateAgentMessage: transcript_cells.len()={end}, source_len={}",
            source.len()
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #92a938720ddbd20d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/agent_message_consolidation.rs:52
            tracing::debug!(
                "ConsolidateAgentMessage: replacing cells [{start}..{end}] with AgentMarkdownCell"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #72431da743b4c2fe Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/agent_message_consolidation.rs:67
            tracing::debug!(
                "ConsolidateAgentMessage: no cells to consolidate(start={start}, end={end})",
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a6cad0af71df1be2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/app_server_events.rs:39
                tracing::warn!(
                    skipped,
                    "app-server event consumer lagged; dropping ignored events"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c8b99b71f9090175 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/app_server_events.rs:55
                tracing::warn!("app-server event stream disconnected: {message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #42964359b7108d5a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/app_server_events.rs:124
                    tracing::warn!(
                        error = %err,
                        "failed to refresh config after external agent config import"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #637121d103db1094 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/app_server_events.rs:169
                    tracing::warn!("failed to enqueue app-server notification: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #517957478cc70887 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/app_server_events.rs:174
                tracing::warn!(
                    thread_id,
                    "ignoring app-server notification with invalid thread_id"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #07745076265676bf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/app_server_events.rs:181
                tracing::debug!(
                    "ignoring app-scoped MCP startup notification without a TUI app-level target"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1c6d7e5ca443fbf7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/app_server_events.rs:202
            tracing::warn!(
                request_id = ?unsupported.request_id,
                message = unsupported.message,
                "rejecting unsupported app-server request"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #751a8c13a050c5d8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/app_server_events.rs:217
                tracing::warn!("{err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #636ed90462925aa1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/app_server_events.rs:234
            tracing::warn!("failed to enqueue app-server request: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d27bf61c1160d45a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/background_requests.rs:545
                    tracing::warn!(error = %err, "plugin/list failed while refreshing plugin mention candidates");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #50c62b1c384a02cf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/background_requests.rs:640
                            tracing::warn!("thread {thread_id} event channel closed: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5f86ec7a810bd6ed Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/background_requests.rs:645
                    tracing::warn!("thread {thread_id} event channel closed");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d548255b491f3c86 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:138
                tracing::warn!(
                    error = %err,
                    profile_id,
                    "failed to resolve selected permission profile"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #47abcbdcbb18e3bf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:173
            tracing::warn!(
                error = %err,
                profile_id,
                "failed to set selected permission profile on app config"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a664652a46bf2f29 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:197
            tracing::warn!(
                error = %err,
                profile_id,
                "failed to set selected permission profile on chat config"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b3d0435a50806b62 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:251
            tracing::warn!(
                error = %err,
                action,
                "failed to refresh config before thread transition; continuing with current in-memory config"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f16217ca4d20bdff Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:268
                tracing::warn!(
                    error = %err,
                    setting,
                    "failed to refresh effective config after an overridden write"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #df1e663ce026cfe2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:293
                    tracing::warn!(
                        error = %err,
                        cwd = %resume_cwd_display,
                        "failed to rebuild config for same-cwd resume; using current in-memory config"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a2bfe96dd3de7e34 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:308
            tracing::warn!(%err, "failed to carry forward approval policy override");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ad4a1b75fb8e1141 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:326
                    tracing::warn!(%err, "failed to carry forward permission profile override");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #64281ece0b59233d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:348
            tracing::warn!(error = %err, "{log_message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1d2779c39794fbba Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:385
            tracing::warn!(error = %err, "{log_message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ce31be628f629d04 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:424
                tracing::error!(
                    error = %err,
                    feature = feature_key,
                    "failed to update constrained feature flags"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #44e4660fbbc77ce9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:519
                tracing::error!(error = %error, "failed to persist feature flags");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #30742e271108d936 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:527
            tracing::warn!(
                message,
                "feature flag config write was overridden by effective config"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #355ca309b24a1ad0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:591
            tracing::error!(
                error = %err,
                "failed to set auto-review permission profile on chat config"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f9607a0aabdf385a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:666
                tracing::error!(error = %err, "failed to persist memory settings");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9f8288302df43f40 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:674
            tracing::warn!(
                message,
                "memory settings config write was overridden by effective config"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c614cf65fcea8436 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:727
            tracing::error!(error = %err, %thread_id, "failed to update thread memory mode");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #7fe6baff9dfa4fc8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:739
            tracing::error!(error = %err, "failed to reset memories");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #45343cd135689e42 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:909
                tracing::warn!(
                    error = %err,
                    feature = feature.key(),
                    "failed to sync effective feature state after an overridden write"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3a3f260d218968a1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:938
                tracing::warn!(
                    error = %err,
                    "failed to sync effective approval policy after an overridden write"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #653edde61ca6e6d0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:984
            tracing::warn!(
                error = %err,
                "failed to sync overridden Auto-review permission profile on chat config"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9bfde4597c02dafa Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/config_persistence.rs:1053
        tracing::warn!(
            message,
            "Windows sandbox config write was overridden by effective config"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #174476fdf4a72d26 Filesystem access.
repo/codex-rs/tui/src/app/config_persistence.rs:1510
        std::fs::write(
            codex_home.path().join("config.toml"),
            format!(
                r#"
[apps.{app_id}]
enabled = false
"#
            ),
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8d9efbc7c7feb87e Filesystem access.
repo/codex-rs/tui/src/app/config_persistence.rs:1554
        std::fs::write(codex_home.path().join("config.toml"), "[broken")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bcb3a12c51806d71 Filesystem access.
repo/codex-rs/tui/src/app/config_persistence.rs:1609
        std::fs::write(
            codex_home.path().join("config.toml"),
            r#"
[tui]
terminal_resize_reflow_max_rows = 9000
"#,
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5fb8f75b86102ee1 Filesystem access.
repo/codex-rs/tui/src/app/config_persistence.rs:1672
        std::fs::write(codex_home.path().join("config.toml"), "[broken")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3cc40c43a7408067 Filesystem access.
repo/codex-rs/tui/src/app/config_persistence.rs:1689
        std::fs::write(codex_home.path().join("config.toml"), "[broken")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #376ab784aa39de19 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:405
                    tracing::error!("failed to logout: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #448adcb122524a2b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:454
                    tracing::warn!("failed to sync thread git branch from directive: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #85a7f8e8d71c303e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:928
                    tracing::warn!("account/rateLimits/read failed during TUI refresh: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #cab48e3b03bbda14 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:997
                    tracing::warn!(
                        "account/rateLimitResetCredit/consume failed during TUI request: {err}"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #26e284de7aa4b203 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1015
                    tracing::warn!("account/usage/read failed during TUI refresh: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b41aeaa885e1d4b8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1094
                    tracing::error!(error = %error, "failed to persist conversation model");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d1e561a8afae78a2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1203
                    tracing::warn!(
                        "refusing to set up elevated Windows sandbox mode disallowed by requirements"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #639751c9f952660f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1220
                            tracing::warn!(
                                error = %err,
                                "failed to resolve permission profile for elevated Windows sandbox setup"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #544531a843fbdecc Environment-variable access.
repo/codex-rs/tui/src/app/event_dispatch.rs:1234
                        std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #ced4250405724fa9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1296
                                tracing::error!(
                                    error = %err,
                                    "failed to run elevated Windows sandbox setup"
                                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #83649a288f4c6d4f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1322
                    tracing::warn!(
                        "refusing to set up unelevated Windows sandbox mode disallowed by requirements"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #88f165cdc71960af Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1339
                            tracing::warn!(
                                error = %err,
                                "failed to resolve permission profile for legacy Windows sandbox setup"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #96e0c4ecdb4e7dd5 Environment-variable access.
repo/codex-rs/tui/src/app/event_dispatch.rs:1353
                        std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #bb097b3e03400eda Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1374
                            tracing::warn!(
                                error = %err,
                                "failed to preflight non-admin Windows sandbox setup"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #e6ea1a5fb68aea78 Environment-variable access.
repo/codex-rs/tui/src/app/event_dispatch.rs:1404
                        std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #bd7be00b67a21310 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1469
                        tracing::warn!(
                            ?selected_mode,
                            "refusing to persist Windows sandbox mode disallowed by requirements"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #064033a32d941ef1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1601
                            tracing::error!(
                                error = %err,
                                "failed to enable Windows sandbox feature"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #59fe10ba4c68f27a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1631
                        tracing::info!("Selected model: {model}, Selected effort: {effort_label}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6fa7e267508769ff Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1641
                        tracing::error!(
                            error = %error,
                            "failed to persist model selection"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #936b44519d03c12d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1696
                        tracing::error!(
                            error = %err,
                            "failed to persist personality selection"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3b373763bf770ef5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1726
                        tracing::error!(error = %err, "failed to persist service tier selection");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #0888c4458c684942 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1778
                    tracing::warn!(%err, "failed to set permission profile on chat config");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #8c42ddb23b474a1e Environment-variable access.
repo/codex-rs/tui/src/app/event_dispatch.rs:1807
                            std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #9972f0021fa2826c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1842
                    tracing::error!(
                        error = %err,
                        "failed to persist approvals reviewer update"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #99aab3d8fece6ece Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1888
                    tracing::error!(
                        error = %err,
                        "failed to persist world-writable warning acknowledgement"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #6fc55e68b03ba6d1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1903
                    tracing::error!(
                        error = %err,
                        "failed to persist rate limit switch prompt preference"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d4079450b1999d9d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1928
                    tracing::error!(
                        error = %err,
                        "failed to persist plan mode reasoning effort"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #1ea5962b06ec8786 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1946
                    tracing::error!(
                        error = %err,
                        "failed to persist model migration prompt acknowledgement"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #8e475f96276eedfc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2176
                        tracing::error!(error = %error, "failed to persist status line settings; keeping previous selection");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #bc731c73acead454 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2215
                        tracing::error!(error = %err, "failed to persist terminal title items; keeping previous selection");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #121247e06ba6c0fe Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2254
                        tracing::error!(error = %err, "failed to persist theme selection");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9c62d1c81c8fc557 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2360
                tracing::error!(error = %err, "failed to persist keymap binding");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2b174d223c9ba1a8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2413
                tracing::error!(error = %err, "failed to clear keymap binding");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a7e123b32c9a20dc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2444
                        tracing::warn!("timed out waiting for app-server thread shutdown");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d50b612f41ef88c9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/input.rs:85
            tracing::warn!(error = %err, "failed to reflow transcript after raw output mode toggle");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ce4c986b4cd31b52 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/input.rs:217
                    tracing::warn!(error = %err, "failed to clear terminal UI");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #0a969eb6de3e1c13 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/pets.rs:12
                    tracing::warn!(
                        error = %err,
                        "failed to clear ambient pet image before shutdown feedback"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3fe10f497a9693ba Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/pets.rs:30
                tracing::warn!(
                    error = %err,
                    "failed to render ambient pet image; disabling pet for session"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c1530f2c394f9e58 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/pets.rs:39
                            tracing::warn!(
                                error = %err,
                                "failed to clear ambient pet image after render failure"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e375ea0eb16359ca Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/pets.rs:59
                tracing::warn!(error = %err, "failed to render pet picker preview image");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f05d3bb212143337 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/pets.rs:66
                            tracing::warn!(
                                error = %err,
                                "failed to clear pet picker preview image after render failure"
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c6d79bd221614216 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/session_lifecycle.rs:283
                tracing::warn!(
                    thread_id = %thread_id,
                    error = %resume_err,
                    "failed to resume live thread for selection; falling back to thread/read"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #abd9d7c649a0b2bb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/session_lifecycle.rs:507
                    tracing::warn!(
                        thread_id = %thread_id,
                        "failed to unsubscribe stale startup thread: {err}"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fe11d636e2c66de7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/session_lifecycle.rs:566
                tracing::warn!("failed to unsubscribe tracked thread {thread_id}: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d473965472e1d6a0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/session_lifecycle.rs:666
                tracing::warn!(%err, "failed to list loaded threads for subagent backfill");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c36244e8d3381943 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/session_lifecycle.rs:690
                    tracing::warn!(thread_id = %thread_id, %err, "failed to read loaded thread");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #dc3c1512a0d0184c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/side.rs:370
            tracing::warn!("{message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fa19b80d0dbc57b8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/side.rs:377
            tracing::warn!("{message}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d937354c90c8be4e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/side.rs:427
            tracing::warn!(
                "failed to restore side conversation after cleanup failure for {thread_id}: {err}"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d5ffce9472252baa Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/side.rs:612
                        tracing::warn!(
                            "failed to restore parent thread after side conversation switch failure: {restore_err}"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #404b7938801ed755 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/startup_prompts.rs:260
        tracing::error!(
            error = %err,
            model = %tooltip_override.model_slug,
            "failed to persist model availability nux count"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #5a8244fad37b1a87 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:1711
    let config = std::fs::read_to_string(codex_home.path().join("config.toml"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c42e67ddbf829120 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:1796
        std::fs::write(memory_root.join("MEMORY.md"), "stale memory\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #506c4d91167b97e7 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:1797
        std::fs::write(
            memory_root.join("rollout_summaries").join("stale.md"),
            "stale summary\n",
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #df174d09a2551090 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:1801
        std::fs::write(extensions_root.join("stale.txt"), "stale extension\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3df9238d8baf72dc Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:1821
    std::fs::write(
        &selected_config,
        r#"
default_permissions = "locked-down"

[permissions.locked-down.filesystem]
":minimal" = "read"
"#,
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8d16e8accad12653 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:1993
    let config = std::fs::read_to_string(codex_home.path().join("config.toml"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5f293e7c63a53906 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2010
    std::fs::write(config_toml_path.as_path(), config_toml)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ef1c2eb5d8c5411d Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2088
    let config = std::fs::read_to_string(codex_home.path().join("config.toml"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd6cd0e0b130aee3 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2106
    std::fs::write(config_toml_path.as_path(), config_toml)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ae337f09d1859e3e Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2158
    let config = std::fs::read_to_string(codex_home.path().join("config.toml"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9647a9a1ce607b34 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2175
    std::fs::write(config_toml_path.as_path(), config_toml)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a16761960d04a12f Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2222
    let config = std::fs::read_to_string(codex_home.path().join("config.toml"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c0558d7ed643eaa5 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2925
    std::fs::write(
        &rollout_path,
        format!("{}\n", serde_json::to_string(&rollout)?),
    )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a227cdcf9d3ea615 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:4397
    std::fs::write(&image_path, b"png bytes")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #de20f1b34b3cc0ce Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:5366
    let session_meta = std::fs::read_to_string(&source_path)?

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5e513a012597bf23 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:5371
    std::fs::write(&source_path, format!("{session_meta}\n"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8bbcfa2f02440125 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:5421
    let source_before = std::fs::read_to_string(&source_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #f68d6fa467e7dcfd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_goal_actions.rs:67
                tracing::warn!("failed to read thread goal after resume: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b18b8972dee49d80 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_goal_actions.rs:344
        tracing::warn!("failed to clean up materialized goal files at {output_dir}: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c0918681afd2e955 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:16
                tracing::warn!("failed to unsubscribe thread {thread_id}: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2434622f8870c98f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:470
                tracing::warn!(
                    thread_id = %thread_id,
                    error = %err,
                    "failed to append to message history"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3ed3cbd43f393641 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:497
                tracing::warn!(error = %err, "history lookup task failed");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #10098fec07e47df3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:773
                tracing::warn!("{failure_message}: {err:#}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #53d01b80fcc4add6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:903
                            tracing::warn!("thread {thread_id} event channel closed: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #09a3ef48c09c0139 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:908
                    tracing::warn!("thread {thread_id} event channel closed");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #18492a19faa72ab0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:1029
                            tracing::warn!("thread {thread_id} event channel closed: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9fb3d101b75e3e69 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:1034
                    tracing::warn!("thread {thread_id} event channel closed");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2053e01970b4f88a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:1081
                            tracing::warn!("thread {thread_id} event channel closed: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #bd171d84ed678c49 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:1086
                    tracing::warn!("thread {thread_id} event channel closed");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4472a3a811511129 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:1220
                tracing::warn!(
                    thread_id = %thread_id,
                    error = %err,
                    "failed to refresh inferred thread session before replay"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #0e200b4ca67f45a0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_settings.rs:165
            tracing::warn!("failed to update app-server thread settings from TUI: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5d18865de9ffa38a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app_event_sender.rs:41
            tracing::error!("failed to send event: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #0c7a3f01e848b270 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app_server_session.rs:628
                tracing::warn!("Failed to parse fork parent thread id from app server: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #da9aff00aaf1abd6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app_server_session.rs:639
                tracing::warn!("Failed to read fork parent metadata from app server: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c5683d68d76972f1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/chat_composer.rs:934
                tracing::info!("OK: {pasted}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #9599752621254639 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/chat_composer.rs:935
                tracing::debug!("image dimensions={}x{}", width, height);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #7882070845f0d7c8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/chat_composer.rs:937
                tracing::debug!("attached image format={}", format.label());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #277626c34f6f2281 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/chat_composer.rs:2176
                    tracing::debug!("selected image dimensions={}x{}", width, height);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #68b3d776f3476375 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/mod.rs:821
                tracing::warn!(
                    "failed to append Ctrl+C-cleared draft to history: no active thread id"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a3983140a8ec4466 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/textarea.rs:632
        tracing::debug!("Unhandled key event in TextArea: {:?}", event);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #29d71d23917e923b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget.rs:1291
                tracing::warn!(
                    "pending steer matched compare key but queue was empty when rendering committed user message"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2f3a8a6e0aa07919 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget.rs:1743
                    tracing::error!("failed to submit op: {e}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5dd58b4e4e73e72a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/input_submission.rs:105
            tracing::warn!("cannot submit user message before session is configured; queueing");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #be6dfc89a63fe295 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/interaction.rs:83
                        tracing::debug!(
                            "pasted image size={}x{} format={}",
                            info.width,
                            info.height,
                            info.encoded_format.label()
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fc79aaeb69949b6a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/interaction.rs:92
                        tracing::warn!("failed to paste image: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #4fe59edc02d5c2a6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/interaction.rs:199
        tracing::info!("attach_image path={path:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3e34038484f2b39b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/protocol.rs:43
                        tracing::warn!(
                            thread_id = notification.thread_id,
                            error = %err,
                            "ignoring app-server ThreadNameUpdated with invalid thread_id"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d162ebe6f1cf0d7b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/session_flow.rs:51
            tracing::warn!(%err, "failed to sync approval_policy from SessionConfigured");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c8116285bd26baef Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/session_flow.rs:64
            tracing::warn!(%err, "failed to sync permissions from SessionConfigured");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f4727ab2073ed349 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/session_flow.rs:70
                tracing::error!(
                    %replace_err,
                    "failed to replace permissions from SessionConfigured after constraint fallback"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3c169f2dcdf61e1c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/settings.rs:16
            tracing::warn!(%err, "failed to set approval_policy on chat config");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c1b0724a8679b6de Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/settings.rs:72
            tracing::warn!(
                error = %err,
                feature = feature.key(),
                "failed to update constrained chat widget feature state"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #193acefc524bc215 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/settings.rs:510
            tracing::warn!(%err, "failed to sync permissions from ThreadSettingsUpdated");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #74415300aeeeb99b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/settings.rs:516
                tracing::error!(
                    %replace_err,
                    "failed to replace permissions from ThreadSettingsUpdated after constraint fallback"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #310aa32caa261b4a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/skills.rs:213
            tracing::warn!(
                skill_name = %skill.name,
                %err,
                "Failed to map app-server skill scope"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b1455a82a3295a3c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_controls.rs:104
        tracing::info!("Status line setup canceled by user");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5bcfc79d780218b0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_controls.rs:111
        tracing::info!(
            "status line setup confirmed with items: {items:#?}, use_theme_colors: {use_theme_colors}"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3d1c5e3c8e9815b9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_controls.rs:144
        tracing::info!("Terminal title setup canceled by user");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #57f410482555ac63 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_controls.rs:153
        tracing::info!("terminal title setup confirmed with items: {items:#?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #8ef4a82001c3556a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_surfaces.rs:231
                tracing::debug!(error = %err, "failed to clear terminal title");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #34aab264eaec23c7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_surfaces.rs:252
                        tracing::debug!(error = %err, "failed to clear terminal title");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f2c2e2e917a627a9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_surfaces.rs:256
                    tracing::debug!(error = %err, "failed to set terminal title");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d4876e00fe18c538 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_surfaces.rs:261
                    tracing::debug!(error = %err, "failed to clear terminal title");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #538e879e9bf6e7ca Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_surfaces.rs:633
                tracing::debug!(error = %err, "failed to fetch workspace headline");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #55f2f67efdba60c5 Environment-variable access.
repo/codex-rs/tui/src/chatwidget/windows_sandbox_prompts.rs:41
        let env_map: std::collections::HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #ddd1c400f6b83526 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_copy.rs:113
            tracing::warn!("terminal clipboard copy failed over SSH: {terminal_err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #b60a5985fdb093b2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_copy.rs:126
                tracing::warn!(
                    "native clipboard copy failed: {native_err}, falling back to WSL PowerShell"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #81abb8b80cade1b8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_copy.rs:132
                        tracing::warn!(
                            "WSL PowerShell clipboard copy failed: {wsl_err}, falling back to terminal clipboard"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e7de45300b5aa8c9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_copy.rs:156
            tracing::warn!(
                "native clipboard copy failed: {native_err}, falling back to terminal clipboard"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #56a3f5ab9ee6c755 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_copy.rs:188
                tracing::warn!("tmux clipboard copy failed: {tmux_err}, falling back to OSC 52");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #bbb68888529bd825 Environment-variable access.
repo/codex-rs/tui/src/clipboard_copy.rs:201
    std::env::var_os("SSH_TTY").is_some() || std::env::var_os("SSH_CONNECTION").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #469c893154b7ec42 Environment-variable access.
repo/codex-rs/tui/src/clipboard_copy.rs:206
    std::env::var_os("TMUX").is_some() || std::env::var_os("TMUX_PANE").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7feac9347dd0ebfa Environment-variable access.
repo/codex-rs/tui/src/clipboard_copy.rs:459
    let sequence = osc52_sequence(text, std::env::var_os("TMUX").is_some())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #69a4ff597d0ab2f1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_copy.rs:465
                Err(err) => tracing::debug!(
                    "failed to write OSC 52 to /dev/tty: {err}; falling back to stdout"
                ),

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c919d307013accb8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_copy.rs:470
                tracing::debug!("failed to open /dev/tty for OSC 52: {err}; falling back to stdout")

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2509eff94852299c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_paste.rs:53
    tracing::debug!("attempting clipboard image read");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #dd170981e43bb3a8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_paste.rs:68
        tracing::debug!(
            "clipboard image opened from file: {}x{}",
            img.width(),
            img.height()
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #5f60f64284ed22a2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_paste.rs:81
        tracing::debug!("clipboard image opened from image: {}x{}", w, h);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #e842a2b5af9981dd Filesystem access.
repo/codex-rs/tui/src/clipboard_paste.rs:131
            std::fs::write(tmp.path(), &png)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #fe0bd61d0693072c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_paste.rs:169
    tracing::debug!("attempting Windows PowerShell clipboard fallback");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #8c4e6de402f6cb70 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_paste.rs:174
    tracing::debug!("powershell produced path: {}", win_path);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #57c731cb4d89c143 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_paste.rs:216
                        tracing::debug!("{} saved clipboard image to {}", cmd, win_path);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #7084389a2676c881 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_paste.rs:220
                    tracing::debug!("{} returned non-zero status", cmd);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #78355d3a8ac80ad5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/clipboard_paste.rs:224
                tracing::debug!("{} not executable: {}", cmd, err);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #42da769d469709f0 Filesystem access.
repo/codex-rs/tui/src/clipboard_paste.rs:292
    if let Ok(version) = std::fs::read_to_string("/proc/version") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5963c469fae24232 Environment-variable access.
repo/codex-rs/tui/src/clipboard_paste.rs:302
    std::env::var_os("WSL_DISTRO_NAME").is_some() || std::env::var_os("WSL_INTEROP").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #13a15a00c2e8d79f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/custom_terminal.rs:201
            tracing::warn!("failed to read initial cursor position; defaulting to origin: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #e76a6fd6e7e05ff6 Filesystem access.
repo/codex-rs/tui/src/debug_config.rs:646
        std::fs::write(
            codex_home.path().join(codex_config::CONFIG_TOML_FILE),
            r#"[agents]
enabled = false
max_concurrent_threads_per_session = 7
max_depth = -2
default_subagent_model = "gpt-5.6-terra"
default_subagent_reasoning_effort = "high"
job_max_runtime_seconds = 900
interrupt_message = false
"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cceff4ce0f81d3c2 Environment-variable access.
repo/codex-rs/tui/src/diff_render.rs:1063
        std::env::var_os("WT_SESSION").is_some(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f12cebd4e0d6048 Environment-variable access.
repo/codex-rs/tui/src/diff_render.rs:1070
    std::env::var_os("FORCE_COLOR").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #bd57d6949353c54b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/external_agent_config_migration_flow.rs:284
                tracing::warn!(
                    error = %err,
                    cwd = %cwd.display(),
                    source = source.label(),
                    "failed to detect external agent config migrations"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #760b753e68add12e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/external_agent_config_migration_flow.rs:358
                        tracing::warn!(
                            error = %err,
                            cwd = %cwd.display(),
                            "failed to import external agent config migration items"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #156f52f083a63333 Environment-variable access.
repo/codex-rs/tui/src/external_editor.rs:34
    let raw = env::var("VISUAL")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d1f648bbd94c970 Environment-variable access.
repo/codex-rs/tui/src/external_editor.rs:35
        .or_else(|_| env::var("EDITOR"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #cdbf35e0b39dd8df Filesystem access.
repo/codex-rs/tui/src/external_editor.rs:61
    fs::write(&temp_path, seed)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #578c3b6813c8a29d Filesystem access.
repo/codex-rs/tui/src/external_editor.rs:89
    let contents = fs::read_to_string(&temp_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49672b2c7502ad24 Environment-variable access.
repo/codex-rs/tui/src/external_editor.rs:109
                visual: env::var("VISUAL").ok(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eb7953bd8c0d40c3 Environment-variable access.
repo/codex-rs/tui/src/external_editor.rs:110
                editor: env::var("EDITOR").ok(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac72b19538f4449c Filesystem access.
repo/codex-rs/tui/src/external_editor.rs:162
        fs::write(&script_path, "#!/bin/sh\nprintf \"edited\" > \"$1\"\n").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #ae45a0ff5a6f6817 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/file_search.rs:95
                tracing::warn!("file search session failed to start: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #e6255e6ad7729bb5 Filesystem access.
repo/codex-rs/tui/src/get_git_diff.rs:613
        fs::write(repo.join(".gitattributes"), "*.txt filter=x=y\n").expect("write attributes");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6cbf53c0f9f16a25 Filesystem access.
repo/codex-rs/tui/src/get_git_diff.rs:614
        fs::write(repo.join("tracked.txt"), "before\n").expect("write tracked file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98df458d2de61eed Filesystem access.
repo/codex-rs/tui/src/get_git_diff.rs:615
        fs::write(repo.join("unchanged.txt"), "unchanged\n").expect("write unchanged file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8fa55ad1ee425b3d Filesystem access.
repo/codex-rs/tui/src/get_git_diff.rs:664
        fs::write(repo.join("unchanged.txt"), "unchanged\n").expect("refresh unchanged file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d2c5b852b029fbe Filesystem access.
repo/codex-rs/tui/src/get_git_diff.rs:665
        fs::write(repo.join("tracked.txt"), "after\n").expect("modify tracked file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a57d9779118aa224 Filesystem access.
repo/codex-rs/tui/src/get_git_diff.rs:696
        fs::write(child.join(".gitattributes"), "*.txt filter=evil\n")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3107d84a91a84a36 Filesystem access.
repo/codex-rs/tui/src/get_git_diff.rs:698
        fs::write(child.join("tracked.txt"), "before\n").expect("write child tracked file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac986c7bc38c73c5 Filesystem access.
repo/codex-rs/tui/src/get_git_diff.rs:732
        fs::write(checkout.join("tracked.txt"), "before\n").expect("refresh child tracked file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #808bc65a81334b98 Filesystem access.
repo/codex-rs/tui/src/get_git_diff.rs:820
        fs::write(path, "#!/bin/sh\nprintf ran >> \"$0.ran\"\nexit 1\n")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #845b8133c9dfecba Filesystem access.
repo/codex-rs/tui/src/goal_files.rs:95
        let bytes = fs::read(&image.path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #fddb6ec27f2aa3d4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/lib.rs:427
            tracing::debug!(%err, socket_path = %socket_path.display(), "skipping default app-server daemon socket");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e1abc87df63812f1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/lib.rs:431
            tracing::debug!(
                socket_path = %socket_path.display(),
                timeout_ms = AUTO_CONNECT_DAEMON_CONNECT_TIMEOUT.as_millis(),
                "timed out probing default app-server daemon socket"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #89bed9fe42996965 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/lib.rs:1266
        tracing::error!("panic: {info}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #abe00a5408f14be5 Filesystem access.
repo/codex-rs/tui/src/lib.rs:2058
        std::fs::write(&rollout_path, lines.join("\n") + "\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #290349e91951b41e Filesystem access.
repo/codex-rs/tui/src/lib.rs:2076
        std::fs::write(&legacy_log, "legacy log")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9b326a85397dccea Filesystem access.
repo/codex-rs/tui/src/lib.rs:2774
            std::fs::write(&rollout_path, "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #146cf54763cce876 Filesystem access.
repo/codex-rs/tui/src/lib.rs:2863
        std::fs::write(&occupied_sqlite_home, "occupied")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a3522d188c9c3e1c Filesystem access.
repo/codex-rs/tui/src/lib.rs:2897
        std::fs::write(&logs_db_path, "not a sqlite database")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #61f3dcc8232e1685 Filesystem access.
repo/codex-rs/tui/src/lib.rs:2978
        std::fs::write(temp_dir.path().join("config.toml"), config_toml)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #a226eff1a7bc3649 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/markdown_stream.rs:170
        tracing::debug!(
            raw_len = self.buffer.len(),
            source_len = source.len(),
            "markdown finalize (raw length: {}, rendered length: {})",
            self.buffer.len(),
            source.len()
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #73ee87612126dfb7 Filesystem access.
repo/codex-rs/tui/src/motion.rs:143
            let contents = fs::read_to_string(&path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #7fa26b66e9640265 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/onboarding/auth.rs:215
            tracing::info!("Cancel onboarding auth step");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e05e0116ad15c5b1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/onboarding/auth.rs:1014
        tracing::warn!("failed to open browser for login URL: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fc3269fe3b74bc31 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/onboarding/onboarding_screen.rs:139
                tracing::warn!("skipping onboarding login step without app-server request handle");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #8a09eebfa8fb5392 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/onboarding/onboarding_screen.rs:608
            tracing::error!(
                "failed to persist trusted project state for {}: {error}",
                trust_target.display()
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #95f677f127fbc227 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/onboarding/welcome.rs:44
            tracing::warn!("Welcome background to press '.'");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #7b725e023109b589 Environment-variable access.
repo/codex-rs/tui/src/permission_compat.rs:25
    let tmpdir_writable = std::env::var_os("TMPDIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fa2597971d2353b9 Filesystem access.
repo/codex-rs/tui/src/pets/asset_pack.rs:63
    fs::write(&staging, &bytes).with_context(|| format!("write {}", staging.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #552a2cc108baf597 Environment-variable access.
repo/codex-rs/tui/src/pets/image_protocol.rs:113
    if env::var_os("TMUX").is_some() || env::var_os("TMUX_PANE").is_some() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #90b2d1f34424f97d Environment-variable access.
repo/codex-rs/tui/src/pets/image_protocol.rs:117
    if env::var_os("ZELLIJ").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f227c65a6c2d1196 Environment-variable access.
repo/codex-rs/tui/src/pets/image_protocol.rs:118
        || env::var_os("ZELLIJ_SESSION_NAME").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4155328ba1fcc161 Environment-variable access.
repo/codex-rs/tui/src/pets/image_protocol.rs:119
        || env::var_os("ZELLIJ_VERSION").is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fa4ac9e5c8f25e47 Environment-variable access.
repo/codex-rs/tui/src/pets/image_protocol.rs:124
    if env::var_os("KITTY_WINDOW_ID").is_some() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #03162e1c101c5660 Environment-variable access.
repo/codex-rs/tui/src/pets/image_protocol.rs:128
    if env::var_os("WEZTERM_EXECUTABLE").is_some() || env::var_os("WEZTERM_VERSION").is_some() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #47c0ff093075b80a Filesystem access.
repo/codex-rs/tui/src/pets/image_protocol.rs:229
    let png = fs::read(path).with_context(|| format!("read {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b8847886c54a264a Environment-variable access.
repo/codex-rs/tui/src/pets/image_protocol.rs:277
    if env::var_os("TMUX").is_none() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6dfcab33e06ea374 Filesystem access.
repo/codex-rs/tui/src/pets/image_protocol.rs:308
    fs::write(&path, sixel).with_context(|| format!("write {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #32b3313f57ac16d5 Environment-variable access.
repo/codex-rs/tui/src/pets/image_protocol.rs:325
            let previous = env::var_os(name);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #27a3f40aea43a400 Filesystem access.
repo/codex-rs/tui/src/pets/image_protocol.rs:349
        fs::write(&path, b"png").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #947cbe9f0f417c0e Filesystem access.
repo/codex-rs/tui/src/pets/image_protocol.rs:666
        let sixel = fs::read_to_string(sixel_path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0e554b26d46a1109 Filesystem access.
repo/codex-rs/tui/src/pets/image_protocol.rs:680
        fs::write(&path, b"png").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a018863a26ce2e48 Filesystem access.
repo/codex-rs/tui/src/pets/mod.rs:177
            let sixel = std::fs::read(&path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4f10e532ae9f2161 Filesystem access.
repo/codex-rs/tui/src/pets/mod.rs:265
        std::fs::write(&frame, b"png").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #df57c90379d14767 Filesystem access.
repo/codex-rs/tui/src/pets/mod.rs:296
        std::fs::write(&frame, b"png").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e4450a2e1bb2621d Filesystem access.
repo/codex-rs/tui/src/pets/mod.rs:326
        std::fs::write(&frame, b"png").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a6f539131bcafc31 Filesystem access.
repo/codex-rs/tui/src/pets/mod.rs:355
        std::fs::write(&frame, b"png").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b45eed5f2430bc61 Filesystem access.
repo/codex-rs/tui/src/pets/mod.rs:359
        std::fs::write(&sixel_frame, b"fake-sixel").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #60328c81bc10211d Filesystem access.
repo/codex-rs/tui/src/pets/mod.rs:386
        std::fs::write(&frame, b"png").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da1dac4140bc407c Filesystem access.
repo/codex-rs/tui/src/pets/mod.rs:390
        std::fs::write(&sixel_frame, b"fake-sixel").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4d39f3e0db452e75 Filesystem access.
repo/codex-rs/tui/src/pets/model.rs:103
        let bytes = fs::read(&self.spritesheet_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3c58090001a0904a Filesystem access.
repo/codex-rs/tui/src/pets/model.rs:239
    let raw = fs::read_to_string(&config_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e55050fd2d5227af Environment-variable access.
repo/codex-rs/tui/src/pets/model.rs:378
        let home = std::env::var_os("HOME").context("HOME is not set")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #78e22452353ee5f3 Filesystem access.
repo/codex-rs/tui/src/pets/model.rs:646
        fs::write(dir.path().join("pet.json"), manifest).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #46b278c2ccf01b53 Filesystem access.
repo/codex-rs/tui/src/pets/model.rs:869
        fs::write(
            pet_dir.join("pet.json"),
            r#"{
                "displayName": "Escape",
                "spritesheetPath": "../spritesheet.webp"
            }"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd411e27758b8702 Filesystem access.
repo/codex-rs/tui/src/pets/picker.rs:203
        fs::write(
            pet_dir.join("pet.json"),
            format!(
                r#"{{
                    "id": "{folder_name}",
                    "displayName": "{display_name}",
                    "description": "custom pet",
                    "spritesheetPath": "spritesheet.webp"
                }}"#
            ),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd4c6e40a9722ef4 Filesystem access.
repo/codex-rs/tui/src/pets/picker.rs:221
        fs::write(
            avatar_dir.join("avatar.json"),
            format!(
                r#"{{
                    "displayName": "{display_name}",
                    "description": "legacy custom pet",
                    "spritesheetPath": "spritesheet.webp"
                }}"#
            ),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #76756c81e058c564 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/render/highlight.rs:98
        tracing::debug!("set_theme_override called more than once; OnceLock values unchanged");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2b02a4d3f52aa75d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/render/highlight.rs:220
        tracing::debug!("Theme \"{name}\" not recognized; using default theme");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #d645d983e59a3e96 Filesystem access.
repo/codex-rs/tui/src/render/highlight.rs:703
        std::fs::write(
            path,
            r#"<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"><dict>
<key>name</key><string>Test</string>
<key>settings</key><array><dict>
<key>settings</key><dict>
<key>foreground</key><string>#FFFFFF</string>
<key>background</key><string>#000000</string>
</dict></dict></array>
</dict></plist>"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ea057ff6055a36af Filesystem access.
repo/codex-rs/tui/src/render/highlight.rs:753
        std::fs::write(path, contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b76d81e5e562fe82 Filesystem access.
repo/codex-rs/tui/src/render/highlight.rs:1443
        std::fs::write(themes_dir.join("my-fancy.tmTheme"), "placeholder").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #85d0c75d92b10fa8 Filesystem access.
repo/codex-rs/tui/src/render/highlight.rs:1463
        std::fs::write(themes_dir.join("broken-custom.tmTheme"), "not a plist").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #147126bc82f7c19f Filesystem access.
repo/codex-rs/tui/src/resume_picker.rs:4445
            std::fs::read_to_string(tmp.path().join(CONFIG_TOML_FILE)).expect("read config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3295b58bf7c1b06b Filesystem access.
repo/codex-rs/tui/src/resume_picker.rs:4458
        std::fs::write(&codex_home_file, "not a directory").expect("write codex home file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #bafe2e70e3c1d714 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/session_log.rs:59
                    tracing::warn!("session log write error: {}", e);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #04078769c951288f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/session_log.rs:63
                    tracing::warn!("session log write error: {}", e);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #01a104e2a59c8c9e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/session_log.rs:67
                    tracing::warn!("session log flush error: {}", e);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a985cd2640ef9c31 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/session_log.rs:70
            Err(e) => tracing::warn!("session log serialize error: {}", e),

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #99b9684c51f8fa2b Environment-variable access.
repo/codex-rs/tui/src/session_log.rs:85
    let enabled = std::env::var("CODEX_TUI_RECORD_SESSION")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e500f55f495f1a9a Environment-variable access.
repo/codex-rs/tui/src/session_log.rs:92
    let path = if let Ok(path) = std::env::var("CODEX_TUI_SESSION_LOG_PATH") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #b4c119050aefae52 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/session_log.rs:105
        tracing::error!("failed to open session log {:?}: {}", path, e);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #141c25e4034bec3a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/session_resume.rs:130
            tracing::warn!(
                %rollout_path,
                %err,
                "Failed to read session metadata from rollout"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #29f13b8a7934c170 Filesystem access.
repo/codex-rs/tui/src/session_resume.rs:214
        std::fs::write(path, text)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4e4a94f2a335bf49 Filesystem access.
repo/codex-rs/tui/src/session_resume.rs:303
        std::fs::write(&rollout_path, format!("{valid_line}\n{{"))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #18180528fefc6f01 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/startup_hooks_review.rs:57
            tracing::warn!("failed to load startup hook review state: {err:#}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #dcf3cbc448037e56 Environment-variable access.
repo/codex-rs/tui/src/terminal_palette.rs:47
        std::env::var_os("WT_SESSION").is_some(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b32b0d905196356d Environment-variable access.
repo/codex-rs/tui/src/terminal_palette.rs:48
        std::env::var_os("FORCE_COLOR").is_some(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress production #e192e17640fccf8c Hardcoded external endpoint. Review what data is sent to this destination.
repo/codex-rs/tui/src/tooltips.rs:215
        let response = client
            .get(ANNOUNCEMENT_TIP_URL)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low telemetry production #5a813f151aa1fc80 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:92
            tracing::debug!(error = %err, "failed to clear ambient pet image on TUI drop");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e08fbc9ea3eb564b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:344
        tracing::warn!("failed to tcflush stdin: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #ab6a0d93b05d87b3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:361
        tracing::warn!("failed to get stdin handle for flush: error {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #c39686c2e3e7aa06 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:368
        tracing::warn!("failed to flush stdin buffer: error {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #59f9f6204d696af6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:405
                tracing::info!(
                    duration_ms = %started_at.elapsed().as_millis(),
                    cursor_position = probe.cursor_position.is_some(),
                    default_colors = probe.default_colors.is_some(),
                    keyboard_enhancement_supported = ?probe.keyboard_enhancement_supported,
                    "terminal startup probes completed"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fd417f316f1e01ce Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:415
                tracing::warn!(
                    duration_ms = %started_at.elapsed().as_millis(),
                    "terminal startup probes failed: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #3f4b36bc161b657b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:435
            tracing::warn!("initial cursor position probe timed out; defaulting to origin");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #2831390793fbd7ec Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:470
        tracing::warn!("failed to read initial cursor position; defaulting to origin: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #28baba563c1efcbf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:487
            tracing::info!(
                duration_ms = %started_at.elapsed().as_millis(),
                default_colors = colors.is_some(),
                "terminal default color probe completed"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #e751f5494fccd79e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:495
            tracing::warn!(
                duration_ms = %started_at.elapsed().as_millis(),
                "terminal default color probe failed: {err}"
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #f4674bc1424cb150 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:663
            tracing::warn!("failed to restore terminal modes before external program: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #90e5f22bdd085b83 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:666
            tracing::warn!("failed to restore terminal stderr before external program: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #d3f9a5586d124854 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:672
            tracing::warn!("failed to suppress terminal stderr after external program: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #fffed2eec9b06b08 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:675
            tracing::warn!("failed to re-enable terminal modes after external program: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #38b418ad8913ec5f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:705
                tracing::warn!(
                    error = %err,
                    method = %method,
                    "Failed to emit terminal notification; disabling future notifications"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a1e6de8d95f95c0e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui/event_stream.rs:246
                        tracing::warn!(
                            event = "tui_suspend_failed",
                            error = %err,
                            "failed to suspend TUI process"
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #726d8eb118566ccb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui/job_control.rs:84
            Ok(None) => tracing::debug!("terminal cursor position unavailable after resume"),

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #10cf388cda3fd0c8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui/job_control.rs:85
            Err(err) => tracing::debug!(
                error = %err,
                "failed to read terminal cursor position after resume"
            ),

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #81d56bfdf05d8a1a Environment-variable access.
repo/codex-rs/tui/src/tui/keyboard_modes.rs:19
    let disable_env = std::env::var(DISABLE_KEYBOARD_ENHANCEMENT_ENV_VAR).ok();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5679598a8f330b33 Environment-variable access.
repo/codex-rs/tui/src/tui/keyboard_modes.rs:66
        std::env::var("TERM_PROGRAM").ok().as_deref(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #440af4e5e0af5af8 Environment-variable access.
repo/codex-rs/tui/src/tui/keyboard_modes.rs:143
        std::env::var("TMUX").ok().as_deref(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9286d242768ad985 Environment-variable access.
repo/codex-rs/tui/src/tui/keyboard_modes.rs:144
        std::env::var("TMUX_PANE").ok().as_deref(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #8d54cb987c749a70 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/update_prompt.rs:81
                tracing::error!("Failed to persist update dismissal: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry production #a07685df557ff7b6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/updates.rs:43
                .inspect_err(|e| tracing::error!("Failed to update version: {e}"))

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low egress production #6bfbcc056d05c1c6 Hardcoded external endpoint. Review what data is sent to this destination.
repo/codex-rs/tui/src/updates.rs:73
            let HomebrewCaskInfo { version } = create_client()
                .get(HOMEBREW_CASK_API_URL)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress production #d282acc3c1d3adf0 Hardcoded external endpoint. Review what data is sent to this destination.
repo/codex-rs/tui/src/updates.rs:120
    } = create_client()
        .get(LATEST_RELEASE_URL)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs production #8c1d52802d82ae6b Filesystem access.
repo/codex-rs/tui/src/updates_cache.rs:25
    let contents = std::fs::read_to_string(version_file)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #3f809ba985f3b67a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/wrapping.rs:193
        tracing::warn!(
            wrapped = %wrapped,
            cursor,
            end,
            "wrap_ranges: could not fully map owned line; returning partial source range"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

first-party (rust): codex-rs/uds

rust first-party
expand_more 1 low-confidence finding(s)
low env_fs production #3d7b12d28072c41c Filesystem access.
repo/codex-rs/uds/src/lib_tests.rs:50
    std::fs::write(&regular_file, b"not a socket").expect("regular file should be created");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/utils/absolute-path

rust first-party
expand_more 2 low-confidence finding(s)
low env_fs production #099d5aef491c0a02 Environment-variable access.
repo/codex-rs/utils/absolute-path/src/lib.rs:409
        if std::env::var_os("CODEX_ABSOLUTE_PATH_REMOVED_CWD_CHILD").is_none() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #16a25b10513a929a Filesystem access.
repo/codex-rs/utils/absolute-path/src/lib.rs:499
        fs::write(temp_dir.path().join("two").join("file.txt"), "").expect("write file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/utils/cargo-bin

rust first-party
expand_more 2 low-confidence finding(s)
low env_fs production #d7a53cf18665a3e1 Environment-variable access.
repo/codex-rs/utils/cargo-bin/src/lib.rs:42
        if let Some(value) = std::env::var_os(key) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0e0e13c3f3dd4277 Environment-variable access.
repo/codex-rs/utils/cargo-bin/src/lib.rs:85
    std::env::var_os(RUNFILES_MANIFEST_ONLY_ENV).is_some()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/utils/home-dir

rust first-party
expand_more 2 low-confidence finding(s)
low env_fs production #0b2a21beb9096209 Environment-variable access.
repo/codex-rs/utils/home-dir/src/lib.rs:14
    let codex_home_env = std::env::var("CODEX_HOME")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #050fa30c0b5f36ef Filesystem access.
repo/codex-rs/utils/home-dir/src/lib.rs:95
        fs::write(&file_path, "not a directory").expect("write temp file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/utils/path-utils

rust first-party
expand_more 3 low-confidence finding(s)
low env_fs production #8e3eb911c7edc5cc Environment-variable access.
repo/codex-rs/utils/path-utils/src/env.rs:7
        if std::env::var_os("WSL_DISTRO_NAME").is_some() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0f1d28e40dce9371 Filesystem access.
repo/codex-rs/utils/path-utils/src/env.rs:10
        match std::fs::read_to_string("/proc/version") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ee688d3cd3b3e374 Filesystem access.
repo/codex-rs/utils/path-utils/src/lib.rs:130
    std::fs::write(tmp.path(), contents)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/utils/plugins

rust first-party
expand_more 6 low-confidence finding(s)
low env_fs production #e643921ae9cdbfdb Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:103
        fs::write(
            plugin_root.join(".codex-plugin/plugin.json"),
            r#"{"name":"sample"}"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9f7d7915379d4b02 Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:108
        fs::write(&skill_path, "---\ndescription: search\n---\n").expect("write skill");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #865c648528a9528c Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:126
        fs::write(&manifest_path, r#"{"name":"sample"}"#).expect("write manifest");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5987ca6036ba3ad4 Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:127
        fs::write(&skill_path, "---\ndescription: search\n---\n").expect("write skill");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e042045b8fa5dbe3 Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:146
        fs::write(&manifest_path, r#"{"name":"sample"}"#).expect("write manifest");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c2e67366bcbc7f73 Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:147
        fs::write(&skill_path, "---\ndescription: search\n---\n").expect("write skill");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/utils/pty

rust first-party
expand_more 18 low-confidence finding(s)
low env_fs production #2c1dd434a3010427 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:49
        let cmd = std::env::var("COMSPEC").unwrap_or_else(|_| "cmd.exe".to_string());

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b010c909c48f9376 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:360
    let env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9d64fa331232c6b7 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:398
        let cmd = std::env::var("COMSPEC").unwrap_or_else(|_| "cmd.exe".to_string());

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #95fef0ef0b811d67 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:423
    let env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #43eeefa29ae577d6 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:454
    let env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39027c5deaefe966 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:491
    let env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9ffdd269fa51c631 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:539
    let env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #428347c4fe97034b Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:553
    let env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fc80bc36bc453697 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:746
    let env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #df3730ddbd3e8ecb Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:779
    let env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #716e417c7f36ae8a Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:837
    let mut env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7ebe30a987e62d54 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:890
    let mut env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ac6978da8a8f5494 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:961
    let env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #53dd5fd3d600cc41 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:1009
    let env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f7ce5bc521c3e211 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:1075
    let mut env_map: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry production #6463960546be5d66 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/utils/pty/src/win/psuedocon.rs:217
            log::error!("{msg}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs production #25fb70ba856823af Environment-variable access.
repo/codex-rs/utils/pty/src/windows_tests.rs:67
    let env: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d081b02fc2ee1865 Environment-variable access.
repo/codex-rs/utils/pty/src/windows_tests.rs:121
    let env: HashMap<String, String> = std::env::vars().collect();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): codex-rs/windows-sandbox-rs

rust first-party
expand_more 89 low-confidence finding(s)
low env_fs production #8b162436ec09d86f Environment-variable access.
repo/codex-rs/windows-sandbox-rs/build.rs:10
    if env::var("CARGO_CFG_TARGET_OS").as_deref() != Ok("windows") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #448349f377a61d40 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/build.rs:14
    let manifest_dir = env::var_os("CARGO_MANIFEST_DIR")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8cb84d8ff2a61244 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/build.rs:22
        env::var("CARGO_CFG_TARGET_ENV").as_deref(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #77af6d2d4584a5d7 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/build.rs:23
        env::var("CARGO_CFG_TARGET_ABI").as_deref(),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6858a35e6f1484ac Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/allow.rs:293
        let _ = fs::write(&git_file, "gitdir: .git/worktrees/example");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #49ba9df491d1a351 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/audit.rs:53
        if let Some(v) = env.get(k).cloned().or_else(|| std::env::var(k).ok()) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9b013c73b94bdd7f Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/audit.rs:58
    if let Some(up) = std::env::var_os("USERPROFILE") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d228f44d0d127f86 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/audit.rs:61
    if let Some(pubp) = std::env::var_os("PUBLIC") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #972502077bbd295a Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/audit.rs:68
        .or_else(|| std::env::var("PATH").ok())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b9286a451d5ce1f2 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/audit.rs:261
    std::fs::write(&cap_path, serde_json::to_string(&caps)?)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ab416f5b21d805ce Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/bin/command_runner/win/cwd_junction.rs:25
    let userprofile = std::env::var("USERPROFILE").ok()?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #6f3ea3c31c48cc33 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/bin/setup_main/win.rs:412
        if let Ok(codex_home) = std::env::var("CODEX_HOME") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fd7fb8a7085a2cd0 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/bin/setup_main/win/sandbox_users.rs:452
    std::fs::write(&users_path, users_json).map_err(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eefaf9ed3cf851b3 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/bin/setup_main/win/sandbox_users.rs:575
    std::fs::write(&marker_path, marker_json).map_err(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e753cfb7e88ec842 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/bin/setup_main/win/setup_runtime_bin.rs:25
        std::env::var_os("USERPROFILE").map(PathBuf::from),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d6e0dbc8739f2015 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/bin/setup_main/win/setup_runtime_bin.rs:106
    std::env::var_os("LOCALAPPDATA")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #391da83dfa2caa76 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/bin/setup_main/win/setup_runtime_bin.rs:109
            std::env::var_os("USERPROFILE")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #f6433c294b5f3ff2 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/cap.rs:53
    fs::write(path, json).with_context(|| format!("write cap sid file {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #51f09e1d7e3f9d87 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/cap.rs:60
        let txt = fs::read_to_string(&path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #23211f176745c740 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_acl.rs:105
        std::fs::write(&existing, "secret").expect("write secret");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #89dbeff016d67101 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:297
        std::fs::write(&root_env, "secret").expect("write root env");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #85cb0df17b8d2e13 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:298
        std::fs::write(&nested_env, "secret").expect("write nested env");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #2d7928a173ab3c9e Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:299
        std::fs::write(&notes, "notes").expect("write notes");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a350b2add0b79353 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:339
        std::fs::write(&root_env, "secret").expect("write root env");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c32e6b01799cf49e Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:340
        std::fs::write(&nested_env, "secret").expect("write nested env");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3e3ddeaa9c694ad9 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:362
        std::fs::write(&secret, "secret").expect("write secret");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #12c28d4c1ce71cc9 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_state.rs:71
    match std::fs::read(path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #182ae4dc2b33345d Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_state.rs:85
    std::fs::write(path, bytes)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5b08a7a9c87c651c Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/env.rs:37
        && let Ok(path) = env::var("PATH")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #467a606daa19a204 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/env.rs:42
        && let Ok(pathext) = env::var("PATHEXT")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #07527b87b164c620 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/env.rs:52
        .or_else(|| env::var("PATH").ok())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9e9710e582a7e7a1 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/env.rs:75
        .or_else(|| env::var("PATHEXT").ok())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #62e4b402c4f7d2af Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/env.rs:118
                let mut f = File::create(&path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b3e75f11c489e06f Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:288
    let mut source_file = fs::File::open(source)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8066dfb2bf1f7be1 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:387
        fs::write(&source, b"runner-v1").expect("write source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #536e646dbe5c5855 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:404
        fs::write(&destination, b"same-size").expect("write destination");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8264272181a3eaef Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:406
        fs::write(&source, b"same-size").expect("write source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #04072ea75028bf14 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:409
        fs::write(&destination, b"same-size").expect("rewrite destination");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0debeb77af2f1e20 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:419
        fs::write(&source, b"runner-v1").expect("write source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #5cfdf5afc5898c72 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:448
        fs::write(&runner_source, b"runner").expect("runner");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0c24d9369f7acb0f Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:473
        fs::write(&exe, b"codex").expect("write exe");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1cf28f54e62ec83b Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:474
        fs::write(&helper, b"runner").expect("write helper");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #eddd48bb69159f9f Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:493
        fs::write(&exe, b"codex").expect("write exe");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d15de1e08d32eee Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:494
        fs::write(&helper, b"runner").expect("write helper");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1dd1dfcbae6eed83 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:515
        fs::write(&exe, b"codex").expect("write exe");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #95a43f2706019051 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:516
        fs::write(&package_helper, b"package runner").expect("write package helper");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #da45bda6994e2a53 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:517
        fs::write(&bin_helper, b"bin runner").expect("write bin helper");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0d884b6f3e9b9250 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:535
        fs::write(&exe, b"codex").expect("write exe");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #305322a19e80dca3 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:536
        fs::write(&sibling_helper, b"sibling runner").expect("write sibling helper");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #157df82bb20709b4 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:537
        fs::write(&resource_helper, b"resource runner").expect("write resource helper");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e8f17236d61e00be Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/helper_materialization.rs:550
        fs::write(&source, b"runner-v1").expect("write source");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fce65607741ae9f2 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/hide_users.rs:44
    let Some(profile) = std::env::var_os("USERPROFILE") else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3b330b6f414a1014 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/identity.rs:52
    let marker = match fs::read_to_string(&path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b738f52f669ffea3 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/identity.rs:77
    let file = match fs::read_to_string(&path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4786e296fcf37272 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/identity.rs:324
        fs::write(&users_path, "users").expect("write users");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0febd46fe1c51d21 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/logging.rs:89
    if std::env::var("SBX_DEBUG").ok().as_deref() == Some("1") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #487518737dbc071f Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/logging.rs:136
        let log = std::fs::read_to_string(log_path).expect("read log");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #3d291397bd72e1c5 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/resolved_permissions.rs:194
                .or_else(|| std::env::var_os(key).map(PathBuf::from))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #b66c48532028cfbb Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/sandbox_utils.rs:97
        fs::write(
            repo.join(".git"),
            "gitdir: C:/Users/example/repo/.git/worktrees/codex3\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #bb5784e2bfbc95bd Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:321
        real_user: std::env::var("USERNAME").unwrap_or_else(|_| "Administrators".to_string()),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a53ea972c8ab1fec Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:538
    if let Ok(up) = std::env::var("USERPROFILE") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #01883aac2cea4e2e Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1020
        real_user: std::env::var("USERNAME").unwrap_or_else(|_| "Administrators".to_string()),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #98540e69b9f9fab4 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1139
    let Ok(user_profile) = std::env::var("USERPROFILE") else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a91ebfe3bea96731 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1162
    let Ok(user_profile) = std::env::var("USERPROFILE") else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #81453ad5d004f1b8 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1171
    let Ok(user_profile) = std::env::var("USERPROFILE") else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #0a2e6db49a5c714a Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1200
    let Ok(user_profile) = std::env::var("USERPROFILE") else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #8b12013faae9873e Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1565
        fs::write(&exe, b"codex").expect("write exe");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #137e4c44b4fa31f5 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1566
        fs::write(&setup_exe, b"setup").expect("write setup");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #85daf10b01061fbc Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1705
        fs::write(&allowed_file, "safe").expect("create allowed file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #4679737a82f9a80e Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1778
        fs::write(
            ssh_dir.join("config"),
            "IdentityFile ~/.keys/id_ed25519\nInclude ~/.included/config\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #a33a5f0f25f19f13 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1783
        fs::write(key_dir.join("id_ed25519"), "").expect("write key");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #411af95bcef080bb Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1784
        fs::write(include_dir.join("config"), "User git\n").expect("write included config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #11a9d3cb35cb8c9e Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:2150
        fs::write(&existing, "secret").expect("write existing");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #89cf841ab04035b1 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup_error.rs:178
    fs::write(&path, json).with_context(|| format!("write {}", path.display()))?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #107bb4f84808824a Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup_error.rs:184
    let bytes = match fs::read(&path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #fdfd50d51af36f01 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup_error.rs:201
    if let Ok(username) = std::env::var("USERNAME")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #087045e9f51b2f9e Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup_error.rs:206
    if let Ok(user) = std::env::var("USER")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #d092e6e92ca82311 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/ssh_config_dependencies.rs:45
    let Ok(contents) = std::fs::read_to_string(path) else {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ff397d0f20e02b28 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/ssh_config_dependencies.rs:188
        fs::write(
            home.join(".ssh/config"),
            r#"
Host devbox
  IdentityFile ~/.keys/id_ed25519
  IdentityFile '~/.keys/quoted key'
  CertificateFile = %d/.certs/devbox-cert.pub
  UserKnownHostsFile ${HOME}/.known_hosts_custom
  GlobalKnownHostsFile ~/.global_known_hosts
  ControlPath ~/.control/%h-%p-%r
  IdentityAgent=%d/.agent/socket
  RevokedHostKeys ~/.revoked/keys
"#,
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #39d8acf7b7fdb0c2 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/ssh_config_dependencies.rs:226
        fs::write(ssh_dir.join("config"), "Include conf.d/*.conf\n").expect("write config");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ffd9ece39e64f2ad Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/ssh_config_dependencies.rs:227
        fs::write(
            ssh_dir.join("conf.d/devbox.conf"),
            "CertificateFile ~/.included/devbox-cert.pub\n",
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9303340947dbab72 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:52
    let program_files = std::env::var_os("ProgramFiles")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #c5474c61e7aac6fb Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:58
    if let Ok(workspace_root) = std::env::var("INSTA_WORKSPACE_ROOT") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e851afd128d47eb6 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:78
    fs::read_to_string(&log_path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #51bb7c9285a9add0 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:479
        fs::write(&workspace_file, "workspace").expect("seed workspace file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #1905f6508a0159eb Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:480
        fs::write(&temp_file, "temp").expect("seed TEMP file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e17f318fdead21e4 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:481
        fs::write(&tmp_file, "tmp").expect("seed TMP file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #e19fb3ec142fcd82 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:482
        fs::write(&outside_file, "outside").expect("seed outside file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #7cfb78e579135365 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:485
        fs::write(
            &script,
            concat!(
                "@echo off\r\n",
                "del /f /q \"%WORKSPACE_DELETE%\"\r\n",
                "del /f /q \"%TEMP_DELETE%\"\r\n",
                "del /f /q \"%TMP_DELETE%\"\r\n",
                "del /f /q \"%OUTSIDE_DELETE%\"\r\n",
                "rmdir \"%PROTECTED_GIT_DIR%\"\r\n",
                "exit /b 0\r\n",
            ),
        )

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

first-party (rust): tools/argument-comment-lint

rust first-party
expand_more 3 low-confidence finding(s)
low env_fs production #044536a11b98127b Environment-variable access.
repo/tools/argument-comment-lint/src/bin/argument-comment-lint.rs:91
    if let Some(flags) = env::var_os("DYLINT_RUSTFLAGS") {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #9e9bb333b6d0ba91 Environment-variable access.
repo/tools/argument-comment-lint/src/bin/argument-comment-lint.rs:102
    if env::var_os("CARGO_INCREMENTAL").is_none() {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs production #ebc7f13ed704e5e9 Environment-variable access.
repo/tools/argument-comment-lint/src/bin/argument-comment-lint.rs:106
    if env::var_os("RUSTUP_HOME").is_none()

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

</> Dependencies

ruff

rust dependency
expand_more 206 low-confidence finding(s)
low env_fs dependency Excluded from app score #419b50b25b17a74c Environment-variable access.
pkgs/rust/[email protected]/crates/ruff/build.rs:10
    let workspace_root = Path::new(&std::env::var("CARGO_MANIFEST_DIR").unwrap())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c00267cd5a2c8ca2 Environment-variable access.
pkgs/rust/[email protected]/crates/ruff/build.rs:16
    let target = std::env::var("TARGET").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #52739ea66b82648c Filesystem access.
pkgs/rust/[email protected]/crates/ruff/build.rs:30
        let git_head_contents = fs::read_to_string(git_head_path);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b9af0c1efbbfb48c Filesystem access.
pkgs/rust/[email protected]/crates/ruff/build.rs:98
    let contents = fs::read_to_string(git_dir).ok()?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6cf25cf3d8e0ed5e Filesystem access.
pkgs/rust/[email protected]/crates/ruff/src/cache.rs:100
        let serialized = match fs::read(&path) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #153da62af4ceb9f8 Filesystem access.
pkgs/rust/[email protected]/crates/ruff/src/commands/format.rs:296
                let mut writer = File::create(path).map_err(|err| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cfb1ada07f6f45a4 Filesystem access.
pkgs/rust/[email protected]/crates/ruff/src/diagnostics.rs:222
                let contents = match std::fs::read_to_string(path).map_err(SourceError::from) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6fd695ecc33dc95e Filesystem access.
pkgs/rust/[email protected]/crates/ruff/src/diagnostics.rs:238
                                File::create(path)?.write_all(transformed.as_bytes())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e6df8a08e2a64d96 Filesystem access.
pkgs/rust/[email protected]/crates/ruff/src/diagnostics.rs:305
                        flags::FixMode::Apply => transformed.write(&mut File::create(path)?)?,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d251a80c510c56fc Environment-variable access.
pkgs/rust/[email protected]/crates/ruff/src/lib.rs:136
        colored_override(global_options.color, std::env::var_os("FORCE_COLOR"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ddedd7d0b7bcf4a3 Filesystem access.
pkgs/rust/[email protected]/crates/ruff/src/lib.rs:256
            let file = File::create(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry dependency Excluded from app score #576cb9bac6979e53 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/files.rs:300
        tracing::debug!("Syncing all files");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #d8f0cdf8b5f35319 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/files.rs:506
            tracing::debug!("Updating the status of `{}`", file.path(db));

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #eaadf233abbc505f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/files.rs:512
            tracing::debug!("Updating the revision of `{}`", file.path(db));

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #26305cb7c2dba148 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/files.rs:518
            tracing::debug!("Updating the permissions of `{}`", file.path(db));

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #42588b1451668bce Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/files.rs:609
        tracing::debug!("Updating the revision of `{}`", file.path(db));

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #d5711d34541be371 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/files.rs:617
        tracing::debug!("Closing virtual file `{}`", self.0.path(db));

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #2f617d06a24f644a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/files/file_root.rs:74
        tracing::debug!("Adding new file root '{path}' of kind {kind:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs dependency Excluded from app score #3058916cb00deaee Environment-variable access.
pkgs/rust/[email protected]/crates/ruff_db/src/lib.rs:87
    std::env::var(EnvVars::TY_MAX_PARALLELISM)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3a23c78b6cb16a24 Environment-variable access.
pkgs/rust/[email protected]/crates/ruff_db/src/lib.rs:88
        .or_else(|_| std::env::var(EnvVars::RAYON_NUM_THREADS))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry dependency Excluded from app score #9cf74f4b2370bd28 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/parsed.rs:136
                tracing::debug!(
                    "File `{}` was reparsed after being collected in the current Salsa revision",
                    self.file.path(db)
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #01dadada71445cfd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/source.rs:28
                tracing::debug!("Failed to read notebook '{path}': {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #b2582152d3ccee76 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/source.rs:37
                tracing::debug!("Failed to read file '{path}': {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs dependency Excluded from app score #3232c67993b435f8 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/memory_fs.rs:910
        let error = fs.read_to_string("a").unwrap_err();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c32a2f0369731782 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/memory_fs.rs:934
        let error = fs.read_to_string(SystemPath::new("a")).unwrap_err();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4666399ad866912a Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/memory_fs.rs:945
        let error = fs.read_to_string(SystemPath::new("a")).unwrap_err();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry dependency Excluded from app score #8e69a8ebc6a4b400 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:42
        tracing::debug!(
            "Architecture: {}, OS: {}",
            std::env::consts::ARCH,
            std::env::consts::OS,
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs dependency Excluded from app score #5c6e0484798ad827 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:95
        std::fs::read_to_string(path.as_std_path())

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3eba389a3e450c93 Environment-variable access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:218
        std::env::var(name)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3f4515d3bd915225 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:232
        std::fs::write(path.as_std_path(), content)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry dependency Excluded from app score #df37c08a217d3a89 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:301
                            tracing::warn!("{error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #bca5d2f62a51ed7e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:331
                            tracing::warn!("Failed to traverse directory: {error}.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs dependency Excluded from app score #670b4bac452d3207 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:504
            std::fs::File::create(tempdir_path.join(path)).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3190d83a6767596d Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:538
        std::fs::File::create(tempdir_path.join("a.py")).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a23efe0fe91951ac Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:564
        std::fs::write(root.join("foo.py"), "print('foo')")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #981396b25d3d8ce1 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:565
        std::fs::write(root.join("a/bar.py"), "print('bar')")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #90737c904ec1c705 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:566
        std::fs::write(root.join("a/baz.py"), "print('baz')")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a2c95f41d1e07731 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:567
        std::fs::write(root.join("a/b/c.py"), "print('c')")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #5781c12d9f062097 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:625
        std::fs::write(root.join("foo.py"), "print('foo')\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f0c05782ebbe90d7 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:626
        std::fs::write(root.join("a/bar.py"), "print('bar')\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #948fb3f65415e418 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:627
        std::fs::write(root.join("a/baz.py"), "print('baz')\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #87253427cf7435dc Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:630
        std::fs::write(root.join("a/.ignore"), "b/\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ee12f46f3df9c60a Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:631
        std::fs::write(root.join("a/b/c.py"), "print('c')\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a63395a254182d62 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os.rs:682
        std::fs::write(root.join("foo.py"), "print('foo')\n")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b5284800a5b55d52 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os/ignore.rs:154
        let contents = match std::fs::read_to_string(ignore_path.as_std_path()) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bd729ac10a3cae2e Filesystem access.
pkgs/rust/[email protected]/crates/ruff_db/src/system/os/ignore.rs:254
                std::fs::write(path.as_std_path(), contents).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry dependency Excluded from app score #cd81b49fe6b31cb0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_linter/src/checkers/ast/mod.rs:3736
            Err(err) => log::debug!("Failed to create fix for {}: {}", self.name(), err),

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #78778d3bd7db263f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_linter/src/checkers/ast/mod.rs:3750
            Err(err) => log::debug!("Failed to create fix for {}: {}", self.name(), err),

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs dependency Excluded from app score #e7db3f58730e06ab Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/linter.rs:912
        let expected = std::fs::read_to_string(expected_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0813c6c07406d235 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/linter.rs:1043
        let contents = std::fs::read_to_string(&path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7985a0e63828bcd1 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/linter.rs:1106
                code: std::fs::read_to_string(&path)?,

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c147979f1066036e Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/noqa.rs:797
    fs::write(path, output)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a0c3dfbcf5b351d4 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/rules/flake8_executable/helpers.rs:28
    let has_microsoft_kernel = std::fs::read_to_string("/proc/sys/kernel/osrelease")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #418e4b4d5275aef3 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/rules/flake8_executable/helpers.rs:29
        .or_else(|_| std::fs::read_to_string("/proc/version"))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7299912678ec2919 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/rules/flake8_executable/helpers.rs:53
    std::fs::read_to_string("/proc/self/cgroup").is_ok_and(|cgroup| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e2c44e8b5de925ad Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/rules/isort/categorize.rs:458
        fs::write(path, "").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #65a114de4dbd80f5 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/source_kind.rs:122
                let contents = std::fs::read_to_string(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #0356ce49253ba83f Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/source_kind.rs:129
                let contents = std::fs::read_to_string(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f4f7769471af659f Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/test.rs:146
    let contents = std::fs::read_to_string(&path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6357dd03b960e421 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_linter/src/test.rs:583
        std::fs::write(&test_file, test_code)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f30e1e1789730641 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_notebook/src/notebook.rs:85
        Self::from_reader(BufReader::new(File::open(path)?))

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #afd6e1999ba912e4 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_notebook/src/notebook.rs:554
            let source_code = std::fs::read_to_string(path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #219e036d54c8fbc9 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_notebook/src/notebook.rs:838
        let expected = std::fs::read_to_string(&path).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d2e4b44cbc7f674b Filesystem access.
pkgs/rust/[email protected]/crates/ruff_python_formatter/src/main.rs:39
            let source = fs::read_to_string(file)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d582363d448fa89d Filesystem access.
pkgs/rust/[email protected]/crates/ruff_python_formatter/src/main.rs:45
                    fs::write(file, formatted.as_bytes()).with_context(|| {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9f151fd5605a912f Filesystem access.
pkgs/rust/[email protected]/crates/ruff_python_semantic/src/cfg/mod.rs:22
        let source = fs::read_to_string(path).expect("failed to read file");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry dependency Excluded from app score #ca3df00cf61b024b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/edit/text_document.rs:96
            tracing::debug!("Fast path - replacing entire document");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #a7d2cd3648973688 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/format.rs:87
                    tracing::warn!("Unable to format document: {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #ff365351bdca679f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/format.rs:95
                tracing::warn!("Markdown formatting is experimental, enable preview mode.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #a1a5bcc34466bbc2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/format.rs:107
            tracing::warn!("Formatting TOML files is not supported");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #a516e417e4fa54c7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/format.rs:130
            tracing::warn!("Formatting TOML files not supported");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #d93a8fd74666406c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/format.rs:149
            tracing::warn!("Range formatting for Markdown files not supported");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #1ec60a41f900ce4d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/format.rs:153
            tracing::warn!("Formatting TOML files not supported");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #c913f3cf4cda0d91 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/format.rs:189
            tracing::warn!("Unable to format document range: {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #85ddb079108bf1fa Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/format.rs:345
                tracing::warn!("Unable to format document: {}", stderr);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #1dea463c22a0c72c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/lib.rs:67
        tracing::warn!("Server shut down with an error: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #ca32b8161c91e684 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/lib.rs:69
        tracing::info!("Server shut down");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #ba8e34e6855c1324 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/resolve.rs:66
        tracing::debug!("Ignored path via `{}`: {}", exclusion, path.display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #11272fdcd4db7526 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/resolve.rs:71
        tracing::debug!("Included path via `{}`: {}", inclusion, path.display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #8d7a283186f9665e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/resolve.rs:74
        tracing::debug!("Included path via Python language ID: {}", path.display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #e2b7edf17671e6d9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/resolve.rs:79
        tracing::debug!("Included path via Markdown language ID: {}", path.display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #6fdb72843591514c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/resolve.rs:82
        tracing::debug!(
            "Ignored path as it's not in the inclusion set: {}",
            path.display()
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #f73590b3340acf02 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server.rs:108
        tracing::debug!("Negotiated position encoding: {position_encoding:?}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #1c5dd94a13aee86b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server.rs:361
            tracing::error!("{panic_info}\n{backtrace}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #6e783df57c602e2b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api.rs:72
            tracing::warn!("Received request {method} which does not have a handler");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #19dbd92330b92ad2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api.rs:81
        tracing::error!("Encountered error when routing request with ID {id}: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #f855e12098569a32 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api.rs:133
            tracing::warn!("Received notification {method} which does not have a handler.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #4977a6fba618286f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api.rs:138
        tracing::error!("Encountered error when routing notification: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #4871ce1edcfb1f08 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api.rs:234
            tracing::error!("An error occurred while running {id}: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #8ebe2bf21b34273b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api.rs:273
                        tracing::error!(message);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #3da34402b83b473d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api.rs:282
                tracing::error!("An error occurred while running {id}: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #7cc00123a9b1bb26 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api.rs:328
        tracing::error!("An error occurred with request ID {id}: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #80ac2eb7e314d87d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api.rs:332
        tracing::error!("Failed to send response: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #0456fecc6d564fda Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api.rs:340
        tracing::error!("Failed to send response: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #ce777ea32ce048db Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/code_action.rs:35
                tracing::warn!("Returning no code actions because document `{uri}` isn't open.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #3bfcf763c98c197d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/code_action.rs:86
                    tracing::debug!("Ignoring `source.fixAll` code action for a notebook cell");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #5f290732a224acdb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/code_action.rs:103
                    tracing::debug!(
                        "Ignoring `source.organizeImports` code action for a notebook cell"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #35a67331be16e7db Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/code_action_resolve.rs:47
                tracing::warn!("Returning code action unchanged because {err}.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #68548db598b43347 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/diagnostic.rs:27
                tracing::warn!("Returning no diagnostics because document `{uri}` isn't open.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #986f63cf9221dace Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/execute_command.rs:155
                tracing::error!("Failed to apply workspace edit: {reason}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #8fc98ed7778ee02f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/format.rs:33
                tracing::warn!(
                    "Returning no formatting edits because document `{uri}` isn't open."
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #8cdb918c0cbc37ae Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/format_range.rs:28
                tracing::warn!(
                    "Returning no range formatting edits because document `{uri}` isn't open."
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #95c689ec264220cb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/hover.rs:35
                tracing::warn!(
                    "Returning no hover information because document `{uri}` isn't open."
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #7681fc5976cd076f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/hover.rs:147
        tracing::warn!("Rule {} does not have an explanation", rule.noqa_code());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #2eb2ddb5ec23de83 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/api/requests/shutdown.rs:13
        tracing::debug!("Received shutdown request, waiting for shutdown notification");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #f67506094ffdf6ac Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/main_loop.rs:46
                                tracing::warn!(
                                    "Received request after server shutdown was requested, discarding"
                                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #77afb4c7c46975c1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/main_loop.rs:70
                                tracing::debug!("Received exit notification, exiting");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #4a116b35ff1aa001 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/main_loop.rs:87
                                tracing::error!(
                                    "Received a response with ID {}, which was not expected",
                                    response.id
                                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #713575d197097e8f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/main_loop.rs:183
                tracing::info!("Configuration file watcher successfully registered");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #966bb17456912624 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/main_loop.rs:191
                tracing::error!(
                    "An error occurred when trying to register the configuration file watcher: {err}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #9e4257a47cba8751 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/main_loop.rs:196
            tracing::warn!(
                "LSP client does not support dynamic capability registration - automatic configuration reloading will not be available."
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #abbd8bb23103c516 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/schedule/task.rs:84
                tracing::error!("Unable to send immediate response: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #fe9e3544beafb395 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/schedule/thread/pool.rs:84
                                    tracing::error!("Worker thread panicked with: {msg}; aborting");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #25d6e7ad6b98321c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/schedule/thread/pool.rs:86
                                    tracing::error!("Worker thread panicked with: {msg}; aborting");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #a651751f2455460f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/server/schedule/thread/pool.rs:88
                                    tracing::error!(
                                        "Worker thread panicked with: {error:?}; aborting"
                                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #e6743fb7a14de62f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/client.rs:58
                    tracing::error!(
                        "Got an error from the client (code {code}, method {method}): {message}",
                        code = err.code,
                        message = err.message,
                        method = R::METHOD
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #161cacddc005ef50 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/client.rs:68
                        tracing::error!(
                            "Failed to deserialize client response (method={method}): {error}",
                            method = R::METHOD
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #4a0f79aad6fe8a2b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/client.rs:83
                        tracing::error!(
                            "Invalid client response: did not contain a result or error (method={method})",
                            method = R::METHOD
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #39640e12de8edb3c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/client.rs:207
            tracing::error!("Failed to send warning message to the client: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #ae78dcffafba034e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/client.rs:219
            tracing::error!("Failed to send error message to the client: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #fcfd662387626533 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/client.rs:227
            tracing::debug!("Cancelled request id={id} method={method_name}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #0b25b15ce7a299ff Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index.rs:226
                        tracing::debug!("Use the fallback settings for the new document '{uri}'.");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #29d4ed172e1fe639 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index.rs:232
                tracing::warn!(
                    "No settings available for {} - falling back to default settings",
                    uri
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #f7dcf06c2b32bc0a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index.rs:322
                tracing::warn!("Tried to remove a notebook cell that does not exist: {uri}",);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #4ac8f44c2d51f290 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index.rs:370
                tracing::debug!(
                    "Falling back to configuration of the only active workspace for the new document '{uri}'."
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #fc84e0b7d26dee3a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index.rs:424
            tracing::info!("Ignoring non-file workspace URI: {workspace_uri}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #0993ca49a93688eb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index.rs:458
        tracing::info!("Registering workspace: {}", workspace_path.display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #d5a62240d2c0f2af Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:79
                    tracing::debug!(
                        "Derived `target-version` from found `requires-python`: {fallback:?}"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #6f8408a780555cff Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:91
                tracing::debug!(
                    "Loading settings from user configuration file: `{}`",
                    user_settings.display()
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #61cd6af26ad16576 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:111
                    tracing::debug!(
                        "Derived `target-version` from found `requires-python` for fallback configuration: {fallback:?}"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #1f1afbd957f40dde Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:141
                tracing::error!("Failed to resolve editor settings: {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #95411167b743bfc1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:143
                    tracing::error!("Failed to resolve default settings: {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #cbcd3a130334b757 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:173
            tracing::debug!(
                "Using editor-only settings for workspace: {} (skipped indexing)",
                root.display()
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #6b85dbc65270e671 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:183
        tracing::debug!("Indexing settings for workspace: {}", root.display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #771c777714eb7bf3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:205
                            tracing::debug!("Loaded settings from: `{}`", pyproject.display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #4f6671a5305e9151 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:218
                            tracing::error!(
                                "{:#}",
                                error
                                    .with_context(|| {
                                        format!(
                                            "Failed to resolve settings for {}",
                                            pyproject.display()
                                        )
                                    })
                                    .unwrap_err()
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #fbdd828819dec069 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:236
                    tracing::error!("{err:#}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #977aa047e052f4ac Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:311
                        tracing::debug!("Ignored path via `exclude`: {}", directory.display());

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #5f34985cd4dd78b1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:318
                        tracing::debug!(
                            "Ignored path via `extend-exclude`: {}",
                            directory.display()
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #909b7e9cbe1bee9c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:334
                                tracing::debug!(
                                    "Loaded settings from: `{}` for `{}`",
                                    pyproject.display(),
                                    directory.display()
                                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #48d1cb187dcc17a2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:348
                                tracing::error!(
                                    "{:#}",
                                    error
                                        .with_context(|| {
                                            format!(
                                                "Failed to resolve settings for {}",
                                                pyproject.display()
                                            )
                                        })
                                        .unwrap_err()
                                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #b636268d2bb212a7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:365
                        tracing::error!("{err:#}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #9a8a1ae4608e7874 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:459
                    tracing::debug!(
                        "Combining settings from editor-specified configuration file at: {}",
                        path.display()
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #2d4fde082e70aa5a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:466
                            tracing::error!(
                                "{:?}",
                                err.context("Unable to load editor-specified configuration file")
                                    .unwrap_err()
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #761ffa9ff088c6bb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:476
                    tracing::debug!(
                        "Combining settings from editor-specified inline configuration"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #1b80b90c85196ee2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/index/ruff_settings.rs:482
                            tracing::error!(
                                "Unable to load editor-specified inline configuration: {err:?}",
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #a9a5780b9b38ca15 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/options.rs:120
                    tracing::error!("Failed to load settings from `configuration`: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #d7708b473f9bed9b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/session/options.rs:353
                    tracing::error!("Failed to deserialize initialization options: {err}. Falling back to default client settings...");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #a6cdf473ac3b6ad3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/workspace.rs:20
                tracing::info!(
                    "No workspace options found for {}, using default options",
                    uri
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #6bb813f6f9ec1d19 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ruff_server/src/workspace.rs:41
            tracing::info!(
                "No workspace(s) were provided during initialization. \
                Using the current working directory as a default workspace: {}",
                current_dir.display()
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs dependency Excluded from app score #af6fe3916c99e914 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_workspace/src/pyproject.rs:57
    let contents = std::fs::read_to_string(path)

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #70c604c1a2e75321 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_workspace/src/pyproject.rs:543
        fs::write(
            ruff_toml,
            r#"
[tool.ruff]
line-length = 88
extend-exclude = [
  "excluded_file.py",
  "migrations",
  "with_excluded_file/other_excluded_file.py",
]

[tool.ruff.lint]
per-file-ignores = { "__init__.py" = ["F401"] }
"#,
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7d614e54dff91288 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_workspace/src/resolver.rs:1020
        File::create(&file1)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #82a36096935ed0e1 Filesystem access.
pkgs/rust/[email protected]/crates/ruff_workspace/src/resolver.rs:1022
        File::create(&file2)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ef2bed088661f03a Filesystem access.
pkgs/rust/[email protected]/crates/ruff_workspace/src/resolver.rs:1151
        std::fs::write(&ruff_toml, "target-version = \"py310\"")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #432eabe7ff21dbef Filesystem access.
pkgs/rust/[email protected]/crates/ruff_workspace/src/resolver.rs:1154
        std::fs::write(&dot_ruff_toml, "extend = \"ruff.toml\"")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a2c540eb8c08830e Filesystem access.
pkgs/rust/[email protected]/crates/ruff_workspace/src/resolver.rs:1157
        std::fs::write(
            &pyproject_toml,
            r#"[project]
name = "repro-ruff"
version = "0.1.0"
requires-python = ">=3.13"
"#,
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d94d8cf5c753c0ce Filesystem access.
pkgs/rust/[email protected]/crates/ruff_workspace/src/resolver.rs:1167
        std::fs::write(
            &main_py,
            r#"from typing import TypeAlias

A: TypeAlias = str | int
"#,
        )?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry dependency Excluded from app score #e8fed667cb1bc7ee Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/list.rs:79
    tracing::debug!("Listing modules in search path '{}'", path);

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs dependency Excluded from app score #828ffcb4dd286716 Filesystem access.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/list.rs:973
        std::fs::File::create(custom_typeshed.join("stdlib/VERSIONS").as_std_path())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8cae0d008776ec2f Filesystem access.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/list.rs:975
        std::fs::write(foo.as_std_path(), "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry dependency Excluded from app score #844d4bb29e244794 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/module.rs:177
                    tracing::debug!(
                        "Failed to read {parent_directory:?} when looking for \
                         its possible submodules: {error}"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #a17c91224e735d46 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:623
            tracing::debug!("Adding extra search-path `{path}`");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #c4208bcae7686ed9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:628
                    tracing::debug!("Skipping invalid extra search-path: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #6433ff075e2b2cba Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:635
            tracing::debug!("Adding first-party search path `{src_root}`");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #e9fbaa79252ce788 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:640
                    tracing::debug!("Skipping invalid first-party search-path: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #2ac147364d52b2e7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:648
            tracing::debug!("Adding custom-stdlib search path `{typeshed}`");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #3599fc75703dd5c2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:662
                tracing::debug!("Skipping custom-stdlib search-path: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #02ed68839e6716ad Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:669
            tracing::debug!("Using vendored stdlib");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #4d3905a5369e1522 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:681
                    tracing::debug!("Skipping invalid real-stdlib search-path: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #ef9da6543f9a24c1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:691
            tracing::debug!("Adding site-packages search path `{path}`");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #3772ed7da3b6723c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:696
                    tracing::debug!("Skipping invalid site-packages search-path: {err}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #912f24c366b50874 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:874
    tracing::debug!("Resolving dynamic module resolution paths");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #2364ae3dbb354e33 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:930
                tracing::warn!(
                    "Failed to search for editable installation in {site_packages_dir}: {error}"
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #1243485a06bec32b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:948
                tracing::warn!("Failed to open .pth file `{path}`: {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #9310c006e819c3ad Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:954
                tracing::warn!("Failed to read .pth file `{path}`: {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #c04ddc4dcc56a02d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:979
                            tracing::debug!(
                                "Adding editable installation to module resolution path {path}",
                                path = installation
                            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #0b0a4a878d93140d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:1000
                            tracing::debug!("Skipping editable installation: {error}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #83e48ae7413a84a0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:1463
        tracing::debug!(
            "Search path `{search_path}` contains a module named `{stub_name}` but a standalone \
             module isn't a valid stub."
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs dependency Excluded from app score #92cfaa59df7649ce Filesystem access.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:2597
        std::fs::File::create(custom_typeshed.join("stdlib/VERSIONS").as_std_path())?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ef17c59c0909045d Filesystem access.
pkgs/rust/[email protected]/crates/ty_module_resolver/src/resolve.rs:2599
        std::fs::write(foo.as_std_path(), "")?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low telemetry dependency Excluded from app score #d1b1ef0c04b19d79 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:292
            tracing::debug!("Resolving {origin}: {path}");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #dcb179cbdbeda650 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:310
        tracing::debug!("Discovering virtual environment in `{project_root}`");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #c66799a5c1e0c005 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:321
                    tracing::debug!(
                        "Ignoring automatically detected virtual environment at `{}`: {}",
                        &virtual_env_directory,
                        err
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #0358040419ff740e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:717
        tracing::debug!("Attempting to parse virtual environment metadata at '{pyvenv_cfg_path}'");

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #8e0f7e7b963bb13a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:775
                        tracing::warn!(
                            "Failed to resolve the parent environment of this ephemeral uv virtual environment \
                            from the `extends-environment` value specified in the `pyvenv.cfg` file at {pyvenv_cfg_path}. \
                            Imports will not be resolved correctly if they refer to packages installed into the parent \
                            environment. Underlying error: {err}",
                        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #17919e197e63237c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:846
                    tracing::warn!(
                        "Failed to resolve the site-packages directories of this ephemeral uv virtual environment's \
                        parent environment. Imports will not be resolved correctly if they refer to packages installed \
                        into the parent environment. Underlying error: {err}"
                    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #18b017c2693216aa Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:867
                    Err(error) => tracing::warn!(
                        "{error}. System site-packages will not be used for module resolution."
                    ),

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #02a1f70b5f2056c9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:872
                tracing::warn!(
                    "Failed to resolve `sys.prefix` of the system Python installation \
from the `home` value in the `pyvenv.cfg` file at `{}`. \
System site-packages will not be used for module resolution.",
                    root_path.join("pyvenv.cfg")
                );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #8650497807942a0e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:881
        tracing::debug!(
            "Resolved site-packages directories for this virtual environment are: {site_packages_directories}"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #469ef263da33126f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:918
                Ok(path) => tracing::debug!(
                    "Resolved real stdlib path for this virtual environment is: {path}"
                ),

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #de90905b7e6e914e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:921
                Err(_) => tracing::debug!(
                    "Failed to resolve real stdlib path for this virtual environment"
                ),

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #0174b7162173b3b1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:928
            tracing::debug!(
                "Failed to resolve `sys.prefix` of the system Python installation \
from the `home` value in the `pyvenv.cfg` file at `{cfg_path}`. \
System stdlib will not be used for module definitions.",
            );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #585242ba70b92b60 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:1160
        tracing::debug!(
            "Resolved site-packages directories for this environment are: {site_packages_directories}"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #390bf1b2cd6d7f39 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:1179
        tracing::debug!(
            "Resolved real stdlib directory for this environment is: {stdlib_directory:?}"
        );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #016d65b754278c13 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:1602
    tracing::debug!(
        "Searching for site-packages directory in sys.prefix {}",
        sys_prefix_path.inner
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low telemetry dependency Excluded from app score #3e6bf9bf9f72d3cf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:1751
    tracing::debug!(
        "Searching for real stdlib directory in sys.prefix {}",
        sys_prefix_path.inner
    );

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

low env_fs dependency Excluded from app score #b3be4bf7afcb664f Filesystem access.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:3899
        std::fs::File::create(versioned_executable.as_std_path()).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4db9dca3bf167901 Filesystem access.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:3900
        std::fs::File::create(bin.join("python3.14t").as_std_path()).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6d3f37014fa4ece0 Filesystem access.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:3933
            std::fs::File::create(free_threaded_executable.as_std_path()).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d7d6e82721a375fd Filesystem access.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:3968
        std::fs::File::create(bin.join("python3.14").as_std_path()).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #86f6bd51ceb10515 Filesystem access.
pkgs/rust/[email protected]/crates/ty_site_packages/src/lib.rs:3990
        std::fs::File::create(other_bin.join("python3.14").as_std_path()).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #05b06b78e80417c8 Filesystem access.
pkgs/rust/[email protected]/crates/ty_vendored/build.rs:71
            let mut f = File::open(absolute_path)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #73a69d64698ed8e6 Filesystem access.
pkgs/rust/[email protected]/crates/ty_vendored/build.rs:90
        let mut f = File::open(source)?;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6b6ae8ae64440524 Environment-variable access.
pkgs/rust/[email protected]/crates/ty_vendored/build.rs:102
    let out_dir = std::env::var("OUT_DIR").unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #f2639a5076c24a57 Filesystem access.
pkgs/rust/[email protected]/crates/ty_vendored/build.rs:112
    let zipped_typeshed_file = File::create(zipped_typeshed_location).unwrap();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

Skipped dependencies

Production

  • openai-codex-cli-bin prod — no sdist (wheels only)
  • codex-protocol prod — no version pinned
  • codex-state prod — no version pinned
  • serde prod — no version pinned
  • thiserror prod — no version pinned
  • anyhow prod — no version pinned
  • base64 prod — no version pinned
  • chrono prod — no version pinned
  • crypto_box prod — no version pinned
  • ed25519-dalek prod — no version pinned
  • jsonwebtoken prod — no version pinned
  • rand prod — no version pinned
  • reqwest prod — no version pinned
  • sha2 prod — no version pinned
  • codex-app-server-protocol prod — no version pinned
  • codex-git-utils prod — no version pinned
  • codex-login prod — no version pinned
  • codex-model-provider prod — no version pinned
  • codex-plugin prod — no version pinned
  • os_info prod — no version pinned
  • sha1 prod — no version pinned
  • tracing prod — no version pinned
  • ansi-to-tui prod — no version pinned
  • ratatui prod — no version pinned
  • axum prod — no version pinned
  • codex-analytics prod — no version pinned
  • codex-agent-extension prod — no version pinned
  • codex-arg0 prod — no version pinned
  • codex-cloud-config prod — no version pinned
  • codex-config prod — no version pinned
  • codex-connectors prod — no version pinned
  • codex-core prod — no version pinned
  • codex-core-plugins prod — no version pinned
  • codex-home prod — no version pinned
  • codex-exec-server prod — no version pinned
  • codex-extension-api prod — no version pinned
  • codex-external-agent-migration prod — no version pinned
  • codex-features prod — no version pinned
  • codex-goal-extension prod — no version pinned
  • codex-guardian prod — no version pinned
  • codex-file-watcher prod — no version pinned
  • codex-hooks prod — no version pinned
  • codex-http-client prod — no version pinned
  • codex-otel prod — no version pinned
  • codex-shell-command prod — no version pinned
  • codex-skills prod — no version pinned
  • codex-skills-extension prod — no version pinned
  • codex-utils-cli prod — no version pinned
  • codex-utils-pty prod — no version pinned
  • codex-backend-client prod — no version pinned
  • codex-file-search prod — no version pinned
  • codex-chatgpt prod — no version pinned
  • codex-image-generation-extension prod — no version pinned
  • codex-memories-extension prod — no version pinned
  • codex-web-search-extension prod — no version pinned
  • codex-memories-write prod — no version pinned
  • codex-mcp prod — no version pinned
  • codex-mcp-extension prod — no version pinned
  • codex-models-manager prod — no version pinned
  • codex-app-server-transport prod — no version pinned
  • codex-feedback prod — no version pinned
  • codex-rmcp-client prod — no version pinned
  • codex-rollout prod — no version pinned
  • codex-sandboxing prod — no version pinned
  • codex-thread-store prod — no version pinned
  • codex-tools prod — no version pinned
  • codex-utils-json-to-toml prod — no version pinned
  • codex-utils-path-uri prod — no version pinned
  • clap prod — no version pinned
  • futures prod — no version pinned
  • time prod — no version pinned
  • toml prod — no version pinned
  • toml_edit prod — no version pinned
  • tokio-util prod — no version pinned
  • tracing-subscriber prod — no version pinned
  • uuid prod — no version pinned
  • codex-app-server prod — no version pinned
  • codex-uds prod — no version pinned
  • codex-utils-rustls-provider prod — no version pinned
  • codex-utils-home-dir prod — no version pinned
  • libc prod — no version pinned
  • codex-experimental-api-macros prod — no version pinned
  • codex-extension-items prod — no version pinned
  • schemars prod — no version pinned
  • serde_with prod — no version pinned
  • strum_macros prod — no version pinned
  • ts-rs prod — no version pinned
  • inventory prod — no version pinned
  • tungstenite prod — no version pinned
  • codex-api prod — no version pinned
  • constant_time_eq prod — no version pinned
  • gethostname prod — no version pinned
  • httpdate prod — no version pinned
  • owo-colors prod — no version pinned
  • tree-sitter prod — no version pinned
  • tree-sitter-bash prod — no version pinned
  • codex-apply-patch prod — no version pinned
  • codex-install-context prod — no version pinned
  • codex-linux-sandbox prod — no version pinned
  • codex-shell-escalation prod — no version pinned
  • dotenvy prod — no version pinned
  • aws-config prod — no version pinned
  • aws-credential-types prod — no version pinned
  • aws-sigv4 prod — no version pinned
  • aws-types prod — no version pinned
  • bytes prod — no version pinned
  • http prod — no version pinned
  • codex-backend-openapi-models prod — no version pinned
  • clap_complete prod — no version pinned
  • codex-app-server-daemon prod — no version pinned
  • codex-app-server-test-client prod — no version pinned
  • codex-cloud-tasks prod — no version pinned
  • codex-exec prod — no version pinned
  • codex-execpolicy prod — no version pinned
  • codex-mcp-server prod — no version pinned
  • codex-responses-api-proxy prod — no version pinned
  • codex-rollout-trace prod — no version pinned
  • codex-stdio-to-uds prod — no version pinned
  • codex-terminal-detection prod — no version pinned
  • codex-tui prod — no version pinned
  • codex-utils-path prod — no version pinned
  • crossterm prod — no version pinned
  • regex-lite prod — no version pinned
  • supports-color prod — no version pinned
  • sys-locale prod — no version pinned
  • tracing-appender prod — no version pinned
  • unicode-segmentation prod — no version pinned
  • which prod — no version pinned
  • codex-cloud-tasks-client prod — no version pinned
  • codex-cloud-tasks-mock-client prod — no version pinned
  • tokio-stream prod — no version pinned
  • unicode-width prod — no version pinned
  • diffy prod — no version pinned
  • codex-code-mode-protocol prod — no version pinned
  • deno_core_icudata prod — no version pinned
  • v8 prod — no version pinned
  • codex-code-mode prod — no version pinned
  • async-channel prod — no version pinned
  • codex-client prod — no version pinned
  • codex-websocket-client prod — no version pinned
  • eventsource-stream prod — no version pinned
  • proc-macro2 prod — cdn 403
  • quote prod — cdn 403
  • syn prod — cdn 403
  • arc-swap prod — no version pinned
  • codex-async-utils prod — no version pinned
  • codex-utils-plugins prod — no version pinned
  • lru prod — no version pinned
  • codex-file-system prod — no version pinned
  • codex-network-proxy prod — no version pinned
  • dunce prod — no version pinned
  • indexmap prod — no version pinned
  • multimap prod — no version pinned
  • serde_ignored prod — no version pinned
  • serde_path_to_error prod — no version pinned
  • tonic prod — no version pinned
  • tonic-prost prod — no version pinned
  • wildmatch prod — no version pinned
  • urlencoding prod — no version pinned
  • codex-utils-string prod — no version pinned
  • bm25 prod — no version pinned
  • codex-agent-graph-store prod — no version pinned
  • codex-context-fragments prod — no version pinned
  • codex-core-skills prod — no version pinned
  • codex-memories-read prod — no version pinned
  • codex-response-debug-context prod — no version pinned
  • codex-prompts prod — no version pinned
  • codex-utils-cache prod — no version pinned
  • codex-utils-image prod — no version pinned
  • codex-utils-output-truncation prod — no version pinned
  • codex-utils-stream-parser prod — no version pinned
  • codex-windows-sandbox prod — no version pinned
  • csv prod — no version pinned
  • dirs prod — no version pinned
  • iana-time-zone prod — no version pinned
  • image prod — no version pinned
  • once_cell prod — no version pinned
  • whoami prod — no version pinned
  • regex prod — no version pinned
  • semver prod — no version pinned
  • serde_yaml prod — no version pinned
  • zip prod — no version pinned
  • notify prod — no version pinned
  • codex-app-server-client prod — no version pinned
  • codex-utils-oss prod — no version pinned
  • codex-utils-sandbox-summary prod — no version pinned
  • clatter prod — no version pinned
  • codex-exec-server-protocol prod — no version pinned
  • starlark prod — no version pinned
  • codex-utils-template prod — no version pinned
  • codex-connectors-extension prod — no version pinned
  • mime_guess prod — no version pinned
  • sentry prod — cdn 403
  • crossbeam-channel prod — no version pinned
  • ignore prod — no version pinned
  • nucleo prod — no version pinned
  • gix prod — no version pinned
  • rustls-native-certs prod — no version pinned
  • rustls-pki-types prod — no version pinned
  • keyring prod — no version pinned