Skip to content

Security enhancements - #200

Merged
TwitchBronBron merged 1 commit into
v1from
chore/fix-audit-issues-v1
Sep 2, 2026
Merged

Security enhancements#200
TwitchBronBron merged 1 commit into
v1from
chore/fix-audit-issues-v1

Conversation

@TwitchBronBron

@TwitchBronBron TwitchBronBron commented Sep 2, 2026

Copy link
Copy Markdown
Member

Clears the six high-severity advisories that were failing the security-audit gate on the v1 branch. npm run audit now passes; 0 high remain in npm audit --omit=dev.

Ships to consumers

Nothing in this PR — every fix is an overrides pin, and consumers don't inherit overrides. Verified what a fresh consumer install of this package resolves through our published ranges:

Advisory Parent's declared range Fresh install gets Consumer exposed?
brace-expansion (high ×3) minimatch ^1.1.7 1.1.18 (patched) No
form-data (high) @types/request ^2.5.5 2.5.6 (patched) No
ip-address (high ×3) socks ^10.1.1 10.7.0 (patched) No
js-yaml (high ×3) coveralls-next 4.2.0 (exact pin) 4.2.0 (vulnerable) Yes

The first three were stale-lockfile-only: consumers already resolve patched versions; the overrides bring this repo's lockfile/CI in line. The overrides are not what protects consumers — the ranges already do.

Lockfile only (dev deps)

browserslist → ^4.28.8 (GHSA-c83g-rgw3-j3cx, GHSA-73wf-gq98-2v4g); fast-uri → ^3.1.5.

Notes for the reviewer

  • The one real consumer exposure is js-yaml via coveralls-next, which the published brighterscript@1.0.0-alpha.52 still lists in production dependencies. This is already fixed on the brighterscript v1 branch (the master merge brought in chore: remove dead production dependencies brighterscript#1735's prod-dep cleanup) but no alpha has been published since — publishing 1.0.0-alpha.53 resolves it for all consumers; this repo then picks it up on its next lockfile refresh (^1.0.0-alpha.52 already covers it).
  • Remaining moderates (qs, uuid) are also consumer-inherited but unfixable at this level: postman-request pins qs ~6.14.1 / uuid ^8.3.2, so no safe resolution exists without upstream releases. Below the high gate floor; deferred.

Verification

npm run preversion passes (build, lint, 129 tests at 96% statement coverage); npm run audit exits clean.

🤖 Generated with Claude Code

Add overrides clearing six high-severity advisories that were failing
the security-audit gate on v1: brace-expansion, browserslist, fast-uri,
form-data, ip-address, and js-yaml. All are transitive, and each is
pinned to a patched release within its existing major.

Four of these (brace-expansion, form-data, ip-address, js-yaml) were
present in the production tree, so this reduces the prod exposure of
the v1 line as well as greening CI.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@TwitchBronBron
TwitchBronBron merged commit 9d2c148 into v1 Sep 2, 2026
8 checks passed
@TwitchBronBron
TwitchBronBron deleted the chore/fix-audit-issues-v1 branch September 2, 2026 13:15
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.

1 participant