Skip to content

Assess vulnerabilities #10

Open

Description

@chriscalo

Please assess vulnerabilities in current dep versions.

Follow the process here:

https://chriscalo.github.io/dev-skills/skills/dev-tasks/fix-npm-vulnerabilities

If you have questions, put them in an issue comment and I'll respond.

Activity

  1. claude commented on May 12, 2026

    @claude
    Contributor

    Vulnerability assessment

    Found 5 moderate vulnerabilities, all in the same transitive dependency chain under ava@3:

    ava@3 → update-notifier → latest-version → package-json → got <11.8.5
    

    The root advisory is GHSA-pfrx-2q88-qq97 — got allows redirects to UNIX sockets.

    Fix

    Upgrading ava from ^3.15.0 to ^4.0.0 removes update-notifier entirely, clearing all 5 advisories. I chose v4 (not v5/v6/v7) because:

    • It's the smallest jump that exits the vulnerable range (ava 0.1.0 – 4.0.0-rc.1)
    • ava v4 still supports CommonJS test files (require('ava')); v5+ dropped that
    • Node.js 20 is fully supported

    npm audit reports 0 vulnerabilities after the upgrade. All 7 existing tests pass without modification.

    PR: #12

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions