nixos-operations
Pass
Audited by Gen Agent Trust Hub on Oct 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill provides instructions for executing system-level commands such as
nixos-rebuild,systemctl,nix-channel, andnix-collect-garbage. These tools are used to build, activate, and manage the NixOS operating system. - [PRIVILEGE_ESCALATION]: The technical reference documentation mentions the use of
sudo -iandsu -because NixOS maintenance tasks (e.g., switching configurations or upgrading) require root privileges. The skill explicitly instructs the agent to propose these commands and execute them only with explicit user authorization. - [INDIRECT_PROMPT_INJECTION]: The skill represents an indirect prompt injection surface because it involves reading and processing system logs via
journalctland configuration files like/etc/nixos/configuration.nix. If these data sources contain malicious instructions embedded by an attacker, the agent might attempt to follow them during an analysis session. - Ingestion points: System logs (
journalctl), NixOS configuration files (/etc/nixos/configuration.nix), and manual excerpts inreferences/operations.md. - Boundary markers: The skill body specifies that the agent should only run system-changing commands with the user's authorization.
- Capability inventory: The skill uses
nixos-rebuild(system modifications),systemctl(service management), andnix-channel(updates). - Sanitization: No specific sanitization techniques are mentioned for handling log or configuration content.
- [EXTERNAL_DOWNLOADS]: The skill references official NixOS channels (e.g.,
channels.nixos.org) and the official manual. These are well-known, trusted resources for the NixOS ecosystem used for fetching system updates and documentation.
Audit Metadata