fix(deps): pin form-data to >=4.0.6 to address CRLF injection (GHSA-hmw2-7cc7-3qxx) - #74
Merged
Merged
Conversation
…mw2-7cc7-3qxx) form-data 4.0.0-4.0.5 (pulled in transitively by @slack/web-api and its axios dependency) is vulnerable to CRLF injection via unescaped multipart field names/filenames (high severity, CVSS 7.5). Added a package.json "overrides" entry to force form-data >=4.0.6 across the dependency tree; bun audit now reports no vulnerabilities. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G4oekbpTm8WFp13Tv2APM
shahariaazam
marked this pull request as ready for review
July 23, 2026 06:41
shahariaazam
added a commit
that referenced
this pull request
Jul 23, 2026
Closes #83 Bumps `package.json` to `0.7.1` for the v0.7.1 patch release. After merge, tag `v0.7.1` on main triggers the Release workflow (binaries + GitHub release + Homebrew tap). Changes since v0.7.0: - fix: prevent `--json` output truncation at 64 KiB pipe buffer (#76) - fix: stop hardcoding stale version in local bun builds (#80) - fix(deps): pin `form-data` to >=4.0.6 — GHSA-hmw2-7cc7-3qxx (#74) - ci: fail release when tag mismatches package.json version (#82) Co-authored-by: Shaharia Azam <mail@shaharia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated dependency-security fix (draft, awaiting proper triage)
Linked issue: #75
This PR is an automated security-patch sweep, equivalent to responding to a Dependabot alert. GitHub's Dependabot Alerts API was not reachable from the sandbox that produced this PR, so a local
bun auditwas run as a substitute.This is opened as a draft and is NOT requesting immediate merge. Per this repo's
CLAUDE.mdconstitution, every PR must be linked to a pre-triaged GitHub issue carrying theready-for-prlabel before it can be merged. Issue #75 has been opened to track this. A maintainer should triage it and apply theready-for-prlabel if this remediation path is acceptable, or close this PR if a different approach is preferred.This PR does not claim to satisfy the issue-first policy on its own — it is left in draft specifically so it isn't merged before proper triage happens.
What / Why
bun auditreported one high severity advisory:form-datais a transitive dependency pulled in twice — once directly by@slack/web-api(resolved to4.0.4) and once via@slack/web-api'saxiosdependency (resolved to4.0.5). Both are within the vulnerable range>=4.0.0 <4.0.6.How
Added a
package.json"overrides"entry to forceform-datato^4.0.6across the whole dependency tree (a patch-level bump, no breaking changes), then regeneratedbun.lockviabun install.Verification
bun audit— now reports no vulnerabilities (was 1 high)bun run type-check— passesbun test— 176 pass / 0 fail (328 expect() calls)Scope
No application code was touched — only
package.jsonandbun.lock. No other actionable vulnerabilities were found in this sweep.Generated by Claude Code