macOS
brew install safe-rmlocal Homebrew formula metadata
brew / Rang 6222
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für safe-rm in AI-Agent-Workflows.
Installation
brew install safe-rmlocal Homebrew formula metadata
sudo apt install safe-rmDebian stable package indexes · safe-rm · Quelle: deb.debian.org
nix profile install nixpkgs#safe-rmnixpkgs package indexes · pkgs/by-name/sa/safe-rm/package.nix · Quelle: api.github.com
Überblick
Wraps rm to prevent dangerous deletion of files
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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-rmExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
safe-rm | cli | globales Executable |
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.
Installationsmetadaten
| Paketschlüssel | brew:safe-rm |
|---|---|
| Version | 1.1.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/safe-rm |
| Homepage | https://launchpad.net/safe-rm |
| Upstream-Dokumentation | https://launchpad.net/safe-rm |
| Lizenz | GPL-3.0-or-later |
| Quellarchiv | https://launchpad.net/safe-rm/trunk/1.1.0/+download/safe-rm-1.1.0.tar.gz |
| Zuletzt aktualisiert | 2026-09-13T13:47:42Z |
| Pulse | updated |
| Build-Abhängigkeiten | rust |
| Bottle | verfü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-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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-rmQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.