Repository navigation
FleetFrog 0.5.3
Update the hub before the agents: an older hub can't read every report from a newer agent.
Patch changes
- 015d547: Sign each release's checksums, and check that signature in the install script and before the agent updates itself.
- db83ce2: Run Git with the repository's file system monitor and hooks turned off and with remote helpers such as ext:: disallowed, so a repository on disk can't run programs through the agent. Skip a remote whose name starts with a dash when counting unpushed tags.
- db83ce2: Strip credentials from remote URLs in Git output before it reaches the hub, cap captured output, and download updates to a fresh file name each time.
- 2562d33: The install script downloads only over HTTPS, writes to a fresh file name each time, and runs nothing until the whole script has arrived. Releases also attest SHA256SUMS and install.sh.
- db83ce2: Archive and Trash move only worktrees that still link back to the checkout, and Unarchive puts a worktree back only at a place inside a project folder, so a record written into a repository can't move another folder.
- db83ce2: The same Git hardening, worktree move checks, output redaction and output caps as the Rust agent.
- 1632469: Refuse a batch of more than 1000 runs, a request naming more than 1000 branches or stashes, a branch name that could pass as a Git option, a password longer than 256 characters, or an email longer than 254.
- 818f708: Cut text an agent reports to 4096 characters and lists to 5000 items, and keep at most 5000 checkouts for a machine, so one compromised agent can't fill the hub's database or every dashboard's memory.
- 1632469: Run the hub image's Node by its full path, with pnpm's writable folder off PATH.
- 1632469: Hash passwords at the scrypt cost OWASP recommends. Existing passwords still work and move to the new cost when they're next set.
- 1632469: Limit request bodies and WebSocket messages, so a flood of large ones can't take the hub's memory.
- 355f646: Add FLEETFROG_HOST, the address the dashboard and agent ports listen on, such as 127.0.0.1 behind a reverse proxy on the same host.
- 1632469: Ignore a sign-in provider's picture unless it's a web address, since every viewer's browser fetches it.
- 1632469: Send security headers with every dashboard response: a Content-Security-Policy that runs only the dashboard's own scripts, no framing by other sites, no referrer, and no content sniffing.
- cccaccd: Send Strict-Transport-Security.
- 2a14fb2: Explain a failed sign-in through the provider in the dashboard's own words, and show nothing for any other text a link puts in the address. The hub's log keeps the details.
- 1632469: Send people home after sign-in when the redirect would leave the site through a path such as /.//evil.example.