diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0f4101cc1..6eccfa733 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -31,12 +31,15 @@ jobs: - uses: ./.github/actions/setup-nix - name: Audit every Bun lockfile run: | + # GHSA-fc5q-39xc-vjpf: picomatch ReDoS with no fixed release, reached only + # through build and lint tooling. Drop the flag here and in + # build-sdk-publish.sh once a fixed picomatch is published. # shellcheck disable=SC2016 # The child shell expands its own variables. nix develop --no-update-lock-file .#ci -c bash -uo pipefail -c ' status=0 for project in sdk apps/maple-research/frontend apps/maple-auth services/updates services/agent-updates; do echo "::group::$project" - (cd "$project" && bun --no-env-file audit --audit-level=high) || status=1 + (cd "$project" && bun --no-env-file audit --audit-level=high --ignore=GHSA-fc5q-39xc-vjpf) || status=1 echo "::endgroup::" done exit "$status"' diff --git a/scripts/ci/build-sdk-publish.sh b/scripts/ci/build-sdk-publish.sh index 8e571e358..342b11ec3 100755 --- a/scripts/ci/build-sdk-publish.sh +++ b/scripts/ci/build-sdk-publish.sh @@ -66,7 +66,10 @@ nix develop --no-update-lock-file ./sdk -c bash -euo pipefail -c ' case "${sdk_kind}" in npm) bun --no-env-file install --frozen-lockfile --ignore-scripts - bun --no-env-file audit --audit-level=high + # GHSA-fc5q-39xc-vjpf: picomatch ReDoS with no fixed release, reached only + # through build and lint tooling. Drop the flag here and in nightly.yml + # once a fixed picomatch is published. + bun --no-env-file audit --audit-level=high --ignore=GHSA-fc5q-39xc-vjpf bun --no-env-file run format:check bun --no-env-file run build VITE_OPEN_SECRET_API_URL=http://127.0.0.1:3000 \