Skip to content

ci(audit): scope blocking npm-audit gate to published packages#63

Open
ucekmez wants to merge 1 commit into
mainfrom
ci/scope-audit-gate-to-published
Open

ci(audit): scope blocking npm-audit gate to published packages#63
ucekmez wants to merge 1 commit into
mainfrom
ci/scope-audit-gate-to-published

Conversation

@ucekmez

@ucekmez ucekmez commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Audit finding (community/contributor + supply-chain verticals): the
dependency-policy CI gate audited examples and the test harness in the
same blocking loop
as published packages with --audit-level=high. A
high-severity advisory in a demo's transitive dependency therefore failed
CI for every PR.

This is not hypothetical: a hono advisory in examples/node-gate-publisher
recently red-failed main and 8 open PRs at once, even though nothing a
consumer installs was affected.

Change

  • Blocking audit now covers only the published @eep-dev/* packages
    (gates, signer, validator, compliance-cli, setup-cli, middleware, discovery,
    mcp-bridge) — a vulnerability in one of these ships to consumers, so it
    should gate the build.
  • tests/ and examples/node-gate-publisher move to a separate
    continue-on-error: true advisory step that surfaces high-severity
    advisories as CI warnings without failing the run.

No coverage is lost — examples/tests are still audited, just non-blocking.

Verification

python -c "yaml.safe_load(...)" parses; the dependency-policy job on this
PR exercises the new split. Part of the EEP vertical-audit follow-up (Wave 1).

🤖 Generated with Claude Code

The dependency-policy gate audited examples and the test harness in the
same blocking loop as the published packages, so a high-severity advisory
in a demo's transitive dependency failed CI for every PR. A hono advisory
in examples/node-gate-publisher recently blocked main and 8 open PRs this
way, even though nothing consumers install was affected.

Published @eep-dev/* packages still gate the build (a vulnerability there
ships to consumers). Examples and the test harness move to a separate,
non-blocking advisory step that surfaces high-severity advisories as CI
warnings without failing the run.

Signed-off-by: Ugur Cekmez <ucekmez@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant