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(deps): update napi and napi-derive native dependencies (#1646)

dependabot[bot]756ad1cb0311
diff --git a/plugins/codex-security/native/Cargo.lock b/plugins/codex-security/native/Cargo.lock
index 1d6eaf89b..8fa502d39 100644
--- a/plugins/codex-security/native/Cargo.lock
+++ b/plugins/codex-security/native/Cargo.lock
@@ -152,9 +152,9 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
[[package]]
name = "napi"
-version = "3.14.1"
+version = "3.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "80683d006f447996c2fb0b063e66f2bbbc629d4fb0f8e2cad22806650aad1b16"
+checksum = "a4e2cf85c02d9b057898c485b824c3c416b65193689e2b7f517efc94b86ed24c"
dependencies = [
"bitflags",
"ctor",
@@ -174,9 +174,9 @@ checksum = "b899b545d3aa6dca985939059f258c5488d34e4ecf39c274e20009748f4b846d"
[[package]]
name = "napi-derive"
-version = "3.6.11"
+version = "3.6.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "903796e3a3f79eb7e52b1548c11f1817cddec62b0e347a3e97af88b1bd76fd53"
+checksum = "92cec6048ac04041ac8055bdce1ec4f353416cd443ba9222bf73af790c3d4495"
dependencies = [
"convert_case",
"ctor",
diff --git a/plugins/codex-security/native/Cargo.toml b/plugins/codex-security/native/Cargo.toml
index c700aba25..aa372dbe8 100644
--- a/plugins/codex-security/native/Cargo.toml
+++ b/plugins/codex-security/native/Cargo.toml
@@ -10,8 +10,8 @@ publish = false
crate-type = ["cdylib"]
[dependencies]
-napi = { version = "=3.14.1", default-features = false, features = ["napi8"] }
-napi-derive = "=3.6.11"
+napi = { version = "=3.14.2", default-features = false, features = ["napi8"] }
+napi-derive = "=3.6.12"
[target.'cfg(unix)'.dependencies]
libc = "=0.2.190"
diff --git a/plugins/codex-security/native/README.md b/plugins/codex-security/native/README.md
index b8dc97607..3eeb022ca 100644
--- a/plugins/codex-security/native/README.md
+++ b/plugins/codex-security/native/README.md
@@ -77,7 +77,7 @@ For plugin and npm releases, use the default `--native universal`. It requires a
The `native-artifacts` workflow calls all three platform workflows and combines their eight verified payloads into `native-universal-<commit>`. PR validation jobs share one artifact assembled by `node-ci`; release and standalone validation runs assemble their own. By default, the standalone MCP builder and npm package include the same complete `mcp/native` tree; neither compiles nor downloads code at runtime.
-The GNU x64 job also runs `notices.mjs` against the locked Cargo metadata. It collects crate licenses and the pinned Rust standard-library notices for both package surfaces. The NAPI crates omit license files from their registry archives, so `licenses/napi.txt` preserves their [pinned upstream license](https://github.com/napi-rs/napi-rs/blob/4694e6d7c7d7eb2ac6b9a634374c3519a9e5851f/LICENSE). Review that override when upgrading those dependencies.
+The GNU x64 job also runs `notices.mjs` against the locked Cargo metadata. It collects crate licenses and the pinned Rust standard-library notices for both package surfaces. The NAPI crates omit license files from their registry archives, so `licenses/napi.txt` preserves their [pinned upstream license](https://github.com/napi-rs/napi-rs/blob/8bab46ee5dfd48a7b51e8bad3d09aed315ada4df/LICENSE). Review that override when upgrading those dependencies.
For universal builds, SDK tests, or Docker builds, select a successful run for the checkout's native sources. You can run `native-artifacts` manually on a pushed branch. Use the artifact name shown by that run; pull-request artifacts use the tested merge commit. From the repository root:
diff --git a/plugins/codex-security/native/notices.mts b/plugins/codex-security/native/notices.mts
index a78f615e3..0f7ab8102 100644
--- a/plugins/codex-security/native/notices.mts
+++ b/plugins/codex-security/native/notices.mts
@@ -35,9 +35,9 @@ const packages = metadata.packages
});
// These archives omit LICENSE; their pinned upstream revisions share this text.
const napiLicense = new Set([
]);