Close Open Privacy Scan

bolt Snapshot: commit 4e0cee8
science engine v1.22
schedule 2026-07-23T06:18:54.896754+00:00

help Not analyzed — coverage too low to judge

Too little of this repository was analyzed to judge — 3/203 dependencies were scanned. This is not a clean result; it means the scan could not run far enough to reach one.

App Privacy Score

/100
Not analyzed — coverage too low

Coverage too low to score · 2700 finding(s)

bar_chart Score Breakdown

telemetry −25
egress −15
env_fs −3

list Scan Summary

0 high 0 medium 2700 low
First-party packages: 80
Dependency packages: 1
Ecosystem: rust

swap_horiz Application data flows

Not enough of this repository was analyzed to look for application data flows. Absence of findings here is not evidence of a clean result.

</> First-Party Code

first-party (npm)

rust first-party
expand_more 4 low-confidence finding(s)
low env_fs production #f01fa050cfed6b95 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 #b8a721f0be61013c 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 #7ec9635ca30c9e52 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 #44b83e4d7631ad09 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 13 low-confidence finding(s)
low env_fs production #6e30d55dc737bea5 Filesystem access.
repo/codex-rs/analytics/src/analytics_client_tests.rs:1381
    let contents = std::fs::read_to_string(&capture_path).expect("read captured analytics events");

Reads environment variables or the filesystem — 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 #4d225743aaabc8ef Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:99
                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 #f631da999d964ee5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:104
            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 #0e6f346a12873398 Environment-variable access.
