Repository navigation
fix(deps): resolve image-size dependabot alerts - #84
Conversation
…erts Fixes GHSA-5p2g-fcmc-qvqq and GHSA-w3rx-r6r6-pgpr (image-size DoS via infinite loop in JXL/HEIF/ICNS parsers), pulled in transitively via expo > @expo/metro > metro. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011gKMnnTvrcVs5xiJttUQ7c
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughThe pnpm overrides configuration now pins image-size to version 2.0.4. Priority: ⬆️ High Merge Risk: ⚪ Minimal · up to The image-size override and lockfile are aligned; this change is ready to merge after normal checks. Pre-merge checks |
|



Summary
Follow-up to #83. Resolves the newly surfaced Dependabot alerts that have an upstream fix.
Fixed
image-size(high) — GHSA-5p2g-fcmc-qvqq (JXL/HEIF parsers) and GHSA-w3rx-r6r6-pgpr (ICNS parser): infinite-loop DoS. Pulled in viaexpo > @expo/metro > metro. Added a pnpm override to2.0.4(metro pins^1.0.2). Verified metro's usage (require("image-size").default(buffer)) still works with the v2 CJS build, and the playground Android/iOS bundles build.Not fixable yet (no patched release exists upstream; npm latest is still a vulnerable version)
node-forge1.4.0 (high) — GHSA-86w9-cpqp-85rv, viaexpo > @expo/cli. Build-time CLI tooling only.braces3.0.3 (high) — GHSA-vfj7-8cjw-p6xm, viametro-file-map > micromatch. Dev/build tooling only.sprintf-js1.0.3 (moderate) — GHSA-hp3w-g68c-fv3c, viababel-jest > ... > js-yaml > argparse. Dev/test tooling only.All three are transitive dependencies of the playground app only; none ship in
@formbricks/react-native. They need to be re-checked once upstream releases patches.Test plan
Ran locally:
pnpm lintpnpm check-typespnpm testpnpm buildpnpm audit: 5 → 3 remaining (all without upstream fix)🤖 Generated with Claude Code
https://claude.ai/code/session_011gKMnnTvrcVs5xiJttUQ7c
Generated by Claude Code