Skip to content

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

chore(native): document exact dependency pins (#2126)

Michael D'Angelo697b1c1bbff6
diff --git a/plugins/codex-security/native/Cargo.toml b/plugins/codex-security/native/Cargo.toml
index b2b25f5b1..2c9d3e213 100644
--- a/plugins/codex-security/native/Cargo.toml
+++ b/plugins/codex-security/native/Cargo.toml
@@ -10,19 +10,17 @@ publish = false
crate-type = ["cdylib"]
[dependencies]
-# Keep N-API pins in sync with the version-specific license fallbacks in notices.mts.
-napi = { version = "=3.14.2", default-features = false, features = ["napi8"] }
-napi-derive = "=3.6.12"
+napi = { version = "=3.14.2", default-features = false, features = ["napi8"] } # notices.mts supplies the license for this exact release.
+napi-derive = "=3.6.12" # notices.mts supplies the license for this exact release.
[target.'cfg(unix)'.dependencies]
-libc = "=0.2.191"
+libc = "=0.2.191" # Requalify the Unix account lookup on glibc, musl, and macOS when updating these bindings.
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "=0.61.2", features = ["Win32_Foundation", "Win32_Security", "Win32_Security_Authorization", "Win32_Storage_FileSystem", "Win32_System_Environment", "Win32_System_Threading", "Win32_System_JobObjects"] }
[build-dependencies]
-# Keep this pin in sync with the version-specific license fallback in notices.mts.
-napi-build = "=2.6.0"
+napi-build = "=2.6.0" # notices.mts supplies the license for this exact release.
[profile.release]
strip = true