Repository navigation
ci: scope braces audit exception until patched - #2529
aidandaly24 wants to merge 2 commits into
Conversation
|
Claude Security Review: no high-confidence findings. (run) |
There was a problem hiding this comment.
AgentCore Harness Review
Verdict: Looks good
Small, focused CI change. I verified:
GHSA-vfj7-8cjw-p6xmis the correct advisory for thebracesstack-exhaustion DoS, and itsfirst_patched_versionis stillnull— so the "no patched release" comment is accurate.bun audit --ignore <GHSA-ID>is the documented syntax, and ignoring by GHSA ID (not CVE) is correct.- The ignore is narrowly scoped to this one advisory, so other/new findings will still fail CI.
[email protected]is only pulled in transitively viafast-glob(through@aws-cdk/*) and dev-onlysecretlint/globby; the DoS requires attacker-controlled deeply-nested brace patterns, which isn't a realistic vector for this CLI.
No code changes needed. Just make sure someone keeps an eye on upstream braces so the ignore gets removed once a patched release ships — the comment is the only tracker right now.
|
Closing this draft: excluding GHSA-vfj7-8cjw-p6xm from bun audit would only suppress the finding, not remediate the braces vulnerability. We should revisit when a patched dependency or another actual fix is available. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## refactor #2529 +/- ##
=========================================
Coverage 97.40% 97.40%
=========================================
Files 642 642
Lines 46865 46865
=========================================
Hits 45647 45647
Misses 1218 1218 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Thanks for the report, @codecov-commenter — feedback like this is exactly Would you mind opening a new issue so we can track it properly? If this is a security issue, please report it privately via |
Description
Linux verification currently fails
bun auditon high-severity GHSA-vfj7-8cjw-p6xm in transitive[email protected]. There is no published patched version (bun audit fix --dry-run: no published version fixes), so update the verification command to ignore only this advisory. All other audit findings remain CI failures.Security limitation: This is a temporary risk exception, NOT a vulnerability fix. Maintainer review is needed before merging. When a patched version ships, update the lockfile and remove the exception. This affects the
refactorbase branch and currently blocks unrelated PRs, including #2521.Related Issue
Related: #2528 (closed at the author’s request; the vulnerability remains unresolved).
Documentation PR
Not applicable; the exception and removal condition are documented alongside the workflow step.
Type of Change
Testing
Before:
bun auditfails on GHSA-vfj7-8cjw-p6xm.After:
bun audit --ignore GHSA-vfj7-8cjw-p6xmpasses, reporting 784 packages checked and 1 advisory ignored.bun audit fix --dry-runreports no published version fixes.bun run format:checkandgit diff --checkpass.This changes only the CI workflow; full unit/typecheck/lint/build verification is left to PR CI. AWS E2E is not applicable.
I ran
bun testI ran the relevant end-to-end tests with
bun run test:e2e, or explained why they are not applicableI ran
bun run typecheckI ran
bun run lint:checkI ran
bun run format:checkI ran
bun run buildIf I modified
src/assets/, I updated affected snapshots withbun test <test-file> --update-snapshotsand committed themsrc/assets/was not modified.Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.