repo/codex-rs/analytics/src/client.rs:124
        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 #12409397d6f4b6b4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:165
            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 #56cd5295512c8ee5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:247
            tracing::warn!("timed out or failed while flushing analytics 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 #f63aa30e019fb9ed Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:683
            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 #ec30a59a1dd97df5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:686
            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 #ca55d03cad2e7e1e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/client.rs:701
        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 #20914e9e7f55ae2c Filesystem access.
repo/codex-rs/analytics/src/client_tests.rs:304
    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 #f9bd64b7dd78121f Filesystem access.
repo/codex-rs/analytics/src/client_tests.rs:332
    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 #7d6d765b9189d0b4 Filesystem access.
repo/codex-rs/analytics/src/client_tests.rs:374
    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 #2264598e0e55645d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/analytics/src/reducer.rs:1727
    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 #8f2c40d5a09496fe 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 #d3bf8662bf8b35fb 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 #61f61911c9df05ef 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 117 low-confidence finding(s)
low telemetry production #3bb14ab729f4c765 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 #565349474e5c2182 Environment-variable access.
repo/codex-rs/app-server/src/bin/exec_server.rs:27
        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 #420b42c4376bb960 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 #d052be7890adc1af 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 #0b55c0c381f54d51 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 #270255fee3f2ce8f 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 #fc42c436a4db4a6e 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 #968765800d86047b 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 #edb838cdeaa111c2 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 #8b6fbca1672a5d24 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 #1b0a08ff26f060f6 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 #4302ddc3a56ecedc 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 #4d1f26b91b90677c 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 #b75581a217a08eec 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 #355594ea33412dd0 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 #ee50cccc90ef4b25 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 #0b7f9079731ef074 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 #076837b3e52f5989 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 #64e741377c2c3100 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 #9e156b84ffbb7d65 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 #d643357f31fe4664 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 #09ab857cf33ce5cf 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 #12f4b1c579e437fc 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 #8eab0a869239682e 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 #c852d4fb6350f38a 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 #b6ea84c7157c9c63 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 #a3c3085feaf22c0f 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 #ed5d987207e2bef2 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 #59b8f299989f6327 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 #3d42d289d53d4e64 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 #f38c506b37f3ec48 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 #00fab9cc286a9cda 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 #84d436a7fc99d311 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 #3924e33825d6d29d Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:784
    std::fs::write(&path, "allow_login_shell = 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 #92da9d8a52b2b9a8 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:837
        std::fs::write(tmp.path().join(CONFIG_TOML_FILE), user_config).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 #5d078b0aa91ae4ff Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:885
    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 #7dc62898abf6dc18 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:906
    std::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 production #9c9b4b383d507005 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:942
    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 #9b4c68114277d71b Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:946
    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 #f41de90b1d540156 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1007
    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 #0e6288117019dba5 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1010
    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 #8cec3a867650fbd2 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1066
    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 #7e50729cdb4ab8fe Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1080
    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 #f93d7407afdab781 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1097
    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 #abe26b96ead4b1f6 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1110
    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 env_fs production #8ebf8d131930df48 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1239
        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 #03159e1f5de37fff Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1252
        let updated: 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 #9b8ae6476219c34d Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1271
    std::fs::write(
        &path,
        r#"[shell_environment_policy.filters]
"aws_*" = "exclude"
"keep_*" = "include"
"#,
    )?;

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

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

low env_fs production #aa465ed88dd1e698 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1312
    std::fs::write(
        &path,
        r#"[shell_environment_policy]
inherit = "all"
exclude = [
    "AWS_*", # keep this comment
]
set = { KEEP = "1", OTHER = "2" } # keep this inline table
"#,
    )?;

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

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

low env_fs production #840b57639c5b8d8f Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1358
    std::fs::write(
        &path,
        r#"[shell_environment_policy]
set = { KEEP = "1", OTHER = "2" } # keep this inline table

[shell_environment_policy.filters]
"AWS_*" = "exclude" # keep this edited comment
"KEEP_*" = "include" # keep this untouched comment
"#,
    )?;

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

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

low env_fs production #2fa43831b2c6849c Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1416
    std::fs::write(&path, initial)?;

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

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

low env_fs production #ac683575e974bb31 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1465
        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 #5c33d830088f5fb6 Filesystem access.
repo/codex-rs/app-server/src/config_manager_service_tests.rs:1467
        std::fs::write(&managed_path, managed)?;

Reads environment variables or the filesystem — 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 #d9bd2a4ac9ec59a1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/extensions.rs:148
                    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 #1a4b2cba433c2017 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/extensions.rs:166
                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 #cac6b81bc9285ce8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/external_agent_migration/processor.rs:339
                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 #c189f7552aa28e95 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/external_agent_migration/processor.rs:500
        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 #d2bb52dd037cfd98 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/external_agent_migration/processor.rs:517
            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 #36e689269e4a9950 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 #33dee69891a09e6d 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 #11b28e1aa665fd5f 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 #8c0e38bd778e91e8 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 #597da43e754b8e7e 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 #e88b4eb6560ce810 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 #ef9ae559c741c7f3 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 #c07c56a3260afb19 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 #baae0194952c6201 Environment-variable access.
repo/codex-rs/app-server/src/lib.rs:1291
        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 #b922c91ab9bf57c1 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 #2645d5229fc35524 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 #e9310a2c7a6cd06e Filesystem access.
repo/codex-rs/app-server/src/mcp_refresh.rs:154
        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 #2fa809a1d42d4374 Filesystem access.
repo/codex-rs/app-server/src/mcp_refresh.rs:205
        std::fs::write(
            temp_dir.path().join(codex_config::CONFIG_TOML_FILE),
            r#"
[mcp_servers.global]
command = "global-mcp"
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 #15600209dfa89eb6 Filesystem access.
repo/codex-rs/app-server/src/mcp_refresh.rs:247
        std::fs::write(
            temp_dir.path().join(codex_config::CONFIG_TOML_FILE),
            r#"
[mcp_servers.refreshed]
command = "refreshed-mcp"
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 #4c1dfa94889a7bcc Filesystem access.
repo/codex-rs/app-server/src/mcp_refresh.rs:276
        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 #07f6322efc4f073a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/message_processor.rs:619
        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 #7dcbac375acf3187 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/message_processor.rs:626
        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 #21600bb798b6851c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/message_processor.rs:715
            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 #fc56f6cd0248e962 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/message_processor.rs:739
        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 #39a486201d4226e4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/message_processor.rs:746
        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 #34c9893e31ac2cdb 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 #a7c5da563e617a2b 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 #ede39ef517dbd161 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 #1db36548753cb7c8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/account_processor.rs:916
                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 #988b5827147787b2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/account_processor.rs:975
                                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 #6d7113afbd0d291f 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 #9d05677d9b7f46f9 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 #a4b11176fe36c5b8 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 #e2cd074546fd50c2 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 #318c41ae83a3696a 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 #b71813baf0baa54b 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 #0c3fc94fd5d39736 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/config_processor.rs:257
            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 #f1411c49b1c7a00e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/config_processor.rs:282
                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 #0eac03be22bc2268 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 #a2965fbc6c31e0ef 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 #b7d3a455b2b1cc5a 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 #5722c891cd92aceb 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 #3541bbae0ede6bd0 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 #9d10be7ff92dd833 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 #5c0b34d1aeeb9aa6 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 #a9fd3a25a6c7c3b1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/plugins.rs:1742
        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 #4e5831633ae55548 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 #e7ecd10f8cebbb5f 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 #e1d1246f8e70137f 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 #f5074298995f6190 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 #bb617cc163887d9d 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 #b2b12d8dcafc1ff1 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 #783d46342f6fb81b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_lifecycle.rs:647
            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 #c51e704213f28d58 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_lifecycle.rs:735
            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 #74f87a4303f97709 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_lifecycle.rs:778
            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 #3952aeb16cd68045 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/thread_processor.rs:3538
                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 #52b292f196a5e5ce Filesystem access.
repo/codex-rs/app-server/src/request_processors/thread_processor_tests.rs:1029
        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 #2f15071702fd611d Filesystem access.
repo/codex-rs/app-server/src/request_processors/thread_processor_tests.rs:1096
        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 #03a165d913aa51d2 Filesystem access.
repo/codex-rs/app-server/src/request_processors/thread_processor_tests.rs:1139
        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 #08c6b7d827080f68 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/turn_processor.rs:1001
                                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 #8ee1b93f5fc0c424 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/request_processors/turn_processor.rs:1329
                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 #3170c90c8f82747f 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 #6d2cb2a631e54224 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/thread_state.rs:433
            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 #53ca16f259eb6b70 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/app-server/src/thread_state.rs:457
            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 #d5b0b185a90644ea 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 #c75675d699f27234 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 #af2dccc302460918 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 #6947f32d54428bcc 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 #482c651712eac5a2 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 #354071d10a41f103 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 #73cab8b050624b45 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 #aac6d064d43e27a9 Hardcoded external endpoint. Review what data is sent to this destination.
repo/codex-rs/app-server-daemon/src/update_loop.rs:202
    match http.get(INSTALL_URL).await? {

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 #9ebfed913fecc581 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:316
        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 #e892c54deae4f06f Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:319
    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 #8317fae5d9c5c519 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:382
        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 #a3ad139b3208c9e5 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:384
    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 #fffeaaea67d2fce3 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:724
        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 #fb7e0c7984ece0c3 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:1570
    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 #538ff346ff42b5c8 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:1965
        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 #a0afbecb91caf749 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:1975
    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 #741de80300b5d3a3 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2021
        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 #0d146765a5f7f24b Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2025
            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 #7da99b09c215a877 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2059
    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 #6aa542e31bd617cc Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2730
        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 #c92f833b5430f4a3 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2740
        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 #b3f88552904330c0 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2768
        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 #6fdc5163ad12c6ba Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2778
        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 #f2d0286e7068a13e Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2836
        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 #93253830c776c5a5 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2846
        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 #fdd9ab66679b83e9 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2878
            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 #b1cb52b694b9f42b Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2881
            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 #6a81e2d28155beb8 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2887
        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 #caec17b3daae38b4 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2895
            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 #59b1bc86a3c09585 Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:2904
            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 #d83639a9b5eb8a6d Filesystem access.
repo/codex-rs/app-server-protocol/src/export.rs:3018
        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 #567fa3a741bfd3db 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 #c11d97b73f9da14e 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 #f50b58eb27516983 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 #ff560f26e4cf4921 Filesystem access.
repo/codex-rs/app-server-test-client/src/lib.rs:1550
        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 #e1f58984b98ab5b1 Environment-variable access.
repo/codex-rs/app-server-test-client/src/lib.rs:1635
            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 #069f68b2e3c5be68 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 #9d628c073eb37fe2 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 #43b3ccaa7d509b3a 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 #5e00208b2da46cf2 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 #3f0b9cd0c1aeacb2 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 #d87bf8940231425c 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 #31be4a292bdd6dfa 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 #30c4eb9322dcd512 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 #9b473d86b223e554 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 #c75994a82f3ebe5d 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 #8d93a57cd6e87825 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 #0398a3498ed1b1ea 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 #9f29eb169635e458 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 #fdffe2e90a3d23bf Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:932
        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 #b52986aa1ca2ff89 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:946
        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 #7e2ce9a6a846d188 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:947
        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 #027af58a01c36c1f Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:948
        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 #3cf0324085cd4f1a Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:949
        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 #311b367965ef40bd Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1012
        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 #f394908ef88496a4 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1041
        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 #729d001abba3b75f Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1071
        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 #41405ae7a20d3795 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1080
        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 #1bf0e194874f2b00 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1112
        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 #59e763dbce28d24c Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1128
        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 #a1727fd2d652c0a2 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1178
        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 #b0498994f554c84c Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1214
        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 #d3dbfb67a8c678fb Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1228
        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 #c74aded1db4633ed Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1275
        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 #aa34df408682b960 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1283
        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 #4ad5a093ef8020d1 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1308
        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 #18af01d6085c4ec4 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1328
        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 #17b6c5d0d537eacf Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1354
        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 #fb28226570085f30 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1374
        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 #0d20ad9feaed2c8a Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1423
        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 #a06ad4fcf940e9a1 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1468
        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 #38f82cccc2cad0b8 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1514
        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 #33c2fd6caf3c0c1f Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1553
        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 #1b6c73546e06d25b Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1620
        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 #e0ff22af6555142b Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1668
        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 #7d9e1a0eb6d51959 Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1675
            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 #d6075c32d31acb3c Filesystem access.
repo/codex-rs/apply-patch/src/lib.rs:1699
        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 #75fbdfa3fcd35469 Environment-variable access.
repo/codex-rs/arg0/src/lib.rs:158
        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 #144806f600518d52 Filesystem access.
repo/codex-rs/arg0/src/lib.rs:402
            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 #34ee1f5759c5eb3f Filesystem access.
repo/codex-rs/arg0/src/lib.rs:675
        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 #423841f1a80c1baa 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 #eea91bc77d942d86 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 #18832e9f077ffdbc 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 #f792a2eafd36db26 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 #52176e4098607dac 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 #590de24e7da73f70 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 #57721a73dd4453d3 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 64 low-confidence finding(s)
low env_fs production #7fcbb96c6e9a9bfd 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 #7a47f6d84c019522 Filesystem access.
repo/codex-rs/cli/src/debug_sandbox.rs:720
        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 #ea1aaf01c87b1b74 Environment-variable access.
repo/codex-rs/cli/src/desktop_app/mac.rs:76
    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 #94707c03c4064ca1 Environment-variable access.
repo/codex-rs/cli/src/desktop_app/mac.rs:306
    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 #eed997e11569c0fe Filesystem access.
repo/codex-rs/cli/src/desktop_app/mac.rs:336
        fs::write(
            contents_path.join("Info.plist"),
            format!(
                r#"<?xml version="1.0"?><plist version="1.0"><dict><key>CFBundleIdentifier</key><string>{bundle_identifier}</string></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 #6f001bf0cc9e80a0 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 #268925f5d07e4ae2 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 #678f02768d66fb06 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 #7e6269597df4ed2f 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 #6ef2eeac34c23f68 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 #9eba6449ff61abad 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 #5a5d81bf77f7c697 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 #1987b0405cf73e07 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 #5aecc8f7ce5f1caf 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 #1eaf8f3da84060ea Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:2960
        .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 #dc55b5ffffdfea2a Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:2972
            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 #48b8e799739a3ee8 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:3053
    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 #106d47c714f66e14 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:3060
    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 #20061ce56b19a442 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:3064
    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 #5fff8fdf66b05102 Environment-variable access.
repo/codex-rs/cli/src/doctor.rs:3067
        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 #66298741f6de7858 Filesystem access.
repo/codex-rs/cli/src/doctor.rs:3830
        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 #3324b3ea3e968f54 Filesystem access.
repo/codex-rs/cli/src/doctor.rs:3835
        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 #c24de89073d933dd Filesystem access.
repo/codex-rs/cli/src/doctor.rs:3994
        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 #7d751ddf615c4212 Filesystem access.
repo/codex-rs/cli/src/doctor.rs:4017
        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 #dab4c4af56e49f95 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 #6e799d00c4f1b400 Filesystem access.
repo/codex-rs/cli/src/doctor/git.rs:230
        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 #a079dffa86cfc279 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 #57db9cb1ff739ef7 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 #37ed5de9234b65b5 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 #77f5bc8e6d621b32 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 #ab0bc95f611babb2 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 #2e843d609cfbc5d1 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:868
        let contents = std::fs::read_to_string(&path).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 #c0ca9c3cf3e2afd9 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:878
        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 #d3b8590a2f976ff4 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:901
        let mut contents = std::fs::read(&path).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 #c2308425ce1e8d0c Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:904
        std::fs::write(&path, contents).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 #833b0b8f1e56f72d Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:987
        let contents = std::fs::read_to_string(&metadata_path).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 #d12bd452c22534a5 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:996
        std::fs::write(&metadata_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 #8de5a394ae27eb55 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1010
        std::fs::write(
            &legacy_path,
            "{\"timestamp\":\"2025-01-02T11:00:00Z\",\"type\":\"compacted\",\"payload\":{\"message\":\"legacy history\"}}\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 #73409fedf7b58008 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1046
        std::fs::write(&compressed_path, "not zstd").expect("corrupt compressed 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 #c97b3fe679fe177e Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1072
        std::fs::write(temp_path, "not a completed rollout").expect("rollout 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 #6a8760e5818fb826 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1099
        std::fs::write(&valid_path, format!("not-json\n{legacy_line}\n")).expect("legacy 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 #6d60f4579072b0aa Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1100
        std::fs::write(&malformed_path, format!("{legacy_line}\n")).expect("legacy 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 #5069b72027b92713 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1120
        let contents = std::fs::read_to_string(&path).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 #f23a93a3e9501db9 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1138
        std::fs::write(&path, format!("{response_item}\n{session_meta}\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 #a40e0c4d14b3b599 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1154
        let contents = std::fs::read_to_string(&path).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 #46678b72ff9aaa35 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1179
        std::fs::write(&path, format!("{}\n", lines.join("\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 #742cf5e2fb2600d3 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1205
        std::fs::write(&path, contents).expect("legacy 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 #cd7cdebf32c69dc8 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1231
        std::fs::write(&empty_path, " \n\t\n").expect("empty 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 #f6c6477fe063dc99 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1232
        std::fs::write(&invalid_path, "not-json\n{also-invalid}\n").expect("invalid 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 #c4f19255cfcdfc74 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1233
        std::fs::write(&invalid_utf8_path, [0xff, 0xfe, b'\n']).expect("invalid utf8 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 #66cbcbf69add0518 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1249
        std::fs::write(
            &unknown_history_mode_path,
            format!(
                "{unknown_history_mode}\n{}\n",
                serde_json::json!({
                    "timestamp": "2025-01-02T10:00:04Z",
                    "type": "session_meta",
                    "payload": {
                        "session_id": "00000000-0000-0000-0000-000000000005",
                        "id": "00000000-0000-0000-0000-000000000005",
                        "timestamp": "2025-01-02T10:00:04Z",
                        "cwd": ".",
                        "originator": "test",
                        "cli_version": "test",
                        "source": "cli",
                        "model_provider": "test-provider",
                    },
                })
            ),
        )

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

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

low env_fs production #22c9672540834634 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1301
        let contents = std::fs::read(path).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 #9c59b7e32cc254d8 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1304
        std::fs::write(compressed_path, compressed).expect("compressed 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 #ba1cd121431a3478 Filesystem access.
repo/codex-rs/cli/src/doctor/thread_inventory.rs:1356
            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 #5a4845a13610b7c5 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 #4b0c4760d593014a 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 #5c973e65e042cd25 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 #21d4a534abc23140 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 #2b4289768992bb10 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 #83882e836b0184c5 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 #873be52813533ab4 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 #f82d8a9c46b15970 Environment-variable access.
repo/codex-rs/cli/src/main.rs:2285
    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 #1d24091843452603 Environment-variable access.
repo/codex-rs/cli/src/sandbox_setup.rs:136
        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 #477ac81868ad6e89 Environment-variable access.
repo/codex-rs/cli/src/sandbox_setup.rs:137
            .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 25 low-confidence finding(s)
low telemetry production #611a1a6554b0c107 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 #0b1553caba743691 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/bundle_loader.rs:43
        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 #d8a4f820a4dc04fe Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/cloud-config/src/bundle_loader.rs:51
            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 #5525b24b33b74d17 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 #a2dea5ef6c7db1c9 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 #30d9cbb2f6725f0d 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 #5d7e0b702ad0f317 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 #f5a4944519c8bc73 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 #17da357eedca107d 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 #fb059f490310dfb1 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 #71aafb462d1ef8e8 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 #a5869c439bd36329 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 #90ec71c2fd5de808 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 #30819d19fb7e134c 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 #ac359247be0dcbab 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 #57f20aa7d9f98a33 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 #fa2678e289e71599 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 #77ea69caf17bfb9e 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 #88dc6bf9fdcf5b5e 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 #72e2af85220c3de5 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 #b955687073789725 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 #98dc2b28966c2590 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 #33639558a61aa78b 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 #9b2cb5cd6946af50 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 #6b8499e29a2c41f6 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 2 low-confidence finding(s)
low env_fs production #e8a28a198a7dc695 Environment-variable access.
repo/codex-rs/cloud-tasks/src/lib.rs:54
    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 #e03111e9c79113db 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 #acb745c47f0de360 Environment-variable access.
repo/codex-rs/cloud-tasks-client/src/http.rs:347
            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 #801559b6ab1561d7 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 #3c5eebce6e71aa9f 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 #cfd99886679043ee 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 #185702740768d160 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 #a36d93632cad2497 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 #4cbd02e1eb1bc899 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 #e5674e7f11dc3868 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 #6dd30325c69a6b56 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 #f5d49672e8e7ec95 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 #5b011595edd3e26c 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 #b660193eefac3f47 Environment-variable access.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:451
    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 #1dbcf849916df188 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:545
                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 #bd5b26458994cf54 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:550
            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 #196a273ba99d4a8e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:587
                            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 #c759801a383e47a6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:594
                        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 #f5d98f726bc2060e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:627
                            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 #a1ff94dbba31150e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/codex-mcp/src/mcp/mod.rs:634
                        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 #30c78497c7f03786 Environment-variable access.
repo/codex-rs/codex-mcp/src/rmcp_client.rs:879
    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 #0473a4f9a8a60a05 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 #1b6ac32914e98d05 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/config_toml.rs:809
            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 #d37c1c80fac5f530 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/diagnostics.rs:234
                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 #b2309dcb8c4c2497 Filesystem access.
repo/codex-rs/config/src/diagnostics.rs:315
    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 #158468f2763292fd 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 #28f705dd3c9f1ffa 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 #40cc83ed257fe3c9 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 #59714844cb4acede 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 #b7a4495b1177ce42 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 #16930b6b4be09dd1 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 #0c19e0ee64f793b2 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 #6bcd457b346f97bc 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 #fee5fef5baf05cb8 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 #9829e1d989c8511c 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 #9da8254649049e89 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 #fe28298e174db6f5 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 #ba92048bc16825a2 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 #cd6f6afd92006ba9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/config/src/loader/mod.rs:674
        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 #7746f28fb545d2de 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 #0a3e6e4e2ea72ee8 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 #03c90296a0520da7 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 #9a5844784f5e57e0 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 #7d08da766201f82a 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 #827ebf04cb68329f 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 #25406385cbe840de 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 #1e5845a1e046fcc6 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 #96e423113969c13f 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 #79d6b9957a912e00 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 #28ceff411f70a185 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 #c540520f075c0e81 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 #f89b135e0a55a14f 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 #f45394ce6ae30937 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 #81ee22ca6f987345 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 #de0f423eebb6cd6f 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 #e400040826055215 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 #3830148ac9baaa86 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 #82cd2ab36bd46e76 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 #28755cbf3a8ded86 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 #6a354482ef31dc7d 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 #dd32f040e880f305 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 #613a2bffaa644aba Filesystem access.
repo/codex-rs/config/src/schema.rs:213
    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 #389317157b9a5f34 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 #57146ee2d1a8eaba 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 #d2fbb0c4d521acb8 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 #d294ce93962caa40 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 #778bc83bb8f5fb30 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 #8bd1b2cd7672789c 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 #56f1c7e7bfb66206 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 #9f49f1b1201233bb 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 #c5b795569218b53d 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 #126925dc2af227c5 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 #d4c9defc6a044d69 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 #df0a997d2d3a48ad 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 492 low-confidence finding(s)
low telemetry production #ca98bad5db1c42b8 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 #40c4a928ebee28db Filesystem access.
repo/codex-rs/core/src/agent/control_tests.rs:996
    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 #d6f6734d6081092a 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 #a0f139c2446bd4b7 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 #2cb4ca33217e7f6d Filesystem access.
repo/codex-rs/core/src/agent/role_tests.rs:376
    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 #e4ad53d2cd42ce7c Filesystem access.
repo/codex-rs/core/src/agent/role_tests.rs:479
    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 #d15b9cb2ce0f095b Filesystem access.
repo/codex-rs/core/src/agent/role_tests.rs:504
    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 #cda1e39ae513b108 Filesystem access.
repo/codex-rs/core/src/agent/role_tests.rs:529
    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 #0d5173312f3e6bb6 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 #673a90969497cb96 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 #b8957eba5423c690 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 #ac95c0dea85cdb7f 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 #3c1477e1606c16cf 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 #81138fd315073d60 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 #d93119959f5b74d2 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 #c0a8f261b5ff7377 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 #c6036368b50fd83d 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 #6e51286ed19c9d43 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 #5dfc7f63b9a95cc5 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 #53c07d9335af7917 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 #dafa4d1a67339b94 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 #7c2933de52d199b5 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 #8a45315666ff0846 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 #f4d263abf7e0ca98 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 #f037343026fd6d88 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 #ecdc9c650cb3d3b0 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 #76bb66b1d2cabd3d 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 #f774dce671bdc53f 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 #c619eacacdd6e963 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 #1f874a8f90b48da5 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 #dc43ef78eeb1dcf5 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 #f85fcc61490f9020 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 #f1ec4ca09b348989 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 #1dca6eb8298e1e54 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 #c02589c62f23e29a 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 #704f9ef4ac03d5f1 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 #ee48e5760b9c3a5b 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 #3299886a4e85508b 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 #cd56828b83064940 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 #cb704c4778890e21 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 #6d755efcc811052a 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 #7d3f5b4d6c36dbea 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 #9304ff6928a7581f 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 #18afbaa6aa5564a4 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 #76eee0a7a1df8a99 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 #273d810324115c7e 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 #e014bf9a696aac27 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 #6fbc9c2248eceed2 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 #f266976c5d91c884 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 #5660bad32da8c2c8 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 #49e481235416f6a2 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 #b82c35907654a1ea 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 #feba79717caeaef4 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 #cd460d2e14627849 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 #2673a8649406dd94 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 #c634d8fd972d869e 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 #3502d393c2223c2e 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 #aadc44f2cfd2b13b 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 #6b2753942c18f7b1 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 #8b7f3a47e0a4bf4f 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 #461a713004dc9f0b 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 #13f85cb20f56c776 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 #4aac99012e90a859 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 #6e5ab027f2e16838 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 #4692fe90c8e22d70 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 #7c13a79100a941f9 Filesystem access.
repo/codex-rs/core/src/client_tests.rs:312
    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 #df225788c85516af 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 #69a2510f29f98927 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:165
    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 #bdfdf02ed03082a3 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:188
    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 #0032ed3c57d6bb7d Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:249
    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 #3f32199c710bdb1d Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:277
    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 #50d0d9d39170d22c Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:298
    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 #255d130ef5d4d0f8 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:336
    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 #d5dff4f2bb57fec6 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:368
    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 #17047555d76329eb Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:397
    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 #c1e0d42e9edfb031 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:427
    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 #8d62ecafa411f973 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:460
    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 #c077d1912267906d Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:517
        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 #f4b718647d85dace Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:562
        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 #f54a1853efd3f02b Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:580
    std::fs::write(
        tmp.path().join(CONFIG_TOML_FILE),
        r#"[shell_environment_policy]
inherit = "invalid"
set = ["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 #cf49fef09a844e1d Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:588
    std::fs::write(
        &managed_path,
        r#"[shell_environment_policy]
inherit = "core"
set = { PATH = "/bin" }

[shell_environment_policy.filters]
"SECRET_*" = "keep"
"#,
    )

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

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

low env_fs production #5b18ce03b0d3e1a3 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:643
    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 #922a5eecb2c50263 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:693
    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 #7446febd04fdf51b Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:720
    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 #e91410ae5e9ff993 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:738
    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 #5adbceb863641c80 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:755
    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 #692f3c6071f34f57 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:764
    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 #a6b611dd4f850c88 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:871
    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 #8a02a80dda7b3b97 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:879
    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 #ced69a397e35caf4 Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:1001
    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 #45d91d6fdf1f7c5b Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:1008
    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 #78fec52b9e63c64f Filesystem access.
repo/codex-rs/core/src/config/config_loader_tests.rs:4077
        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 #4da373d9a5a84189 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/config_tests.rs:196
            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 #a5449598bcd92c77 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1365
    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 #85fa2ff9754774f2 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1415
    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 #b26f9ed3fdc9163d Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1569
        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 #f1537149159bfa3f Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1645
    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 #289ddf449ef0eee7 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1787
    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 #f3ce065758db5830 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:1956
    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 #8e4cab3e8b891abd Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:2006
    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 #928f00c702398fa1 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:2111
    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 #81939b5c9ca6624d Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:2513
    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 #4f846023440d9fef Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:3314
    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 #228e2c21485c377b Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:3381
    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 #0475bdde750919f4 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:3431
    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 #4796bf541722dd1e Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:3600
    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 #79e1229f9e0eebcb Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:3649
    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 #8ebb46017c7f74f6 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:4947
    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 #71106141b62ab784 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:4951
    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 #de2282c07de4f9c1 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5054
    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 #11a9c7a14aa953cf Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5058
    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 #f2ace73037c354d6 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5069
    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 #b4cd1be3ba05c4de Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5113
    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 #9b92ae60edb25bb5 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5117
    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 #1ed12d29eed8b0cc Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5132
    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 #784dff922b68a5e6 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5220
    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 #6afc19e4c88616ae Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5224
    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 #7e16e32ccae6a1a2 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5235
    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 #89354277e65b47b6 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5735
    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 #596db2cd2e967f63 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5746
    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 #2d4f61363932f88b Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5878
    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 #0c016d88752f13bd Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:5879
    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 #5046cccdf57c1285 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/config_tests.rs:5896
                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 #858cafc8900775eb Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6010
    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 #ca07eed75380dd77 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6014
    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 #90580b3e5013f829 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/config_tests.rs:6032
                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 #511843ef5d5e4947 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6045
    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 #d1159ed83c5f0c8e Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6271
    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 #fbfcbeb35839dc9b Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6332
    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 #e87689e00cf03a09 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6409
    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 #23c7a8966f44d4c3 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6471
    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 #f83a8f0e78c4c42b Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6524
    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 #c86bb07e5a7279f8 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6579
    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 #04628d92bda1aa30 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6649
    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 #5f4109402d57cf48 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6731
    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 #a63052f82608b24f Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6767
    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 #56770558bdb21693 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 #721d13709a49a640 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:6956
    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 #8be66ccf7caf01ea Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:7007
    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 #7240b9ac1ef3ca88 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:7058
    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 #237cd78dd406ee14 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:7115
    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 #b2ae45d8b0bc49d1 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:7279
    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 #e012143180648ad5 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8056
    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 #b21251e13886fc24 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8075
    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 #b80d048e6d03cb6c Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8096
    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 #6d51f823305ce39c Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8117
    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 #510a5c7d434f44e3 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8660
    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 #f93be2c8aa20ec03 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8685
    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 #d40d90a60b37b6c9 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:8762
    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 #7149bbfcc33ef7e5 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9346
    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 #ff21be0b72abbc75 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9350
    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 #907c435b7fce2be9 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9352
    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 #cc824dc678dfced4 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9358
    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 #0ddf4c736145540a Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9809
    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 #b7f323c431243ebb Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9835
    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 #e1603f9702fde006 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9872
    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 #f52b27a0acf14d1a Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:9903
    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 #4b4bd1a782ee05e5 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10078
    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 #126a0177679f1911 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10112
    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 #347c9b4a678a632e Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10144
    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 #23d7ff399805ae5b Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10250
    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 #7ecbcd5a53fec840 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10282
    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 #31364a62a0609de5 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10293
    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 #ad89355f08a327dd Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10321
    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 #7857d9f9f9a70d88 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10377
    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 #4ffdf36f8be53068 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10407
    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 #0eea5810d4b27602 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10428
    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 #fb33ea97c3dbeedb Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10467
    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 #61209231187b3e29 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10501
    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 #e9ad308cc4205f0c Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10531
    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 #0a535bdc1450fae1 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10563
    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 #7667e7653b2c24a0 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10590
    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 #9d4de55641863cfc Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10660
    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 #fe1414d9d7ffa054 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10774
    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 #c2cdbf9e101b7ae3 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10798
    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 #bb252e89786ce0e2 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10827
    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 #8ee23911197daa0c Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10857
    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 #7f22031e0e6d4800 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10877
    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 #c2e40728b49e1d33 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10898
    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 #32da63c1a6dabb2d Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10919
    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 #d3440db935532bc8 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10940
    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 #f5c1ebf48b5fae49 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10961
    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 #3517683c0421436c Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:10982
    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 #f973733c45c6e9bf Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:11004
    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 #52b12629e6f8bdc2 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:11027
    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 #a4fd36d5ee5599fa Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:11066
        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 #a8e8658f1572390f Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:11092
    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 #8f67eb2bd29beceb Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:11328
    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 #15e5b80518912194 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:11347
    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 #7d678d49050fb083 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:11778
    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 #b3b8f2a930a61568 Filesystem access.
repo/codex-rs/core/src/config/config_tests.rs:11782
    std::fs::write(
        codex_home.path().join(CONFIG_TOML_FILE),
        r#"
check_for_update_on_startup = true
allow_login_shell = true

[feedback]
enabled = true

[windows]
sandbox_private_desktop = 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 #8b7ccb3b2edcc888 Filesystem access.
repo/codex-rs/core/src/config/edit.rs:707
        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 #b259e07e79ce105b 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 #1f6cdd9de1063e2e 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 #6aa6ab3d76e7d201 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 #272e79447b40dce8 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 #bfc27aa6cd7a7204 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 #5ce62aa5a2e0d512 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 #69eeeb1fd8d455ec 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 #bbc5da8f74f578ca 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 #fa995539ab71c9a6 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 #0e2bee172c3c3e2a 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 #28b3b6c40329ef7c 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 #edf2fe9008dd227d 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 #c6ccef7b1997932c 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 #46570f58ba7d00fa 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 #8e477148f6b85481 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 #97c5ab0dbc71983f 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 #db52c7a16af466c7 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 #9026e85a47f04f98 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 #f3aa5a9c5150ea87 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 #d3c3cdfc49058a2d 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 #119d47176e8976eb 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 #50d73798caf4ba08 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 #792984fc7825bed9 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 #200dd06e2b39a962 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 #aaabcee958d85a89 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 #2f0089342c8cbf42 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 #d249aece50a9bbc7 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 #4ceedb4ea7c4f278 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 #da053901f9bad347 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 #ccd2cf2c7142a668 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 #73f581ed2ca013aa 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 #7489bb63a5a14c4e 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 #39fd8a3499200ba5 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 #d82f87fab53c472d 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 #58587f9c1ab56586 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 #dbb553731698ba45 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 #9b480cbadc2f258d 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 #414466dffe9d8da2 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 #c0d850514f43232b 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 #62d95bcaecb98f9c 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 #d2f780e7d43eb1fd 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 #704e6de3430bf7ae 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 #1eac72eb378c938e 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 #01d7f91d62176fdd 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 #991d52bceea18880 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 #2d90adaff729868b 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 #938b66f0ba98af6f 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 #a8927d41a0e9067e 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 #36f2f3efb5afb5b1 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 #1b3fc8c7fcc87cfb 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 #afa5d626f8f24fdc 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 #ba7d4f03fa0c954f 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 #cf347780f6d06237 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 #dedd364f5d9565fe 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 #4d5461663fa21f7c 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 #bc466259f5f8f396 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 #20cbb4fdbde82ea6 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 #1b82ceec0947c441 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 #15764fdfba004a87 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 #08b2f0c0e9790275 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 #7333a28b154a99d4 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 #6b39a4c2bcb7533a 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 #c6ac068ed0f117fd 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 #ffbea7ca90378f8c 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 #5f939c09664ccfb5 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 #4f3383890c7b1d73 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 #e2a16f7923e7b462 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 #c1bb3f5659dcbce7 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 #6303f0179a38ed6f 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 #178ba0a29ac6f2ff Environment-variable access.
repo/codex-rs/core/src/config/mod.rs:276
    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 #602f3006ffcb60a4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:1876
        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 #dbf0505d24168133 Filesystem access.
repo/codex-rs/core/src/config/mod.rs:1908
    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 #9332d425882aa783 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:2018
        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 #6fb3acfb954edcc3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:3225
                    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 #eb38aaf27b0fc6f1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:3231
                    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 #9b045dd259355418 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:3467
                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 #ecc44ce525023f4c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:3508
            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 #e3e0956817c34228 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/mod.rs:3522
            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 #5e0e00900c00efb9 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 #5bd5c5078c6e8278 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/permissions.rs:882
    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 #84911536f4de73a3 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 #d6d373e4776ebe37 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 telemetry production #153e4c746f65f78d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/requirements.rs:67
        tracing::warn!(
            ?source,
            ?value,
            "configured value is overridden by an exact requirement 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 #7fe8d2bffe88f875 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/requirements.rs:126
    tracing::warn!(
        ?source,
        ?value,
        "`CODEX_SQLITE_HOME` is overridden by an exact requirement for sqlite_home"
    );

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

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

low telemetry production #e12af48225cd8447 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/config/requirements.rs:147
    tracing::warn!(
        ?source,
        "configured values are overridden by requirements 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 env_fs production #811acaed39e49d89 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 #645d70b9145d411b 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 #588574ad1078d263 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 #dcb8a2baee41fec2 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 #4ecd5eb8d477a0e0 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 #949507f18d516c47 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 #ba8b0927ea95cf3d 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 #6839b7d9f9cb8d11 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 #5e2499f8badd654b 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 #0632618b5047a935 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,
                    %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 #a73402d00aa32907 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/context/world_state/mod.rs:69
            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 #476073b5a25c09a8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/context/world_state/mod.rs:103
                        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 #57e6a1ad8e30a47d 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 #18eb3aeda0c0dfeb 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 #0477e3aa97262302 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 #c980d49683d9cdf4 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 #fde1ba582b8bc1fa 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 #15ba9d9eb1debd79 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 #70fb2b23a3c31a31 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/exec.rs:833
            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 #d74491b29d7b0879 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/exec_policy.rs:303
            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 #1d5c544787d28c62 Filesystem access.
repo/codex-rs/core/src/exec_policy.rs:668
            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 #4f989520a5cc6226 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/exec_policy.rs:684
    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 #39bcc21c1d33701e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/exec_policy.rs:1144
    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 #85a916ee09f555f5 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 #93db217259114960 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 #6738db0f3d265129 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 #a8f04e2d12fd8bc6 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 #abc82c6862a629c7 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 #248da3cc4f1b6c18 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 #64920dcf5bbca226 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 #33a51875c36dd124 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 #7e3953c652dcff03 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 #6051f3dc2de63e9f 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 #84bbb313db154817 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 #240137b749b379e0 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 #6a88790d79537189 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 #0cff6b1c6ed790aa Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:1654
    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 #da979a0862cb8581 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2291
    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 #c9e7f3c7fdf00439 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2293
    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 #7a20c6203979e0f6 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2297
    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 #378e9e7452c064cc Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2335
    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 #356f8f23ade54d16 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2337
    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 #a2b5734051f09f38 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2394
    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 #d1659397926545a2 Filesystem access.
repo/codex-rs/core/src/exec_policy_tests.rs:2396
    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 #a5ec4fecabe4cd82 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 #a94faf72d7d55c52 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 #e46e3f214b921904 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 #2358c0739ce254fe Filesystem access.
repo/codex-rs/core/src/exec_tests.rs:935
    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 #e78253f2fd65f3eb Environment-variable access.
repo/codex-rs/core/src/exec_tests.rs:1123
    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 #fad0a4b89c091d5d Environment-variable access.
repo/codex-rs/core/src/exec_tests.rs:1177
    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 #bb1c9224bb95f020 Environment-variable access.
repo/codex-rs/core/src/exec_tests.rs:1239
    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 #1743e0af0a4b2d67 Filesystem access.
repo/codex-rs/core/src/exec_tests.rs:1300
    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 #533db1a9180184ee Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:171
    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 #aa63b3c42774cc25 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:209
    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 #88929e22dcbd9305 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:225
    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 #7621fc66b6c9c96d Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:241
    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 #bd595be725c30b80 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:443
    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 #271fc54a4add35e2 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:452
    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 #c97f715bdb88512f Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:466
    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 #46ad213338e975d8 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:491
    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 #7c7de5ce7743196f Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:529
    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 #e1714a31630d012c Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:530
    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 #c0464b694f4426ff Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:611
    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 #27cca6fcf99322b9 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:722
    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 #c48e839b57b556c1 Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:748
    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 #f94ab5d428e9c15f Filesystem access.
repo/codex-rs/core/src/git_info_tests.rs:787
    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 telemetry production #4005357cd713894d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/guardian/review.rs:648
        tracing::error!(%err, "failed to spawn automatic approval review worker");

A telemetry/analytics SDK is 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 #282faa2b68fa1bc6 Filesystem access.
repo/codex-rs/core/src/guardian/tests.rs:1684
    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 #42858f0c714a6419 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 #de8170e13d9aa8b3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/hook_runtime.rs:392
        tracing::warn!("failed to flush transcript before SessionEnd hook: {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 #8491ac6b116d2c3f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/hook_runtime.rs:509
        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 #d2e5f8f97420e86b 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 #0297eac93ac96636 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 #c18907f452292fd9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/mcp.rs:243
            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 #faa718abcb20254f 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 #f6d9197180521e44 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/mcp_tool_call.rs:441
        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 #b9e208dc940ab294 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/mcp_tool_call.rs:715
            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 #0aba553a9c19bce7 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 #a128a0b267746ccb 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 #fe7aaa9c4fc193bf 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 #64cfb9e573a50d51 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 #f60ad2fe4dbba5ca Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2101
    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 #1bf29ed88d5f566b Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2136
    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 #89270ee1a2b6ac2e Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2151
    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 #936809bfba9a6d0b Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2171
    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 #9bbfe6dc4ebb418a Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2210
    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 #de67299a3fc599ca Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2250
    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 #6f2c68b7d7dd9281 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2271
    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 #15ae12f4f497b934 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2342
    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 #83bd9b44c0b0be2a Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2390
    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 #f45676d7d22ec527 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2416
    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 #1e64f839c2a488cb Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2440
    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 #ec69ec339b61d6e8 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2443
    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 #865bba8cbcb222e9 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2471
    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 #04bda1a57f2f9ee0 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2666
    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 #3e9e7aee53821162 Filesystem access.
repo/codex-rs/core/src/mcp_tool_call_tests.rs:2728
    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 #86049fe116e00d17 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 #0076bf7787ed940c 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 #b56334980f6742d4 Filesystem access.
repo/codex-rs/core/src/realtime_context_tests.rs:257
    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 #a818b0c9be57716b Filesystem access.
repo/codex-rs/core/src/realtime_context_tests.rs:276
    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 #05cfbf5f25ce3eee Filesystem access.
repo/codex-rs/core/src/realtime_context_tests.rs:278
    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 #e193b2d1c1168176 Filesystem access.
repo/codex-rs/core/src/realtime_context_tests.rs:280
    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 env_fs production #f284932ae68dde8a Filesystem access.
repo/codex-rs/core/src/session/config_lock.rs:252
        std::fs::write(
            path,
            serde_json::to_string(&catalog).expect("serialize model 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 telemetry production #0374db92a4f0945a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/handlers.rs:382
                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 #05f650bf1f2654bb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/mcp.rs:250
                    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 #68944fda02fd81c3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/mcp.rs:261
                    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 #44eac8d1306e4888 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/mod.rs:577
                    tracing::warn!(error = %err, "failed to run prefix rule 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 telemetry production #4596f6f4e65f4798 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/mod.rs:1009
                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 #41be849f4080664a Filesystem access.
repo/codex-rs/core/src/session/mod.rs:1696
            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 #fb5f95f8d13196b5 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 #d383d0e38d6b0bc4 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 #b4939b2f83b12105 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 #dc47af73e2910006 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:589
    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 #77dd13193905079b Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1356
    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 #18a7f830cd3023f6 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1389
    std::fs::write(&config_toml_path, "[apps.calendar]\nenabled = 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 #c9ce55ea0eaaf739 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1399
    std::fs::write(
        &config_toml_path,
        r#"
[apps.calendar]
enabled = true

[shell_environment_policy]
exclude = ["SECRET_*", 17]
"#,
    )

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

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

low env_fs production #1f419d1e40d5ee4d Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1429
    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 #28eb3c86e0565a5c Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1434
    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 #198e87a50f0871c2 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1450
    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 #5ed4fbafb7d62558 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1455
    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 #04ea6d4df4dc9a58 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1553
    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 #1cb34e646097df3d Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1616
    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 #87fd55c308c54dde Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1643
    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 #2561d1e61aed88d2 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:1672
    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 #6cb3527499e48e2f Filesystem access.
repo/codex-rs/core/src/session/tests.rs:2836
    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 #3fd2407629389591 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:4822
    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 #1cbdaba42c62dcd0 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:4888
    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 #0b77506f375ba148 Filesystem access.
repo/codex-rs/core/src/session/tests.rs:4919
    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 #b79ff43c67190bec Filesystem access.
repo/codex-rs/core/src/session/tests.rs:11018
    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 #b3a9603dc152b84d Filesystem access.
repo/codex-rs/core/src/session/tests.rs:11061
    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 #da481aa7447976a8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/session/turn_context.rs:462
            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 #6d8cf001207fe7d8 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 #383abac9787fccb3 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 #9c013ebabdbfedb1 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 #9d17dc3e9d110447 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 #f737b3833145078a 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 #3d85176ff096cd7d 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 #bc1953d4d9f63394 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 #7d7c2703397c1029 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/shell_snapshot.rs:550
                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 #9b3e1dc958cd9a33 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/shell_snapshot.rs:572
        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 #14db63d0e9ed1bdb 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 #2516d1052c412dc3 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 #3371acafe9daca2d Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:207
    std::fs::write(dir.path().join(".zshrc"), zshrc)?;

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

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

low env_fs production #32ad658326457fe0 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:220
    std::fs::write(&snapshot_path, &snapshot.stdout)?;

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

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

low env_fs production #0462409d8d8c8e57 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:245
    std::fs::write(dir.path().join(".zshrc"), "readonly PATH\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 #ac23c7a6713d0511 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:255
    std::fs::write(&snapshot_path, &readonly_snapshot.stdout)?;

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

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

low env_fs production #eaf84d044e166789 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:369
    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 #e3191d0680f31b3f Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:390
    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 #76694f45ab3c63a7 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:438
    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 #5e5c5043ea4547e6 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:507
    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 #41dc317864470a68 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:525
    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 #7f3a7922e5ed1950 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:526
    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 #23ad46b79c13a4c0 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:527
    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 #7ff4eb7767f7b68c Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:548
    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 #8ef1e0aaa278f601 Filesystem access.
repo/codex-rs/core/src/shell_snapshot_tests.rs:569
    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 #0ac4df8dc22584b7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/stream_events_utils.rs:307
            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 #fc065a429029d307 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 #30f369500e91ab6a Environment-variable access.
repo/codex-rs/core/src/thread_manager.rs:1360
        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 #ef7fc496b65822f7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/approvals.rs:241
                    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 #43d6d3261cc62c2a 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 #9fb0f06d894f2883 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 #3f679e2a641dda5f 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 #aa15628aef16741c 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 #d79af354a7f0bbe3 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 #af5a22d8ed25d2d6 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 #ac651a2fd82d26f2 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 #2e94688a958c47a3 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 #b70b95513841b3b4 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 #5caa5ba0b6844d18 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 #1adb179e7e6af150 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 #511f99222b9b6ace 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 #f7cabd2fe318f6f3 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 #8c48cff639de015f 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 #ccb4ae5e2d0032d4 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 #a9186f8f8f309c80 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 #05dc95c50db469b2 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 #33910d9926fb9058 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 #6b83e00cac1715bb 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 #dca75e006fea6aa7 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 #9e8366de3a12e91c 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 #479f7b9012c9c224 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 #24d6de7926458a37 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 #a21f5ab4c3290474 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 #7bc1906c2aec80bf 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 #0168f45a411713db 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 #95e543d0a361d070 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 #899343030b8b049e 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 #a6175ee0a898c256 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 #f7869818774532e6 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 #b61c466b3c85d272 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 #f6daea38c3f36931 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:115
        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 #f8924fc3fa9069fe Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:119
        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 #4a4d7d34294e9b37 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:275
            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 #e3f98822a2d5d7bf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:280
        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 #38fc446bc3a1aaf9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:585
        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 #f49c03e5b0ea2a61 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs:605
        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 #00b626d9180a6dbd Filesystem access.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation_tests.rs:479
    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 #f55adf5bc7e376ae Filesystem access.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation_tests.rs:499
    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 #942c961ab36fddc0 Filesystem access.
repo/codex-rs/core/src/tools/runtimes/shell/unix_escalation_tests.rs:600
    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 #83e5143353a9b84e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core/src/tools/runtimes/unified_exec.rs:482
                    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 #126de470d2afbcb7 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:168
    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 #88bf67688d76a6f3 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:195
    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 #6d4059f29ce17209 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:223
    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 #898848781bd38156 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:239
    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 #3570d0f5946632b4 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:267
    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 #352f98b26a0f07bd Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:302
    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 #d54de568c72206f3 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:303
    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 #a288c62a7ba399cd Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:331
    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 #31f8b64b2c623b4d Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:332
    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 #d09849287f3b5963 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:368
    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 #7c54550abc57bc12 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:369
    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 #a77e947e67ea9be7 Filesystem access.
repo/codex-rs/core/src/turn_diff_tracker_tests.rs:480
    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 #6401f6208a492b7d Filesystem access.
repo/codex-rs/core/src/turn_metadata_tests.rs:96
    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 #3375ec98ae0b4530 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 #c919fceb887517d7 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 196 low-confidence finding(s)
low env_fs production #10871b9fd6ab80ff 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 #35bc26600afc1a3c 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 #ca0a7bc255b024ab 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 #00a463313a5a9046 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 #edcfe1bf99f0d285 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 #37ec78c439fbe6b6 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 #561e1952a9e064ed 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 #2c9d1b0294d3f39f 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 #d3eab6b06b3d33d9 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 #5a29ea5600e07cf7 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 #8b8f2af5c0596f91 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 #13e45ec2d7874dc7 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 #4f4d3da9161610df 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 #306363e5070e3935 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 #9087e4988ed9d6f3 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 env_fs production #0e8a3ab7a5994496 Filesystem access.
repo/codex-rs/core-plugins/src/loader_tests.rs:517
    fs::write(repo.path().join("marker.txt"), "benign").expect("write benign 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 #9513376d928656f6 Filesystem access.
repo/codex-rs/core-plugins/src/loader_tests.rs:523
    fs::write(repo.path().join("marker.txt"), "malicious").expect("write malicious 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 #c50ab4f1202423d2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manager.rs:838
                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 #adc9302feb20babe Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manager.rs:1490
            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 #9d4ceaf9906d4f9f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/manager.rs:1505
        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 #20a9164274d3735f Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:688
    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 #9b8792988f2efd6b Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:693
    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 #398cdb7c68da52b3 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:694
    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 #d70976bacf0189d4 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:2026
    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 #a3e64b02f0f8fe54 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:2767
    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 #9fcb75092354d168 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:2812
    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 #3a835eabe771bb5c Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:2947
    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 #13586e6a5eee65c8 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3000
    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 #45cd592f85748baf Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3009
    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 #0f4fb5e53d52520e Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3082
        &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 #6dd928e690209cb1 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3112
    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 #6b0841cfe1b82e43 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3168
    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 #9c6ab5d1c5dbe855 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3246
    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 #56b3b61057df7b5e Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3266
    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 #50c3943722dc0e6e Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3384
    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 #58732b2e595cfd9a Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3429
    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 #16ce08344876fa1f Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:3514
    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 #da6b700b8855a51d Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4227
    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 #fcb9b0edcaa39656 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4243
    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 #b8f3a862014a2193 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4465
    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 #074dbc5954bb534e Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4481
    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 #4edf664d9dfd28d4 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4635
    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 #650bc3282c9fe075 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4651
    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 #300991e7551d050b Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4657
    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 #73202b86ba7305d4 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4693
    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 #fec37187fc56a9a2 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4709
    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 #f907a2c2886666a2 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4741
    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 #1a37632cd359bda6 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4757
    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 #e13fc9e750f94716 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:4886
    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 #22730fc4266754d8 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:5797
    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 #d0e27bf92b6c0c71 Filesystem access.
repo/codex-rs/core-plugins/src/manager_tests.rs:5818
    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 #c42e218a0a543e77 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 #59b1e01c58d27edf 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 #16936f215e7ff9dc 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 #fcd7488403a57dcc 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 #8d8de9e902594d57 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 #f3a66cf6ed73f86a 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 #90708b63230c29f7 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 #169f70ec987d4e67 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 #afa9b96e0ba25d4d 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 #7f5d8699f6beed51 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 #bb70b7e859499a7f 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 #a461669e88c44816 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 #bb2557b03a21caab 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 #5b6a75a971f3cba1 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 #1d61a50ff1d4e34c 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 #ccca37fe0ca0eb4d 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 #8fcdb1b9d404d0cc 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 #7a6cbfdc51dab052 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 #1c14706cd19e9459 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 #f67818b1616e531c 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 #e1f7c1c9f91e5201 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 #6da32571980aa009 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 #334b25ac4b3b8a05 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 #50bfecdc622d9764 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 #9a7f560d34dda663 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 #8321738f0c0d4261 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 #1631b3d99e871bcf 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 #c1656562b91a0317 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 #23df9a9363cc1538 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 #2924a873c7f21f6e 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 #1f5968a66b7e8fa6 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 #ef2769f67225793d 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 #bc2c00e52107a732 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 #6f3224211f344d62 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 #09eb78433e40fcea 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 #03568df5fea016ab 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 #1b23e67c42b10405 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 #b21febd2581a357c 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 #12d71e6e784c6c82 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 #4e90f0315b14c0e3 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 #6be5d3a0214e0b98 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 #5afc03830764d21b 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 #3dfa944f5785d94c 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 #c9d79a418541d155 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 #b69564b9cdead96b 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 #e812bfe2710e612d 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 #6af869531c08a9bf 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 #5b65a1ce3c5c08f6 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 #9b2d7cd3b43e2f0c 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 #668b5292ef88e5ec 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 #e89991b2680eae25 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 #511651e63464a6a0 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 #494572e3973bf832 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 #f72fa8e909d871c1 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 #1e140f93b05b7d96 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 #6acbb56fc2879916 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 #357ead6c48ac09d3 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 #2ad9dacdb8633132 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 #ac603b9d6e2b969f 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 #f7215c20232cd74a 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 #dbd3d1c48558ce5c 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 #c04d0f9f3bcd09d5 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 #fd957c980b5a4c48 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 #0cc1bda36ce5480d 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 #30ffd5e23f208cea 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 #2893d5d94363c432 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 #256c9427e6fd9f4e 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 #05a7b3a51395671e 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 #b46a199517ad06d9 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 #5e375c3b33710bf0 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 #7f7a5dad8ecc6123 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 #d53196072d4cfb24 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 #4576ab3162882cd9 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 #0e6e47fc89a285e5 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 #ce4e0f7cc4869e1c 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 #bbfe3b1dcdf84144 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 #63c44a0beaa0df7f 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 #55da003395389653 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 #487fa2505db8eda0 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 #462ca52ebc7d8d10 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 #1248087d00061e64 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 #ae87c6761c7daed7 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 #15a13b3f79097894 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 #9abb8a425ec5709b 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 #64c62b3919d63dfa 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 #f06b472968e7cf85 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 #407d42ebe318e5db 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 #4201d62d457aec2d 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 #34d4b5b86b33fa5b 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 #3400cb0e4405cbca 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 #5d2933c91d949e88 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 #fb07bab3c8b72815 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/remote.rs:974
                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 #8ed324f8648e5949 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/remote.rs:1068
                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 telemetry production #c66479f3d8a474be Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-plugins/src/remote.rs:1908
    tracing::info!(
        operation = "plugins.remote_catalog.list",
        http.method = "GET",
        api.path = "ps/plugins/list",
        plugin.scope = scope.api_value(),
        plugin.collection = collection.unwrap_or_default(),
        "fetching remote plugin catalog"
    );

A telemetry/analytics SDK is 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 #7ac9bb418b081b32 Filesystem access.
repo/codex-rs/core-plugins/src/remote/catalog_cache.rs:85
    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 #5802e0644430ea85 Filesystem access.
repo/codex-rs/core-plugins/src/remote/catalog_cache_tests.rs:76
        &std::fs::read(&legacy_cache_path).expect("read refreshed legacy 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 #c7fb2080638a0f8d Filesystem access.
repo/codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs:524
        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 #e2ea085eb73587d7 Filesystem access.
repo/codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs:623
        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 #3eef53e75d17977a Filesystem access.
repo/codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs:696
        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 #babcba818b89792d Filesystem access.
repo/codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs:711
        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 #1802ef45025f2204 Filesystem access.
repo/codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs:723
        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 #492979857942827c Filesystem access.
repo/codex-rs/core-plugins/src/remote/share/checkout.rs:347
    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 #1603efcdd7219899 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 #f9a9215c056c0d49 Filesystem access.
repo/codex-rs/core-plugins/src/remote/share/tests.rs:40
    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 #dc587a5d97b90d4e Environment-variable access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:226
        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 #dbc89a06faabe143 Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:524
    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 #8772f449e0c0d0d7 Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:581
    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 #fa2fa528dfafdb0c Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:891
            &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 #383f8fce8d2842cf Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:908
            &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 #bda8589a277d51b8 Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:929
        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 #0face46916e93a58 Filesystem access.
repo/codex-rs/core-plugins/src/remote_bundle.rs:946
        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 #0ee586dde1923f8b Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:610
    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 #dfc504f3e948f977 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:872
    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 #61f9413aab3fe40f Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:924
    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 #d28f8499db13fcaf Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:936
    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 #635380c831afe7c8 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:1058
    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 #0564cd641482476f Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync.rs:1121
        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 #9c2396ff13692a7c Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:111
    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 #5685c35cd487a6c9 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:181
    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 #36d074dc153f80b0 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:347
    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 #71fcb5c2dc931f50 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:474
    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 #23f0d202f15bfdae Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:509
    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 #560f36bb9db523bc Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:514
    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 #c8b673301a11363b Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:552
    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 #12ee565440e9fec6 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:587
    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 #d6af112203d43a25 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:592
        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 #34d6aceeb6f01b3b Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:648
        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 #d9c3544f8eafb43b Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:688
    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 #eb0f55a67298d177 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:946
    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 #911dc9e22bc0bc4f Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:953
    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 #7c040d24406ea77c Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:1012
        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 #bde87acda99883cc Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:1052
    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 #288362246830e387 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:1053
    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 #832e2b849074d669 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:1070
    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 #3e327bffafb6a258 Filesystem access.
repo/codex-rs/core-plugins/src/startup_sync_tests.rs:1082
    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 #fdd95f5450a2cec2 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 #53517b84c6a91113 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 #a7dd4582c125d40d 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 #248a88481e535485 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 #517c1615053ff115 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 #08e9759a55407ab4 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 #f643e22cfd6e1654 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 #db86df929761c891 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 #809c7cdf11a8e53e 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 #e38c2d3925f1d7ca Filesystem access.
repo/codex-rs/core-plugins/src/test_support.rs:89
    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 52 low-confidence finding(s)
low telemetry production #a5acec3702b66ea6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:425
                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 #b60105a286ae6733 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:451
            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 #6d584caa6b26320e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:485
                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 #df3a74190e57b267 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:793
                    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 #bb2bd87d943d4443 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:808
            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 #c43f36444bbb609e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:822
                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 #322969f2029518d7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:963
        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 #13300fb56420bc8b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:979
                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 #0853477fbdb60f32 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:989
            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 #8191da328361ac59 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1011
        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 #09d8367c490b7f4e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1017
            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 #291d69f93fe7bda8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1149
        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 #8f3d6605171e6ced Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1153
        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 #215f37b74ab282ec Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1175
        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 #c421e732419bbc19 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader.rs:1182
        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 #d030bbf4c21a8ad3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader/environment.rs:270
                        tracing::warn!(
                            path = %metadata.path,
                            "ignoring invalid discovered skill 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 #6ec032ae3fcdfcb7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader/environment.rs:345
            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 #30b9ac3c5f4e1695 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader/environment.rs:362
            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 #43bd49e5de705d72 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/core-skills/src/loader/environment.rs:369
            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 #39088c8f1ea64750 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 #7ffa585c98819aaf 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 #89ec0becf03bad83 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 #5f3c6ff608f50873 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 #2e39326a2750cb1a 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 #51b9a4c4aa9aeda5 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 #16989856f136ccad 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 #482824f4728d3f6e 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 #1bde494e7a43a05c 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 #95b2dd29aea6741f 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 #92aa2b7b8927d5ad 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 #9edef4811d7fdfc1 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 #1d1fd1e1f5e6eaa5 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 #c72da1fb524b5a1f 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 #be819e6520305045 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 #6b12d99817a49003 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 #4a5da9d3904f1b0e 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 #2a2aad170695c908 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 #6c318d4b8add04bc 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 #d84617e8df0270b1 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 #831cb726173d8fd6 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 #6d3d1fa53b0382c9 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 #772f431d4dd3c72e 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 #72de05e3363cbb53 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 #d38b0bdc4f56e76f 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 #cdc3f60cb9a6e907 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 #9687ff9920216c0c 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 #0208fc3f4a389a14 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 #012d3f6ed44c678d 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 #96380165c11b10dd 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 #94c5fcf6346165b9 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 #4af707b16db0cf00 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 #51159542def02d04 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 #c6c6196bab0b922d 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 #f9d605eacececbe0 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 #13e1418f73726298 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 #23d4f5400481a136 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 #7708ed9e588caf5d Filesystem access.
repo/codex-rs/exec/src/lib.rs:1803
    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 #71e5cad7dc67345f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec/src/lib_tests.rs:70
        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 #883fcd86691724a7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec/src/lib_tests.rs:71
        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 #03baaa7f0ba4f77c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec/src/lib_tests.rs:72
        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 #2defaa56b1aa714d Filesystem access.
repo/codex-rs/exec/src/lib_tests.rs:532
    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 #71d5b585f251f9e9 Filesystem access.
repo/codex-rs/exec/src/lib_tests.rs:541
    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 17 low-confidence finding(s)
low env_fs production #8bccd2853a6b40e2 Filesystem access.
repo/codex-rs/exec-server/src/client.rs:1924
            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 #9fbddb04f76dc4c8 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 #f46325f1a6b29b8c 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 #55d9747384499f46 Environment-variable access.
repo/codex-rs/exec-server/src/environment.rs:554
    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 #f8ab1fe51f77423e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec-server/src/environment.rs:758
                    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 #39b6aaace0b9bea7 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 #d47b44deba2caf4d 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 #2abcc9e45d1c733b 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 #d65a23a8c843b05d 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 #9d1fe27cb062399b 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 #ba85475585bb8ef0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec-server/src/local_process.rs:995
        tracing::warn!("failed to shut down executor network proxy: {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 #a9da6f75371ac388 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/exec-server/src/server/handler.rs:141
        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 #ca4b8c85d612dcf0 Environment-variable access.
repo/codex-rs/exec-server/src/server/handler/tests.rs:46
    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 #875b67663f9bc671 Environment-variable access.
repo/codex-rs/exec-server/src/server/handler/tests.rs:73
    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 #f85d8891f057d8ff Environment-variable access.
repo/codex-rs/exec-server/src/server/processor.rs:602
        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 #365f7c9a63d1f398 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 #9683f50d5b761691 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 10 low-confidence finding(s)
low env_fs production #dc3e88a3542dd50c 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 #66cc01aa8d855366 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 #b67ec10d9bb5b24e 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 #2c6e334aa4ff6085 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 #789d21e27f34ea8e 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 #79cfde1686213af4 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 #1d9de1814ee8cb86 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 #bf5fdd35653d5c4b 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.

low env_fs production #1c30d43f6b6dbce2 Filesystem access.
repo/codex-rs/execpolicy/src/sandbox_migration_tests.rs:17
    std::fs::write(
        &policy_path,
        r#"prefix_rule(pattern=["git"], decision="allow")
prefix_rule(pattern=["git"], decision="prompt")
prefix_rule(pattern=["git"], decision="deny")
prefix_rule(pattern=["git", "status"], decision="allow")
prefix_rule(pattern=["CMD.EXE", "/K"], decision="allow")
prefix_rule(pattern=["PWSH", "-EC"], decision="allow")
prefix_rule(pattern=["PwSh", "-F"], decision="allow")
network_rule(host="api.github.com", protocol="https", 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 #c7cd71464f9819b6 Filesystem access.
repo/codex-rs/execpolicy/src/sandbox_migration_tests.rs:50
    std::fs::write(&policy_path, post_migration_policy).expect("write post-migration 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.

first-party (rust): codex-rs/ext/goal

rust first-party
expand_more 14 low-confidence finding(s)
low telemetry production #48966cbdf53725cf 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 #16b0945f94dff005 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 #29b7a17f19fa46d8 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 #c7cd4ac67fe0ad82 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 #1b221a3f9c9f5b72 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 #1df85076df9d55e6 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 #6de01334d9e571e4 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 #dde799ca7ac87373 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 #9a79b41126b81755 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 #3afb11bb98000090 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 #caa8cb67951446c3 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 #1deb4ab5903d5300 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 #4b5ff3add8878375 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 #4dbe2ffbda760481 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 #2e93a39886e6ccdf 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 13 low-confidence finding(s)
low telemetry production #5d3026dbf1b2cd61 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin.rs:80
                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 #4c7f29663cd7e1d7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin.rs:98
                    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 #b4d8415fdb4b4a98 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin.rs:107
                        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 #2f30d6d1c9f33e08 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin.rs:164
                            tracing::warn!(
                                selected_root = root.selected_root.id,
                                error,
                                "exec-server capability discovery 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 #c463bed8a953fc64 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin/discovery.rs:16
        tracing::warn!(
            selected_root = selected_root.id,
            warning,
            "exec-server capability discovery warning"
        );

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

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

low telemetry production #1c37629d3921a4c5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin/discovery.rs:23
        tracing::warn!(
            selected_root = selected_root.id,
            error,
            "exec-server capability discovery 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 #91e28ae82d0f8351 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin/discovery.rs:38
            tracing::warn!(
                selected_root = selected_root.id,
                path = %plugin_files.manifest.path,
                %error,
                "failed to parse exec-server-discovered plugin 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 #c6131cde45d9f5c6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin/discovery.rs:65
                tracing::warn!(
                    selected_root = selected_root.id,
                    path = %path,
                    "exec-server capability bundle omitted declared MCP 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 #398d2761d4f36a8d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin/discovery.rs:95
                    tracing::warn!(
                        selected_root = selected_root.id,
                        path = %path,
                        "exec-server capability bundle omitted declared connector 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 #0d79a88003fde016 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin/discovery.rs:106
                tracing::warn!(
                    selected_root = selected_root.id,
                    path = %file.path,
                    %error,
                    "failed to parse exec-server-discovered connector 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 #4024048fcb298cb4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin/discovery.rs:137
            tracing::warn!(
                selected_root = selected_root.id,
                %error,
                "failed to parse exec-server-discovered MCP 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 #ec3bb07a111f2537 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/mcp/src/executor_plugin/discovery.rs:146
        tracing::warn!(
            selected_root = selected_root.id,
            server = error.name,
            error = error.message,
            "ignoring invalid exec-server-discovered 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.

low telemetry production #7c8af7d250315ed2 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 #c5bbcf44e1044341 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 3 low-confidence finding(s)
low env_fs production #2d751af8a103f255 Filesystem access.
repo/codex-rs/ext/skills/src/provider/host_tests.rs:28
    std::fs::write(
        &skill_path,
        "---\nname: demo\ndescription: Demo skill.\n---\n# Demo\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 #1c65b3227e7f2057 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/ext/skills/src/shadow_selection_experiment.rs:112
            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 #d9eb8b899121d4fa 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 #30d52518d399de17 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 #6dcc011c253eb08f 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 #93cb975ed8fd2343 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 #3877eb37eec6133d 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 #054dd4c6a27536fb 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 #442f39fb15dde732 Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cla.rs:295
            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 #0c6f0a0c00fca0da Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cla.rs:360
        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 #816be47563fb8765 Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cla.rs:395
        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 #e9ebd12cc7a3db19 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 #52c0ea3cf35acdb5 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 #4013a3ccc07a28ff 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 #0a6af5e4c7ee7472 Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cur_tests.rs:228
    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 #42e0b8d1216604a9 Filesystem access.
repo/codex-rs/external-agent-migration/src/detect/sessions/cur_tests.rs:261
    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 #3fa43d0b3ab063cb 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 #f351f147f96ec627 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 #4ce218f082afcc73 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 #46c7cb5fc56c4d64 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 #96d9acfde5105ea2 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 #456fc19e287e94c0 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 #6c0dc855f71404e8 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 #7f84d101ebfa7814 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 #8ca80aa5a8c46971 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 #d5c68a9e26d72399 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 #ae859989842e104a 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 #37206cf77c59b186 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 #9318e72558aca999 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 #6155c3361f362874 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 #3812c2c8ab677fd7 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 #41ca0b2b9623dd26 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:500
    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 #6076dc4da5978e2e Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:528
    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 #cf6ffb66ada454d7 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:541
    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 #7be0a9210037d3ae Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:740
    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 #1c38d863cbd72a27 Filesystem access.
repo/codex-rs/external-agent-migration/src/lib_tests.rs:741
    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 #6dedf232fd06f6c2 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 #da9d62e9bfaac470 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 #33da814b7978bea2 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 #b7a7fb2c98f6c28b 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 #85c9aa37969ae548 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 #19fc229fd2afc4ba 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 #ad894ce0541f892d 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 #75f5a973f792e7ac 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 #c314ca914f40e953 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 #c47adccd18683b3b 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 #7675013a196092a6 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 #52a350b0e911210c 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 #c2138bbba4bb7c8f 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 #be918679c2a4c3d4 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 #67b09ad12e8c7d90 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 #7cf2c2c9ae505d7e 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 #cb4a4d016f289481 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 #1fd8443faafab910 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 #1066f51900ce84f0 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 #b0f2d8f6386bf675 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 #09fe52f87095098c 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 #a3a8d054d3094747 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 #ef3d2f9db1f64480 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 #f604159a69d9a9ad 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 #ebeae48879ded7d5 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 #d7b27df471d720b3 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 #4fae98670602029e 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 #0b490c690297370c 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 #b0a9cc00cae46bdb 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 #25c69b6771cf4ee3 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 #00503c633ff10adf 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 #4fe8aa05041b5127 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 #44a7c7804e1b73b2 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 #b1855d4f466402fb 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 #a372d1a944f0f025 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 #fb8221a973b69eac 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 #156675ef84c4b288 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 #637a5abb878dec1a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/external-agent-migration/src/service.rs:471
                    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 #31419399f07010b8 Filesystem access.
repo/codex-rs/external-agent-migration/src/service.rs:525
        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 #a7a146e37b000960 Filesystem access.
repo/codex-rs/external-agent-migration/src/service.rs:569
        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 #1f0bc90717578dee Filesystem access.
repo/codex-rs/external-agent-migration/src/service.rs:725
        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 #8863dccf92394ec4 Environment-variable access.
repo/codex-rs/external-agent-migration/src/service.rs:734
    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 #66a680ab2a09cf10 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 #847eb198232cf090 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 #c68d5fe566a8b4a0 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 #fe8c8006ad9ef22b 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 #cc4969cf56a00d48 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 #912cbfc85e2500be 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 #e076188d19948f3c 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 #880a8172d4bab995 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 #357824b0d510bb6e 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 #81a383118f4423a8 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 #22c8a4ca6832fa17 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 #279019c74c651fdd 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 #568c6b481fc22f82 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 #c4c0b9d0c496bd6c 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 #8bd2f7db74c0028e 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 #a03b5e9b1ae06e1a 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 #bd6181fe3f387c99 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 #716e3e012b09c35a 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 #cb7980d31ab53b88 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 #c793241a15c0cd3f 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 #96d4702f517d85af 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 #dca05d059f26d339 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 #8eac9f7056b6d147 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 #1e54f25f1f0a4f13 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 #5ae14133cde60b5f 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 #f318b85a598ffe3a 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 #101b384b7f6ceb58 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 #65d8be5aea3be3d5 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 #ac72a3da16275e24 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 #8ab4527308329820 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 #0877053ac2a847ad 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 #011fbd420a8b59fa 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 #bc9dca3e23f48a16 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 #63edac551cbe2ac7 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 #d16b2b6073591027 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 #04e321eb4feb13f6 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 #162fd038fdf9dbe4 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 #8d0f71153e69dbef 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 #f88a7b101864b7f8 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 #b73715db1faa72fb 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 #26d9b651871051b1 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 #f733816c784fd305 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 #43da8d42ae58f0a5 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 #ed0234968907e41e 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 #1c17f184b0e077ec 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 #c4505ffe14fb494a 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 #1dea5ac390ce600c 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 #ac6309cfab4af1b8 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 #6e788fed28585312 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 #55a57c64bb20c2c6 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 #97d09c8569810b3d 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 #1f44404354b42246 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 #77ec91b0fd258a9f 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 #23157a6031daeefc 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 #0e82ebf5c600ca4e 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 #e294120412d50f40 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 #3adf154234199ca2 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 #5cae107a53cc5ff7 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 #c13d35d23f5ec792 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 #b451d3b150a23245 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 #d12a4055b81d1070 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 #d03bcf30e45391a7 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 #fab6f2047c368df3 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 #fb56b1d5f66d0ebb 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 #636c41472daecbef 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 #14d1715edad426a6 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 #e97be2940292d148 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 #31c05cbf0ae7ab46 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 #6fa2fe3df4566d18 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 #d01774588e3ef534 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 #c58ee09c46706e89 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 #346ee04495b3caef 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 #a9a247e8d1e4adbe 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 #a7bb4ddd3e89380a 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 #746dc3d673053784 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 #f14ec29e12a73b33 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 #bc3be4940b607067 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 #0d4e2e95bfe45475 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 #920ce66d02928dba 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 #73016099f1ff0bbf 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 #0815e550b5b3060c 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 #cb62286ce6d4c415 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 #b58d2a9fe33a28c4 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 #a7e896460bf5eb5a 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 #9858695d71f807d0 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 #a5eddded7907abf5 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 #5fc1366635145b04 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 #f6cf0776e0410e96 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 #2308e6b464c97bf0 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 #1376e35ca5967b04 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 #990a20ee180de693 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 #0811ec873e4e9d4f 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 #d708ea09a057bdf8 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 #291af8940ace5c91 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 #d214741ea8723b02 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 #e817249ac3350e9d 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 #70ffe95a09c4e9fc 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 #f7196f8a492772e4 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 #553adf87a7ba61f8 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 #4460128010d6e4cb 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 #65b18a33f87314df 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 #f5506b5fd59f5144 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 #d7c3de53b0968bed 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 #f477ac9fab9e64ef 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 #94723ba2fd51601a 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 #774f090bbb78b561 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 #2d62e7bd0ef4cdad 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 #e948793171838086 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 #c31982891ba2ec1a 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 #5315f7dc28b52588 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 #d2043488a59bba51 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 #5189b69c650fb8d2 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 #b267cf374c2892db 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 #5511997b5ae12912 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 #b1e2caf98b962986 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 #5ae0488969642d7d 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 #d6ba09dbcfd548ed 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 #4e3ba89a4a05b67d 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 #2fd5a5e7b37bdc1c 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 #4563367cd3d1a378 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 #5db1f114ac9a4e4e 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 #c9717e311f821a4f 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 #3d979ed5d563e7d4 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 #73938543c50f4ca6 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 #8ebf335a15c560a0 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 #983f5b11c6b923dc 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 #2f2180c12a773260 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 #920be88b7f79f240 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 #10090ab05a8c67e6 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 #03d58f1997fbbbd6 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 #9f2e02aa06303536 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 #ef0e90392900c44a 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 #ea894c9f413f9c1c 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 #c0d6f0986b372d6b 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 #fc7c8188c96fc294 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 #63c3f7aba2562d15 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 #b1550db35e00e312 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 #0c9a2706564b9b5a 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 #80e87a1ad568183e 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 #430595b918a7abc0 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 #ef3d6771b3019344 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 #58cec34197aa5538 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 #5fd2c021510f229a 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 #5e3f2b0b02eae6f3 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 #493160398b2b06ff 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 #9a1ff3ea66a5ab4c 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 #50dad6dbf92e3cb6 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 #7a566049f7f8f350 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 #4231257a6d7deee2 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 #cbb8323030d3ca62 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 #f0eb00a74665fcca 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 #69fbd0e7c1c95861 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 #fb26e3452abee801 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 #980cfb65d137694e 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 #66a7cf812c470f69 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 #4566fdd572bf451f 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 #6aee2046b06bceac 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 #f153d5b23fcccd51 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 #dd9d95aa71fa77aa 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 #f7bd65ffd84a2eed 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 #d46f4a5e279ace23 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 #5d8c07e3d65a051c 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 #23d3716b1b317edb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/features/src/lib.rs:527
                    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 9 low-confidence finding(s)
low env_fs production #85ec030a68d4c194 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 #e75c8e199c2fb70c 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 #67679ca6ad469820 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 #22995ec60b194066 Filesystem access.
repo/codex-rs/feedback/src/lib.rs:574
            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 #79293b327178843e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/feedback/src/lib.rs:577
                    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 #b0bd152a89e26a6e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/feedback/src/lib.rs:745
        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 #339d772d40888f58 Filesystem access.
repo/codex-rs/feedback/src/lib.rs:760
        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 #5151bd8b03a6302b Filesystem access.
repo/codex-rs/feedback/src/lib.rs:836
        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 #c08f6c1fb30205a1 Filesystem access.
repo/codex-rs/feedback/src/lib.rs:837
        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 #25e9336d4cd5e8cd 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 #f0d3aa7579f87d2a 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 #e75ba976c353ff12 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 #ec7ede3af9fe86b5 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 #c5e1b6e8d52e2299 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 #67c6d2aecb9172af 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 #cae1e2ec5a60651e 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 #efdb5ecea2590f27 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 #0dd5fd0f72cbca43 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 #3fe636a729b87c48 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 #fd38285831c50662 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 #3914ac5480179283 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 #75b9388a393b3eaf 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 #88fa071b46e356ff 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 #69aac1c1db7e370d 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 #96b7e6c7172e48ab 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 #5263b7227e5eb892 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 #1bf2edf09f11dc31 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 #2eea9302f137bdf6 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 #22d7cf63da0cab5c 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 #7629f14b63e1e64b 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 33 low-confidence finding(s)
low env_fs production #173841d0ec52d2d2 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 #4678b6198e81a1ca 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 #9881ed5bd494d691 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 #dc92aa0482b523bd 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 #f351dce9db0c5550 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 #1bf7dc823806c3cd 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 #5b8419885ba79938 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 #f5c78c4f2292c750 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 #6521af6641872f60 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 #ee39505481597805 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 #295c00d1f1e54160 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 #7f213088b7047075 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 #b97245ed7efb4daa 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 #d52cacac2378c93a 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 #8f28ae3617fb589d 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 #a94ed02c4883daf2 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 #925183d1fa913cbc 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 #45c52b5eb48491ec 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 #02c9bd5135d618de 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 #aacd2b456835ac28 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 #2cb4eaaaf48fbfe8 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 #06af42267d86e8cc 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 #97edfdebbb35349f 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 #2ba8b704ae49b1a2 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 #71209d3aed616f31 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 #f16e3b6d274f2ef2 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 #eda4631cca1d8943 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 #34ba5a64d3b3b8af 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 #f0c3367b71b0056a 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 #306f6a02fa249ac1 Environment-variable access.
repo/codex-rs/git-utils/src/info.rs:913
        if std::env::var_os(CHILD_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 #8665c51658d6ab17 Filesystem access.
repo/codex-rs/git-utils/src/info.rs:1043
        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 #ab1c7369beec5411 Filesystem access.
repo/codex-rs/git-utils/src/info.rs:1108
        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 #10ba439bb1551bd6 Filesystem access.
repo/codex-rs/git-utils/src/info.rs:1167
        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 15 low-confidence finding(s)
low env_fs production #5b7b3867c89899e2 Environment-variable access.
repo/codex-rs/hooks/src/engine/command_runner.rs:196
        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 #fecc98123f2cbe0c Environment-variable access.
repo/codex-rs/hooks/src/engine/command_runner.rs:204
        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 #255d2c9de4d18cd3 Filesystem access.
repo/codex-rs/hooks/src/engine/command_runner_tests.rs:20
    fs::write(
        &hook_path,
        "@echo off\r\nif not \"%~1\"==\"notify\" exit /B 7\r\necho hook-ran\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.

low env_fs production #7ad2497bb900a53f Environment-variable access.
repo/codex-rs/hooks/src/engine/command_runner_tests.rs:45
            program: 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 #c848a33cc12b8250 Filesystem access.
repo/codex-rs/hooks/src/engine/discovery.rs:316
    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 #c4ce4ce416aa09b7 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:150
    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 #49d27b3a6e022975 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:262
    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 #e1a4d321019956e1 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:842
    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 #9c95750d92ef8515 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:1031
    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 #9100aa064ba923c0 Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:1152
    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 #d7db6bd349f76c6b Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:1241
    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 #e8f91b6b8c0018ea Filesystem access.
repo/codex-rs/hooks/src/engine/mod_tests.rs:1300
    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 #a4f250c87f01e7b3 Filesystem access.
repo/codex-rs/hooks/src/output_spill.rs:85
        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 #6ff6abb3dcd74cc0 Filesystem access.
repo/codex-rs/hooks/src/schema.rs:704
    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 #9d5ffe6a3c155aaa Filesystem access.
repo/codex-rs/hooks/src/schema.rs:1013
            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 24 low-confidence finding(s)
low env_fs production #e3a3b07adfed6552 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 #5129089ba794c026 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 #021879c54699e608 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 telemetry production #8a2df9da2b978040 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/client.rs:120
            tracing::debug!(
                method = %method,
                url = %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 #61bb4c56a021321f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/client.rs:133
            tracing::debug!(
                method = %method,
                url = %url,
                status = error.status().map(|status| status.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 telemetry production #f64a2e2c9a81a63c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/client.rs:144
            tracing::debug!(
                method = %method,
                url = %url,
                status = error.status().map(|status| status.as_u16()),
                is_timeout = error.is_timeout(),
                is_connect = error.is_connect(),
                "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 #1c6a48071397fcb9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/client.rs:252
                    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 #d03318c52830c40c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/client.rs:267
                    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 telemetry production #73896438dac7e76f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/client_builder.rs:211
                tracing::warn!(error = %error, "failed to build HTTP client with custom CA");

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

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

low telemetry production #58e60b752c6076ba Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/client_builder.rs:216
                        tracing::warn!(
                            error = %fallback_error,
                            "failed to build fallback HTTP 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 env_fs production #969608ac86df2085 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 #8ff3247d57d7526a 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 #6b2924dc29325ae2 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 env_fs production #21ee76da4c033419 Environment-variable access.
repo/codex-rs/http-client/src/outbound_proxy.rs:797
        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 #20ddb7c690cab00d Environment-variable access.
repo/codex-rs/http-client/src/outbound_proxy.rs:803
    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 #fb0df58c5424834b Environment-variable access.
repo/codex-rs/http-client/src/outbound_proxy.rs:804
        .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 #ce042b21bd0dfe05 Hardcoded external endpoint. Review what data is sent to this destination.
repo/codex-rs/http-client/src/outbound_proxy_redirect_coverage_tests.rs:67
        pool.get(initial_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 #5502779c38a7d96a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/outbound_proxy_redirect_coverage_tests.rs:103
    tracing::debug!(target: "codex_http_client", "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 egress production #c75bce6ec1fdfe54 Hardcoded external endpoint. Review what data is sent to this destination.
repo/codex-rs/http-client/src/outbound_proxy_tests.rs:323
    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 egress production #c1fd7fcbe6242c21 Hardcoded external endpoint. Review what data is sent to this destination.
repo/codex-rs/http-client/src/outbound_proxy_tests.rs:382
    let response = tokio::time::timeout(Duration::from_secs(2), pool.get(request_url).send())

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 #e3137f0b4ec56603 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/outbound_proxy_tests.rs:425
    tracing::debug!(target: "codex_http_client", "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 telemetry production #b54adcf3ccb769b0 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.

low egress production #a4f93a8db3ec8825 Hardcoded external endpoint. Review what data is sent to this destination.
repo/codex-rs/http-client/src/route_aware_client_pool_tests.rs:26
    let request = pool.get(
        "https://username:[email protected]/secret-path?sig=query-secret#fragment-secret",
    );

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 #602895ac2055c2c3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/http-client/src/route_aware_client_pool_tests.rs:351
    tracing::debug!(target: "codex_http_client", "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.

first-party (rust): codex-rs/install-context

rust first-party
expand_more 23 low-confidence finding(s)
low env_fs production #e64d0caf5b78b1dc 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 #7f3154ecfcd6b9a6 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 #566f0f9ac72e732e 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 #5b7e81a694494608 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 #559fe3a199a963e3 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 #143311be43e784ab 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 #d9b5fa4f11c0e1b5 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 #c3289b61eeb079b3 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 #754e7aa3af26cb5f 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 #b0dfad134d929677 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 #2f52260f560f2f58 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 #eac989646a921a72 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 #a43c6e26accd78f7 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 #1ce6ce41676fb516 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 #b5039c9c188debf3 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 #7fb3f37cb06f9bb5 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 #91e0c5c3e7f1c154 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 #67ab437477bf7974 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 #1119dd6811512d14 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 #5cc8df7f2cec1c4e 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 #71cdaa71723a398a 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 #c6fe64628574aed4 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 #6aea70fc16e4c081 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 #8a377ecff0fb0b3d 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 #8902647f936afb2c 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 #61d7b40eeaf1fcb3 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 #4add4d5553462a3f 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 #57d572d2daec9074 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 #284976d9a7420172 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 #c7e5d3793f038cca 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 #3ca918a13f8b2db0 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 #9f7164b0862388dd 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 #3b9b1b99e73bb6f9 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 #c88f0248a32b31f1 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 #e94546d4db49b8b9 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 #d2d1bc6af0ce8219 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 #07025a11f9a896f1 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 #13c24f418faa34a3 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 #5847b4737f5f4cba Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:1423
        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 #613f379f540d12ed Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:1756
        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 #6391a5534f99a7ec Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:1805
        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 #057342a68ff1fb30 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:1851
        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 #45af62a5755a9add Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2388
        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 #5e01abbb8d774d5b Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2573
        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 #ded2f33e27a9bf7b Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2619
        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 #c08217e1beca7c65 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2620
        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 #0ab069a4d576f677 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2621
        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 #e703f416ddc20ec5 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2622
        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 #971824578d85f9c7 Filesystem access.
repo/codex-rs/linux-sandbox/src/bwrap.rs:2653
        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 #da957dafd4461532 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main.rs:903
                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 #852ca8a378b73f59 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main.rs:936
                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 #025e84aec9fd5505 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main.rs:962
        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 #4d1f05b0e917ca27 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:300
    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 #edf0a1465155a3ab Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:302
    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 #b224583e2a2a9f1e Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:336
    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 #ae1662767ef63645 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:341
    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 #9c9a8c5e0e29a63f Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:360
    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 #8cb97124c0010fc3 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:362
    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 #0423dd7aa01dd7bd Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:381
    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 #64551613432bd0f1 Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:419
    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 #b626420eefb0afae Filesystem access.
repo/codex-rs/linux-sandbox/src/linux_run_main_tests.rs:420
    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 #88dc1fee390a0078 Environment-variable access.
repo/codex-rs/linux-sandbox/src/proxy_routing.rs:79
    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 #938108d343982e4c Environment-variable access.
repo/codex-rs/linux-sandbox/src/proxy_routing.rs:173
        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 #be07b22499e52dd9 Environment-variable access.
repo/codex-rs/linux-sandbox/src/proxy_routing.rs:330
    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 #9fac2e608c03a11b Filesystem access.
repo/codex-rs/linux-sandbox/src/proxy_routing.rs:853
        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 18 low-confidence finding(s)
low telemetry production #0f9d5e9a855ee024 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:89
            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 #ae166658a9d64443 Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:148
                    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 #50727cef2ef8d757 Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:152
                    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 #e2299297bfe1dc2f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:193
        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 #89d3061c29ec288a Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:222
        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 #a32e5f5363ae84c0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:223
            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 #4d4fb4e6846f466d Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:254
        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 #97e9c9f220a04d53 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:255
            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 #e3fb920a35e2efbc Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:285
        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 #6aefd82b29904682 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:286
            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 #5c0027f29fa01dc3 Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:313
        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 #81cd7a6677942ebb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:314
            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 #b718af9fb7f5d539 Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:337
        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 #345572b23311ba2f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:338
            tracing::info!(
                "{} is set; skipping test_check_server_allows_slow_response_after_connect",
                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 #385be3f81f661a2c Environment-variable access.
repo/codex-rs/lmstudio/src/client.rs:364
        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 #38f9dff3fa30aae3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/lmstudio/src/client.rs:365
            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 #d77e328faa500ca9 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 #9691af8642e0cd1c 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 51 low-confidence finding(s)
low telemetry production #501096719345bd2e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/agent_identity.rs:289
                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 #0a333ad86b95e3db 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 #8ec270abcb2a35a9 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 #f67befe602818594 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 #e6b359218be13324 Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:1165
        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 #c2029e99a5faae49 Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:1170
            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 #7821790704af81c6 Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:1191
            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 #04be06fe76774d9a Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:1229
            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 #a3cb2a20c6ff835d Filesystem access.
repo/codex-rs/login/src/auth/auth_tests.rs:1295
    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 #9b38310ecac9772e Environment-variable access.
repo/codex-rs/login/src/auth/auth_tests.rs:1362
        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 #f239a44974507793 Environment-variable access.
repo/codex-rs/login/src/auth/auth_tests.rs:1370
        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 #04533cd2075c9ac3 Environment-variable access.
repo/codex-rs/login/src/auth/default_client.rs:64
    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 #1ed383efb6ce7b44 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:75
            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 #2ce391f0f787b515 Environment-variable access.
repo/codex-rs/login/src/auth/default_client.rs:114
    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 #ad0b9fb7e0932cf4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:143
            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 #2d087b8e0473d00f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:200
        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 #83b3bf849f56fa70 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:205
        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 #943cfd9a3ace3a6a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client.rs:210
        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 env_fs production #06468001fe333144 Environment-variable access.
repo/codex-rs/login/src/auth/default_client.rs:340
    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 #632f70bdeb63c4c7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/default_client_tests.rs:215
    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 #7e9cb518f1601ef2 Environment-variable access.
repo/codex-rs/login/src/auth/manager.rs:843
    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 #94093761e8332204 Environment-variable access.
repo/codex-rs/login/src/auth/manager.rs:858
    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 #fbbea7884b5260ef Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:892
            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 #ec8d7dd17fdc1af6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:897
        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 #1ab085bd0aa4122e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:1365
        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 #cf85bb84f2145971 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:1390
        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 #13f391354f7b6250 Environment-variable access.
repo/codex-rs/login/src/auth/manager.rs:1451
    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 #5e5e7d1ac2eee08a Environment-variable access.
repo/codex-rs/login/src/auth/manager.rs:1458
    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 #f10f6f972852540a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2039
            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 #2de2defeb6b0da35 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2074
                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 #ee8e924315d7e1fb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2110
        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 #dfd2d53363472054 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2122
                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 #320762c5cec3b2af Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2132
            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 #f7c18f3e56c4b1bc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2138
        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 #8bb5d96120d42569 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2206
                    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 #814d1efe7b9b1ab5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2237
            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 #8086b1bb173e1d70 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2395
                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 #12cc667c34511a65 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2422
        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 #af166a227a0e5b4d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/login/src/auth/manager.rs:2483
            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 #6a20cf45b95800d8 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 #b1cc1bd71717c44f 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 #12bea533a5b2cf32 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 #162b0008976b16ea 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 #5a0784e1ab68cde5 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 #5ebd8f38b673242a 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 #1467c2b1925d9c0a 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 #e53f06469234a6ab 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 #bebd5cc4b6434104 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 #9a8fe0d3b42e4c55 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 #9ae51c6a88970b92 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 #9d15514a3ff64c20 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 #47d988477fe8d5e4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/codex_tool_runner.rs:125
        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 #92f526e8db002221 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/codex_tool_runner.rs:173
        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 #761f52af2ec71d9d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/codex_tool_runner.rs:326
                        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 #31f45bb732d516fe Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:183
        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 #4211ef7f8acffe58 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:206
                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 #918c88c0be3e2362 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:212
        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 #268f5730d099514d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:220
        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 #93bdea0524d63580 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:295
        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 #e2657b834e0104bc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:300
        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 #243c32843cc08e91 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:304
        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 #cd4bf3b8cf9a725c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:308
        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 #0fe5069aa771aa24 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:312
        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 #a41e8bf415138320 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:316
        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 #726cfb7c9b12390b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:320
        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 #8b2e23939be833d0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:324
        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 #e883295ebaeabcb1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:346
        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 #2f6e5409487dd8fb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:428
        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 #63a3182e6218c977 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:435
                    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 #e3dcd371494cb4e5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:444
                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 #de55ca504b957a7d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:458
                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 #9a8cccf63f8801b7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:474
                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 #0033af0597b05cdd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:506
        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 #04b4041b53ccc205 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:510
        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 #bc8702a0e6a4bb1b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:541
                    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 #5eae3b18ebafcea2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:546
        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 #247616cac73e9619 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:552
                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 #dc8cf408e88ad55c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:567
            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 #0a4dc479472e3fce Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:578
        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 #dea850a8425d5746 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:582
        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 #3439446ca072b8a9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/mcp-server/src/message_processor.rs:586
        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 #ebb3104bd8125586 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 #cc50259fc200627d 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 #5456d4c4d7c164b6 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 #fb60e179ec64f3bc 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 #0f0447f0bb735bcc 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 #4e7a9ab3666c0e1f 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 #097bee3359b72109 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 #1faa59be4f3f7c7b 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 #4a9f4a5dfa042ea0 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 #3cb960c46cbbed18 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:413
                        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 #38797dd574aeda84 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:433
                        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 #b32be42749e853fe Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:439
                        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 #c6a8880c4f5def06 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:452
                        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 #c10794172f956e40 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/phase2.rs:464
                        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 #cf72b542a1a8d4e0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/memories/write/src/runtime.rs:349
                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 #80eadc113e8ea688 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 #93c18a68324eaf40 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 #9fc832710a596ca4 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 #6a930759598c80b5 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 12 low-confidence finding(s)
low env_fs production #8c6f467a87071d79 Filesystem access.
repo/codex-rs/message-history/src/batch_tests.rs:19
    let mut file = File::create(home.path().join(HISTORY_FILENAME)).expect("create 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 #a1caf4a485910059 Filesystem access.
repo/codex-rs/message-history/src/batch_tests.rs:160
    std::fs::write(home.path().join(HISTORY_FILENAME), contents).expect("write 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 telemetry production #5d5c832721901b1d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/message-history/src/lib.rs:363
            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 #3ead48b79160031b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/message-history/src/lib.rs:371
            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 #64d6cf72c5db00d5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/message-history/src/lib.rs:394
                            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 #44696f806aa429e1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/message-history/src/lib.rs:403
                                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 #d32e0508b6671ed3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/message-history/src/lib.rs:416
                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 #1e2d29c1cc98bde0 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 #5b3d0dc57dc1a8e4 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 #044260ac6ded61ab 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 #0d7b97816fe2b986 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 #73b6d31ae357a915 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 #d6c5eb287df112c2 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 #689f1289bf0890a5 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 #1a721dd903ee943a Environment-variable access.
repo/codex-rs/model-provider-info/src/lib.rs:231
                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 #5d6acadba7052ca5 Environment-variable access.
repo/codex-rs/model-provider-info/src/lib.rs:289
                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 #447f084288340523 Environment-variable access.
repo/codex-rs/model-provider-info/src/lib.rs:522
    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 #8d5980ebc7aa3ca4 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 #6d59d51939bf1636 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 #f0c8f7a8b0f57ad9 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 #0b6538934394a2bb Environment-variable access.
repo/codex-rs/network-proxy/src/certs.rs:175
        .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 #a2b791adb1ad379f Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:285
    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 #9efe2c9a4e5b28fa Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:328
    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 #0a0b07735e986b89 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:418
    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 #ee3e6c74ce84c685 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:421
    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 #3b27b70bcfcee834 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:451
    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 #948064b04101fc8d Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:496
    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 #4e3ff8e086304c75 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:583
            .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 #484cb3c3b57855d5 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:589
        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 #d4972e3a0e91b29c Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:751
    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 #16e796bcaec07fc0 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:768
    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 #6ac5cbfb186fd851 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:779
        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 #6155ab0faf4e1ae7 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:861
        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 #be3e2a5fc66d3bd1 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:891
        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 #8b1c9f9827589215 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:892
        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 #3c2b106c82399fe8 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:910
        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 #508f3926419d560f Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:935
        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 #deca8ff4d0a59426 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:936
        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 #4218290301106a08 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:942
        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 #bc140ba750c277a0 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:955
        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 #70e7622fdfc18800 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:977
        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 #a5ee898137a1f234 Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:978
        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 #73bc86eab403db4f Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:990
        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 #57ab8c46c29f0fae Filesystem access.
repo/codex-rs/network-proxy/src/certs.rs:1003
        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 #f8d26fc75ee197d4 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 #eaf16b3f5d1d2a98 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 #be090a3b80c2a0f1 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 #2df2e9ca77eb343b 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 #8f58b0bc56d90295 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 #c5b660daa453a0e7 Filesystem access.
repo/codex-rs/network-proxy/src/runtime.rs:2043
        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 #cfb5f8d2466e6932 Environment-variable access.
repo/codex-rs/network-proxy/src/upstream.rs:72
        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 #1dbce5cdeee6c551 Filesystem access.
repo/codex-rs/network-proxy/src/upstream_tests.rs:55
    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 #b3002586e032ab85 Filesystem access.
repo/codex-rs/network-proxy/src/upstream_tests.rs:56
    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 #a0caf0ae9fa4b963 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 #edb1b3a74e815d96 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 #8bd3f816f42f4677 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 #43a52c5632b788a4 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 #681cefc27c11d4f2 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 #965f6c6a76021249 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 #155fd48fae1e568e 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 #00e660da14b6cc05 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 #6dde690b33cfd65d 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 #f8553d79d1698a95 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 #1577f4cb1190f5bb 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 #754145763bc9b07a 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 #5add76e10ad8dfe8 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 #be62c588bc039d41 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 #957e531ffacb13a8 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 #995aa1637865b9bc 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 #94cdddf987a477c0 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 #937cdd667e03fb9d 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 #34de27ca3d5f66af 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 #81292077f221098a 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 #da57b793b22044ad 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 #4a82567761a57a90 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 #f854537e9f031c8b 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 #6b4bb09ed0ef6cc5 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 #14f024fecf375769 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 #28d7b4f6856942c2 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 27 low-confidence finding(s)
low env_fs production #e2b01673828aed0e Filesystem access.
repo/codex-rs/protocol/src/models.rs:1742
                        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 #2921b61c35dbc5eb Filesystem access.
repo/codex-rs/protocol/src/models.rs:1772
                        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 #18f658c20bb786ca Filesystem access.
repo/codex-rs/protocol/src/models.rs:3473
            std::fs::write(&audio_path, b"audio")?;

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

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

low env_fs production #029afb2fe031ba57 Filesystem access.
repo/codex-rs/protocol/src/models.rs:3509
        std::fs::write(&audio_path, b"audio")?;

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

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

low env_fs production #a2bed63ede3abb7b Filesystem access.
repo/codex-rs/protocol/src/models.rs:3749
        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 #ac3461f009c7995b Filesystem access.
repo/codex-rs/protocol/src/models.rs:3802
        std::fs::write(&local_path, b"audio")?;

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

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

low env_fs production #a2e0c316bfaf20bc Filesystem access.
repo/codex-rs/protocol/src/models.rs:3854
        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 #930babff3d05a66c Filesystem access.
repo/codex-rs/protocol/src/models.rs:3915
        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 #8ca81dfa36e523d3 Filesystem access.
repo/codex-rs/protocol/src/models.rs:3949
        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 #9e5355ecf5d182f7 Environment-variable access.
repo/codex-rs/protocol/src/permissions.rs:1517
            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 #ac2d97c471018e1e Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:1851
    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 #4d28059076f6b6c8 Environment-variable access.
repo/codex-rs/protocol/src/permissions.rs:2529
        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 #3fdf3a27eed14c66 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3209
        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 #08fdc93857f2935a Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3231
        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 #905231bc8fb01a7c Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3244
        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 #a63c53850c3b268a Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3261
        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 #52c3f12f1db011d2 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3279
        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 #3f5949a974cef82d Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3280
        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 #7e00aac6e4febb73 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3281
        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 #9c8af9407258d7bc Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3282
        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 #ebd465b3a804811d Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3302
        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 #78e171da1f408667 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3303
        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 #c82b8fd5e9d0b7eb Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3304
        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 #f9cd45322342ee4e Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3319
        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 #13af7ff82ed82449 Filesystem access.
repo/codex-rs/protocol/src/permissions.rs:3320
        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 #f62aff0b346ba569 Environment-variable access.
repo/codex-rs/protocol/src/protocol.rs:1229
                    && 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 #cd97b5d08a19274b 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 #613aa652c39e61af 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 #f2437eb82f165a16 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 #2169f16974612feb 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 #a43ecaa12e808b5f 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 #729276cc8a8c385d 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 #619416d7d930f845 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 #325ebc4204c0ab2d 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 #7c52bc2bb10b9cef 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 #a379c663f44aecf4 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 #a2f0b15fac41f8b7 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 #29a87729ae82d50e 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 #122b49439961b85e 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 #215df259bf179502 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 #5bad3e50a64baa27 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 #8cd1423f0ddeacb2 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 #2af2adb4b5b9b9c2 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 #8663d30fb21185a5 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 #60ba78d3108e45ec 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 #9166ffcf972af892 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 #f0c3a514222cad3f 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 #c3eb5dc85c7d8314 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 #df310e7bc12aee95 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 #bedc25b4880e6226 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 #95865c090119310e 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 #ab7754a260481daf 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 #780015a5185c14c4 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 #acf220542f2085d5 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 #6b4e2fb86be77531 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 #4b8ddbd71634963b 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 #0b1b2e4b753ad86d 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 #21283b0289c9e98f 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 #4872a5ba2f036be6 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 #5627ac59e257d5cd 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 #917ef3962833666f 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 #2ec773e5b0108117 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 #db670ee57c3c8fa3 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 #1a9c986a646e6709 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 #39cdf2eccaeaaa52 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 #ea9e3c1c2cb5d1e4 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 81 low-confidence finding(s)
low env_fs production #b552d63856dc95d7 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 #e541842ca40e7583 Filesystem access.
repo/codex-rs/rollout/src/compression.rs:729
        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 #7002b95de28f59a6 Filesystem access.
repo/codex-rs/rollout/src/compression.rs:737
        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 #b95c99d4482eadb8 Filesystem access.
repo/codex-rs/rollout/src/compression.rs:1018
                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 #13b00ac41cf46be8 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:57
    let mut contents = 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 #7f911ae0745f4e0b Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:59
    fs::write(&rollout_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 #cdd00ae36521d348 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:74
    let mut contents = 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 #5ce3afdafed42fd8 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:76
    fs::write(&rollout_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 #f11507d1293feedc Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:94
    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 #b7901aafc668842a Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:107
    fs::write(
        &rollout_path,
        format!("\nnot json\n{ignored_event}\n{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 #d6d45f6add280e3b Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:125
    fs::write(&rollout_path, format!("{response_item}\n{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 #92a210591dd04f58 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:154
    fs::write(&rollout_path, format!("{unknown_history_mode}\n{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 #89b564d24887be31 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:167
    fs::write(&rollout_path, "\nnot 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 #7be6b4e2c9fd6973 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:285
    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 #75619f3651265ac1 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:289
    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 #a7f2d03a57fac8a3 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:380
    fs::write(unreadable_path.as_path(), "{not 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 #d06224f769e42749 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:499
    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 #b5650acc215b1a84 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:513
    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 #7df79d60c920a817 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:514
    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 #db71e7926eb8c9a1 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:578
    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 #617a11de8693daa4 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:717
    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 #338a146cb76eb3e9 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:722
    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 env_fs production #7e28f04c569325cc Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:732
    fs::write(path, updated)?;

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

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

low env_fs production #e02bbe9cbc0eb059 Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:738
    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 #416fe5cd83df77ad Filesystem access.
repo/codex-rs/rollout/src/compression_tests.rs:739
    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 #2e2d040d7bae77b9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1369
                            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 #244df4a633fe41b7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1374
                            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 #def4c46a8147a447 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1384
                            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 #f6eea1c813daa55a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1392
                    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 #c5c9c360817f07a2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1396
                    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 #dcea3b69909f4c75 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1408
                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 #9a7a820a077944ce Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1429
            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 #d3c4b6fa022bf2f2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1473
        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 #4ee36132989681dd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/list.rs:1474
        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 #ae9ae9b243cf4a1c Filesystem access.
repo/codex-rs/rollout/src/metadata_tests.rs:71
    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 #309a77b6d33e81e9 Filesystem access.
repo/codex-rs/rollout/src/metadata_tests.rs:115
    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 #08a6a5c42d8c3909 Filesystem access.
repo/codex-rs/rollout/src/metadata_tests.rs:182
    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 #5e71b79f3ff99609 Filesystem access.
repo/codex-rs/rollout/src/metadata_tests.rs:493
    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 #611cb701708f587e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/recorder.rs:679
        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 #94ef658e65f7f449 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/recorder.rs:680
        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 #84276efc0d99373c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/rollout/src/recorder.rs:1021
        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 #15c92f1ba55ba63b 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 #7a47cd9ad4a9aadd 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 #cba3f76c81cff839 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 #ed60899a25785149 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 #7c9a6b23e45061e7 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:212
    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 #789fccf6ce0283ce Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:235
    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 #627dc72a966e8ed5 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:350
    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 #444433ea96230384 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:414
    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 #087dd50280f5f039 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:555
    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 #8c346f0ae5c66251 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:585
    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 #d6f5adc6438cea6d Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:615
    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 #ac8c734613f3a308 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:630
    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 #52837a00e3653613 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:639
    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 #61d6bbebab9a7918 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:680
    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 #589730c7f9448905 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:694
    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 #c1990344663844a8 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:708
    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 #1eabd6f69547c247 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:731
    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 #5a347a57f049593f Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:796
        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 #4504ada0befcf4d8 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:818
    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 #96eab63f6f955f29 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:862
    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 #7f2c2a8ddde78fe3 Filesystem access.
repo/codex-rs/rollout/src/recorder_tests.rs:1088
    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 #1b8ed0e17c74e70b Filesystem access.
repo/codex-rs/rollout/src/rollout_reference_index_tests.rs:143
    fs::write(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 #017d7b0208129d83 Filesystem access.
repo/codex-rs/rollout/src/rollout_reference_index_tests.rs:161
    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 #d0411bbb5e1cbbb5 Filesystem access.
repo/codex-rs/rollout/src/rollout_reference_index_tests.rs:162
    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 env_fs production #d280f752e05dd1aa 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 #b154572c2bf35fcc 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 #05eecb699caf9e84 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 #4d0afe34d7efb85f 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 #748f74bd73724721 Filesystem access.
repo/codex-rs/rollout/src/session_index_tests.rs:57
    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 #3f51d72f4b3a0a30 Filesystem access.
repo/codex-rs/rollout/src/session_index_tests.rs:134
    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 #f61c945577cbeca9 Filesystem access.
repo/codex-rs/rollout/src/session_index_tests.rs:254
    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 #6d63eb064c21492c Filesystem access.
repo/codex-rs/rollout/src/state_db_tests.rs:254
    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 #b65f14d250f396d9 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 #5dc013a0db2cb743 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 #b216622ed1c26f5d 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 #9e6428c00c60fad5 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 #8899c078d7b34c0f 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 #c3cf1f1fe0bc6611 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 #a106f0c612245946 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 #071572f3c986e390 Filesystem access.
repo/codex-rs/rollout/src/tests.rs:1321
    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 #d942fee08794b6b4 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 #a90cc53e312e49b3 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 #2735b5f513f75956 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 #69fbe9370f51c29c 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 #e21ec479a684f05e Filesystem access.
repo/codex-rs/rollout-trace/src/thread_tests.rs:212
    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 #4bd81fe58fd98e23 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 #d89035cdd5f4a815 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 #f53c87ea9cbb610a 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 #8d6cbd3bc39f85b1 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 #f63c3212713c0fe5 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 #16364b1eeb9e268b 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 #ef707c2910520560 Environment-variable access.
repo/codex-rs/sandboxing/src/manager.rs:658
    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 #33bee795aa0b6a5e Filesystem access.
repo/codex-rs/sandboxing/src/manager_tests.rs:478
    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 #4b984573ea11c9c7 Environment-variable access.
repo/codex-rs/sandboxing/src/policy_transforms.rs:394
                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 #8af3b3d8018c7f80 Filesystem access.
repo/codex-rs/sandboxing/src/seatbelt_tests.rs:1188
    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 #ccc19e096cdc8bd7 Filesystem access.
repo/codex-rs/sandboxing/src/seatbelt_tests.rs:1192
    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 #2a258c3f2f7bedc4 Environment-variable access.
repo/codex-rs/sandboxing/src/seatbelt_tests.rs:1338
    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 #1816d09be01fe30b Filesystem access.
repo/codex-rs/sandboxing/src/seatbelt_tests.rs:1429
    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 #70458f5e6aeb7a23 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 #28e36348daefdf9b 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 #f16d97bdb41f4dd3 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 #12b79e31a83c59d2 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 #30e894c012a5a422 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 #6ddd25b69655af38 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 #72ee7bfc5be5213e 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 #9ac2905669392dac 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 #578a6c6b6b8e748d 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 #53ba955408714692 Filesystem access.
repo/codex-rs/skills/src/lib.rs:65
    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 #72c0b28ed330db14 Filesystem access.
repo/codex-rs/skills/src/lib.rs:71
    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 #d43573458eb92378 Filesystem access.
repo/codex-rs/skills/src/lib.rs:133
                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 #050904f54b147128 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:609
            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 #5c8a7205a6c270e5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:611
        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 #5039de048e980bef Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:657
        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 #ea0b1a03850be387 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:695
        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 #e2ce7711e29c6a58 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:706
        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 #027bb8802741ba90 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/state/src/log_db.rs:745
        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 #594ec3623eb98979 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 #6eb7a44336ea96ca 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 #f2286e2e2230fab1 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 #ba96bf7554f244fd 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 #580b50fa4ecdce50 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 #24d4dfcd3281f15b 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 #baa0fa611a41075f 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 #4b10838620ad1e57 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 #8e5cfad92967ddb8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/thread-manager-sample/src/main.rs:92
        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 28 low-confidence finding(s)
low env_fs production #4ba8fe16b7c5bc69 Filesystem access.
repo/codex-rs/thread-store/src/local/delete_thread.rs:242
        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 env_fs production #a52fdb552b253420 Filesystem access.
repo/codex-rs/thread-store/src/local/delete_thread.rs:332
        std::fs::write(unreadable_path, "{not json}\n").expect("unreadable rollout metadata");

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

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

low env_fs production #3d32401ca3508e72 Filesystem access.
repo/codex-rs/thread-store/src/local/delete_thread.rs:483
            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 #7f8633175124cb09 Filesystem access.
repo/codex-rs/thread-store/src/local/delete_thread.rs:492
        std::fs::write(path, format!("{session_meta}\n")).expect("write 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 telemetry production #ee901db774704d77 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/thread-store/src/local/helpers.rs:180
            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 #9676252753a6f596 Filesystem access.
repo/codex-rs/thread-store/src/local/list_threads.rs:262
        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 #11df6bb211855c4a Filesystem access.
repo/codex-rs/thread-store/src/local/list_threads.rs:331
        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 #b80a3784917135e1 Filesystem access.
repo/codex-rs/thread-store/src/local/model_context.rs:103
        let file = File::open(segment.rollout_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 #6d19da8a2413ef4e Filesystem access.
repo/codex-rs/thread-store/src/local/model_context_tests.rs:399
    let contents = 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 #aef3f312467d1e66 Filesystem access.
repo/codex-rs/thread-store/src/local/model_context_tests.rs:411
    std::fs::write(path, updated).expect("write history 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 #7162dcd0a134fcb8 Filesystem access.
repo/codex-rs/thread-store/src/local/model_context_tests.rs:427
    let contents = std::fs::read(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 #4b3455ccf89bcc47 Filesystem access.
repo/codex-rs/thread-store/src/local/read_thread.rs:948
        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 #ae41ba3964a4ee3b Filesystem access.
repo/codex-rs/thread-store/src/local/read_thread.rs:1055
        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 #9528b3940290debe Filesystem access.
repo/codex-rs/thread-store/src/local/read_thread.rs:1221
        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 #1ca8d3ab67ae0e17 Filesystem access.
repo/codex-rs/thread-store/src/local/rollout_lineage_tests.rs:257
    fs::write(path.as_path(), format!("{}\n", lines.join("\n"))).expect("write 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 #9e310eafefe0a61d Filesystem access.
repo/codex-rs/thread-store/src/local/rollout_lineage_tests.rs:284
    let bytes = fs::read(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 #ae35a0238c4f7987 Filesystem access.
repo/codex-rs/thread-store/src/local/test_support.rs:92
    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 #02e9bd32c599d33f Filesystem access.
repo/codex-rs/thread-store/src/local/thread_history/read_tests.rs:566
    fs::write(
        path,
        format!(
            "{}\n",
            lines
                .iter()
                .map(|line| serde_json::to_string(line).expect("serialize rollout"))
                .collect::<Vec<_>>()
                .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 #a15a673877ab57f5 Filesystem access.
repo/codex-rs/thread-store/src/local/thread_history/read_tests.rs:600
    let bytes = fs::read(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 #60aa1e70ddd571dd Filesystem access.
repo/codex-rs/thread-store/src/local/thread_history_materialization_tests.rs:823
    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 #edcc8ca4fc89fe0c Filesystem access.
repo/codex-rs/thread-store/src/local/thread_history_materialization_tests.rs:872
    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 #71efa971fd497814 Filesystem access.
repo/codex-rs/thread-store/src/local/thread_history_materialization_tests.rs:1137
    let bytes = fs::read(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 #d73b9e2f7aa0ab64 Filesystem access.
repo/codex-rs/thread-store/src/local/update_thread_metadata.rs:901
        let original_rollout = std::fs::read_to_string(&rollout_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 #d2ec961e8f607be3 Filesystem access.
repo/codex-rs/thread-store/src/local/update_thread_metadata.rs:1010
        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 #9f85f3c83b749e35 Filesystem access.
repo/codex-rs/thread-store/src/local/update_thread_metadata.rs:1148
        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 #854c70e7e6bf0de4 Filesystem access.
repo/codex-rs/thread-store/src/local/update_thread_metadata.rs:1683
        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 #39812dd6dd72d5fb Filesystem access.
repo/codex-rs/thread-store/src/local/update_thread_metadata.rs:1684
        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 #c3f3cc33a9b09f61 Filesystem access.
repo/codex-rs/thread-store/src/local/update_thread_metadata.rs:2233
        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 #db5956603cb1a07f 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 #590eff695898e399 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 333 low-confidence finding(s)
low telemetry production #222d5481c100ac5b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:630
            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 #24d5220f50e833a0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:836
                    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 #f2e3ee6f4ea159e3 Environment-variable access.
repo/codex-rs/tui/src/app.rs:1116
                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 #7252a92787bc77b7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:1135
        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 #1bac7b863de6236d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:1247
            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 #3f03071cbdc1e0cb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:1259
                    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 #bf2065ecfac3cf82 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:1262
                    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 #e4d9b2ea32b23237 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app.rs:1397
            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 #7a7bd7a48dcd0711 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/agent_message_consolidation.rs:48
        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 #1a2260e221622299 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/agent_message_consolidation.rs:54
            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 #c64e615f6257248d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/agent_message_consolidation.rs:74
            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 #701f911e159210a0 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 #835e0143311408ac 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 #fab237992bcb0c6a 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 #6ee0c6e81dd35baf 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 #6099969342548d43 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 #8c8825d6829f8f89 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 #811798478ebc0512 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 #1634a43bab15f17b 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 #734cca7644dafcb3 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 #3b51a1e10983bfd8 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 #5fc9b760813fd815 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 #03fdeac3ba32142d 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 #64a1fec926ee949c 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 #e1ecbf6c5cdc5313 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 #388376f7d76b8bc4 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 #a92707b0b17c8c60 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 #7f6758e09b719d46 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 #1d157553786747ff 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 #2b7c3e379ca857eb 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 #63224833ad75c7ff 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 #e8a7af9baf95c564 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 #51d6bdfb2f2a5cf1 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 #a106bf366c82e751 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 #7c4775c3e85cf74d 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 #d54121dac8a7f346 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 #f1e64d76a5bf59a8 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 #65569a814c1ea4e1 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 #a3b2f16d74f9098d 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 #75aad887408c2c50 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 #15db52896e908518 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 #004e3d693cada496 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 #00cac345d4c66d2c 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 #b69d00b63f303aa4 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 #53ae114d61210088 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 #e9ad4161f4da4133 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 #a5c7004e6a7f1ee4 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 #1944413e27a473ea 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 #d7681e161811b16e 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 #578474ac40aa50a1 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 #6635cc5b831e21c9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:407
                    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 #759fe8ff3ccd5489 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:440
                    tracing::error!(error = ?err, "failed to start turn through 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 #b8f3d65ec2b50a40 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:471
                    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 #3171156f6b76f4d2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:953
                    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 #c2ed9ab235cc5aa2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1043
                    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 #60792c34e253ef93 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1061
                    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 #ccc20a13e9bc3355 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1140
                    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 #c5d6c945e38131ac Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1249
                    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 #2a02f88502d6a5aa Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1266
                            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 #4e6afedcb9b9fa82 Environment-variable access.
repo/codex-rs/tui/src/app/event_dispatch.rs:1280
                        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 #5ebcd69a2fcd3289 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1342
                                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 #09411b56607ba7aa Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1368
                    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 #13589f425963c905 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1385
                            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 #68a679f166d79de5 Environment-variable access.
repo/codex-rs/tui/src/app/event_dispatch.rs:1399
                        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 #0ce93bbc3c9cf73a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1420
                            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 #fa5175a9ed79902b Environment-variable access.
repo/codex-rs/tui/src/app/event_dispatch.rs:1450
                        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 #513dac653f9d9ffb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1515
                        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 #efdeedb57fa87c5c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1647
                            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 #76ed9ec9e6148cbd Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1677
                        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 #5bd015322a746be3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1687
                        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 #db3c59602ff897f8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1742
                        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 #b8de978957b56017 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1772
                        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 #c2aa62e258365be9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1824
                    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 #57f35846b3be7663 Environment-variable access.
repo/codex-rs/tui/src/app/event_dispatch.rs:1853
                            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 #174badfbe37995f9 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 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 #dbaeabb82aae40df Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1934
                    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 #dfbd61fbc49da623 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1949
                    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 #9774aba2a9a5e8d9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1974
                    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 #de0bdb5c9ea9ec13 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:1992
                    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 #75e64885035aa7c3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2222
                        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 #e69c85d9aae60f99 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2261
                        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 #7bd5319c9e70e0d0 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2300
                        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 #4459d7ba07fe49bf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2406
                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 #e14f2f6e4afe7ef1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2459
                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 #a57a0fed8bdd21d8 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/event_dispatch.rs:2490
                        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 #ebd4f99a81286756 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/input.rs:83
            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 #af335677a83137f6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/input.rs:215
                    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 #bff75b02bd8882e8 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 #4a49703666631b63 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 #dba5291c57d90187 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 #342e0dc2e95d8e3e 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 #43800bf80c31ec57 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 #98abbc2d9f0e28a1 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/session_lifecycle.rs:340
                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 #8d22f2b69b93672d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/session_lifecycle.rs:570
                    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 #b203119d54a8d4e7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/session_lifecycle.rs:633
                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 #8c5f889c0f89de5a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/session_lifecycle.rs:753
                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 #1e5de3f9b646bfd6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/session_lifecycle.rs:777
                    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 #ea26ef87e5a4951a 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 #6848637d84a964d6 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 #85deb6ad65ec3ea3 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 #b87ae643116b5b15 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/side.rs:623
                        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 #4e1bb92d8d34f7c6 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 #b50785b5b924be52 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:1832
            std::fs::write(rollout_path, format!("{session_meta_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 env_fs production #7e0a69498d5e2395 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2213
    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 #abd43eb8d915cc23 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2298
        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 #00cac3d3c97a5a00 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2299
        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 #b810bd5327e7390b Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2303
        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 #002b45337a7f1934 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2323
    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 #7ad7a91fb43048f3 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2495
    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 #0d12bb48211eabb8 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2512
    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 #eb4be35e922f3513 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2590
    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 #f954d97871ab4235 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2608
    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 #a544d807a49589e0 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2660
    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 #fbc1740eb420e3e2 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2677
    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 #a450dfbfc666c7fa Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:2724
    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 #d78381fa1dd6910a Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:3427
    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 #15ff7b49d8e5de8c Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:4908
    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 #13d171384c5924b3 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:5901
    std::fs::write(
        app.config.codex_home.join("config.toml"),
        "[tui]\nresume_cwd = \"current\"\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 #bb80b804d21bc0fe Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:5939
    std::fs::write(
        app.config.codex_home.join("config.toml"),
        "[tui]\nresume_cwd = \"current\"\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 #d71033c22a6a990f Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:5984
    std::fs::write(
        app.config.codex_home.join("config.toml"),
        "[tui]\nresume_cwd = \"session\"\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 #2a5025f3e612d190 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:6097
        std::fs::write(
            codex_home.join("config.toml"),
            format!("[tui]\nresume_cwd = \"{configured_mode}\"\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 #86e22f4fe0493821 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:6122
        let mut rollout_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 env_fs production #b3df0bbf4d614a6f Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:6127
        std::fs::write(
            &rollout_path,
            format!(
                "{}\n",
                rollout_lines
                    .into_iter()
                    .map(|line| line.to_string())
                    .collect::<Vec<_>>()
                    .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 #96f292e6206a9805 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:6270
        let mut rollout_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 env_fs production #4a0159b36d67ad25 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:6275
        std::fs::write(
            &rollout_path,
            format!(
                "{}\n",
                rollout_lines
                    .into_iter()
                    .map(|line| line.to_string())
                    .collect::<Vec<_>>()
                    .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 #551a75661e90b6ce Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:6344
    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 #61fc6ec055903a89 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:6349
    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 #c739e3f9e37ebb24 Filesystem access.
repo/codex-rs/tui/src/app/tests.rs:6399
    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 #595bf7e58f04cfd3 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 #0e6251215edeabb0 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 #9a7fb5145596708c 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 #91d3ac2e67f997af 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 #b8360e7a968b222a 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 #faa1c97d18420bdb Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:548
                    tracing::warn!(error = %err, "history batch lookup 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 #34f0afe62bdd249b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:552
                    tracing::warn!(error = %err, "history batch 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 #daeba69eb37748cc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:822
                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 #293eec42eef5d57b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:974
                            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 #0a83f72c024285fe Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:979
                    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 #1aa407a039b9b28e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:1100
                            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 #097faf06a32fd8d2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:1105
                    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 #fe9bc562637616cc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:1158
                            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 #080e29f951b7114c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:1163
                    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 #4a979f2fc1637d7d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app/thread_routing.rs:1297
                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 #d8420c2971acc69b 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 #9915e15cd866938e 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 #1cd05bf4c646911a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app_server_session.rs:706
                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 #e0e84671bb36597b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/app_server_session.rs:717
                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 #98d171eb7188f592 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/chat_composer.rs:1112
                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 #3352e51565a56043 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/chat_composer.rs:1113
                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 #70337b823a7d5f3c Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/chat_composer.rs:1115
                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 #8d8aba1b51ab14b4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/chat_composer.rs:2359
                    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 #89b05249c0c5c69e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/bottom_pane/mod.rs:854
                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 #9382ec5588d5859b 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 #d6b5b7166acba538 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 #21c33260b74b8f41 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget.rs:1752
                    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 #2ace0e7fb09b3b86 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 #58bb1ec2c6555c9a 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 #3a236598250024ce 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 #ef23803fe690847f Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/interaction.rs:203
        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 #9003596c4882dcf8 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 #be0ef537c275872d 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 #98d51639f1be7b30 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 #8322e55314cfc39e 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 #a2d3ff5f3bbdb4d9 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 #f0ea176f834b7972 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 #35fd17354f4184e7 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/settings.rs:513
            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 #73c47f72aad77725 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/settings.rs:519
                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 #ca067ac3d72fdb60 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_controls.rs:107
        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 #f4fa001000876e25 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_controls.rs:114
        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 #e948d26faa564b93 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_controls.rs:147
        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 #cceba33272f82863 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/status_controls.rs:156
        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 #55284cc3af16db86 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 #10a07f63bd72835f 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 #f6431d378b3b10bf 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 #b66767876192db7d 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 #16255766d46368af 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 telemetry production #2a64a59c417bbabc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/chatwidget/user_messages.rs:680
            tracing::warn!("audio user inputs are not supported by the TUI and will be omitted");

A telemetry/analytics SDK is 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 #0d255b770edca0fb 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 #f2628d678acd51b0 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 #a8e3c365c65bff1f 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 #3543753d06a4ed80 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 #8beac6f14b83be91 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 #8695ed6174ad882e 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 #dfe99681bbb362ce 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 #360b96d3a4f6d9de 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 #e90ef30168fdacc8 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 #d2168d14071dd06f 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 #fdabdad4f84aeabf 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 #b1d750fd6242c86a 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 #bf05ba6e80f533ce 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 #8524739a292e3607 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 #250a8609ac9722d6 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 #63a68e04be9a2dc5 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 #9bb24c54d483d79f 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 #74045d278a38bdfa 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 #be198ff5cf5bc2fd 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 #69a53c8d96080520 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 #f0c49cd8ba62d9c8 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 #bddfcbfc90b7fa74 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 #ca430c9383216afc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/custom_terminal.rs:214
            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 #57d5561549a546c5 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/cwd_prompt.rs:169
            tracing::error!(error = %err, "failed to persist working directory 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 env_fs production #a79f831455a059f3 Filesystem access.
repo/codex-rs/tui/src/cwd_prompt.rs:524
            let persisted: toml::Value = toml::from_str(&std::fs::read_to_string(
                temp_dir.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 #4544e8570de96f7d Filesystem access.
repo/codex-rs/tui/src/debug_config.rs:701
        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"
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 #0ae20b50b2af103d Environment-variable access.
repo/codex-rs/tui/src/diff_render.rs:1068
        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 #c908a7658553b472 Environment-variable access.
repo/codex-rs/tui/src/diff_render.rs:1075
    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 #cc08774ca9626804 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/external_agent_config_migration_flow.rs:286
                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 #aacc51a45f47f85e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/external_agent_config_migration_flow.rs:360
                        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 #1d7f0554ae2b86a0 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 #8c4090e7b39d96e1 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 #351e332d78c92e83 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 #42bf11a3470ae57c 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 #8095e35e852681f1 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 #a551fe4e6443b9d4 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 #b6aa9c672e79466a 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 #c9d74131965f5583 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 #0160e8c612aab771 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 #4abc3ca4d49652b2 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 #61a07741e93aa69a 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 #dbb557867a2656d4 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 #ed621fc7b151efcf 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 #7af9ba32ba49a58b 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 #6e2c375303e4789c 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 #5b71a42bf4810e13 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 #24dc2a159f33d622 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 #6e82866d4fc7ed02 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 env_fs production #7e4169cf044f7f96 Filesystem access.
repo/codex-rs/tui/src/inline_visualization/viewer.rs:23
    let fragment = 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 #1cd2be9d49d7da38 Filesystem access.
repo/codex-rs/tui/src/inline_visualization/viewer.rs:44
    if fs::read_to_string(&viewer_path).is_ok_and(|existing| existing == document) {

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

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

low env_fs production #520a7db71c7fcfbc Filesystem access.
repo/codex-rs/tui/src/inline_visualization_tests.rs:22
    fs::write(context.thread_dir.join("chart.html"), fragment).expect("write fragment");

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

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

low env_fs production #d44370241eb8c266 Filesystem access.
repo/codex-rs/tui/src/inline_visualization_tests.rs:32
    fs::write(
        granted_context.thread_dir.join("chart.html"),
        "<div>chart</div>",
    )

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

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

low env_fs production #d91d269b62d3e12d Filesystem access.
repo/codex-rs/tui/src/inline_visualization_tests.rs:186
    let document = fs::read_to_string(viewer_path).expect("read static viewer");

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

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

low env_fs production #c338444f95b589db Filesystem access.
repo/codex-rs/tui/src/inline_visualization_tests.rs:219
    fs::write(context.thread_dir.join("chart.html"), "<div>second</div>").expect("update fragment");

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

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

low env_fs production #5bfc42f9de82c694 Filesystem access.
repo/codex-rs/tui/src/inline_visualization_tests.rs:223
    let refreshed = fs::read_to_string(viewer_path).expect("read refreshed viewer");

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

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

low env_fs production #6b9c99e99bd8a44c Filesystem access.
repo/codex-rs/tui/src/inline_visualization_tests.rs:302
    fs::write(context.thread_dir.join("chart.html"), "<div>chart</div>")

Reads environment variables or the filesystem — 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 #58a6fd475fb5c8f6 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/lib.rs:439
            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 #27fbff3712fb03bf Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/lib.rs:443
            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 #11bf069227c9d084 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/lib.rs:1340
        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 #479059a78a07e9dc Filesystem access.
repo/codex-rs/tui/src/lib.rs:2120
        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 #46db48460481fa20 Filesystem access.
repo/codex-rs/tui/src/lib.rs:2138
        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 #10c745a1aa1ce447 Filesystem access.
repo/codex-rs/tui/src/lib.rs:2185
            std::fs::write(
                codex_home.join("config.toml"),
                format!("[tui]\nresume_cwd = \"{configured_mode}\"\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 #ad67d1e708ac9b39 Filesystem access.
repo/codex-rs/tui/src/lib.rs:2285
        std::fs::write(
            temp_dir.path().join("config.toml"),
            "[tui]\nresume_cwd = \"current\"\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 #7ce2467dfd2f5054 Filesystem access.
repo/codex-rs/tui/src/lib.rs:2321
        std::fs::write(
            temp_dir.path().join("config.toml"),
            "[tui]\nresume_cwd = \"session\"\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 #b9baf61679b8850b Filesystem access.
repo/codex-rs/tui/src/lib.rs:3024
            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 #0e09e91efee02e2f Filesystem access.
repo/codex-rs/tui/src/lib.rs:3113
        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 #dbfa91944757ad58 Filesystem access.
repo/codex-rs/tui/src/lib.rs:3150
        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 #2bbf3da966b256ce Filesystem access.
repo/codex-rs/tui/src/lib.rs:3231
        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 #7fbfc66cdfc597d4 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 #60005c50dc94e313 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 #edd6699d6a03a9fe 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 #670a1016651b6348 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 #468fe701c70cbf57 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 #f8c997e74022ce24 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 #0c34500a0a1b5ae7 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 #5e25a9ebd3055ebb 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 #e0ad7519bd26cece 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 #a7d3b9d1be2b0e53 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 #8384bf9bddef7dba 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 #6b01873144ddffdf 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 #753ca02aee6184e7 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 #6626d038df2d93ae 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 #699349d028bf98ef 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 #31316557370839ab 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 #6a1cb14582ff2484 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 #946e4f55aa544ac7 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 #f5cfcdacf80556ff 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 #12f962b3b49c63bc 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 #6bce9e0db96e1818 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 #9f809b05a4eb774b 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 #ddc20ec4904cb7a1 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 #bc61d3766f228e25 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 #fbd7a7831fc7b7ed 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 #2bf63a0760d7ce29 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 #c8e513e5d49a7cd1 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 #4d9067a49ac8fcd1 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 #33dd94aacf95a0f0 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 #b7d82b64581b09be 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 #0fd318bc55f59b21 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 #c57bcd095b42886d 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 #c9908870cfabd0bb 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 #6a010cd8ac863934 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 #78edd71e2b666b23 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 #df54e48ea4c40b95 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 #09dbbfe8ecc238af 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 #6b5a9abf010823db Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/render/highlight.rs:103
        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 #6bff3a7df4f9fff9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/render/highlight.rs:225
        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 #6e283e5f214132b9 Filesystem access.
repo/codex-rs/tui/src/render/highlight.rs:724
        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 #ffa0cfdf9acad468 Filesystem access.
repo/codex-rs/tui/src/render/highlight.rs:774
        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 #ae8d121d4ce55af1 Filesystem access.
repo/codex-rs/tui/src/render/highlight.rs:1476
        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 #aeee3d6313ca7188 Filesystem access.
repo/codex-rs/tui/src/render/highlight.rs:1496
        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 #594e3aeec0f46b3a Filesystem access.
repo/codex-rs/tui/src/resume_picker.rs:4476
            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 #89c0942c5575d045 Filesystem access.
repo/codex-rs/tui/src/resume_picker.rs:4489
        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 #00a75e0a70eb13ab 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 #079e9a36e487ff89 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 #e3839f63561e1072 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 #96961d6c2ecac293 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 #1ff26301438e47d1 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 #e811a663c359e396 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 #da5c6bf09672fdea 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 #c08540ec1852e842 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/session_resume.rs:183
            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 #483747e360c4ee29 Filesystem access.
repo/codex-rs/tui/src/session_resume.rs:267
        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 #a9706f90bbab2892 Filesystem access.
repo/codex-rs/tui/src/session_resume.rs:356
        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 #a20ca05a55b9f764 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 #523d9d3e73669036 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 #31ba80e21cc2e97d 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 telemetry production #71b6737cd702a794 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/thread_transcript.rs:73
                    tracing::warn!(
                        user_message_id = id,
                        "audio user inputs are not supported by the TUI and will be omitted"
                    );

A telemetry/analytics SDK is 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 #72543b2c6f85463a 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 #432200ceaf7ada38 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:95
            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 #846277715f8fabd2 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:376
        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 #6591642a49f91e72 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:393
        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 #bf5957bb55f71795 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:400
        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 #66f63e1cef336818 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:437
                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 #ff2729a74b135598 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:447
                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 #14d5e29337944b2b Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:467
            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 #b521bc173010471a Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:502
        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 #c7135e515bd512c4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:519
            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 #f4e0c45509f95e56 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:527
            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 #658047cd76807ef9 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:695
            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 #4e092204ad3c8fd3 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:698
            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 #0f271589af94f165 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:704
            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 #69fe1f1f4a860435 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:707
            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 #d8c4c0514822fed4 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui.rs:737
                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 #0bffb10c0f66ba75 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/tui/event_stream.rs:260
                        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 #9c6be41256709d07 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 #f9b7badf89124309 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 #17e32fde81f1c0cc 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 #7864019e5fd458df 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 #351cff6831ed3933 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 #1ef95ed28664e719 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 #098acf07c7875c00 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/tui/src/update_prompt.rs:80
                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 #8ccd879942e3e91b 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 #d4dfe9c2ecfa78ea 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 #5c235db7c07d816e 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 #181a4169171faf4f 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 #d815e0e64309d626 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 #110a45058d179125 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 #3dce6e2f57f10236 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 #6cd50d5f24d8ca2d 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 #e3630a8013cd03b6 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 #183a6250c7f01f71 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 #a2f8a1676b7bd815 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 #c76901b61075633f 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 #35f5d4ef8ca63aee 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 #c01697c732de771d 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 #fa68c76ea85e5577 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 #3fe7293b282dcceb Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:97
        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 #5ca6848185d85d74 Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:102
        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 #ad68087771782d45 Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:120
        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 #3fff4884870e9314 Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:121
        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 #36e73cce271b7218 Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:140
        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 #fa85fd4755667161 Filesystem access.
repo/codex-rs/utils/plugins/src/plugin_namespace.rs:141
        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 24 low-confidence finding(s)
low telemetry production #873a24caad907087 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/utils/pty/src/pipe.rs:199
                log::warn!(
                    "Windows pipe process tree containment unavailable for pid {pid}: {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 #de06864359f2c987 Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/utils/pty/src/pipe.rs:276
                    log::warn!(
                        "Windows pipe failed to preserve descendants after root exit: {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 #de8157da8f696b79 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:45
        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 #6c2812c0fd93a8e8 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:356
    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 #a7bea11412252cf5 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:395
        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 #c5f8ae2607ea42f2 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:420
    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 #51f6ae8529769d9e Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:451
    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 #9f0dfaa197628e3a Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:488
    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 #c91b58b71650ff30 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:544
    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 #c383457791a8a2cd Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:558
    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 #c5a0138fa66d4b38 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:751
    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 #7064b2722c3fc5a4 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:784
    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 #d3a82ae7ac5a5a21 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:843
    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 #abb34aa5cf2dc37e Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:896
    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 #39a7a8843f860b85 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:967
    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 #c093b6c3a7872ea1 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:1015
    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 #4c3ebd1bcc0cab33 Environment-variable access.
repo/codex-rs/utils/pty/src/tests.rs:1081
    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 #95e6f4e63e12f0fc Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/utils/pty/src/win/mod.rs:90
            log::warn!("ConPTY failed to preserve descendants after root exit: {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 #8811898a92e0134e Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/utils/pty/src/win/mod.rs:98
            log::warn!("ConPTY failed to terminate process tree: {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 #943b2ff92b9a480d Log/trace emission. Structured logs can carry PII to sinks/aggregators.
repo/codex-rs/utils/pty/src/win/psuedocon.rs:220
            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 #da6f6ac311684cff Environment-variable access.
repo/codex-rs/utils/pty/src/windows_tests.rs:170
    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 #e7baea4eba230135 Environment-variable access.
repo/codex-rs/utils/pty/src/windows_tests.rs:181
    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 #905a39dbb5b3ca15 Environment-variable access.
repo/codex-rs/utils/pty/src/windows_tests.rs:211
    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 #4eddcaacc24f1e28 Environment-variable access.
repo/codex-rs/utils/pty/src/windows_tests.rs:266
    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/websocket-client

rust first-party
expand_more 4 low-confidence finding(s)
low env_fs production #d13372b4c74f896c Environment-variable access.
repo/codex-rs/websocket-client/src/dialer_tests.rs:121
    let Ok(url) = std::env::var("CODEX_WEBSOCKET_NO_PROXY_PROBE_URL") 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 #aa1b381b1551ba47 Environment-variable access.
repo/codex-rs/websocket-client/src/dialer_tests.rs:124
    let proxy_url = std::env::var("CODEX_WEBSOCKET_NO_PROXY_PROBE_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 #968ea26a303653f3 Environment-variable access.
repo/codex-rs/websocket-client/src/dialer_tests.rs:126
    let no_proxy = std::env::var("NO_PROXY").expect("parent test should provide a no-proxy 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 #793954f60afe9463 Environment-variable access.
repo/codex-rs/websocket-client/src/dialer_tests.rs:131
        if let Ok(certificate_hex) = std::env::var("CODEX_WEBSOCKET_NO_PROXY_PROBE_CA_DER") {

Reads environment variables or the 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 94 low-confidence finding(s)
low env_fs production #125517bcd31a5de3 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 #bbb85b9b0f087c94 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 #c47f243aa4733544 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 #60e38aef52ff1389 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 #72827e9c69e9653c 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 #87b01d6ec717ae74 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 #4dfbde3443ecdf4b 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 #27c8f87a5c65856e 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 #73d458d12656bd76 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 #baa6978422d6e9d9 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 #a54df41d4ce64976 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 #fadda5a69b94ef93 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/bin/setup_main/win.rs:394
        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 #fa38be8c44792008 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 #9da5980030b8094a 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 #d5143038004b75f2 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 #86b216f325185ee8 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 #4e8672f7de0fab13 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 #045bd6c3b3596266 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 #ad1cf54ed916b24f 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 #16294613a84b9f62 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 #a8d0764ff54148b4 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:300
        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 #21fed26a87181e31 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:301
        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 #7d97e8588d3e6954 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:302
        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 #4fdb15d425966e9c Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:342
        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 #9b9337c0faac424b Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:343
        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 #a3d06a71e6cb591c Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs:365
        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 #7be69f8d3a052ba3 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 #894c509afdb87637 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 #ccc93367319dc3a7 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 #5abb9458aec93814 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 #3c23bf0f3c2808b3 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 #18f19863c0e9d866 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 #3a947f3f3bcd4e9b 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 #a62048435406699a 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 #82f95d4de922a4c9 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 #8e6d0982675defde 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 #dd7bf2b778f3a52e 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 #1be057c439fc83ef 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 #384bea09672551d6 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 #2672b98561cc6c8f 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 #abc734fd84fcf820 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 #92a0ef1b5a0d4034 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 #50f5e945e939f522 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 #cbfaaf0d2cfbc310 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 #95833bc128b6070a 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 #928e2672bbaa29d7 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 #ad611858db80320a 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 #4597b86c996eeff7 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 #0c7d49bedec77a7f 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 #bafe0afa1ad7958a 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 #2e73d73caf9dcff0 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 #6adac15bed08b7c4 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 #d34605e3eab7bfff 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 #36011ce181b92f09 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 #910949e885599924 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 #8e76091946b23fdb 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 #dc2ef621a379baf8 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 #044c3fd813b7cd52 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 #3dc8276279f277b9 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 #3159dfb24b84e0ca 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 #2c662ca8c50919e4 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:541
    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 #2ea3f0347069b385 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1035
        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 #1f5375b3f9851f2c Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1158
    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 #689eb630c5c25d01 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1181
    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 #2aaddf3b8595f6bc Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1190
    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 #07da256b58d9d846 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1219
    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 #26a9a6af641e6a0a Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1585
        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 #2e98db5b9edac4de Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1586
        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 #c5079cee9c6f84c9 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1729
        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 #33f3af25f67529dd Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1802
        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 #c97155c4c74ddcd0 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1807
        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 #6964def4817305bf Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:1808
        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 #71a1483d4482b244 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/setup.rs:2174
        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 #c0f28f6083c4d439 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 #eb9bc81c10564d91 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 #c0efad6bb4d7f650 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 #2b1afbf1ff49a444 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 #e34ad058993590b1 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 #fad60faf9ee42dc1 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 #274cb043a904f3d4 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 #822e95798c2c9646 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 #61f1ce91fd7b9a68 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:63
    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 #2e8127898a858ae1 Environment-variable access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:69
    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 #117ab22b259d2732 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:89
    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 #b252eb75d3a0e2ef Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:579
    let descendant_pid = fs::read_to_string(&ready_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 #82a370bf6129dab2 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:585
    fs::write(&release_marker, "release").expect("release descendant after root exit");

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

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

low env_fs production #8d8d61130188d3b1 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:628
        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 #74c8ef8c5f820df8 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:629
        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 #bc0aad2b43786493 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:630
        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 #cb2fa2b34dd480cd Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:631
        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 #f91fc21ed66d7bb2 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:634
        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.

low env_fs production #df6ca374bc42f578 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:741
        let Ok(pid) = fs::read_to_string(&ready_marker).and_then(|pid| {

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

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

low env_fs production #c3716a0cc432eebe Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:864
    let descendant_pid = fs::read_to_string(&ready_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 #a97bcf385adcf7a9 Filesystem access.
repo/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs:877
        fs::write(&release_marker, "release").expect("release preserved descendant");

Reads environment variables or the 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 #40671d15b82fface 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 #7bcd1ac4e39615c4 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 #911d56fc39c8ca0d 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 #97145cf8cb9a5729 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 #db8a2c736c518ec6 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 #e90d43f37e105862 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 #43a3070d9185387e 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 #cafc89041f278916 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 #bf0045a33df35458 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 #bf4245fe137038da 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 #2fd9f5e38531325a 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 #7870d5dcbc9a940c 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 #d805ea76cba76dfc 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 #ac734cb03b291184 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 #7fcb8b5399002cab 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 #ebd0a45856180525 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 #2bf609c170dcca92 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 #fd94dc9118152125 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 #0f304d94626e34bb 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 #87a0ec6bfd8cc731 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 #6fd15fe3446e9206 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 #7c9363d4010e26a0 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 #ae240958bdf875c1 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 #6b99d8737c7fa588 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 #05a1e9552e28f955 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 #b399cfa981034e07 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 #819ded35a8523a97 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 #cadf781bb3878b6b 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 #9e4753d1903175e0 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 #c60f2f499c219ab3 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 #80c2f5fc857d9f96 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 #1b06354b32db268f 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 #f8a83b564704ccb7 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 #242053cc093af9f4 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 #7a94e5a1354a4511 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 #1e8e3a9080e6ff15 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 #0abe9ec8113b0bfd 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 #0399e4882d964ba1 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 #0d0bf2f3a5971590 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 #33931d62a304caf4 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 #9be84b38eea87bca 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 #55892ef061a38134 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 #77dcb3e8c8c14264 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 #d63f79f44cc8a04a 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 #a53a2588cffee68c 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 #4c0de177508295b3 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 #b3020a9cb2a1e076 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 #286a6b3505de7258 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 #8794bd8fb3ebf5ee 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 #b01a9fa5b8807672 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 #edb073234745d44a 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 #d61924f56b7fc548 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 #865a5b7d8d7e4f17 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 #2d76200c9c7471b4 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 #fc0909b9fbe3939e 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 #fb94e39977c2c5b9 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 #740d69b015a64ff1 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 #1c342763a6f8c509 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 #40f19711e7b66b5b 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 #d5d1b7b4243ff42c 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 #4caed3f74e7e5276 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 #79756667f09effc3 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 #87921ad672ef99d3 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 #6729b709be0fad65 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 #e41bff9366bcd807 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 #efc827b0f098b75f 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 #db4775176f5726a3 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 #e49c6564eb6f16b4 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 #cec5a06d2db07094 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 #ab14f5d061ebac5e 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 #1aa6aa79c6ae3c70 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 #9f802800f9f2c97b 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 #db47f749f61c0a2c 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 #685856a2ea7474e7 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 #fd69b0f597a18764 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 #835f680cb1a94078 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 #957f15313d0c14ea 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 #11f7964543f9dd24 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 #36d83d5044ef1952 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 #1a8b146126dc0385 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 #e406805c5483d732 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 #36e61fdbd3830a69 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 #37c33f932603e46c 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 #04d9f6a5abfededc 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 #aae0f95626a8e7c9 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 #7f75d7dc58768581 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 #378183786cfc6d35 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 #cc1c36300d066f1e 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 #3916cdf6526d1a41 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 #b2d8b0e2ef203f4f 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 #489f51aac82621e5 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 #cba1ed663e585954 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 #db76b46da10622df 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 #ff0996e0a42ffcd2 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 #ac1288756800387f 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 #04c59a9295d4548e 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 #7b77b3ecfb66ff7f 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 #8c651af16ed9fc28 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 #38bea4b747c60f74 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 #812ae975e174c471 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 #d670993f5b3e58e8 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 #5acbd8d4ef19220b 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 #ce49d0bf5372707a 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 #bff43846f7aa5251 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 #a820487be0d92a1e 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 #24c7cffd36ecf4d9 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 #80abffd451647fc1 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 #334fa98c34678e1d 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 #9a37379f3935e594 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 #6788d3566bcaff03 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 #3379d1f3d1ed047c 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 #7addc6a6467e4865 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 #a86253a2a00fd4e3 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 #8843f11407db2ad6 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 #977d043c7a717795 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 #a71f48546e31f9c1 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 #81ba48169931e001 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 #a40701615f992795 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 #4220456e48eb34ca 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 #0d8dbe7a974faa5b 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 #21058b256a6f19d5 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 #d114a7d3e092949b 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 #dce34dc723699895 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 #5178217952f0a6d9 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 #009cb5ab6fcbe94e 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 #3221fb28ef277d1a 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 #d5cd0d1cfa473283 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 #f677c123abbb96e1 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 #2a20c3b1592dab29 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 #f6022c4030821d3c 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 #0653b52c862689f4 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 #95de469617ffe7b7 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 #0b7c548b390f00db 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 #6473ccde19e22dbb 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 #0f6611c5a67c7308 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 #fa3f8eb7d84f3329 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 #e0c02e202e148dab 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 #d03f29878afea321 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 #7aaf73e3f9991dd2 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 #fdd9a62d2cb72dcd 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 #34a1122dfb688dc1 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 #4983a8d7a2d99e25 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 #2b5792c43c30271a 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 #dd0f6515c17167f7 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 #1df44a28dfc9dbf8 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 #7d9eb7d15ce6d842 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 #3feef7db01616d1d 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 #58f131a4234c8ab2 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 #e87f5ae45fc9bc8e 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 #14926394c54771c8 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 #b6bb63c4d75ff695 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 #f6308969795c48b7 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 #538ad2555d4382f8 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 #48ee34f8d4269c68 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 #3d93a9187d9abf34 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 #d7ee7e0e0fc926ca 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 #1bd3600d84b2477d 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 #1a539b96d13e236c 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 #83f96a7428046772 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 #cbceac60e6d0a90c 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 #b9514f2c7c810637 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 #65c43b34c7e39fa9 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 #ce2974b96aa26d90 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 #320fc297e03770d7 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 #4ef68b1fcb6d6bbe 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 #0f411a7b8dae9b8e 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 #f38ee6ff93922aff 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 #16be7cbc763f86e1 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 #90786b7dad821244 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 #a1c21b44754544bd 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 #757843b8344ee6d6 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 #0447ba8e6df94e01 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 #69ea954efe78f5a5 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 #8db441672338072f 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 #7d73f88549c82e00 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 #732055babe82aa43 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 #e912b666b9399821 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 #547dc80fb6cfed71 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 #1cd4bfcee579416b 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 #1a4a08028e03df67 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 #6343dde123e32535 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 #e28337f62ca59f69 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 #85d0781de0ef4af4 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 #6b0c29d39e9856fa 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 #4c067fbafa16f5c2 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 #f9314a926c40b7ac 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 #908d3b4da4ca4f36 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 #27106a1ccc991402 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 #781bfb2446b9625a 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 #208ecc76c9259fe4 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 #565723138cb1ddf6 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 #268e1a2121065008 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 #eed757fdfad6f96b 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 #2cdbd86b0b06e6f9 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 #ff6dc66dc59fc28e 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 #10ac1696d5f6a72d 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 #535b7c16a906732f 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 #9c05a7dd7c002c01 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 #a02d6522d4636ae0 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 #5fe65fe5243fc46a 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 #077468de19d06d31 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 #2cfd9da61b0412ab 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 #5b66f9637399fe83 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 #068d3b7e3692fcaf 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 #97989c67c5f17749 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 #1350842eb9ab6b96 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 #853c51d10a34ff9b 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 #35f6c78d93f735c9 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 #3ecd20e353dcdc8e 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
  • codex-http-client prod — no version pinned
  • crypto_box prod — no version pinned
  • ed25519-dalek prod — no version pinned
  • http prod — no version pinned
  • jsonwebtoken prod — no version pinned
  • rand 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-git-attribution prod — no version pinned
  • codex-guardian prod — no version pinned
  • codex-file-watcher prod — no version pinned
  • codex-hooks 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
  • 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
  • dirs prod — no version pinned
  • iana-time-zone prod — no version pinned
  • image prod — no version pinned
  • once_cell prod — no version pinned
  • symphonia 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