[CI] Add a dependency audit and license check gate

Open
#1,352 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 2 days

@jegedeferanmi45-code is already working on this.

Since Nov 19, 2026.

  • #1385 by @jegedeferanmi45-code — open

Assessment

This issue has not been assessed yet.

Description

ci medium security Stellar Wave

Summary

CI does not run a dependency vulnerability audit or a license compatibility check. A high severity advisory or an incompatible license can enter through a lockfile update without a failing check.

Motivation

The project ships contracts, a web app, and serverless functions with separate dependency trees. A single audit job gives maintainers a consistent signal and a place to record accepted exceptions instead of relying on ad hoc review.

Proposed Solution

Add a CI job that runs the package manager audit for the JavaScript workspace and cargo audit for the Rust workspace, failing on high or critical advisories. Add a license check with an allowlist that matches the project's MIT licensing and record any reviewed exception with an expiry date. Document how to run the checks locally.

Scope

Field Value
Area CI
Protocol affected None
Network testnet and mainnet
Breaking change? No

Alternatives Considered

Relying on Dependabot alerts keeps the signal outside CI and does not cover the Rust workspace. A full software composition analysis service adds an external dependency before the basic checks exist.

Acceptance Criteria

  • CI runs the JavaScript audit and cargo audit
  • High and critical advisories fail the job
  • The license check uses a checked-in allowlist
  • Reviewed exceptions include an owner and expiry date
  • The contribution guide documents the local commands
  • The job does not require repository secrets

Additional Context

The JavaScript workspace uses pnpm and the Rust workspace is under packages/contracts. The CI workflow is .github/workflows/ci.yml. This issue is about detection and policy, not an automatic dependency upgrade.

Dominant language
TypeScript
Stars
17
Forks
129
Avg merge
3d 13h
Merged PRs (30d)
54

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from drydocs/meridian

All issues in drydocs/meridian

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.