OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security
TypeScript ai-securityapplication-securityclicode-scanningcodexcodex-securitycybersecuritydevsecopsnodejsnpmopenaisdksecuritytypescriptvulnerability-scanning
ci: remove redundant package builds and unreachable setup (#397)
mldangelo-oai14109190ad85
diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.ymlindex 60892c1ed..2f7d36d70 100644--- a/.github/workflows/node-ci.yml+++ b/.github/workflows/node-ci.yml@@ -68,34 +68,18 @@ jobs:- name: Typecheckrun: pnpm --dir sdk/typescript run types- - name: Prepare private Windows test root- if: runner.os == 'Windows'- id: windows-temp- shell: pwsh- run: |- $ErrorActionPreference = 'Stop'- $path = Join-Path $env:USERPROFILE '.codex-security-ci-temp'- New-Item -ItemType Directory -Path $path -Force | Out-Null- $sid = (whoami /user /fo csv /nh | ConvertFrom-Csv -Header Name, Sid).Sid- & icacls $path /inheritance:r /grant:r "*${sid}:(OI)(CI)F" '*S-1-5-18:(OI)(CI)F' '*S-1-5-32-544:(OI)(CI)F' | Out-Null- if ($LASTEXITCODE -ne 0) { throw 'Could not secure the Windows test root' }- "path=$path" >> $env:GITHUB_OUTPUT-- name: Testtimeout-minutes: 10env:- TEMP: ${{ steps.windows-temp.outputs.path || runner.temp }}- TMP: ${{ steps.windows-temp.outputs.path || runner.temp }}- TMPDIR: ${{ steps.windows-temp.outputs.path || runner.temp }}- CODEX_SECURITY_ALLOW_MACHINE_POLICY_TEST: ${{ runner.environment == 'github-hosted' && runner.os == 'Windows' && 'true' || 'false' }}+ TEMP: ${{ runner.temp }}+ TMP: ${{ runner.temp }}+ TMPDIR: ${{ runner.temp }}+ CODEX_SECURITY_ALLOW_MACHINE_POLICY_TEST: "false"run: pnpm --dir sdk/typescript run test- name: Check formattingrun: pnpm --dir sdk/typescript run format- - name: Build- run: pnpm --dir sdk/typescript run build-- name: Packworking-directory: sdk/typescriptrun: pnpm pack --pack-destination ../../dist@@ -218,10 +202,6 @@ jobs:working-directory: sdk/typescriptrun: pnpm install --frozen-lockfile- - name: Build- working-directory: sdk/typescript- run: pnpm run build-- name: Packworking-directory: sdk/typescriptrun: pnpm pack --pack-destination ../../distdiff --git a/.github/workflows/node-release.yml b/.github/workflows/node-release.ymlindex 84ef68899..fd17d9fa0 100644--- a/.github/workflows/node-release.yml+++ b/.github/workflows/node-release.yml@@ -127,7 +127,6 @@ jobs:pnpm --dir sdk/typescript run typespnpm --dir sdk/typescript run testpnpm --dir sdk/typescript run format- pnpm --dir sdk/typescript run build- name: Packworking-directory: sdk/typescriptdiff --git a/Dockerfile b/Dockerfileindex 6968cd9a4..bc95d696a 100644--- a/Dockerfile+++ b/Dockerfile@@ -13,7 +13,6 @@ RUN corepack enable \COPY sdk/typescript/ ./RUN pnpm run types \- && pnpm run build \&& pnpm pack --pack-destination /build/package \&& node scripts/check-package.mjs /build/package/*.tgz