core-agent-ide/codex-rs/process-hardening
Josh McKinney ec49b56874
chore: add cargo-deny configuration (#7119)
- add GitHub workflow running cargo-deny on push/PR
- document cargo-deny allowlist with workspace-dep notes and advisory
ignores
- align workspace crates to inherit version/edition/license for
consistent checks
2025-11-24 12:22:18 -08:00
..
src fix: Fix build process-hardening build on NetBSD (#7238) 2025-11-24 11:46:43 -08:00
Cargo.toml chore: add cargo-deny configuration (#7119) 2025-11-24 12:22:18 -08:00
README.md feat: introduce npm module for codex-responses-api-proxy (#4417) 2025-09-28 19:34:06 -07:00

codex-process-hardening

This crate provides pre_main_hardening(), which is designed to be called pre-main() (using #[ctor::ctor]) to perform various process hardening steps, such as

  • disabling core dumps
  • disabling ptrace attach on Linux and macOS
  • removing dangerous environment variables such as LD_PRELOAD and DYLD_*