Commit Graph
45 Commits
Author SHA1 Message Date
dependabot[bot]andMichael D'Angelo 664fac181c chore(deps): bump the codex group across 3 directories with 2 updates (#2770)
* chore(deps): bump the codex group across 3 directories with 2 updates

Bumps the codex group with 1 update in the /evals/triage-finding directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript).
Bumps the codex group with 1 update in the /plugins/codex-security/mcp-app directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript).
Bumps the codex group with 2 updates in the /sdk/typescript directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript) and [@openai/codex](https://github.com/openai/codex/tree/HEAD/codex-cli).


Updates `@openai/codex-sdk` from 0.170.0 to 0.171.0

Updates `@openai/codex-sdk` from 0.170.0 to 0.171.0

Updates `@openai/codex-sdk` from 0.170.0 to 0.171.0

Updates `@openai/codex` from 0.170.0 to 0.171.0

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

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

* fix(container): record Codex 0.171.0 native source

---------

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-20 07:39:28 -08:00
Will Holley ec0d6c10b4 fix(container): record the Canvas 1.1.1 source and emoji license for Wolfi (#2734) 2026-11-19 11:38:31 -08:00
dependabot[bot]andMichael D'Angelo a1e56b73a5 chore(deps): bump the codex group across 3 directories with 2 updates (#2723)
* chore(deps): bump the codex group across 3 directories with 2 updates

Bumps the codex group with 1 update in the /evals/triage-finding directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript).
Bumps the codex group with 1 update in the /plugins/codex-security/mcp-app directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript).
Bumps the codex group with 2 updates in the /sdk/typescript directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript) and [@openai/codex](https://github.com/openai/codex/tree/HEAD/codex-cli).


Updates `@openai/codex-sdk` from 0.167.1 to 0.170.0

Updates `@openai/codex-sdk` from 0.167.1 to 0.170.0

Updates `@openai/codex-sdk` from 0.167.1 to 0.170.0

Updates `@openai/codex-sdk` from 0.167.1 to 0.170.0

Updates `@openai/codex-sdk` from 0.167.1 to 0.170.0

Updates `@openai/codex-sdk` from 0.167.1 to 0.170.0

Updates `@openai/codex-sdk` from 0.167.1 to 0.170.0

Updates `@openai/codex-sdk` from 0.167.1 to 0.170.0

Updates `@openai/codex` from 0.167.1 to 0.170.0

Updates `@openai/codex-sdk` from 0.167.1 to 0.170.0

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

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

* fix(container): record the Wolfi source for Codex 0.170.0

* test(sdk): keep remote Git fetches out of provider fixtures

---------

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-18 10:48:04 -08:00
dependabot[bot]andMichael D'Angelo b1ae8bf6a0 chore(deps): bump the codex group across 3 directories with 2 updates (#2626)
* chore(deps): bump the codex group across 3 directories with 2 updates

Bumps the codex group with 1 update in the /evals/triage-finding directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript).
Bumps the codex group with 1 update in the /plugins/codex-security/mcp-app directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript).
Bumps the codex group with 2 updates in the /sdk/typescript directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript) and [@openai/codex](https://github.com/openai/codex/tree/HEAD/codex-cli).


Updates `@openai/codex-sdk` from 0.167.1 to 0.167.2

Updates `@openai/codex-sdk` from 0.167.1 to 0.167.2

Updates `@openai/codex-sdk` from 0.167.1 to 0.167.2

Updates `@openai/codex` from 0.167.1 to 0.167.2

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

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

* fix(container): record the Wolfi source for Codex 0.167.2

---------

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-18 10:17:04 -08:00
dependabot[bot]andMichael D'Angelo fc8240e154 chore(deps): update the Codex CLI and SDK to 0.167.1 (#2600)
* chore(deps): bump the codex group across 3 directories with 2 updates

Bumps the codex group with 1 update in the /evals/triage-finding directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript).
Bumps the codex group with 1 update in the /plugins/codex-security/mcp-app directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript).
Bumps the codex group with 2 updates in the /sdk/typescript directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript) and [@openai/codex](https://github.com/openai/codex/tree/HEAD/codex-cli).


Updates `@openai/codex-sdk` from 0.167.0 to 0.167.1

Updates `@openai/codex-sdk` from 0.167.0 to 0.167.1

Updates `@openai/codex-sdk` from 0.167.0 to 0.167.1

Updates `@openai/codex` from 0.167.0 to 0.167.1

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

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

* fix(wolfi): record the source for the Codex 0.167.1 binary

---------

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-11 05:54:27 -08:00
Michael D'Angelo 9792d360be fix(container): record the Wolfi Canvas 1.1.0 source and Skia notice (#2549) 2026-11-09 22:54:33 -08:00
Michael D'AngeloandMichael D'Angelo 9534e7fd6e docs: shorten the npm package README (#2542)
* docs: shorten the npm package README

* docs: restore scan scope, CI behavior, and results guidance

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-09 21:40:18 -08:00
Michael D'Angeloandmldangelo-oai 884b7b657a refactor!: consolidate scan, workbench and release rules (#2452)
* refactor(workbench): share schema repair and saved finding projections

* refactor(cli): resolve the command route once

* refactor(settings): share Deep Scan configuration and restore saved inputs

* refactor(imports): reuse scanner projections at the file boundary

* refactor(publish): share pending request and receipt handling

* refactor(telemetry): classify publication failures in the recorder

* refactor(package): share plugin inventory and archive checks

* refactor(release): reuse verified provenance and release decisions

* fix(ci): reconcile release labels with an empty array on Bash 3.2

* ci: report failed source checks after cancelled PR edits

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-09 05:02:21 -08:00
dependabot[bot] 9b3ce7a08d chore(deps): update Codex SDK and CLI to 0.167.0 (#2398)
Align the SDK, MCP app, and eval dependency trees and record the source revision of the Linux x64 binary for Wolfi packaging.
2026-11-06 07:46:26 -08:00
Michael D'AngeloandMichael D'Angelo 0ed54be43a feat(imports): enable external scanner imports by default (#2360)
* feat(imports): enable external scanner imports by default

Register collection, publication, and readback commands directly. Keep provider credential checks, repository access checks, and upload confirmation in their existing paths. Clients can remove the retired environment variable.

* docs(imports): make scanner provider guides evergreen

Index the scanner report readers and supported destinations. Use installed CLI examples, distinguish repository helpers from packaged tools, and describe Cloud verification and retry steps from the preview and receipt.

* docs(integrations): clarify connector setup and publication paths

* docs(integrations): simplify publication history and storage guidance

* docs(triage): specify how to exhaust Jira search results

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-05 15:30:02 -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 258d7a6c33 docs: make scan and integration guides evergreen (#2350) 2026-11-05 01:26:22 -08:00
Michael D'Angelo 5c0be2444b refactor: clarify Python contracts and simplify scan recovery and reporting (#2340)
* docs: document Python module and function contracts

* refactor: simplify scan recovery and reporting

* test(deep-scan): restore the coordinator stop error import
2026-11-04 15:55:14 -08:00
Michael D'Angelo bd59acf5cc build(sdk): ship only the embedding tokenizer and its encoding (#2333)
* ci: audit bundled MCP and triage eval dependencies

* build(sdk): ship only the embedding tokenizer and its encoding

* fix(packaging): require complete tokenizer inventories

* test(sdk): check installed tokenizer parity without build dependencies
2026-11-04 12:58:43 -08:00
23c37b9c98 feat(container): restrict sockets and process tracing in Compose (#160)
* Harden sandbox seccomp: drop ptrace and tighten socket domain allowlist

Two fixes from a security audit of this repo:

- Remove process_vm_readv/process_vm_writev/ptrace from the allowlist.
  All sandboxed processes share the same uid, so ptrace let one process
  inspect/modify another's memory (e.g. read a secret held by a sibling
  process) inside the sandbox -- inter-process isolation was effectively
  void despite the seccomp profile's intent.

- Replace the 3 socket-domain rules with an explicit allowlist of
  AF_UNIX(1)/AF_INET(2)/AF_INET6(10). The previous rules (domain<38,
  domain==39, domain>40) only actually blocked AF_ALG(38) and
  AF_VSOCK(40) -- AF_NETLINK(16) and AF_PACKET(17) were allowed, along
  with everything else outside that narrow gap, making the egress
  control close to a no-op.

Verified with a real Docker build + run on a separate host, under the
exact production security contract (--cap-drop ALL --security-opt
no-new-privileges + this seccomp profile):
- DNS resolution (getaddrinfo) and `git clone` over HTTPS still work
  (AF_INET/AF_INET6 unaffected) -- confirms this doesn't break the
  scanner's own legitimate network use.
- AF_NETLINK and AF_PACKET socket() calls now fail with EPERM inside
  the container (previously succeeded) -- confirms the fix is real, not
  cosmetic.

Local commit only -- this is an audit clone of openai/codex-security,
not a fork with push access.

* Fail closed if not launched with --cap-drop ALL --security-opt no-new-privileges

docker/codex-security-seccomp.json unconditionally allows mount/pivot_root/
unshare/setns/clone for Codex's own unprivileged Bubblewrap sandboxing --
those syscalls can't be removed without breaking that feature entirely.
Their safety previously depended entirely on a comment in the seccomp
profile asserting the caller runs with --cap-drop ALL and
--security-opt no-new-privileges (true for compose.yaml, not enforced for
a bare `docker run`).

Adds a runtime self-check at the top of the entrypoint: read
/proc/self/status, refuse to start (exit 3, clear message) unless CapEff
is all-zero and NoNewPrivs is 1. Converts an undocumented-until-you-read-
the-seccomp-comment assumption into a loud, immediate failure.

Verified with a real Docker build + run on a separate host, 4 launch
scenarios:
- --cap-drop ALL --security-opt no-new-privileges (contract met): starts
  normally.
- No flags, default non-root user (10001 from the Dockerfile): blocked by
  the NoNewPrivs check.
- --security-opt no-new-privileges only, no --cap-drop: starts -- correct,
  not a false block, since a non-root process already has an empty
  effective capability set regardless of --cap-drop.
- --user root, no flags: blocked by the CapEff check, message shows the
  actual non-empty capability bitmask (00000000a80425fb).

Local commit only -- this is an audit clone of openai/codex-security, not
a fork with push access.

* Address Codex review: CI hardening flags, AF_NETLINK for bwrap, drop socketcall

Three fixes for the automated review findings on this PR:

1. .github/workflows/container-ci.yml: the bare `docker run` smoke-test
   invocations (Verify bundled scanner, Reject interactive repository
   discovery) never passed --cap-drop ALL --security-opt no-new-privileges,
   so entrypoint.sh's new fail-closed check aborted them with exit 3 before
   --version/help/discovery validation could run. Added the flags to match
   the production contract these tests are supposed to exercise.

2. docker/codex-security-seccomp.json: the AF_UNIX/AF_INET/AF_INET6-only
   socket() allowlist rejected AF_NETLINK, which Bubblewrap needs (a
   NETLINK_ROUTE socket) to run RTM_NEWLINK/RTM_NEWADDR when configuring
   the loopback interface inside its own isolated network namespace during
   codex sandbox startup. The CI workflow already silently tolerated this
   by retrying with --enable use_legacy_landlock; added an explicit
   AF_NETLINK(16) rule restricted to protocol NETLINK_ROUTE(0) so the
   normal Bubblewrap path succeeds without needing that fallback.

3. docker/codex-security-seccomp.json: "socketcall" was unconditionally
   allowed in the generic syscall list with no argument filtering. On the
   supported SCMP_ARCH_X86 subarchitecture, this legacy multiplexer lets a
   32-bit executable open sockets (including AF_NETLINK/AF_PACKET) via
   socketcall's own SYS_SOCKET dispatch, bypassing the domain-restricted
   socket() rules entirely -- seccomp can't filter socketcall by socket
   domain since that lives behind a pointer argument, not a plain integer,
   so the safe fix is to stop allowing it unconditionally. socketpair (only
   ever AF_UNIX by kernel definition) stays allowed.

Verified with a real Docker build + container runs on a separate host
(not the CI runner, not the openai org):
- Bare `docker run` (no flags): still fails closed with exit 3, unchanged.
- With the added flags: --version, bulk-scan --help, info --json all
  exit 0; the discovery-rejection test still returns exit 2 with the
  expected message.
- A/B on the sandbox seccomp: the pre-fix profile reproduces the exact
  error from the review ("bwrap: loopback: Failed to create NETLINK_ROUTE
  socket: Operation not permitted"); the fixed profile runs the same
  `codex sandbox /usr/bin/true` command to completion (exit 0) without
  the use_legacy_landlock fallback.
- Normal HTTPS egress (AF_INET, via Node's https module) still works
  under the fixed profile, confirming the socketcall removal doesn't
  regress git-clone/API access on x86_64.

---------

Co-authored-by: mldangelo-oai <mdangelo@openai.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 12:06:09 -08: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
Michael D'Angelo 12cbba751a chore(release): approve npm and scanner images together (#2143) 2026-10-29 16:10:11 -07:00
Michael D'Angelo e3e688758e feat(container): release Debian and Wolfi from the verified scanner package (#2116) 2026-10-28 22:24:44 -07:00
Suhail Patel 11a45947c7 fix: allow existing scan output directory permissions (#2120) 2026-10-28 15:50:19 -07:00
andy-tang-oai 5094179a10 feat(container): publish a versioned Wolfi amd64 scanner (#2091)
* feat(container): publish a versioned Wolfi amd64 scanner

* fix(container): verify and inventory the published Wolfi payload
2026-10-28 09:15:03 -05:00
andy-tang-oaiandandy-tang-oai 1c98d9556f feat(container): add a local Wolfi build for Linux amd64 (#2053)
* feat(container): add a local Wolfi build for Linux amd64

* fix(container): build the Wolfi guest from verified packages

---------

Co-authored-by: andy-tang-oai <332202880+andy-tang-oai@users.noreply.github.com>
2026-10-27 16:10:08 -05:00
Michael D'Angelo b2c818907a feat(imports)!: require opt-in for external import workflows (#1863)
BREAKING CHANGE: Set CODEX_SECURITY_ENABLE_EXTERNAL_IMPORTS=1 to use external import and publication workflows.
2026-10-26 02:18:17 +05:30
Michael D'Angelo c6a7463097 fix(container): preserve large Git configuration environments (#1882) 2026-10-24 01:21:47 +08:00
Michael D'Angelo 64f0d8b6a7 docs: simplify user guides and correct setup instructions (#1857) 2026-10-22 21:53:35 +08:00
Michael D'Angelo 15f349c296 fix(release): publish containers with coordinated npm releases (#1796)
fix(release): publish containers with coordinated npm releases
2026-10-20 12:17:36 +08:00
Michael D'Angeloandmldangelo-oai 8969684421 docs(docker): clarify persistent state and credential paths (#1586)
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-11 11:26:54 -04:00
c26ae34f36 refactor(findings)!: remove the local findings serve command (#1340)
* feat: deduplicate saved scans directly in local SQLite

* test: update migration fixtures for local dedupe cache

* fix: bind local dedupe scope and preserve cancellation

* fix: include local dedupe in package archive checks

* refactor!: remove the local findings serve command

* test: drop the obsolete findings container check

* fix: forward custom embedding endpoints in Compose

* perf(dedupe): batch local preparation and preserve recovery coverage

* test: quote the empty Compose embedding endpoint

* fix(dedupe): protect target during Python discovery

* docs: simplify deduplication guidance

* fix: protect repository Python discovery in dedupe workflows

* fix: honor nonblank embedding API key fallback

* docs: clarify local deduplication workflows and embeddings

* feat(dedupe): support embedding bindings and configured review models

* refactor: finish findings service review cleanup

* fix(dedupe): preserve discovery protections and package bootstrap

* fix(dedupe): protect CLI bootstrap and isolate local embedding cache

* fix(dedupe): invalidate cached vectors on finding body updates

* fix(dedupe): protect enclosing checkouts and Windows endpoint settings

* test(workbench): update schema expectations for local embedding cache

* fix(dedupe): scope bootstrap to the requested saved scan

* fix(cli): resolve latest scans before legacy database migrations

* fix(cli): trim saved scan identifiers in linear time

* fix(cli): protect saved non-Git targets during Git discovery

* fix(cli): read saved WAL history with Apple SQLite

* fix(cli): release saved history statements before closing SQLite

* fix: wait for concurrent saved-scan database writers

* test: synchronize cancellation with the Python probe marker

* fix: protect surviving checkouts of missing saved targets

* test: close the legacy migration fixture statement

* fix: preserve lexical checkout protection for saved targets

* fix: retain checkout protection around inaccessible history

* fix: explain explicit scan fallback when Git matching is unavailable

* test: canonicalize the protected Git fixture path

* fix: preserve caller protection and no-Git workflow recovery

* fix(dedupe): preserve source context and native review diagnostics

* fix(devcontainer): retire obsolete Ona findings tasks

---------

Co-authored-by: QA Integration <qa-integration@example.invalid>
Co-authored-by: Codex <codex@users.noreply.github.com>
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-10-09 08:28:02 -04:00
Kyle BrownandCodex 2094e1d6ef feat: deduplicate saved scans with local SQLite (#1338)
* feat: deduplicate saved scans directly in local SQLite

* test: update migration fixtures for local dedupe cache

* fix: bind local dedupe scope and preserve cancellation

* fix: include local dedupe in package archive checks

* perf(dedupe): batch local preparation and preserve recovery coverage

* fix(dedupe): protect target during Python discovery

* docs: simplify deduplication guidance

* fix: protect repository Python discovery in dedupe workflows

* fix: honor nonblank embedding API key fallback

* feat(dedupe): support embedding bindings and configured review models

* fix(dedupe): preserve discovery protections and package bootstrap

* fix(dedupe): protect CLI bootstrap and isolate local embedding cache

* fix(dedupe): invalidate cached vectors on finding body updates

* fix(dedupe): protect enclosing checkouts and Windows endpoint settings

* test(workbench): update schema expectations for local embedding cache

* fix(dedupe): scope bootstrap to the requested saved scan

* fix(cli): resolve latest scans before legacy database migrations

* fix(cli): trim saved scan identifiers in linear time

* fix(cli): protect saved non-Git targets during Git discovery

* fix(cli): read saved WAL history with Apple SQLite

* fix(cli): release saved history statements before closing SQLite

* fix: wait for concurrent saved-scan database writers

* test: synchronize cancellation with the Python probe marker

* fix: protect surviving checkouts of missing saved targets

* test: close the legacy migration fixture statement

* fix: preserve lexical checkout protection for saved targets

* fix: retain checkout protection around inaccessible history

* fix: explain explicit scan fallback when Git matching is unavailable

* test: canonicalize the protected Git fixture path

* fix: preserve caller protection and no-Git workflow recovery

* fix(dedupe): preserve source context and native review diagnostics

* fix(dedupe): protect caller discovery and align smoke review contracts

* test(dedupe): assert persisted grouping review contract

* fix(dedupe): retain working-tree diff snapshot provenance

* fix(dedupe): exclude private native state from source guards

* fix(dedupe): preserve local cache on unchanged service imports

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
2026-10-07 23:38:42 -07:00
2323bfd419 fix(release): retry container releases without replacing a newer latest tag (#1046)
* fix(release): retain latest when backfilling container versions

* fix(release): allow promotion retries for the verified digest

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-08 02:01:35 -04:00
mldangelo-oaiandCodex 7eba900035 fix(build): keep usable bundles after failures and preserve release labels (#1263)
* fix(build): preserve artifacts and align CI and release checks

* Preserve platform compatibility and prevent stale container promotion retries

* test(build): compile stdin import helpers in a temporary fixture

* test: distinguish Markdown workflow fixture identities

* fix(ci): restore changed Markdown formatting checks

* test(ci): follow renamed Markdown formatting step

* fix(build): allow maintainer imports from virtual entrypoints

* fix(build): resolve both standalone entrypoint paths

* Keep maintainer eval imports inert with matching positional paths

* fix(build): keep combined evaluation imports inactive

* test(build): preserve portable preload paths across runtimes

* Preserve manual release categories after pull request retitling

* fix: reconcile automatic labels after manual release overrides

* test: batch workflow condition evaluations

* Disambiguate manual release category test identities

* Use asynchronous Bash workflow fixture and preserve process diagnostics

* Pass workflow condition scripts through existing stdin helper

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
2026-10-07 22:09:59 -04:00
mldangelo-oaiandMichael D'Angelo 7beb1ac4ac fix(auth): document SSH login fallback (#1294)
* fix(auth): document SSH login fallback

* docs(auth): simplify remote login instructions

* docs(docker): clarify runner login options

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-05 14:19:38 -04:00
mldangelo-oai a41402bbde refactor(ci): share container Compose smoke checks (#1231) 2026-10-05 03:08:00 -04:00
dependabot[bot]andMichael D'Angelo ccf5a3f92d fix(container): support Codex 0.156.1 with Bubblewrap (#997)
* chore(deps): bump the codex group across 3 directories with 2 updates

Bumps the codex group with 1 update in the /plugins/codex-security/mcp-app directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript).
Bumps the codex group with 1 update in the /plugins/codex-security/skills/triage-finding/evals directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript).
Bumps the codex group with 2 updates in the /sdk/typescript directory: [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript) and [@openai/codex](https://github.com/openai/codex/tree/HEAD/codex-cli).


Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1
- [Release notes](https://github.com/openai/codex/releases)
- [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript)

Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1
- [Release notes](https://github.com/openai/codex/releases)
- [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript)

Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1
- [Release notes](https://github.com/openai/codex/releases)
- [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript)

Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1
- [Release notes](https://github.com/openai/codex/releases)
- [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript)

Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1
- [Release notes](https://github.com/openai/codex/releases)
- [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript)

Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1
- [Release notes](https://github.com/openai/codex/releases)
- [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript)

Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1
- [Release notes](https://github.com/openai/codex/releases)
- [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript)

Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1
- [Release notes](https://github.com/openai/codex/releases)
- [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript)

Updates `@openai/codex` from 0.155.0 to 0.156.1
- [Release notes](https://github.com/openai/codex/releases)
- [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/codex-cli)

Updates `@openai/codex-sdk` from 0.155.0 to 0.156.1
- [Release notes](https://github.com/openai/codex/releases)
- [Commits](https://github.com/openai/codex/commits/rust-v0.156.1/sdk/typescript)

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

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

* fix(container): use Bubblewrap with Codex 0.156.1

---------

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-09-23 14:37:33 -04:00
Kyle Brown e019a6b790 build(plugin): bundle verified native runtime artifacts (#797)
* build(plugin): assemble native payloads for package builds

* build(plugin): preserve native dependency notices

* fix(ci): prepare native notices before container build

* test(ci): account for reusable native build jobs

* test(ci): avoid stale Windows synchronous subprocess timers

* fix(plugin): derive native copies from the package manifest

* ci: share native artifacts across pull request checks

* test: update reusable workflow contract

* ci: simplify container release concurrency and authorization
2026-09-08 22:27:30 +00:00
Kyle Brown f2ec53dcc9 fix: reduce deduplication pair review effort to high (#813)
* fix: reduce deduplication pair review effort to high

* test: align Docker deduplication mock with Sol high
2026-09-04 11:04:30 -07:00
Kyle Brown 3f3aa8e97b fix(typescript): harden deduplication review validation (#781)
Bind screening decisions to host-assigned pairs, preserve same-conversation corrective reviews, and report structured failures without caching invalid results.

Resolve integration with current main while retaining its grouping behavior and scan-directory support.
2026-09-01 16:25:15 -07:00
Kyle Brown bb3bfccb05 feat(typescript): align deduplication review stages (#780)
* feat(typescript): align deduplication review stages

* refactor(typescript): simplify deduplication helpers

* fix(typescript): distinguish blocked deduplication reviews

* perf(typescript): index deduplication groups by component
2026-09-01 16:01:13 -07:00
mldangelo-oai 7115caadb9 fix(container): publish complete release image metadata (#714) 2026-08-28 23:18:20 -07:00
Kyle Brownandkmbroai d4877e4e49 refactor(container): share one image for scanner and findings service (#701)
* ci: add findings package bootstrap workflow

* refactor(container): share one image for scanner and findings service

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>
2026-08-27 23:53:30 -07:00
Kyle Brownandkmbroai 3ee32a06a1 feat(typescript): persist findings and embeddings through the API (#660)
* feat(typescript): add findings service plumbing

* feat(typescript): persist findings and embeddings through the service API

* test(typescript): extract findings service Docker smoke runner

* refactor(test): translate findings storage fixture to TypeScript

* refactor(server): omit provisional bulk dedupe endpoint

* docs: use canonical plugin source in findings import example

* fix(plugin): support isolated findings helper execution

* test(plugin): include findings storage in schema expectations

* test(plugin): update findings migration snapshots

* test: read findings smoke fixture from canonical plugin source

* feat(typescript): deduplicate scans through SDK and CLI (#661)

* feat(typescript): deduplicate stored findings with Codex

* refactor(typescript): group server deduplication modules

* refactor(typescript): run scan deduplication in SDK and CLI

* feat(typescript): scope finding retrieval by repository

* refactor(typescript): trim redundant deduplication code

* fix(typescript): restore complete deduplication reviews

* refactor(typescript): trim deduplication setup and smoke bookkeeping

* perf(typescript): reduce deduplication review work

* test(plugin): include repository associations in schema expectations

* test(plugin): update repository migration snapshots

* test: read scan smoke manifest from canonical plugin source

* feat: publish custom findings and persist dedupe groups (#667)

* feat: publish custom findings and persist dedupe groups

* refactor(test): translate write-back smoke assertions to TypeScript

* test: align findings writeback with pair-only deduplication

* test(plugin): include dedupe groups in schema expectations

* test(plugin): update dedupe group migration snapshots

* feat: persist resumable local findings workflows (#673)

* feat: persist resumable local findings workflows

* fix: store workflow metadata in explicit SQLite columns

* test(plugin): align workflow helper and schema contracts

* feat: checkpoint dedupe reviews and replay group writes (#674)

* feat: checkpoint dedupe reviews and replay group writes

* fix: keep workflow source snapshots within the checkout

* fix: migrate dedupe checkpoint bindings to SQLite columns

* test: retain required canonical ID in translated checkpoint checks

* test: align checkpoint contracts with the updated findings stack

* feat(server): add read-only findings dashboard (#679)

* feat(server): add read-only findings dashboard

* fix(dashboard): show workflows first

* refactor(dashboard): simplify rendering and reuse workflow storage

* fix(dashboard): preserve filters and completed result semantics

* fix(dashboard): retain published repository identities in search

* fix(dashboard): include deep scan activity in freshness

* refactor(dashboard): use native selects and remove dropdown machinery

* refactor(dashboard): show only stored findings and groups

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>

---------

Co-authored-by: Kyle Brown <272643392+kmbroai@users.noreply.github.com>

* feat(container): publish findings service and distribute workflow runner (#666)

* feat(typescript): deduplicate stored findings with Codex

* refactor(typescript): group server deduplication modules

* refactor(typescript): run scan deduplication in SDK and CLI

* feat(typescript): scope finding retrieval by repository

* refactor(typescript): trim redundant deduplication code

* fix(typescript): restore complete deduplication reviews

* feat(container): publish findings service image to GHCR

* feat: publish custom findings and persist dedupe groups

* refactor(container): trim findings release verification

* refactor(typescript): trim deduplication setup and smoke bookkeeping

* feat(container): add scanner workflow runner Compose

* refactor(test): translate write-back smoke assertions to TypeScript

* refactor(test): translate runner smoke fixtures to TypeScript

* perf(typescript): reduce deduplication review work

* test: align findings writeback with pair-only deduplication

* test(plugin): include repository associations in schema expectations

* test(plugin): include dedupe groups in schema expectations

* test(plugin): update repository migration snapshots

* test(plugin): update dedupe group migration snapshots

* test: read scan smoke manifest from canonical plugin source

---------

Co-authored-by: Kyle Brown <272643392+kmbroai@users.noreply.github.com>

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>
2026-08-27 16:38:49 -07:00
Kyle Brownandkmbroai 406de5cc46 feat(typescript): add findings service plumbing (#653)
* feat(typescript): add findings service plumbing

* refactor(server): omit provisional bulk dedupe endpoint

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>
2026-08-27 14:22:12 -07:00
ianw-oai f7364ed245 feat(bulk-scan): enforce a cost limit for each repository (#379) 2026-08-14 21:56:03 -07:00
mldangelo-oaiandDipesh Babu 01e90ceb34 fix(cli): support bulk-scan options and flexible CSV ordering (#197)
* Allow scan options during bulk discovery

* fix: preserve container safeguards for flexible bulk scans

* fix: preserve container sandboxing after option terminators

* fix: preserve metadata flags after incomplete scan options

* fix: preserve bulk-scan option terminator boundaries

* fix: isolate bulk-scan terminators from other commands

* refactor: narrow bulk scan fixes to supported argument paths

* Recognize container bulk-scan prompt option values

* fix(cli): simplify bulk scan option terminators

* fix(cli): accept a bulk-scan CSV named bulk-scan

---------

Co-authored-by: Dipesh Babu <dipeshmahato@outlook.com>
2026-08-10 15:01:34 -07:00
David Chouinardandmldangelo-oai bf8c36529a release: publish protected multi-architecture Codex Security images (#17)
* release: publish protected multi-architecture Codex Security images

* test: keep customer container coverage mirror-safe

* test: verify empty repository inventories fail safely

* fix: select legacy sandbox only on AppArmor-restricted hosts

* fix: detect AppArmor restrictions without trailing newlines

* fix: promote verified and attested container releases safely

* fix: support restricted Ubuntu container scans safely

* fix: bind clean scans to their pinned Git revision

* fix: verify published platform images and preserve sandbox overrides

---------

Co-authored-by: mldangelo-oai <mdangelo@openai.com>
2026-07-30 13:49:51 -07:00
ianw-oai 10e7a22461 chore(codex-security): sync public projection
- [codex-security] prevent untrusted pre-commit hook execut...
  (And 4 more changes)

GitOrigin-Timestamp=2026-07-27T10:45:08-07:00
GitOrigin-RevId: 23c8e48a18db9283b3fc1335bf40ea63402400c6
2026-07-27 18:00:36 +00:00