macOS
brew install safe-rmlocal Homebrew formula metadata
brew / 順位 6222
safe-rm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install safe-rmlocal Homebrew formula metadata
sudo apt install safe-rmDebian stable package indexes · safe-rm · ソース: deb.debian.org
nix profile install nixpkgs#safe-rmnixpkgs package indexes · pkgs/by-name/sa/safe-rm/package.nix · ソース: api.github.com
概要
Wraps rm to prevent dangerous deletion of files
履歴
safe-rm wraps the standard removal command and blocks deletion of paths listed in system or user configuration files.
safe-rm was created and maintained by François Marier as a wrapper that refuses to remove configured protected files and directories.
Version 0.11 moved the per-user configuration toward the XDG Base Directory convention. Version 0.13 added `/usr/local/etc/safe-rm.conf` for macOS Catalina, and version 1.0.0 was a complete rewrite in Rust.
safe-rm entered Debian and Ubuntu archives early enough for Ubuntu Precise to carry version 0.8 in 2010. It later became available through Homebrew and Nix as well as current Debian-family distributions.
Administrators place protected paths in a system configuration file, while individual users can add personal protections under the XDG configuration directory. `safe-rm` then intercepts removal requests and refuses targets matching those rules.
It is intended as a guard against accidental destructive commands, not as a trash or recovery system.
safe-rm represents a classic Unix package pattern: preserve the familiar `rm` interface while adding a locally maintained denylist for irreplaceable paths. Its long distribution history, XDG migration, macOS-specific system configuration support, and eventual language rewrite make it a compact case study in maintaining a safety wrapper across Unix variants.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/safe-rm.conf/usr/local/etc/safe-rm.conf~/.config/safe-rm実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
safe-rm | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:safe-rm |
|---|---|
| バージョン | 1.1.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/safe-rm |
| ホームページ | https://launchpad.net/safe-rm |
| 上流ドキュメント | https://launchpad.net/safe-rm |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://launchpad.net/safe-rm/trunk/1.1.0/+download/safe-rm-1.1.0.tar.gz |
| 最終更新 | 2026-09-13T13:47:42Z |
| Pulse | updated |
| ビルド依存関係 | rust |
| 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 | safe-rm |
| 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 パッケージリンクとは分けて表示されます。
safe-rm 1.1.0-5+b7
wrapper around the rm command to prevent accidental deletions
sudo apt install safe-rmsafe-rm
nix profile install nixpkgs#safe-rmsafe-rm 1.1.0-5
wrapper around the rm command to prevent accidental deletions
sudo apt install safe-rmソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.