Skip to content

security: remediate the dependency baseline before enforcing the audit gate #266

Todo

Description

@divyanshAgarwal123

Follow-up requested in #242, introduced by #265. The new CI audit is intentionally report-only until the existing baseline is remediated or narrowly accepted by the maintainer.

Measured against main dc7a83c / committed lockfile 79905560a909a29ff2e4667dfbeb97ce3a7a56e28ae7b90600e5be0fcb68abdf, with pnpm 9.0.0:

  • Workspace audit: 216 advisory records across 39 modules; registry metadata reports 1 critical / 86 high affected entries.
  • --prod selection: 165 records; 1 critical / 54 high. This still includes tooling declared as regular dependencies, not just deployed API code.
  • Existing Dependabot chore(deps): bump nodemailer from 8.0.5 to 10.1.4 #263 (nodemailer) and chore(deps): bump zod from 4.3.6 to 4.6.6 #264 (zod) already address two direct dependencies. Do not duplicate them.
  • The critical transitive proxy-addr entry has a published patch at 2.0.8. Other transitive groups include Prisma, Vite and ESLint dependencies; parent constraints and runtime/build context need review before choosing upgrades or exceptions.
  • GenAI requirements are unpinned; establish a compatible resolved Python baseline before claiming effective pip alert/update coverage.

The complete module inventory and triage decisions are in .github/security-baseline.md in #265. These are public third-party advisories/installed-version matches, not demonstrated application exploits. Exploitable source findings must follow SECURITY.md privately.

Acceptance:

  • Review existing bot updates and remediate the critical/high direct and transitive dependency groups with applicable tests.
  • Distinguish deployed paths from build/dev-only conditions; document any temporary narrow exceptions with owner, reason and review date.
  • Establish/test a compatible Python constraints or lock strategy and verify pip security-update behavior when an applicable alert exists.
  • Re-run the workspace audit and the production dependency selection on the resulting lockfile.
  • Once the owner accepts the remaining baseline, remove continue-on-error from the audit step so high-severity findings fail CI. Keep registry/network failures visible too.

No blanket ignore or unreviewed override is proposed here, and this follow-up does not request a difficulty upgrade or claim additional points.

Activity

  1. TheCodeHeist-Coder commented on Nov 28, 2026

    @TheCodeHeist-Coder
    Owner

    @divyanshAgarwal123 Thanks for your deep analysis. STart working on it.

  2. divyanshAgarwal123 commented on Dec 3, 2026

    @divyanshAgarwal123
    ContributorAuthor

    I ran the production dependency audit with pnpm 9 on main (0a93b3a) and on a local merge of #280 (d0abc4e). The high-severity advisory count drops from 35 to 22. Both runs report zero critical advisories. I’ll check the remaining advisories against main after #280 lands.

    The GenAI lock also passed the offline embedding and health checks on macOS. The Linux image still needs a test run.

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions