Hasty Briefsbeta

Bilingual

Show HN: Vet – A tool for safely running remote shell scripts

10 months ago
  • #shell-scripts
  • #security
  • #developer-tools
  • Piping scripts directly to bash is risky and can lead to executing malicious or partial scripts.
  • vet provides a secure workflow to inspect and approve remote scripts before execution.
  • Features of vet include fetching scripts, diffing changes, linting with shellcheck, and requiring explicit approval.
  • Example usage: vet https://example.com/install.sh replaces the unsafe curl | bash pattern.
  • Install vet by running: curl -sL https://getvet.sh | sh.