Commit Graph
28 Commits
Author SHA1 Message Date
dependabot[bot]andMichael D'Angelo bd09ff8254 chore(deps): bump promptfoo from 0.124.1 to 0.125.1 in /evals/triage-finding (#2335)
* chore(deps): bump promptfoo in /evals/triage-finding

Bumps [promptfoo](https://github.com/promptfoo/promptfoo) from 0.124.1 to 0.125.1.
- [Release notes](https://github.com/promptfoo/promptfoo/releases)
- [Changelog](https://github.com/promptfoo/promptfoo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/promptfoo/promptfoo/compare/0.124.1...0.125.1)

---
updated-dependencies:
- dependency-name: promptfoo
  dependency-version: 0.125.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* fix(evals): bind Promptfoo to the scanner’s pinned Codex SDK

Supply the eval SDK and its entry point to the native provider. Forward cancellation through custom CLI version probes and cover version mismatch in the provider fixtures. Prune obsolete overrides and optional packages, and refresh the affected HTTP and FTP dependencies.

---------

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-11-19 15:00:27 -08:00
Michael D'Angelo 7bffa9552e fix(evals): fetch calibration revisions as source refs (#2425) 2026-11-09 04:11:41 -08:00
Michael D'AngeloandMichael D'Angelo 6e677445f9 feat(imports): publish Guardian findings and clarify scanner evidence (#2377)
* docs(imports): correct scanner results and ticket intake checks

* refactor(imports): reuse scanner severity mappings

* feat(imports): publish selected Semgrep Guardian findings to Cloud

* feat(cli): show readable imported findings in the terminal

* docs(imports): explain scanner fields and source references

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-08 07:40:48 -08:00
Michael D'Angelo 4d83ce9195 refactor: share workbench arguments and simplify SDK and eval workflows (#2325)
* Simplify workbench dispatch, SDK helpers, and their test fixtures

* test(sdk): keep distinct progress matrix helpers

* test(sdk): expect canceled lifecycle for aborted component scans
2026-11-05 01:28:44 -08:00
Michael D'Angelo 6de45f81ac feat(import): collect and import Checkmarx SAST findings (#2269)
* feat(import): collect and import Checkmarx SAST findings

* fix(import): bind Checkmarx evidence and isolate vendor collection

* fix(import): protect collector inputs and preserve upload retries

* fix(import): isolate CxFlow startup and validate retained scan scope

* fix(import): constrain authenticated collection and verify projected evidence

* fix(import): preserve trusted startup and match Checkmarx repository scope

* fix(import): reap vendor processes interrupted during startup

* fix(import): isolate CxFlow credentials and preserve Checkmarx report scope

* fix(import): verify Checkmarx collector scope and credential source

* refactor(import): simplify Checkmarx collection and repository checks

* refactor(import): verify Checkmarx scan scope while reading occurrence evidence

* Exclude in-flight schema writes from eval runtime staging
2026-11-04 13:37:09 -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'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
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 9fe805efa9 test(evals): drop redundant triage instruction wording checks (#2074) 2026-10-27 15:24:25 +01: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 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 75bb5132e8 fix: simplify security skill instructions (#1676) 2026-10-24 03:55:44 +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
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
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-oaiandCodex 6c8ab22cb2 fix(evals): hide expected answers and test the checkout's skill (#1054)
* fix(evals): stage the required security policy runtime

* docs: keep eval setup guidance focused

* fix(evals): align triage graders with supported behavior

* fix(evals): handle mixed intake output and connector guidance

* fix(evals): accept equivalent intake guidance and JSON markers

* refactor(evals): grade connector routing decisions directly

* fix(evals): detect standalone finding verdicts during intake

* fix(evals): reject premature verdict fields during intake

* fix(evals): verify calibration checkout roots before hydration

* test(evals): isolate hydration fixtures from commit signing

* fix(evals): isolate calibration inputs and checkout skill runtime

* fix(evals): match complete intake decision fields

* fix(evals): resolve custom calibration roots from the invocation directory

* fix(evals): recognize malformed verdicts and normal Markdown phrasing

* fix(evals): expose the selected Node runtime to policy helpers

* fix(evals): preserve SastBench runtime settings on replay

* fix(evals): check complete intake pagination and result fields

* fix(evals): accept Markdown around paginated instances URLs

* fix(evals): accept separately described pagination parameters

* fix(evals): grade structured code-scanning intake requests

* fix(evals): recognize equivalent intake and triage formatting

* fix(evals): enforce code-scanning intake fields

* Launch Promptfoo through its package Node entrypoint

* fix(evals): stage all configured synthetic fixtures

* fix(evals): keep calibration Git metadata outside readable targets

* refactor(evals): use the checkout directly and keep CI unchanged

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
2026-10-07 20:30:50 -04:00
mldangelo-oai c30c00c9a9 fix(plugin): migrate Atlassian app and simplify finding workflows (#1039)
* fix(plugin): migrate Jira workflows to the current Atlassian app

* docs(plugin): make connector guidance concise and evergreen

* fix(plugin): simplify tracking with the current Atlassian app

* fix(plugin): remove the fixed finding batch limit

* refactor(plugin): simplify finding workflow prompts

* fix(plugin): preserve security policy in finding triage

* fix(plugin): stream helper arguments in read-only sandboxes

* fix(plugin): preserve helper cancellation and source checks

* fix(plugin): refresh reuse candidates after approval
2026-10-06 01:23:04 -04:00
mldangelo-oaiandCodex 9c052e6e8a fix(evals): reject SQL injection without an execution sink (#1053)
fix(evals): reject injection claims without a SQL sink

Co-authored-by: Codex <codex@users.noreply.github.com>
2026-10-06 00:59:53 -04:00
mldangelo-oai 037437dd0e fix(evals): align triage graders with supported behavior (#1245)
* fix(evals): align triage graders with supported behavior

* fix(evals): handle mixed intake output and connector guidance

* fix(evals): accept equivalent intake guidance and JSON markers

* refactor(evals): grade connector routing decisions directly

* fix(evals): detect standalone finding verdicts during intake

* fix(evals): reject premature verdict fields during intake

* fix(evals): verify calibration checkout roots before hydration

* test(evals): isolate hydration fixtures from commit signing

* fix(evals): match complete intake decision fields

* fix(evals): recognize malformed verdicts and normal Markdown phrasing

* fix(evals): check complete intake pagination and result fields

* fix(evals): accept Markdown around paginated instances URLs

* fix(evals): accept separately described pagination parameters

* fix(evals): grade structured code-scanning intake requests

* fix(evals): recognize equivalent intake and triage formatting

* fix(evals): enforce code-scanning intake fields

* fix(evals): reject findings-only results during intake
2026-10-06 00:57:07 -04:00
mldangelo-oai 400f485dd9 fix(evals): verify calibration checkout roots before hydration (#1250)
* fix(evals): verify calibration checkout roots before hydration

* test(evals): isolate hydration fixtures from commit signing
2026-10-05 15:03:27 -04:00
mldangelo-oai 2d8053142e refactor(tooling): migrate tests to TypeScript and simplify tooling (#1219)
* refactor(tooling): migrate MCP tests and tooling to TypeScript

* fix(tooling): remove redundant strict directives from TypeScript

* test: remove unused deferred import

* fix(tooling): clean stale generated test outputs

* test: share fixture ownership and remove redundant adapters

Reuse the temporary-directory registry and existing API fixtures, and
remove private runner, scoring, and reducer fixture intermediates.
2026-10-05 10:02:45 -04:00
mldangelo-oai dcf3ed53d4 refactor(evals): reuse parsing and Git helpers (#1222) 2026-10-04 15:09:01 -07:00
mldangelo-oaiandCodex f49a9a589c refactor(tooling): share repository Git adapters (#1203)
Repository fixtures and hydration tools duplicate Git process setup. Share the existing invocation patterns with their actual consumers.

Co-authored-by: Codex <noreply@openai.com>
2026-10-03 15:05:52 -07:00
mldangelo-oai a3deb87cfc test: relocate triage evals and reducer model entry point (#1056)
Move evaluation tooling under top-level evals while preserving deterministic CI coverage. Give parameterized tests explicit labels for consistent Bun test reports.
2026-09-29 10:08:35 +01:00