← Back to PRs

#13254: fix: harden archive extraction and plugin update rollback

by lawyered0 open 2026-02-10 07:41 View on GitHub →
stale
## Summary - harden archive extraction path handling for tar/zip plugin packages - avoid throwing inside tar filters while still rejecting unsafe archive entries - fix plugin update rollback so failed dependency installs (including thrown npm errors) restore the previous plugin state - add regression coverage for update rollback after npm install throws ## Testing - pnpm test src/infra/archive.test.ts - pnpm test src/plugins/install.test.ts

Most Similar PRs