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(release): 0.2.0
github-actions[bot]4949af70fcfa
diff --git a/.github/release-notes.md b/.github/release-notes.mdindex 02f0f13e0..0d0dde4cc 100644--- a/.github/release-notes.md+++ b/.github/release-notes.md@@ -1,31 +1,74 @@-<!-- release-version: 0.1.32 -->+<!-- release-version: 0.2.0 --><!-- release-section: highlights:start -->+## Highlights-- return the Deep Scan ID in structured output ([#1026](https://github.com/openai/codex-security/pull/1026))-- keep Deep Scan guidance in structured output ([#1029](https://github.com/openai/codex-security/pull/1029))-- bump the third-party group across 2 directories with 4 updates ([#1032](https://github.com/openai/codex-security/pull/1032))-- bump ruff from 0.16.7 to 0.16.8 in /plugins/codex-security ([#1022](https://github.com/openai/codex-security/pull/1022))-- bump the codex group across 3 directories with 2 updates ([#1033](https://github.com/openai/codex-security/pull/1033))-- patch vulnerable development dependencies ([#1034](https://github.com/openai/codex-security/pull/1034))-- include Solidity sources in scan inventories ([#1021](https://github.com/openai/codex-security/pull/1021))-- include Svelte components in scan inventories ([#1028](https://github.com/openai/codex-security/pull/1028))-- propagate wizard cancellation to prompts ([#540](https://github.com/openai/codex-security/pull/540))-- preserve explicit virtualenv launchers ([#227](https://github.com/openai/codex-security/pull/227))-- upgrade Codex CLI and SDK to 0.157.1 ([#1041](https://github.com/openai/codex-security/pull/1041))-- honor the requested output format when rerunning a scan ([#203](https://github.com/openai/codex-security/pull/203))-- calculate diff digests at completion ([#1040](https://github.com/openai/codex-security/pull/1040))-- preserve trusted Git selection in workbench helpers ([#140](https://github.com/openai/codex-security/pull/140))-- create private scan output directories ([#987](https://github.com/openai/codex-security/pull/987))-- require verification for no-change patches ([#1020](https://github.com/openai/codex-security/pull/1020))-- bump the third-party group across 3 directories with 3 updates ([#1070](https://github.com/openai/codex-security/pull/1070))-- bump the codex group across 3 directories with 2 updates ([#1076](https://github.com/openai/codex-security/pull/1076))-- default CLI and SDK to GPT-6 Sol xhigh ([#1078](https://github.com/openai/codex-security/pull/1078))+- Threat models are now saved with Standard, Deep, and Diff scan results and+ generated security policies. Export a saved model without another model call+ using `codex-security export --artifact threat-model` or the SDK's+ `exportArtifact` helper.+ ([#1133](https://github.com/openai/codex-security/pull/1133))+- Scans now check for exposed credentials in source code, including unused code+ and tests, and distinguish suspected exposures from placeholders. This check+ runs offline, without trying discovered credentials against a service.+ ([#1134](https://github.com/openai/codex-security/pull/1134))+- Use `--model` and `--effort` when generating patches, validating findings,+ verifying fixes, or matching and comparing saved scans. Deep Scan workers and+ patches generated during a scan also respect your selected service tier.+ ([#1143](https://github.com/openai/codex-security/pull/1143),+ [#1238](https://github.com/openai/codex-security/pull/1238),+ [#1274](https://github.com/openai/codex-security/pull/1274))+- Patch, validation, and fix-verification commands now respect custom model+ providers and their authentication settings. Amazon Bedrock users get clearer+ authentication errors and cost estimates for Daybreak Blue and Red. Eligible+ OpenAI API-key users can select a Cyber access program for each scan.+ ([#1131](https://github.com/openai/codex-security/pull/1131),+ [#1187](https://github.com/openai/codex-security/pull/1187),+ [#1188](https://github.com/openai/codex-security/pull/1188),+ [#1185](https://github.com/openai/codex-security/pull/1185))+- Scans include previously overlooked C++ headers (`.hh` and `.hxx`),+ server-rendered templates (EJS, ERB, and PHTML), and Vyper source files when+ selecting code to review.+ ([#1079](https://github.com/openai/codex-security/pull/1079),+ [#1197](https://github.com/openai/codex-security/pull/1197),+ [#1306](https://github.com/openai/codex-security/pull/1306))+- On Unix, scans check that the sandbox works before starting paid model calls.+ Completed results are kept if you cancel follow-up work. CSV exports can now be+ reimported without rejecting multiple occurrences of a finding or losing+ leading apostrophes.+ ([#1084](https://github.com/openai/codex-security/pull/1084),+ [#1057](https://github.com/openai/codex-security/pull/1057),+ [#1247](https://github.com/openai/codex-security/pull/1247))+<!-- release-section: highlights:end --><!-- release-section: upgrades:start -->+## Upgrade notes-Review compatibility and document any required migration steps before releasing.+- If your integration reads threat models, check `SecurityPolicyDraft.threatModelPath`+ for `null` before opening the file. Policy generation now writes `threatmodel.md`+ instead of `THREAT_MODEL.md`; use the returned path. Saved models can contain+ Markdown (`format: "markdown"`, `content`) or the previous structured format, so+ readers must handle both. Existing models remain readable and exportable+ without migration.+ ([#1133](https://github.com/openai/codex-security/pull/1133))+- Findings service clients must send `Content-Type: application/json` to+ `POST /v1/bulk/findings` and `POST /v1/dedupe-groups`. Missing or other content+ types return HTTP 400 `invalid_request`. A charset parameter is accepted.+ ([#1277](https://github.com/openai/codex-security/pull/1277))+- Codex Security no longer masks diagnostic text that looks like credentials.+ CLI output and saved error, publication, and patch-risk summaries can contain+ sensitive values. Review them before sharing.+ ([#1179](https://github.com/openai/codex-security/pull/1179))+- SDK types and CLI schemas now accept any nonempty string for reasoning effort.+ Update integrations that assume a fixed list. The chosen value must still be+ supported by Codex and your model provider.+ ([#1237](https://github.com/openai/codex-security/pull/1237))+- Older CSV exports may have ambiguous leading apostrophes that cannot be+ recovered from the CSV alone. Export the original saved results as JSON if you+ need those exact values.+ ([#1247](https://github.com/openai/codex-security/pull/1247))+<!-- release-section: upgrades:end -->diff --git a/.github/release-pr-state.json b/.github/release-pr-state.jsonindex e7b6f6e23..f5b3a8301 100644--- a/.github/release-pr-state.json+++ b/.github/release-pr-state.json@@ -1,14 +1,14 @@{- "baseVersion": "0.1.31",- "baseCommit": "c09a996de0009e54b96ec16b2aa724674655b3f3",+ "baseVersion": "0.1.32",+ "baseCommit": "7c19cce7224af29628cd10c218444d5c0e8fdd1c","sections": {"highlights": {- "generatedHash": "3e3855bd9a240a0e111a8cef5d7cd2b6c2fb4576ffa279ea502b95a1af6c8216",- "humanOwned": false+ "generatedHash": "f65d8fae76964a512b64091b27881c1618ccb0399e3438d6396c0090a5564fbe",+ "humanOwned": true},"upgrades": {- "generatedHash": "68d4c3318e7ef9c9bc7e5f85be654e3c5ffc027eed6f48b6e3607d091bdbbfb4",- "humanOwned": false+ "generatedHash": "e4d70417d0224b264a39eb96709c1e22c5ee1b95d30ad4aafb3f531e077791a7",+ "humanOwned": true}}}diff --git a/sdk/typescript/package.json b/sdk/typescript/package.jsonindex 24028c6d0..c4ce5ac83 100644--- a/sdk/typescript/package.json+++ b/sdk/typescript/package.json@@ -1,6 +1,6 @@{"name": "@openai/codex-security",- "version": "0.1.32",+ "version": "0.2.0","description": "TypeScript SDK and CLI for Codex Security","license": "Apache-2.0","author": "OpenAI",