Skip to content

Add node-provider-proxy CI gate failing on high/critical npm audit findings - #8

Merged
torreyatcitty merged 1 commit into
mainfrom
security/audit-gate-node-provider-proxy
Jul 22, 2026
Merged

Add node-provider-proxy CI gate failing on high/critical npm audit findings#8
torreyatcitty merged 1 commit into
mainfrom
security/audit-gate-node-provider-proxy

Conversation

@torreyatcitty

Copy link
Copy Markdown
Contributor

Summary

Adds the security team's required dependency-audit gate for node-provider-proxy: CI fails on any high or critical npm audit advisory. (Sibling PR #7 adds the same gate for c3-api.)

  • Audits two lockfiles: the repo root (covers the shared workspace libraries under c3-api/lib/*, which the proxy declares as its own workspaces — fallible, json-rpc, well-known-*) and node-provider-proxy itself.
  • Plain npm audit --audit-level=high is the whole gate — npm's exit code respects the level flag, so no wrapper script is needed, and no install step is required.
  • Triggers on node-provider-proxy/**, c3-api/lib/** (shared libs the proxy builds against), the root lockfile, and the workflow itself. workflow_dispatch allows manual re-runs when new advisories publish without a code change.

No dependency changes: both lockfiles currently pass (node-provider-proxy has 7 low remaining, below the gate).

Test plan

  • npm audit --audit-level=high exits 0 locally in both the repo root and node-provider-proxy/
  • Trigger the workflow via workflow_dispatch (path filters mean this PR itself won't run it) and confirm it passes

🤖 Generated with Claude Code

…ndings

Security team requirement: dependency audits at the high level must
pass in CI. Audits both the repo-root lockfile (shared workspace
libraries under c3-api/lib, which the proxy declares as workspaces)
and node-provider-proxy's own lockfile. Triggers include c3-api/lib/**
since the proxy builds against those shared libraries.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@torreyatcitty
torreyatcitty merged commit 68594e3 into main Jul 22, 2026
1 check passed
@torreyatcitty
torreyatcitty deleted the security/audit-gate-node-provider-proxy branch July 22, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants