Skip to content

OpenSH v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Oct 22:37
· 22 commits to main since this release
0e62246

OpenSH 0.3.0: a safety guard for generated commands.

What's new

  • Safety guard: commands that delete data (rm -rf, del /s, Remove-Item -Recurse), write to disks (mkfs, format, dd of=), rewrite git history (push --force, reset --hard, clean -f), pipe a download into a shell, or shut the machine down now show a red [y/N] prompt before they run, in the interactive shell and with -c.
  • -y/--yes skips the prompt for scripted use.
  • Tests for the guard (tests/test_safety.py) run in CI on Windows, macOS and Linux with Python 3.9, 3.11 and 3.12.
  • New README with banner and logo, usage, safety, configuration, architecture, development and troubleshooting sections.
  • Links, installers and the update check point at muhib-karim/OpenSH.

Install

Platform
Windows irm https://raw.githubusercontent.com/muhib-karim/OpenSH/main/install.ps1 | iex or opsh-windows.zip
macOS curl -fsSL https://raw.githubusercontent.com/muhib-karim/OpenSH/main/install.sh | bash or opsh-macos.tar.gz
Linux same script, or opsh-linux.tar.gz

The binaries are single-file PyInstaller builds made by the release workflow on this tag.