Skip to content

Feat/dependency audit 2214 - #2265

Merged
Olowodarey merged 4 commits into
Arena1X:mainfrom
Trusty08:feat/dependency-audit-2214
Nov 23, 2026
Merged

Olowodarey merged 4 commits into
Arena1X:mainfrom
Trusty08:feat/dependency-audit-2214

Conversation

@Trusty08

Copy link
Copy Markdown
Contributor

closes #2214

Introduces a scheduled and PR-triggered CI workflow that scans both the backend and frontend dependency trees for known vulnerabilities, failing on any high or critical advisory.

Changes

  • .github/workflows/security-audit.yml — new workflow with two jobs (audit-backend, audit-frontend), triggered on PRs that touch lockfiles or package.json, on a weekly Monday schedule, and on manual dispatch.
  • backend/.audit-ci.jsonc — audit-ci config for the backend; threshold set to high, empty allowlist ready for reviewed exceptions.
  • frontend/.audit-ci.jsonc — same for the frontend.

Tool choice: audit-ci

pnpm audit --audit-level=high has no native allowlist — you'd have to suppress exit codes or grep output, both fragile. audit-ci reads a config file, supports pnpm's output format natively, prints a clean summary table, and exits non-zero on threshold violations. It runs via pnpm dlx so nothing is added to package.json.

Allowlist mechanism

Add a GHSA advisory ID to the "allowlist" array in the relevant .audit-ci.jsonc with an inline comment explaining why it was accepted and when to revisit. An empty allowlist means any unreviewed high/critical advisory fails the job.

Schedule

The weekly cron (0 8 * * 1) catches advisories published after a dependency was already merged — something a PR-only trigger cannot catch.

@drips-wave

drips-wave Bot commented Nov 23, 2026

Copy link
Copy Markdown

@Trusty08 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

@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
insight-arena-4rll Error Error Nov 23, 2026 9:35am UTC

@Trusty08

Copy link
Copy Markdown
Contributor Author

closes #2214

@Olowodarey
Olowodarey merged commit 9c14b9d into Arena1X:main Nov 23, 2026
3 of 10 checks passed

This branch had an error being deployed

1 failed deployment
Preview — 3b5323ac Deployed Nov 23, 2026 by vercel[bot]
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.

[Security] — Dependency vulnerability audit in CI

2 participants