Is nix-secrets safe to install?

Yes — nix-secrets is safe to install, with something worth knowing. Sonnet 5 read every file nix-secrets ships from olafkfreund/nixos_config on 7 September 2026 and found nothing that acts against the person installing it; the static scan of its 26 rules grades it B.

Reviewed by Sonnet 5 on 7 September 2026 · a grade is what a scan and a reading found, not a guarantee · how this works

What the reviewer found

nix-secrets command for the author's own agenix-encrypted NixOS secrets: sudo is used only over SSH to the author's own hosts to check/restart the agenix service, decrypting with the user's own SSH key is agenix's normal local-only operation (nothing is transmitted), and rm -rf targets only the regenerated /run/agenix.d runtime mount. Uses sudo on remote hosts, which the installer should know, but nothing leaves the machine or is malicious.

What was read

The file as it ships in olafkfreund/nixos_config:

What the static scan said

The scan flagged 3things. The reviewer kept 1 and dismissed 2 as false.

How this review was made

Sonnet 5 read the files above on 7 September 2026 and answered three questions: is it dangerous to whoever installs it, is each scanner finding real, and what should the installer know. The verdict is bound to the file's hash; when the file changes, it is scanned afresh and reviewed again. A script that changes while the definition does not is not re-reviewed — that is a known gap. How the scan and the review work.

Produced by agentmods.dev · Sonnet 5 · 7 September 2026

← Back to nix-secrets