pkg.soopen package index

brew / Rang 6222

safe-rm mit Homebrew, apt, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für safe-rm in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install safe-rm

local Homebrew formula metadata

Linux

Debian aptverifiziert · 92%
sudo apt install safe-rm

Debian stable package indexes · safe-rm · Quelle: deb.debian.org

Nixverifiziert · 92%
nix profile install nixpkgs#safe-rm

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

Überblick

Paketzusammenfassung

Wraps rm to prevent dangerous deletion of files

Befehle und Aliase

  • safe-rm

Verlauf

Projektgeschichte und Nutzung

safe-rm wraps the standard removal command and blocks deletion of paths listed in system or user configuration files.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 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

Quellen

  • 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

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 12 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

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

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
safe-rmcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-09-19
Manager-Version1.1.0
Manager aktualisiert2026-09-13
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://launchpad.net/safe-rm

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:safe-rm
Version1.1.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/safe-rm
Homepagehttps://launchpad.net/safe-rm
Upstream-Dokumentationhttps://launchpad.net/safe-rm
LizenzGPL-3.0-or-later
Quellarchivhttps://launchpad.net/safe-rm/trunk/1.1.0/+download/safe-rm-1.1.0.tar.gz
Zuletzt aktualisiert2026-09-13T13:47:42Z
Pulseupdated
Build-Abhängigkeitenrust
Bottleverfügbar (auf 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-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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