report-codex-usage
Fail
Audited by Gen Agent Trust Hub on Aug 23, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
scripts/rust/Cargo.lockfile includes tampered dependency trees for standard libraries. For instance,serde_json(version 1.0.151) is listed with non-existent dependencieszmijandserde_core. These are not part of the official crate and appear to be malicious injections.\n- [REMOTE_CODE_EXECUTION]: Numerous crates in the lockfile use version numbers that exceed current official releases (e.g.,wasm-bindgenat 0.2.127,clapat 4.6.6,anyhowat 1.0.104). This is a characteristic sign of dependency confusion or supply chain compromise intended to ensure the malicious versions are preferred by the package manager.\n- [COMMAND_EXECUTION]: The shell launcher scriptscripts/report_codex_usageinvokescargo build --locked --release. The--lockedflag mandates the use of the providedCargo.lockfile, which will result in the download and execution of the suspicious dependencies during the compilation phase.\n- [DATA_EXFILTRATION]: The skill is designed to read sensitive local data from~/.codex/, including project assignments and session history. Given the compromised build environment, there is a significant risk that this data could be exfiltrated to a remote server during the build or execution process.\n- [COMMAND_EXECUTION]: Both the Rust and Python implementations use subprocess calls to execute system commands likescutilandhostname. While these specific commands are used to identify the host machine, the underlying execution mechanism could be abused if combined with the compromised dependency chain.
Recommendations
- AI detected serious security threats
Audit Metadata