pkg.soopen package index

brew / 排名 6802

使用 Homebrew, apk, MacPorts, Nix, pacman 安装 shellharden

查看 shellharden 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install shellharden

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install shellharden

MacPorts ports tree · devel/shellharden/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add shellharden

Alpine Linux edge package indexes · shellharden · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#shellharden

nixpkgs package indexes · pkgs/by-name/sh/shellharden/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S shellharden

Arch Linux sync databases · shellharden · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Bash syntax highlighter that encourages/fixes variables quoting

命令和别名

  • shellharden

历史

项目历史与用法

Shellharden highlights Bash syntax and proposes or applies changes intended to improve quoting and reduce reliance on unsafe word splitting or glob expansion.

项目历史

The tool was originally known as Naziquote and was later renamed Shellharden. It developed into a Rust-based corrective Bash syntax highlighter focused chiefly on quoting and on semi-automating changes associated with ShellCheck guidance.

采用历史

Shellharden is distributed as an official Rust crate and has also been packaged by multiple operating-system ecosystems, including Homebrew, Alpine, Arch, MacPorts, and Nix according to the supplied package metadata.

使用方式

The default mode behaves like cat with syntax highlighting and suggested additions or removals. Users may request transformation, but the maintainer explicitly requires human review because scripts can intentionally depend on unquoted shell behavior. Shellharden has no documented persistent configuration or credential files.

为什么软件包爱好者会关心

Shellharden occupies an unusual niche between a linter, syntax highlighter, and source-to-source fixer. Package maintainers value it because it can turn quoting advice into reviewable edits while retaining a deliberately conservative warning against blind transformation.

时间线

  • Early project: Released under the former name Naziquote.
  • Later project: Renamed Shellharden and developed as a Rust package with corrective highlighting and transformation.
  • Current documentation: Distributed through Cargo and several system package managers.

Related projects

  • ShellCheck is the principal related project and prior art. Shellharden complements it by attempting corrective rewrites rather than only reporting problems.

安全态势

尚未找到受保护工具覆盖

没有找到 shellharden 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
shellhardencli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本4.3.2
管理器更新时间2026-09-13
本地数据OK
上游当前
检测到的最新版本v4.3.2

https://github.com/anordal/shellharden

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:shellharden
版本4.3.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/shellharden
主页https://github.com/anordal/shellharden
仓库https://github.com/anordal/shellharden
许可证MPL-2.0
源码归档https://github.com/anordal/shellharden/archive/refs/tags/v4.3.2.tar.gz
最后更新2026-09-13T09:36:45Z
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameshellharden
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

shellharden

nix profile install nixpkgs#shellharden
  • normalized package name match
  • 匹配方式:Shellharden
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sh/shellharden/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

shellharden 4.3.1-r0

The corrective bash syntax highlighter

https://github.com/anordal/shellharden

sudo apk add shellharden
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: shellharden
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Shellharden
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: shellharden from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

shellharden-doc 4.3.1-r0

The corrective bash syntax highlighter (documentation)

https://github.com/anordal/shellharden

sudo apk add shellharden-doc
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: shellharden
  • normalized package name match
  • 匹配方式:Shellharden
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: shellharden-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

shellharden 4.3.2-1

Bash linter and syntax highlighter

https://github.com/anordal/shellharden

sudo pacman -S shellharden
  • License: MPL-2.0
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Shellharden
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: shellharden from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

shellharden

sudo port install shellharden
  • normalized package name match
  • 匹配方式:Shellharden
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/shellharden/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation