Commit Graph
12 Commits
Author SHA1 Message Date
Jason Ginchereau 3690eeb098 Fix GNU tar path matching issue 2026-06-22 09:48:00 -10:00
Jason Ginchereau a41517f52a Improve path validations and test coverage 2026-06-19 15:35:16 -10:00
Jason Ginchereau bb827dbfd4 Bump minor version, update test plan 2026-06-19 09:34:38 -10:00
Jason Ginchereau 6e8379ea7a Implement PAX header validation and path safety checks in tar extraction
- Added a new test suite for parser-differential bypass detection in tar archives.
- Introduced length-correct PAX extended-header re-parsing to catch discrepancies between node-tar and system tar.
- Enhanced the listAndValidate function to return approved names alongside violations for better extraction control.
- Implemented checks for unsafe characters and glob metacharacters in entry paths.
- Updated the tar extraction logic to utilize an allow-list for approved entries when path validation is in error mode.
- Added utility functions for writing temporary allow-list files for system tar extraction.
2026-06-19 09:17:41 -10:00
Jason Ginchereau b2734aba36 Remove suppressions that don't work 2026-06-17 14:39:18 -10:00
Jason Ginchereau 6cdcf724e2 Update dependencies to resolve audit issues 2026-06-17 14:39:18 -10:00
Jason Ginchereau cc4da7ddff Fix lint issues 2026-06-17 14:39:18 -10:00
Jason Ginchereau 59a9650ce0 Address copilot review feedback 2026-06-17 14:39:18 -10:00
Jason Ginchereau d14cd0e722 Suppress polynomial-redos warning 2026-06-17 14:39:18 -10:00
Jason Ginchereau 998c5ad7fd feat: optional path validation during cache restore 2026-06-17 14:39:14 -10:00
Jason GinchereauandGitHub 0786132e6a Bump cache package to v6.1.0, update RELEASES.md (#2436) 2026-06-17 11:25:12 -10:00
Jason GinchereauandGitHub 1746c55cc7 Handle cache write error due to read-only token 2026-06-16 08:03:28 -10:00