Description
The project relies on numerous third-party packages (including bcrypt, axios, next, and many Radix UI components) but does not have a vulnerability scanning step in the CI/CD pipeline. While Dependabot is configured for version bumps, there is no explicit audit gate.
Risk
- Known CVEs in dependencies could go unnoticed until they are exploited
- Supply chain attacks via compromised packages would not be detected early
- The
bcrypt native compilation step introduces additional build-time risk
Suggested Fix
- Add
npm audit (or bun audit) as a CI step that fails builds on high-severity findings
- Consider integrating Snyk or GitHub's built-in Dependabot alerts (already partially configured)
- Establish a regular cadence for dependency review and updates
Example CI step for an existing workflow:
- name: Run npm audit
run: npm audit --audit-level=high
Severity: MEDIUM | Ref: PCS-005
Description
The project relies on numerous third-party packages (including
bcrypt,axios,next, and many Radix UI components) but does not have a vulnerability scanning step in the CI/CD pipeline. While Dependabot is configured for version bumps, there is no explicit audit gate.Risk
bcryptnative compilation step introduces additional build-time riskSuggested Fix
npm audit(orbun audit) as a CI step that fails builds on high-severity findingsExample CI step for an existing workflow:
Severity: MEDIUM | Ref: PCS-005