pkg.soopen package index

brew / 順位 6222

safe-rm を Homebrew, apt, Nix でインストール

safe-rm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install safe-rm

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install safe-rm

Debian stable package indexes · safe-rm · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#safe-rm

nixpkgs package indexes · pkgs/by-name/sa/safe-rm/package.nix · ソース: api.github.com

概要

パッケージ概要

Wraps rm to prevent dangerous deletion of files

コマンドとエイリアス

  • safe-rm

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2010: Version 0.8 was published in Ubuntu Precise
  • 2014: Version 0.11 adopted an XDG user-configuration location
  • 2020: Version 0.13 added `/usr/local/etc/safe-rm.conf` support for macOS
  • 2020: Version 1.0.0 completed the Rust rewrite
  • 2021: Version 1.1.0 added explicit protection for individual symbolic links

Related projects

  • GNU coreutils rm
  • trash-cli and desktop trash implementations

ソース

  • Official Launchpad overview: https://launchpad.net/safe-rm
  • Official announcements: https://launchpad.net/safe-rm/+announcements
  • Official code page: https://code.launchpad.net/safe-rm

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 12 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/safe-rm.conf/usr/local/etc/safe-rm.conf~/.config/safe-rm

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
safe-rmcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-09-19
マネージャ版1.1.0
マネージャ更新日2026-09-13
ローカルデータOK
上流not checked
検出された最新未検出

https://launchpad.net/safe-rm

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
ビルド依存関係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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namesafe-rm
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

safe-rm 1.1.0-5+b7

wrapper around the rm command to prevent accidental deletions

https://launchpad.net/safe-rm

sudo apt install safe-rm
  • Section: utils
  • Architecture: amd64
  • Source Package: safe-rm
  • 2 依存関係
  • normalized package name match
  • 一致条件: Safe Rm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: safe-rm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

safe-rm

nix profile install nixpkgs#safe-rm
  • normalized package name match
  • 一致条件: Safe Rm
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sa/safe-rm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

safe-rm 1.1.0-5

wrapper around the rm command to prevent accidental deletions

https://launchpad.net/safe-rm

sudo apt install safe-rm
  • Section: universe/utils
  • Architecture: amd64
  • 2 依存関係
  • normalized package name match
  • 一致条件: Safe Rm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: safe-rm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • 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