mirror of
https://github.com/openai/codex-security.git
synced 2026-11-25 17:21:08 +08:00
* 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>
Evaluations
Start with the deterministic triage checks or the harness tests linked below. These run locally without model calls. Model evaluations are opt-in and consume usage on the account you configure.
- Dependency reachability grades local CVE and package investigations against controlled application builds and measured stack evidence.
- Triage finding: Promptfoo input contracts, OSS calibration, and SastBench. This suite owns its private package and lockfile.
- Secret discovery: checks whether the production core audit finds synthetic credentials in source and keeps them in its final findings, with deterministic grading and harness checks.
- Standard time budget: paired comparison of production Standard scans with and without an advisory time allowance on synthetic vulnerabilities and safe controls, with source-evidence grading.
- Workflow routing: checks whether repository-installed production skills route natural-language requests to the appropriate workflow, stopping before workflow execution.
- The skill review fixtures cover pre-install decisions for individual skill files and bundles, including cross-file behavior.
CI runs the deterministic triage, secret-discovery, time-budget, and workflow-routing checks. The MCP suite covers Deep Scan iterations, recovery, and publication.
Build the evaluation tools
For the secret-discovery, Standard time-budget and workflow-routing suites, install the SDK and MCP dependencies, then run these commands from the repository root. The eval type-check includes the triage sources, so it needs the triage package’s dependencies too.
pnpm --dir evals/triage-finding install --frozen-lockfile
pnpm --dir sdk/typescript run build:evals
For Promptfoo triage and SastBench runs, use the triage setup, which also builds the native policy helper for your platform.