Skip to content

v3.0.12

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Oct 11:52
· 4 commits to main since this release

Security

  • Clother is built with Go 1.27.2. v3.0.11 was built with Go 1.23, which no longer gets security fixes: govulncheck finds 35 reachable standard library vulnerabilities in it, and none in this release
  • clother test and clother bench no longer follow redirects. Go drops Authorization on a cross-host redirect but keeps x-api-key, so for Kimi Code and the other providers that take ANTHROPIC_API_KEY, a 302 from the endpoint sent your key to whatever host it named
  • clother bench masks your API key when a provider echoes it back in an error message
  • clother update and scripts/install.sh only download over https (plain http is accepted for loopback origins only), refuse a redirect from https to http or from GitHub to another host, cap download sizes, and refuse an archive whose clother entry is not a regular file
  • Releases can now be signed: clother update verifies an ed25519 (minisign) signature of checksums.txt before it trusts the checksum. No key is embedded yet, so on the default GitHub origin a missing signature only prints a warning. A release origin set through CLOTHER_UPDATE_URL or CLOTHER_RELEASE_BASE_URL is refused when Clother cannot authenticate the release, unless CLOTHER_ALLOW_UNSIGNED_ORIGIN=1
  • scripts/install.sh refuses to install when no SHA-256 tool is available instead of skipping the check, matches the checksum on the exact asset name, and cannot run half-downloaded. clother.sh only fetches it over https
  • secrets.env is opened without following symlinks, and Clother's config, data and cache directories are created 0700. Masked keys show their last four characters only
  • The CI and release workflows pin every action to a commit SHA, and only the job that publishes the release can write to the repository

Fixes

  • clother uninstall deleted <bin>/claude whatever it was and ran a recursive delete on the directories named by CLOTHER_CONFIG_DIR, CLOTHER_DATA_DIR and CLOTHER_CACHE_DIR: pointed at ~/Documents, it wiped it. It now lists what it is about to remove, deletes only the launchers and files Clother created, keeps a directory that holds anything else, refuses your home directory and the filesystem root, and puts back the claude binary that clother install moved aside
  • clother install no longer deletes a real binary that sits where a launcher or the claude shim goes: it is moved to claude-real or <name>.bak. Symlinks are replaced atomically, so a launcher never disappears from PATH
  • A corrupted launchers.json can no longer make Clother delete files outside its bin directory
  • clother update exits with an error when the new version cannot be downloaded or verified, instead of printing "installed" for the version already there
  • Under Homebrew on Linux, launchers point to the stable bin/clother rather than the versioned Cellar path that brew upgrade removes
  • Relative PATH entries are ignored when looking for the real claude, and file names are compared case-sensitively
  • clother test reports an invalid base URL instead of crashing
  • A value saved in secrets.env with surrounding double quotes no longer loses them on the next read
  • Config files are flushed to disk before they replace the old ones, so a crash right after clother config cannot leave an empty secrets.env
  • clother bench no longer cuts a preview or an error in the middle of a character

Docs

  • README: how updates are verified, what clother uninstall removes, and CLOTHER_ALLOW_UNSIGNED_ORIGIN for local release testing