macOS
brew install shclocal Homebrew formula metadata
sudo port install shcMacPorts ports tree · devel/shc/Portfile · ソース: api.github.com
brew / 順位 3827
shc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install shclocal Homebrew formula metadata
sudo port install shcMacPorts ports tree · devel/shc/Portfile · ソース: api.github.com
sudo apk add shcAlpine Linux edge package indexes · shc · ソース: dl-cdn.alpinelinux.org
sudo dnf install shcFedora Rawhide package metadata · shc · ソース: dl.fedoraproject.org
nix profile install nixpkgs#shcnixpkgs package indexes · pkgs/by-name/sh/shc/package.nix · ソース: api.github.com
sudo apt install shcUbuntu 24.04 LTS package indexes · shc · ソース: archive.ubuntu.com
概要
Shell Script Compiler
履歴
shc packages shell scripts as executable binaries by generating C source that decrypts and runs the original script through its designated shell.
shc was created as a generic shell-script-to-executable tool. It encodes and encrypts a script, emits C source, and invokes the system compiler to produce a stripped executable.
The current official project is maintained in the neurobin GitHub repository and documents experimental anti-tracing hardening alongside its traditional expiration and obfuscation capabilities.
shc is packaged for multiple Unix-like systems, including Alpine, Fedora-family distributions, Ubuntu, Nix, MacPorts, and Homebrew.
A typical invocation is shc -f script.sh -o binary. The resulting executable behaves like the source script but remains dependent on the shell named by its shebang.
Users should test generated binaries carefully. The official documentation notes argument-size limits and describes the -H hardening mode as experimental.
shc occupies an unusual niche between packaging, obfuscation, and compilation. It can turn a script into a conventional executable artifact, but the result still depends on the script's original interpreter.
Its limitations matter to packagers: shc does not produce a truly self-contained native program, and generated executables remain constrained by shell availability and system argument-size limits.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
shc | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/neurobin/shc
インストールメタデータ
| パッケージキー | brew:shc |
|---|---|
| バージョン | 4.0.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/shc |
| ホームページ | https://neurobin.github.io/shc |
| リポジトリ | https://github.com/neurobin/shc |
| 上流ドキュメント | https://neurobin.github.io/shc |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://github.com/neurobin/shc/archive/refs/tags/4.0.3.tar.gz |
| 最終更新 | 2026-09-13T09:33:53Z |
| Pulse | updated |
| Bottle | 利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | shc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
shc
nix profile install nixpkgs#shcshc 4.0.3-1
Shell script compiler
https://neurobin.org/projects/softwares/unix/shc/
sudo apt install shcshc 4.0.3-r2
A generic shell script compiler.
https://neurobin.org/projects/softwares/unix/shc/
sudo apk add shcshc 4.0.3-17.fc45
Shell script compiler
https://neurobin.org/projects/softwares/unix/shc/
sudo dnf install shcshc
sudo port install shcソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.