Skip to content

CLI self-update lacks signature/checksum verification; archive extraction should be hardened #7552

@glaziermag

Description

@glaziermag

Severity

High (supply-chain + archive extraction safety)

Where

crates/goose-cli/src/commands/update.rs

What was observed

Update downloads a release archive and then extracts it directly using library extract/unpack-everything helpers.

There is no checksum/signature verification step before replacing the installed binary.

Why this matters

Even with HTTPS, relying solely on download from GitHub Releases without verifying an expected digest/signature is a common supply-chain weak point.

Using bulk extract helpers can reintroduce zip-slip/tar-slip style path traversal risks unless the library guarantees safe paths for all entries.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions