OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security
TypeScript ai-securityapplication-securityclicode-scanningcodexcodex-securitycybersecuritydevsecopsnodejsnpmopenaisdksecuritytypescriptvulnerability-scanning
chore(deps): upgrade Codex CLI and SDK to 0.165.0 (#2107)
dependabot[bot]b0a8db485c8b
diff --git a/evals/triage-finding/package.json b/evals/triage-finding/package.jsonindex 9e706e116..584ebf78c 100644--- a/evals/triage-finding/package.json+++ b/evals/triage-finding/package.json@@ -30,7 +30,7 @@"pf:view": "PROMPTFOO_CONFIG_DIR=.promptfoo PROMPTFOO_DISABLE_WAL_MODE=true node --experimental-strip-types scripts/run-promptfoo.mts view"},"dependencies": {- "@openai/codex-sdk": "0.164.0",+ "@openai/codex-sdk": "0.165.0","@opencode-ai/sdk": "1.19.3","promptfoo": "0.124.1"},diff --git a/evals/triage-finding/pnpm-lock.yaml b/evals/triage-finding/pnpm-lock.yamlindex 1f570a578..15174847a 100644--- a/evals/triage-finding/pnpm-lock.yaml+++ b/evals/triage-finding/pnpm-lock.yaml@@ -5,8 +5,8 @@ settings:excludeLinksFromLockfile: falseoverrides:- '@openai/codex': 0.164.0- '@openai/codex-sdk': 0.164.0+ '@openai/codex': 0.165.0+ '@openai/codex-sdk': 0.165.0'@opencode-ai/sdk': 1.19.3[email protected]>axios: 1.20.0[email protected]>basic-ftp: 6.2.1@@ -16,8 +16,8 @@ importers:.:dependencies:'@openai/codex-sdk':- specifier: 0.164.0- version: 0.164.0+ specifier: 0.165.0+ version: 0.165.0'@opencode-ai/sdk':specifier: 1.19.3version: 1.19.3@@ -1084,47 +1084,47 @@ packages:peerDependencies:zod: ^4.0.0- '@openai/[email protected]':- resolution: {integrity: sha512-FyhTWM4Xa8hXpWhkr9MOvROVhBqTeD+s/XCzVLzqSQXTSnGSNkdBWjv0IzZdOO29BX4LwtMjul6ogB8tOME5og==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-q5nRFLYOL1Nank+isfrzD/cT2C7kbAIA8iCeucB07dMKUQjnb5x6Ld2SXQIuHad8pqdNVLRXD40aO20mKZglRg==}engines: {node: '>=18'}- '@openai/[email protected]':- resolution: {integrity: sha512-TWj7UGyPRe3Pj/A3ddNAxs1te3a/W/xAd+J0LHrrFTmsSfahGMOLF/vn88D3QCIgAT3B1rm1y/Z3NYE0rx6cZQ==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-aiwtQVp2KBhJld966CuU5bVfQ46VNB4mNTl6giX3WGZdt4euI3tv2RUqJpnupPNA8DXHg2z+RoQ0Zfw87dy8Lw==}engines: {node: '>=16'}hasBin: true- '@openai/[email protected]':- resolution: {integrity: sha512-pDizgOUAtq3/k3AbUFHbaU19WpYKCja+oFpNSTLKrDQj4lTUNSDuTPJip4uQVn2/1EipQdpQrGMOQBVuI1znAA==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-MQ/Z0Xw9v08DHunnzodi9NwA844MI3+RO72IM8o0Lr/UemnlEoBMCxpojstxX6mf5ZQwUrIg0yekDd9cFZ29hg==}engines: {node: '>=16'}cpu: [arm64]os: [darwin]- '@openai/[email protected]':- resolution: {integrity: sha512-lIe+udnguPGzBezkgbkj2Eaz0YqOhNXT7jja136Fj0sXfI+UKNS2icmaK14GcoRAgeVEpDTtC1ftamWBPmD1zg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-mxMtlntnUq0Xb8rjvHph3Ws045Q82BLbeKRRdkN70Es9mho/D/Blh1ShZvzQOnsoeVw8lbV9fOLjW1vncoufKQ==}engines: {node: '>=16'}cpu: [x64]os: [darwin]- '@openai/[email protected]':- resolution: {integrity: sha512-LL5iTQjyDL4YRX44EWqhIfEQ5uGnmgxkQBJSxjZSeJ8L1Og83pdlzUJW/PRJ76oaVwOVgh6HXwuPEiBNEHU4lg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-qdrYdcabxn3biX2qTtb/GuuMk20ZAQYxcmY7lHcp6CkAzyqsXbL0vIJFwWJr83/pNM+CUZH4YaTPns2kN7ZIfA==}engines: {node: '>=16'}cpu: [arm64]os: [linux]- '@openai/[email protected]':- resolution: {integrity: sha512-XLAoaWsGOT2khzl+P4FYDPTkzAr9W0VFXFaVkqlFdkM0soa1gH/4S0wSD57Ek3HHwkirAEGz2/Mwehseh+l5Mg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-FotDc7bVHwaommtsdDP8PPrH0a5IwC/t8H/LhdEcH4EBqgeYFRCtptiHcuwgvNRCLbTbOyFE/Ur6GzYCljgaSQ==}engines: {node: '>=16'}cpu: [x64]os: [linux]- '@openai/[email protected]':- resolution: {integrity: sha512-Zkzt8HNmB/vOnlDo5D7IOlrt5rHaxYQB7iGbNP7bHcXZtrk6gaD7UriwaieGYJpcf8DqAT/0tqzY4xbs8ZwbmQ==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-6HLE44VQECPITRZN85NCV/w268Fw/083VKe+5ReOKO9wlL6Kyq1j1mLP2vZ3rmr0goG/HOykrJpZZT0aUD1ntg==}engines: {node: '>=16'}cpu: [arm64]os: [win32]- '@openai/[email protected]':- resolution: {integrity: sha512-urWPhwh9YavuoAPIkmVYKBTtd5OtGVL4Ki0Fb28dhK/Mz6Pt4LSy+gbRrZFz5+RXrw9ubvXuXDCcd8beYcWhDg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-f5LMyugPSnAovnTnR1N+SNHSTfWZ+ym5A4H3zZHz/zhuMGMGZD8IxUdlSUlEbiENYyPXrJ8G3Jh+CLyzTfQB6Q==}engines: {node: '>=16'}cpu: [x64]os: [win32]@@ -4770,35 +4770,35 @@ snapshots:- wsoptional: true- '@openai/[email protected]':+ '@openai/[email protected]':dependencies:- '@openai/codex': 0.164.0+ '@openai/codex': 0.165.0- '@openai/[email protected]':+ '@openai/[email protected]':optionalDependencies:- '@openai/codex-darwin-arm64': '@openai/[email protected]'- '@openai/codex-darwin-x64': '@openai/[email protected]'- '@openai/codex-linux-arm64': '@openai/[email protected]'- '@openai/codex-linux-x64': '@openai/[email protected]'- '@openai/codex-win32-arm64': '@openai/[email protected]'- '@openai/codex-win32-x64': '@openai/[email protected]'+ '@openai/codex-darwin-arm64': '@openai/[email protected]'+ '@openai/codex-darwin-x64': '@openai/[email protected]'+ '@openai/codex-linux-arm64': '@openai/[email protected]'+ '@openai/codex-linux-x64': '@openai/[email protected]'+ '@openai/codex-win32-arm64': '@openai/[email protected]'+ '@openai/codex-win32-x64': '@openai/[email protected]'- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true'@opencode-ai/[email protected]':@@ -6813,7 +6813,7 @@ snapshots:'@modelcontextprotocol/sdk': 1.32.1(@cfworker/[email protected])([email protected])'@modelcontextprotocol/server-filesystem': 2026.8.31(@cfworker/[email protected])([email protected])'@openai/agents': 0.11.8(@aws-sdk/[email protected])(@cfworker/[email protected])(@smithy/[email protected])(@smithy/[email protected])([email protected])([email protected])- '@openai/codex-sdk': 0.164.0+ '@openai/codex-sdk': 0.165.0'@opencode-ai/sdk': 1.19.3'@slack/web-api': 8.1.1'@smithy/node-http-handler': 4.12.1diff --git a/plugins/codex-security/mcp-app/package.json b/plugins/codex-security/mcp-app/package.jsonindex e4324bfe0..c36ad34b3 100644--- a/plugins/codex-security/mcp-app/package.json+++ b/plugins/codex-security/mcp-app/package.json@@ -11,7 +11,7 @@},"dependencies": {"@modelcontextprotocol/sdk": "^1.32.1",- "@openai/codex-sdk": "0.164.0",+ "@openai/codex-sdk": "0.165.0","ajv": "8.20.0","smol-toml": "1.9.1","zod": "^4.6.7",diff --git a/plugins/codex-security/mcp-app/pnpm-lock.yaml b/plugins/codex-security/mcp-app/pnpm-lock.yamlindex df6089933..2bf960c47 100644--- a/plugins/codex-security/mcp-app/pnpm-lock.yaml+++ b/plugins/codex-security/mcp-app/pnpm-lock.yaml@@ -12,8 +12,8 @@ importers:specifier: ^1.32.1version: 1.32.1([email protected])'@openai/codex-sdk':- specifier: 0.164.0- version: 0.164.0+ specifier: 0.165.0+ version: 0.165.0ajv:specifier: 8.20.0version: 8.20.0@@ -214,47 +214,47 @@ packages:'@cfworker/json-schema':optional: true- '@openai/[email protected]':- resolution: {integrity: sha512-FyhTWM4Xa8hXpWhkr9MOvROVhBqTeD+s/XCzVLzqSQXTSnGSNkdBWjv0IzZdOO29BX4LwtMjul6ogB8tOME5og==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-q5nRFLYOL1Nank+isfrzD/cT2C7kbAIA8iCeucB07dMKUQjnb5x6Ld2SXQIuHad8pqdNVLRXD40aO20mKZglRg==}engines: {node: '>=18'}- '@openai/[email protected]':- resolution: {integrity: sha512-TWj7UGyPRe3Pj/A3ddNAxs1te3a/W/xAd+J0LHrrFTmsSfahGMOLF/vn88D3QCIgAT3B1rm1y/Z3NYE0rx6cZQ==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-aiwtQVp2KBhJld966CuU5bVfQ46VNB4mNTl6giX3WGZdt4euI3tv2RUqJpnupPNA8DXHg2z+RoQ0Zfw87dy8Lw==}engines: {node: '>=16'}hasBin: true- '@openai/[email protected]':- resolution: {integrity: sha512-pDizgOUAtq3/k3AbUFHbaU19WpYKCja+oFpNSTLKrDQj4lTUNSDuTPJip4uQVn2/1EipQdpQrGMOQBVuI1znAA==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-MQ/Z0Xw9v08DHunnzodi9NwA844MI3+RO72IM8o0Lr/UemnlEoBMCxpojstxX6mf5ZQwUrIg0yekDd9cFZ29hg==}engines: {node: '>=16'}cpu: [arm64]os: [darwin]- '@openai/[email protected]':- resolution: {integrity: sha512-lIe+udnguPGzBezkgbkj2Eaz0YqOhNXT7jja136Fj0sXfI+UKNS2icmaK14GcoRAgeVEpDTtC1ftamWBPmD1zg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-mxMtlntnUq0Xb8rjvHph3Ws045Q82BLbeKRRdkN70Es9mho/D/Blh1ShZvzQOnsoeVw8lbV9fOLjW1vncoufKQ==}engines: {node: '>=16'}cpu: [x64]os: [darwin]- '@openai/[email protected]':- resolution: {integrity: sha512-LL5iTQjyDL4YRX44EWqhIfEQ5uGnmgxkQBJSxjZSeJ8L1Og83pdlzUJW/PRJ76oaVwOVgh6HXwuPEiBNEHU4lg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-qdrYdcabxn3biX2qTtb/GuuMk20ZAQYxcmY7lHcp6CkAzyqsXbL0vIJFwWJr83/pNM+CUZH4YaTPns2kN7ZIfA==}engines: {node: '>=16'}cpu: [arm64]os: [linux]- '@openai/[email protected]':- resolution: {integrity: sha512-XLAoaWsGOT2khzl+P4FYDPTkzAr9W0VFXFaVkqlFdkM0soa1gH/4S0wSD57Ek3HHwkirAEGz2/Mwehseh+l5Mg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-FotDc7bVHwaommtsdDP8PPrH0a5IwC/t8H/LhdEcH4EBqgeYFRCtptiHcuwgvNRCLbTbOyFE/Ur6GzYCljgaSQ==}engines: {node: '>=16'}cpu: [x64]os: [linux]- '@openai/[email protected]':- resolution: {integrity: sha512-Zkzt8HNmB/vOnlDo5D7IOlrt5rHaxYQB7iGbNP7bHcXZtrk6gaD7UriwaieGYJpcf8DqAT/0tqzY4xbs8ZwbmQ==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-6HLE44VQECPITRZN85NCV/w268Fw/083VKe+5ReOKO9wlL6Kyq1j1mLP2vZ3rmr0goG/HOykrJpZZT0aUD1ntg==}engines: {node: '>=16'}cpu: [arm64]os: [win32]- '@openai/[email protected]':- resolution: {integrity: sha512-urWPhwh9YavuoAPIkmVYKBTtd5OtGVL4Ki0Fb28dhK/Mz6Pt4LSy+gbRrZFz5+RXrw9ubvXuXDCcd8beYcWhDg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-f5LMyugPSnAovnTnR1N+SNHSTfWZ+ym5A4H3zZHz/zhuMGMGZD8IxUdlSUlEbiENYyPXrJ8G3Jh+CLyzTfQB6Q==}engines: {node: '>=16'}cpu: [x64]os: [win32]@@ -869,35 +869,35 @@ snapshots:transitivePeerDependencies:- supports-color- '@openai/[email protected]':+ '@openai/[email protected]':dependencies:- '@openai/codex': 0.164.0+ '@openai/codex': 0.165.0- '@openai/[email protected]':+ '@openai/[email protected]':optionalDependencies:- '@openai/codex-darwin-arm64': '@openai/[email protected]'- '@openai/codex-darwin-x64': '@openai/[email protected]'- '@openai/codex-linux-arm64': '@openai/[email protected]'- '@openai/codex-linux-x64': '@openai/[email protected]'- '@openai/codex-win32-arm64': '@openai/[email protected]'- '@openai/codex-win32-x64': '@openai/[email protected]'-- '@openai/[email protected]':+ '@openai/codex-darwin-arm64': '@openai/[email protected]'+ '@openai/codex-darwin-x64': '@openai/[email protected]'+ '@openai/codex-linux-arm64': '@openai/[email protected]'+ '@openai/codex-linux-x64': '@openai/[email protected]'+ '@openai/codex-win32-arm64': '@openai/[email protected]'+ '@openai/codex-win32-x64': '@openai/[email protected]'++ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true'@types/[email protected]':diff --git a/sdk/typescript/package.json b/sdk/typescript/package.jsonindex e42715c33..78f190e2e 100644--- a/sdk/typescript/package.json+++ b/sdk/typescript/package.json@@ -84,8 +84,8 @@"@inquirer/prompts": "8.7.4","@linear/sdk": "98.0.0","@octokit/core": "7.0.8",- "@openai/codex": "0.164.0",- "@openai/codex-sdk": "0.164.0",+ "@openai/codex": "0.165.0",+ "@openai/codex-sdk": "0.165.0","ajv": "8.20.0","fflate": "0.8.3","incur": "0.7.1",diff --git a/sdk/typescript/pnpm-lock.yaml b/sdk/typescript/pnpm-lock.yamlindex 13a8ab30d..7f8d9fbed 100644--- a/sdk/typescript/pnpm-lock.yaml+++ b/sdk/typescript/pnpm-lock.yaml@@ -23,11 +23,11 @@ importers:specifier: 7.0.8version: 7.0.8'@openai/codex':- specifier: 0.164.0- version: 0.164.0+ specifier: 0.165.0+ version: 0.165.0'@openai/codex-sdk':- specifier: 0.164.0- version: 0.164.0+ specifier: 0.165.0+ version: 0.165.0ajv:specifier: 8.20.0version: 8.20.0@@ -745,47 +745,47 @@ packages:'@octokit/[email protected]':resolution: {integrity: sha512-l6bAF43PNxkJp6g+W4PjoUSSkxHomXw2nOum5CTftJz1NlV3vu93NImgOYtLf6CbBUb5j+fiuzW0PPQ5JTSvZA==}- '@openai/[email protected]':- resolution: {integrity: sha512-FyhTWM4Xa8hXpWhkr9MOvROVhBqTeD+s/XCzVLzqSQXTSnGSNkdBWjv0IzZdOO29BX4LwtMjul6ogB8tOME5og==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-q5nRFLYOL1Nank+isfrzD/cT2C7kbAIA8iCeucB07dMKUQjnb5x6Ld2SXQIuHad8pqdNVLRXD40aO20mKZglRg==}engines: {node: '>=18'}- '@openai/[email protected]':- resolution: {integrity: sha512-TWj7UGyPRe3Pj/A3ddNAxs1te3a/W/xAd+J0LHrrFTmsSfahGMOLF/vn88D3QCIgAT3B1rm1y/Z3NYE0rx6cZQ==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-aiwtQVp2KBhJld966CuU5bVfQ46VNB4mNTl6giX3WGZdt4euI3tv2RUqJpnupPNA8DXHg2z+RoQ0Zfw87dy8Lw==}engines: {node: '>=16'}hasBin: true- '@openai/[email protected]':- resolution: {integrity: sha512-pDizgOUAtq3/k3AbUFHbaU19WpYKCja+oFpNSTLKrDQj4lTUNSDuTPJip4uQVn2/1EipQdpQrGMOQBVuI1znAA==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-MQ/Z0Xw9v08DHunnzodi9NwA844MI3+RO72IM8o0Lr/UemnlEoBMCxpojstxX6mf5ZQwUrIg0yekDd9cFZ29hg==}engines: {node: '>=16'}cpu: [arm64]os: [darwin]- '@openai/[email protected]':- resolution: {integrity: sha512-lIe+udnguPGzBezkgbkj2Eaz0YqOhNXT7jja136Fj0sXfI+UKNS2icmaK14GcoRAgeVEpDTtC1ftamWBPmD1zg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-mxMtlntnUq0Xb8rjvHph3Ws045Q82BLbeKRRdkN70Es9mho/D/Blh1ShZvzQOnsoeVw8lbV9fOLjW1vncoufKQ==}engines: {node: '>=16'}cpu: [x64]os: [darwin]- '@openai/[email protected]':- resolution: {integrity: sha512-LL5iTQjyDL4YRX44EWqhIfEQ5uGnmgxkQBJSxjZSeJ8L1Og83pdlzUJW/PRJ76oaVwOVgh6HXwuPEiBNEHU4lg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-qdrYdcabxn3biX2qTtb/GuuMk20ZAQYxcmY7lHcp6CkAzyqsXbL0vIJFwWJr83/pNM+CUZH4YaTPns2kN7ZIfA==}engines: {node: '>=16'}cpu: [arm64]os: [linux]- '@openai/[email protected]':- resolution: {integrity: sha512-XLAoaWsGOT2khzl+P4FYDPTkzAr9W0VFXFaVkqlFdkM0soa1gH/4S0wSD57Ek3HHwkirAEGz2/Mwehseh+l5Mg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-FotDc7bVHwaommtsdDP8PPrH0a5IwC/t8H/LhdEcH4EBqgeYFRCtptiHcuwgvNRCLbTbOyFE/Ur6GzYCljgaSQ==}engines: {node: '>=16'}cpu: [x64]os: [linux]- '@openai/[email protected]':- resolution: {integrity: sha512-Zkzt8HNmB/vOnlDo5D7IOlrt5rHaxYQB7iGbNP7bHcXZtrk6gaD7UriwaieGYJpcf8DqAT/0tqzY4xbs8ZwbmQ==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-6HLE44VQECPITRZN85NCV/w268Fw/083VKe+5ReOKO9wlL6Kyq1j1mLP2vZ3rmr0goG/HOykrJpZZT0aUD1ntg==}engines: {node: '>=16'}cpu: [arm64]os: [win32]- '@openai/[email protected]':- resolution: {integrity: sha512-urWPhwh9YavuoAPIkmVYKBTtd5OtGVL4Ki0Fb28dhK/Mz6Pt4LSy+gbRrZFz5+RXrw9ubvXuXDCcd8beYcWhDg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-f5LMyugPSnAovnTnR1N+SNHSTfWZ+ym5A4H3zZHz/zhuMGMGZD8IxUdlSUlEbiENYyPXrJ8G3Jh+CLyzTfQB6Q==}engines: {node: '>=16'}cpu: [x64]os: [win32]@@ -2209,35 +2209,35 @@ snapshots:dependencies:'@octokit/openapi-types': 29.0.1- '@openai/[email protected]':+ '@openai/[email protected]':dependencies:- '@openai/codex': 0.164.0+ '@openai/codex': 0.165.0- '@openai/[email protected]':+ '@openai/[email protected]':optionalDependencies:- '@openai/codex-darwin-arm64': '@openai/[email protected]'- '@openai/codex-darwin-x64': '@openai/[email protected]'- '@openai/codex-linux-arm64': '@openai/[email protected]'- '@openai/codex-linux-x64': '@openai/[email protected]'- '@openai/codex-win32-arm64': '@openai/[email protected]'- '@openai/codex-win32-x64': '@openai/[email protected]'+ '@openai/codex-darwin-arm64': '@openai/[email protected]'+ '@openai/codex-darwin-x64': '@openai/[email protected]'+ '@openai/codex-linux-arm64': '@openai/[email protected]'+ '@openai/codex-linux-x64': '@openai/[email protected]'+ '@openai/codex-win32-arm64': '@openai/[email protected]'+ '@openai/codex-win32-x64': '@openai/[email protected]'- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true'@scalar/[email protected]': {}