Commit Graph
89 Commits
Author SHA1 Message Date
ianw-oaiandmldangelo-oai cb92c4fb41 feat!: deep scan upgrade (#2118)
* refactor(deep-scan): merge repeated Standard scans in the host

* test(deep-scan): cover comparison turns and resumed discovery

* refactor(deep-scan): simplify finding counts and receipt handling

* test(deep-scan): separate comparison and runtime test registration

* test(deep-scan): exercise supported turns when replaying saved profiles

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-03 17:48:49 -08:00
683a915d3d feat(plugin): review agent skills before installation (#2088)
* feat(plugin): review agent skills before installation

* docs(evals): reproduce skill review boundary cases

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-11-02 18:23:14 -08:00
Michael D'Angelo d5177fa4f7 fix(plugin): honor signed-in tracker connections for finding reads (#2212)
Use the selected Jira, Linear, or GitHub connection for scoped ticket reads. Verify the active GitHub account when reading from a source or tracking to a destination.
2026-11-02 16:42:22 -08:00
Michael D'Angelo cb63f2e2cb fix(plugin): reuse scoped GitHub connections for finding intake (#2223)
* fix(plugin): reuse scoped GitHub connections for finding intake

* fix(plugin): pin paginated GitHub reads and isolate intake checks

* test(evals): reject incomplete GitHub alert intake plans
2026-11-02 04:23:26 -08:00
Michael D'Angelo 6942ebf3ef fix(scan): restore concrete discovery guidance for Standard and Deep scans (#2246)
* fix(scan): restore concrete discovery guidance for Standard and Deep scans

* fix(evals): grade role-labelled code evidence at affected lines
2026-11-02 02:59:56 -08:00
e936fa9e29 test(evals): verify findings survive scan completion (#2150)
* test(evals): cover finding survival through canonical completion

* test(evals): check deferred work in the archived checkpoint

* test: exercise validation survival through the shipped draft tool

* test: isolate workbench state and preserve deferred candidates

* test(evals): verify checkpoint contents and report sections

* test(evals): distinguish candidate and rule identities

* test(evals): verify both draft checkpoints retain findings

---------

Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-02 01:46:45 -08:00
Michael D'Angelo 627eef708f refactor(evals): parse fenced triage results in one pass (#2214) 2026-11-01 15:19:58 -08:00
Michael D'Angeloandmldangelo-oai a43a30db9f test(evals): share intake grading and discovery fixtures (#2184)
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-01 01:36:59 -07:00
dependabot[bot] eb263134e9 chore(deps): update Codex SDK and CLI to 0.166.0 (#2154)
Update the Codex SDK and CLI pins to 0.166.0 and record the matching upstream source for the Wolfi native payload.
2026-10-30 08:44:17 -07:00
dependabot[bot] 474d0a0665 chore(deps): update OpenCode SDK and Bun types (#2157)
Update the evaluation OpenCode SDK to 1.19.4 and the Bun development types to 1.4.4.
2026-10-30 08:11:55 -07:00
Michael D'Angeloandmldangelo-oai 607038e139 fix: accept UTF-8 BOMs in scan inputs and calibration datasets (#2151)
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-30 06:46:46 -07:00
Michael D'Angelo 5f5ccd898a fix(evals): update vulnerable triage dependencies (#2142) 2026-10-29 16:17:32 -07:00
Michael D'AngeloandMichael D'Angelo 45228eac44 feat: resolve dependency alerts (#2084)
* feat: resolve dependency alerts through existing security workflows

* refactor: simplify dependency alert resolution

* fix: keep dependency alert assessment read-only

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-28 17:32:48 -07:00
dependabot[bot] b0a8db485c chore(deps): upgrade Codex CLI and SDK to 0.165.0 (#2107)
Update the TypeScript SDK, MCP app, and triage evals together.
2026-10-28 09:25:23 -07:00
Michael D'Angelo 9fe805efa9 test(evals): drop redundant triage instruction wording checks (#2074) 2026-10-27 15:24:25 +01:00
dependabot[bot] 2d2e86680d chore(deps): bump fast-uri to 3.1.9 in the triage eval (#2063)
Update the triage eval lockfile to fast-uri 3.1.9 within Ajv's existing version range.
2026-10-27 07:53:09 +05:30
ianw-oai 621bad47e6 refactor!: simplify scan completion and recovery (#1762) 2026-10-26 17:19:54 +00:00
Michael D'Angeloandmldangelo-oai b3e9d40f5a test(tooling): reduce repeated Action and eval setup (#2040)
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-26 22:06:56 +05:30
Michael D'Angelo 9836313403 chore(deps): update ip-address in triage evals (#2034) 2026-10-26 20:16:39 +05:30
Michael D'Angelo 30fd1851b1 test: retain replay, SARIF, and credential coverage (#1994)
* test: retain replay, SARIF, and credential coverage

* test: time launcher selection and saved replay separately
2026-10-26 01:12:07 +05:30
Michael D'Angelo 3dfed19297 test: reuse triage replay builds and exercise native Action SARIF (#1977) 2026-10-25 19:10:49 +08:00
Michael D'Angelo f50b6aeb28 test(evals): isolate the Promptfoo version fixture (#1953) 2026-10-25 12:07:08 +08:00
Michael D'Angelo 72a48522d3 chore(deps): refresh triage eval transport dependencies (#1935)
Refresh the triage eval lockfile within existing dependency ranges. All seven versions satisfy the publication cooldown. Frozen installs, SDK and native builds, deterministic contracts, configuration validation, transport smoke checks, and current-head CI passed. Existing residual audit advisories remain documented in the pull request.
2026-10-25 09:33:36 +08:00
Michael D'Angelo 7a5ea281f2 docs(evals): document the deterministic triage CI checks (#1932) 2026-10-25 09:01:53 +08:00
Michael D'AngeloandMichael D'Angelo 0aeb39d501 test(evals): add SSRF discovery and an allowlisted control (#1917)
Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-24 22:34:31 +08:00
dependabot[bot] 556d0e7477 chore(deps): bump @opencode-ai/sdk from 1.19.2 to 1.19.3 in /evals/triage-finding in the third-party group across 1 directory (#1919)
chore(deps): bump @opencode-ai/sdk

Bumps the third-party group with 1 update in the /evals/triage-finding directory: [@opencode-ai/sdk](https://github.com/sst/opencode-sdk-js).


Updates `@opencode-ai/sdk` from 1.19.2 to 1.19.3
- [Release notes](https://github.com/sst/opencode-sdk-js/releases)
- [Changelog](https://github.com/anomalyco/opencode-sdk-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sst/opencode-sdk-js/commits)

---
updated-dependencies:
- dependency-name: "@opencode-ai/sdk"
  dependency-version: 1.19.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: third-party
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-24 17:58:19 +08:00
Michael D'Angelo 75bb5132e8 fix: simplify security skill instructions (#1676) 2026-10-24 03:55:44 +08:00
dependabot[bot]andMichael D'Angelo 00b0ac57dc fix(deps): upgrade Codex and preserve oversized MCP recovery (#1879)
* chore(deps): bump the codex group across 3 directories with 2 updates

---
updated-dependencies:
- dependency-name: "@openai/codex-sdk"
  dependency-version: 0.164.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codex
- dependency-name: "@openai/codex-sdk"
  dependency-version: 0.164.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codex
- dependency-name: "@openai/codex-sdk"
  dependency-version: 0.164.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codex
- dependency-name: "@openai/codex"
  dependency-version: 0.164.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codex
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump the codex group across 3 directories with 2 updates

---
updated-dependencies:
- dependency-name: "@openai/codex"
  dependency-version: 0.164.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codex
- dependency-name: "@openai/codex-sdk"
  dependency-version: 0.164.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codex
- dependency-name: "@openai/codex-sdk"
  dependency-version: 0.164.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codex
- dependency-name: "@openai/codex-sdk"
  dependency-version: 0.164.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codex
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(mcp): recover oversized responses before native stdio discard

* refactor(plugin): share saved-result coverage and history helpers

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-10-24 02:40:28 +08:00
Michael D'Angelo 32b24b5d7c test(evals): compare production Standard scan time budgets (#1679) 2026-10-24 01:28:03 +08:00
dependabot[bot] e41fd20695 chore(deps): update OpenCode SDK to 1.19.2 (#1880)
chore(deps): bump @opencode-ai/sdk

Bumps the third-party group with 1 update in the /evals/triage-finding directory: [@opencode-ai/sdk](https://github.com/sst/opencode-sdk-js).


Updates `@opencode-ai/sdk` from 1.19.0 to 1.19.2
- [Release notes](https://github.com/sst/opencode-sdk-js/releases)
- [Changelog](https://github.com/anomalyco/opencode-sdk-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sst/opencode-sdk-js/commits)

---
updated-dependencies:
- dependency-name: "@opencode-ai/sdk"
  dependency-version: 1.19.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: third-party
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-23 17:24:10 +00:00
dependabot[bot] f57e89c635 chore(deps): bump hono from 4.13.10 to 4.13.13 in /evals/triage-finding (#1832)
Bumps [hono](https://github.com/honojs/hono) from 4.13.10 to 4.13.13.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.13.10...v4.13.13)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.13.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-21 00:50:58 +08:00
dependabot[bot] 5e73474edb chore(deps): update Zod to 4.6.7 (#1816)
chore(deps): bump the third-party group across 2 directories with 1 update

Bumps the third-party group with 1 update in the /plugins/codex-security/mcp-app directory: [zod](https://github.com/colinhacks/zod).
Bumps the third-party group with 1 update in the /sdk/typescript directory: [zod](https://github.com/colinhacks/zod).


Updates `zod` from 4.6.6 to 4.6.7
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.6.6...v4.6.7)

Updates `zod` from 4.6.6 to 4.6.7
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.6.6...v4.6.7)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.6.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: third-party
- dependency-name: zod
  dependency-version: 4.6.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: third-party
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 21:38:47 +08:00
Michael D'Angelo 9cc1a8728f fix(deep-scan): include accepted worker coverage in reports (#1593)
Retain accepted worker coverage and its evidence through Deep Scan publication and recovery. Preserve source ownership, task associations, selected parent precedence, and receipt selection across collisions and stopped checkpoints.

Package the internal recovery helper in standalone and installed plugins, with regression coverage for publication, frozen replay, and source immutability.

Validated with full hosted CI, required portable source checks, 567 focused Python tests, package integrity tests, Codex and Copilot reviews, and maintainer approval.
2026-10-20 17:42:23 +08:00
Michael D'Angelo f905ce3ccd test(evals): measure natural-language security skill routing (#1700) 2026-10-20 04:43:21 +08:00
Michael D'Angelo 1a34862a53 fix(runtime): find bundled tools through executable symlinks (#1707) 2026-10-20 04:40:07 +08:00
dependabot[bot] 49d4a3bce0 chore(deps): update Zod, OpenCode SDK and Bun types (#1743)
Update the SDK, MCP app and evaluation dependency graphs to Zod 4.6.6, OpenCode SDK 1.19.0 and Bun type declarations 1.4.3.
2026-10-19 22:09:48 +08:00
Michael D'Angelo 88a6f6b0c3 refactor(evals): remove Promptfoo patch and generated calibration YAML (#1678)
* refactor(evals): remove Promptfoo patch and generated calibration YAML

* fix(evals): preserve provider snapshots and CLI overrides

* fix(evals): share SAST settings across config entry points
2026-10-17 04:01:26 +09:00
Michael D'Angelo 5ac5a5f412 chore(deps): update triage evaluations to promptfoo 0.124.1 (#1666)
* fix(evals): update the Git dependency and preserve Promptfoo imports

* chore(deps): upgrade triage evaluations to promptfoo 0.124.1
2026-10-17 00:11:45 +09:00
dependabot[bot] c7a77e4701 chore(deps): update Codex CLI and SDK to 0.163.0 (#1670)
Update the bundled Codex CLI and TypeScript SDK to 0.163.0 across the SDK, MCP application, and evaluation workspaces.

Refresh npm metadata during installed-package smoke tests so restored caches resolve newly published dependency versions.
2026-10-16 22:53:24 +09:00
Michael D'AngeloandCodex 70404e7c2f refactor(runtime): share executable and process helpers (#1581)
* refactor: share persisted finding normalization

* refactor: share workbench argument encoding

* refactor: share executable paths and process contracts

* refactor: reuse shared argv for deep scan mutations

* test(deep-scan): forward publication identity in terminal races

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
2026-10-16 12:42:13 +09:00
dependabot[bot] 23fa14cc28 chore(deps): update evaluation SDK and Action artifact client (#1652)
## Summary

Update the evaluation SDK and hosted Action artifact client, and rebuild the committed Action bundle so consumers receive the upgraded dependency.

## Changes

- Update @opencode-ai/sdk from 1.18.34 to 1.18.35 and @actions/artifact from 6.2.1 to 6.3.1 with their lockfiles.
- Regenerate the Action distribution to include the artifact client's HTTP 429 retry improvements and corrected runtime dependency declaration.

## Testing

- Passed clean npm installation, Action bundle build, and full Action validation: typechecking, 145 tests, generated documentation, metadata, and bundle reproducibility.
- Passed frozen evaluation dependency installation and a direct import of the upgraded SDK.
- Reviewed the complete dependency and generated-bundle diffs; both releases satisfy the configured seven-day dependency cooldown.
- Required CI and Action validation must pass on the repaired head before merge.

## Risk and rollout

Patch SDK update and minor artifact-client update. Rebuilt distribution keeps the published Action consistent with its lockfile. No public CLI changes or rollout steps.

## Public disclosure review

- [x] No customer, partner, prospect, or user identities, data, or identifying details are included.
- [x] No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
- [x] I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.
2026-10-14 12:45:56 -07:00
Michael D'Angelo c380befb9e fix(scans)!: simplify scan outcomes (#1633)
Simplify scan outcomes across the CLI, SDK, and GitHub Action. Completed report-only scans return 0, an opt-in findings threshold returns 1, and execution or required-output failures return 2. Remove partial and unknown outcomes while retaining coverage diagnostics and saved results.

Require the current plugin for Deep Scan and canonical fields for new findings. Preserve readability of historical sealed reports. Update documentation and tests, and remove obsolete compatibility paths.
2026-10-14 11:32:39 -07:00
dependabot[bot] 80c4607eb0 chore(deps): update MCP SDK and Inquirer prompts
Upgrade the MCP SDK and Inquirer prompts after source review, interactive prompt smoke tests, and current-head CI validation.
2026-10-13 02:21:09 -04:00
Michael D'AngeloandCodex cfc8eec38e test(evals): choose GitHub REST when no connector is requested (#1051)
* fix(evals): remove obsolete connector auth-only expectation

* Preserve explicit Connector selection in the intake eval

* Bind eval approval to the REST fallback statement

* fix(evals): grade explicit GitHub transport decisions

* docs: keep eval guidance concise

* fix(evals): close connector transport grading gaps

* Parse transport decisions independently of prose braces

* Reject arrays and extra JSON objects in transport decisions

* Reject embedded triage output in transport decisions

* fix(evals): distinguish Markdown citations from JSON payloads

* Handle complete numeric Markdown references in decision grading

* Recognize defined Markdown shortcuts outside JSON fences

* Distinguish fenced arrays from Markdown references

* fix(evals): distinguish fenced arrays from prose citations

* fix(evals): preserve single decision parsing after main integration

* test(evals): cover REST defaults with whole-response decisions

* Keep the transport evaluation case label neutral

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
2026-10-11 15:23:36 -04:00
dependabot[bot] 5b3b259652 chore(deps): update MCP SDK to 1.32.0
Update the MCP application and triage eval dependency graph to MCP SDK 1.32.0.
2026-10-10 10:45:05 -04:00
dependabot[bot] e99c948e41 chore(deps): update Codex CLI and SDK to 0.162.1
Align Codex CLI, SDK, and optional platform packages at 0.162.1 across the SDK, MCP application, and triage evals.
2026-10-10 09:54:20 -04:00
mldangelo-oai 1d54bd702d refactor!: remove legacy message and plugin compatibility (#1548)
## Summary

Compatibility adapters duplicate parsing, persistence retries, and workbench state selection. Use current message and plugin formats with native date behavior, removing duplicated code and tests while retaining scan integrity and diagnostics.

Follows merged [#1511](https://github.com/openai/codex-security/pull/1511) and [#1512](https://github.com/openai/codex-security/pull/1512), preserving their terminal-input and triage-parsing fixes.

## Changes

- Read inventory paths using LF or CRLF separators, preserving other path whitespace and spelling.
- Use native Python timestamp parsing and SQLite date ordering with stable ID tie-breakers. Only the parsing copy of each timestamp is normalized to native microsecond precision, preserving readability of every valid fractional width without rewriting sealed artifacts.
- Accept complete triage JSON or multiline fenced JSON with a linear scan, including indented and CRLF fences.
- Keep persistence retries within the store's existing budget, including truncated mutation responses; remove coordinator and worker replay layers.
- Require the current archive and comparison protocols. Retain archive cancellation and pass comparison payloads unchanged through stdin.
- Use selected authoritative workbench state directly. Surface failures with existing SQLite recovery guidance instead of selecting temporary state.
- Fetch the six existing digest-pinned musl compiler/runtime images from Docker Official Images on ECR Public, avoiding Docker Hub's unauthenticated pull limit without changing image content or offline build settings.

## Testing

- Application source is unchanged from the fully validated cleanup revision. The additional CI change only qualifies six image references with the public ECR registry; all six digest pins are unchanged.
- Independently verified all six ECR manifests/configurations against their SHA256 digests and checked availability of every image layer. Anonymous x64 pulls, compiler-image assembly, offline musl build/check, and Node 20/22 proofs passed using an empty Docker configuration and a fresh public Cargo cache. ARM64 execution remains covered by hosted CI.
- The changed workflow passed actionlint syntax/expression checks and zizmor security checks; existing shell commands are unchanged.
- Frozen dependency installs, all five required plugin checks, a fresh plugin bundle, SDK/MCP typechecking, and SDK formatting passed on the validated source tree.
- Seven affected MCP integration files passed, covering findings, inventory, discovery, worker execution, process/state handling, and persistence retries. Both triage assertion scripts passed.
- Independent integration review verified the two conflict resolutions and preservation of the other merged source changes, including the existing web-dashboard deletion.
- Earlier targeted validation covered timestamp/query/seal compatibility on Python 3.10 and 3.12, CLI diagnostics, imports, archive cancellation, workbench/comparison behavior, and coordinator/store ownership. Those results are retained only for unchanged source; the full SDK suite was not rerun locally for this update.
- Hosted platform checks will rerun on the published head.

## Risk and rollout

Older custom plugins must be upgraded or replaced with the bundled plugin. Workbench state must be writable; the existing `CODEX_SECURITY_STATE_DIR` setting selects another location.

Inventory filenames containing CR or LF are unsupported. All schema-valid timestamp fractional widths remain readable across supported Python versions. Parsing uses native microsecond precision. Query ordering beyond millisecond precision is not guaranteed. Ordering also follows SQLite's supported date range and UTC offsets: exotic offsets such as `+15:00` and extreme year-boundary values that SQLite cannot parse no longer have guaranteed chronological order. Stored timestamp text remains unchanged. Triage evals no longer accept inline fences or JSON embedded directly in prose. Failed persistence operations have one store-owned retry budget.

Credential/configuration protections, path checks, sealed source artifacts, ownership enforcement, the normalizer worker, terminal escaping, and diagnostic text remain intact. The preceding stack's diagnostic, process-input, and Windows fixture changes are preserved unchanged.

## Public disclosure review

- [x] No customer, partner, prospect, or user identities, data, or identifying details are included.
- [x] No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
- [x] I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.
2026-10-09 22:38:46 +00:00
mldangelo-oai 6f4c62875b fix(evals): parse complete triage JSON before fenced content (#1512)
## Summary

A complete JSON triage response can contain Markdown fences inside a string. Parse the complete response before considering fenced fragments so evidence text cannot divert extraction.

## Changes

- Try complete JSON first, then retain the existing fenced and prose fallbacks.
- Scan quoted spans once when output is truncated, preserving fenced and prose fallback order.
- Cover embedded backticks, malformed fragments, and downstream result metrics.

## Testing

- The completed combined-stack SDK runs passed 4,543 tests each, with 68 skips and no failures, under seed 12345 and a random seed. The final combined source tree is unchanged by this history refresh; these results are reused, not rerun.
- All five required plugin checks, SDK/MCP typechecking, formatting, and a fresh plugin bundle passed on this head.
- Both triage assertion scripts, `test-triage-io.mts` and `test-sastbench-result.mts`, passed on Node 22.13, 24, and 26 against the unchanged parser sources.
- Independent before/after controls preserved fallback results and confirmed that truncated quoted strings no longer trigger repeated scanning.

## Risk and rollout

Evaluation parsing only; existing result schemas and fallback formats remain supported.

Part 3 of 3 remaining PRs; stacked on [the preceding PR](https://github.com/openai/codex-security/pull/1511). Review and merge in stack order.

## Public disclosure review

- [x] No customer, partner, prospect, or user identities, data, or identifying details are included.
- [x] No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
- [x] I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.
2026-10-09 20:48:19 +00:00
mldangelo-oaiandCodex 9efca3486d fix(evals): keep expected answers hidden and preserve each case’s settings (#1261)
* fix(evals): isolate calibration inputs and correct deterministic graders

* fix(evals): preserve isolated runtime behavior across replay and interruption

* fix(evals): prepare CI runtime and launch Promptfoo through Node

* Use supported Node runtime for triage evaluation checks

* Preserve stdin imports for symlink-aware eval helpers

* refactor(evals): use native directory copying for runtime staging

* fix(evals): preserve negated fallback instructions

* fix(evals): reject omitted fallback approval requests

* test(evals): grade connector workflow decisions with JSON schema

* Preserve Node access in eval permission profiles

* fix(evals): resolve selected Node commands before fallback

* fix(evals): resolve runtime after rendering each case

* fix: match complete GitHub intake endpoints

* fix: preserve evaluation template and endpoint behavior

* fix: retain default runtime for empty evaluation overrides

* fix(eval): preserve Promptfoo progress on Windows interruption

* refactor(eval): reuse upstream per-call template rendering

* fix: align evaluation provider types with optional context

* fix(evals): type the existing provider boundary fixtures

* fix: require complete alert instance routes in evaluation

* fix(evals): bound code scanning instance endpoint matches

* fix(evals): restore runtime setup and evaluation entrypoints

* fix(evals): stage the runtime for viewer replays

* Preserve SAST provider lookup across persisted Promptfoo replay

* test: use built-in SQLite for evaluation replay fixtures

* test(evals): canonicalize provider fixture roots

* fix(evals): preserve version-one representative sample ordering

* fix(evals): preserve explicit runtime selection and replay typing

* refactor(evals): simplify harnesses and consolidate regression coverage

* Keep concurrent native builds and workflow fixtures stable

* Run native wrapper concurrency control in MCP test suite

* Preserve selected Codex runtime access in isolated evals

* Preserve native PATH lookup for evaluation executables

* Preserve native traversal when resolving evaluation executables

* Preserve native Node path traversal in eval runtimes

* Preserve npm launcher runtimes in evaluation sandboxes

* fix(evals): retain read access to custom SastBench targets

* ci: allow Windows baseline tests to complete

* ci: shard Ubuntu isolated test runs

* fix(evals): preserve native provider credential precedence

* fix(evals): restrict SAST reads to the selected worktree

* fix(evals): preserve saved native provider runtime bindings

* refactor(evals): remove unused SAST target-root default

* test: distinguish worker retry cases in JUnit reports

* fix(evals): route validation through the shared runner

* fix(evals): align calibration prompt targets with configured roots

* test: reuse busy-directory cleanup for API fixtures

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
2026-10-09 08:20:06 -04:00
mldangelo-oai ab2df5b318 fix(runtime): preserve worker settings and executable selection (#1501)
## Summary

Selected interpreters, executable paths, shell policies, and profile settings can change across worker launches or resume. Carry effective settings through runtime snapshots and child launches, including access to bundled tools.

## Changes

- Preserve executable traversal semantics and exact interpreter selection. Resolve the executable’s containing directory for bundled-tool lookup while retaining its launch spelling.
- Forward selected settings to discovery and reducer workers, including resumed and concurrent scans, and preserve selected-profile overrides.
- Use canonical temporary fixture roots and create the synthetic executable directory while retaining deliberate aliases, path traversal, and fresh/resumed child assertions.
- Preserve the existing artifact-export environment filter while carrying the selected cache location.

## Testing

- On the updated main baseline, 603 focused SDK tests and four MCP suites passed, with 31 existing platform skips and 5,835 SDK assertions.
- Validation covers private worker settings, fresh/resumed discovery and reducer launches, executable binding, credentials, provider isolation, recipes, resumption, and archival cancellation.
- All five required portable plugin checks, package types/format, a fresh plugin build, and diff checks passed.
- Main's configuration and worker simplifications and its TCP cancellation fixture remain unchanged.
- Hosted Windows and macOS checks must pass on the updated commit before merge.

## Risk and rollout

Credential and configuration protections remain active. Runtime settings stay isolated per scan; public command syntax and flags are unchanged.

Part 2 of 13; follows [the merged preceding PR](https://github.com/openai/codex-security/pull/1500) and targets main. Review and merge in stack order.

## Public disclosure review

- [x] No customer, partner, prospect, or user identities, data, or identifying details are included.
- [x] No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
- [x] I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.
2026-10-09 06:55:25 +00:00