Skip to content

fix(ci): audit only production deps in publish workflows#19

Merged
henrypalacios merged 1 commit intomainfrom
fix/audit-prod-only
Apr 17, 2026
Merged

fix(ci): audit only production deps in publish workflows#19
henrypalacios merged 1 commit intomainfrom
fix/audit-prod-only

Conversation

@henrypalacios
Copy link
Copy Markdown
Collaborator

Summary

  • Add --prod flag to pnpm audit in both publish workflows
  • DevDependencies (vitest, tsup, jsdom) have known moderate/high vulnerabilities that don't ship to consumers
  • Without --prod, the security audit blocks publishing due to devDep false positives

Test plan

  • protocol-core has zero prod deps — audit passes trivially
  • SDK prod deps have no known high vulnerabilities

DevDependencies (vitest, tsup) have known vulnerabilities that don't
ship to consumers. Use --prod flag to audit only production deps,
preventing false-positive blocks on publish.
@henrypalacios henrypalacios merged commit 29f4ba1 into main Apr 17, 2026
2 checks passed
@henrypalacios henrypalacios deleted the fix/audit-prod-only branch April 17, 2026 00:26
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