Skip to content

feat: add dependency vulnerability auditing and SBOM artifact to CI - #1064

Open
doctorlight0 wants to merge 2 commits into
StellarDevHub:mainfrom
doctorlight0:feat/supply-chain-audit-sbom
Open

feat: add dependency vulnerability auditing and SBOM artifact to CI#1064
doctorlight0 wants to merge 2 commits into
StellarDevHub:mainfrom
doctorlight0:feat/supply-chain-audit-sbom

Conversation

@doctorlight0

Copy link
Copy Markdown
Contributor

Description

🚀 Feature Overview

Make third-party dependency risk visible and actionable across the frontend, backend, and Rust contract workspace.

Changes

CI (`.github/workflows/ci.yml`)

  • Backend: Added npm audit --audit-level=high step and npm sbom SBOM generation with artifact upload
  • Frontend: Added npm audit --audit-level=high step and npm sbom SBOM generation with artifact upload
  • Contracts: Added taiki-e/cargo-audit action, cargo audit --deny warnings, and SBOM generation with artifact upload

Policy

  • New: docs/governance/SUPPLY_CHAIN_SECURITY.md — defines severity thresholds, exception process, remediation SLA, and local audit commands

Acceptance Criteria Met

  • Frontend, backend, and Rust dependency checks run in CI
  • SBOM available as a workflow artifact for each protected build
  • High-severity findings fail the workflow (npm --audit-level=high, cargo --deny warnings) or require documented exception per policy
  • Policy distinguishes dev-only from runtime dependency risk (npm audit naturally separates them; policy documents this)
  • Contributor documentation explains local audit commands (in the supply chain security policy)

Related Issues

Closes #894

Martins-594 and others added 2 commits July 30, 2026 22:19
The /api/v1/deploy route was using a simulated deployment (Math.random,
setTimeout) instead of actually invoking the Soroban CLI. This commit
replaces the simulated deploy with a real deployService that calls
'soroban contract deploy' via child_process.

- Create deployService.ts with proper Soroban CLI integration
- Create deploy.routes.ts with POST /deploy endpoint
- Register deploy route in routes/index.ts
- Remove reliance on simulated Math.random/setTimeout patterns

Closes StellarDevHub#993
- Add npm audit --audit-level=high to backend and frontend CI jobs
- Add cargo audit --deny warnings to contracts CI job
- Add npm sbom / cargo sbom SBOM generation with artifact upload
- Create supply chain security policy with severity thresholds,
  exception process, and remediation SLA

Closes StellarDevHub#894
@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

@doctorlight0 is attempting to deploy a commit to the Ayomide Adeniran's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@doctorlight0 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ayomideadeniran

Copy link
Copy Markdown
Contributor

pr under review

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.

[Supply Chain] Add dependency vulnerability auditing and an SBOM artifact to CI

3 participants