Skip to content

ci: No dependency vulnerability audit in any workflow — cargo audit and npm audit missing #1099

Description

@dimka90

Description

The CI pipeline runs linting, tests, builds, bundle-size budget checks, WASM size monitoring, and benchmarks, but includes zero dependency auditing. There is no cargo audit or cargo deny step for Rust dependencies (which include cryptographic and serialization libraries), and no npm audit for the web frontend.

A security-audit.yml workflow exists in the repo but is not triggered on push or pull_request — it requires manual dispatch. A transitive dependency vulnerability in either the smart contract or the web app would ship to production undetected.

Proposed Fix

  1. Add cargo audit step to the contract CI job
  2. Add npm audit --audit-level=high step to the web CI job
  3. Or trigger security-audit.yml on push/PR instead of manual-only

Acceptance Criteria

  • Contract dependencies audited in CI
  • Web dependencies audited in CI
  • Known vulnerabilities block merge
  • security-audit.yml runs on push/PR

Affected Files

  • .github/workflows/ci.yml
  • .github/workflows/security-audit.yml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions