[security] extractArchive lacks the tar-safety hardening present in download-artifact #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Autonomous security audit finding (HIGH, currently latent).
src/lib/artifact-tar.js:84-90does a rawtar -xfwith no zip-slip / symlink / size-cap protection. The equivalent download-artifact code (download-impl.js:92-408) has that hardening; upload's copy drifted and lacks it. It's exported + tested as if safe but not called in src/ yet — fix before it's wired into an extraction path. Port the download-side entry validation.