Skip to content
host

host

Pypi • November 24, 2026

Hardening, monitoring, encrypted backups with restore tests and mail alerts for one Linux server, with versioned installs and manifest-based rollback.

pip install host-guard==0.5.0

Hardening, monitoring, encrypted backups with restore tests, and mail alerts for one Linux server (Ubuntu 22.04 to 26.04, Debian 12 and 13): a cloud instance, a VPS or bare metal. Python standard library and systemd timers, nothing else to run.

This package is the installer. It installs host-guard on the server, records every file it changes, and can roll back or remove it again.

System Python refuses pip install on current Ubuntu and Debian (PEP 668), so use pipx:

The installer asks for the Gmail app password that sends the mail (not shown as you type).

Upgrade, roll back, remove

Everything lives in /opt/host-guard : one folder per release (three kept) and a manifest per install, with a copy of every file it replaced. A rollback restores a file only while it still holds what host-guard wrote; a file you changed since is kept and reported. SSH and fail2ban settings are checked before they apply.

Docs, profiles and the source:

Release files for host-guard 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation .

Source distribution (sdist)

Built distribution (wheel)

Total release size: 256.3 kB

Release files / host_guard-0.5.0.tar.gz

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Release files / host_guard-0.5.0-py3-none-any.whl

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Security for host-guard 0.5.0

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Both files in this release have been uploaded with provenance metadata.

Attestation for host_guard-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Attestation for host_guard-0.5.0-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

Nov 24, 2026 2 release files Full provenance

Nov 19, 2026 2 release files Full provenance

Nov 19, 2026 2 release files Full provenance

Extracted Entities

Companies (2)

Platforms (3)