fix: remediate Dependabot security alerts (2026-06-03)#2427
Merged
Conversation
Resolves Dependabot alerts #399 (medium: unbounded decompression DoS) and #400 (high: crafted ICC mluc tag DoS), both patched in 4.39.0. Newer exifreader added a second type parameter to TypedTag that exposes the parsed value as [number | null, number | null, number | null] for GPS rational arrays. Widen the exifGPSTagToLatLong signature in typechat-utils/location.ts to accept the new shape. exifGPSTagToLatLong only reads .description (a string), so the looser value tuple has no runtime effect. This supersedes the temporary `exifreader: 4.30.1` pnpm override introduced in #2425. The fixer auto-raised that pin during its next run because the patched version is needed to close the CVEs; this PR removes the override and updates the type signature so the bump can actually land. Verified: - `pnpm install` clean; lockfile collapses to exifreader@4.40.3 (one resolution) - `pnpm --filter typechat-utils build` passes - `pnpm --filter agent-dispatcher... build` passes (includes knowledge-processor and image-memory consumers) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Automated by fix-dependabot-alerts workflow. Applied: diff esbuild ip-address lodash-es nodemailer qs underscore uuid vite ws xml2js Rolled back: @anthropic-ai/sdk Blocked: 0 package(s) Shell packaging: passed Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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 Dependabot Alert Remediation
This PR was automatically generated by the
fix-dependabot-alertsworkflow.Each fix was applied individually and build-verified before inclusion.
Summary
How this works
Review checklist