proxmox-infrastructure
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The Python scripts
tools/check_ceph_health.pyandtools/check_cluster_health.pyutilizesubprocess.runto execute shell commands on remote Proxmox nodes over SSH as the root user. - Evidence: In
tools/check_ceph_health.py, therun_commandmethod callssubprocess.run(["ssh", "-o", "BatchMode=yes", f"root@{self.node}", "--", command], ...)to check CEPH status. - Mitigation: The skill implements regex-based input validation in
_validate_nodeto ensure the target node name is a valid hostname or IP address, and uses the--separator to prevent SSH option injection. - [PRIVILEGE_ESCALATION]: The skill automates the distribution of root SSH keys across the cluster nodes and performs destructive system commands as part of infrastructure deployment.
- Evidence:
workflows/cluster-formation.mdincludes Ansible tasks for generating root SSH keys and distributing them to theauthorized_keysfile of other nodes. - Evidence:
workflows/ceph-deployment.mdincludes the commandwipefs -a {{ item.device }}to clear partitions on disks before OSD creation, which is explicitly labeled in the documentation as a destructive operation. - [INDIRECT_PROMPT_INJECTION]: The skill ingests status data from external Proxmox nodes via CLI output and API responses, which could theoretically contain malicious instructions if the cluster state is compromised.
- Ingestion points:
tools/check_ceph_health.py(executesceph status --format jsonon remote nodes),tools/cluster_status.py(fetches cluster info viaproxmoxerAPI). - Boundary markers: Absent; the data is parsed as JSON or plain text and presented to the agent context.
- Capability inventory: The agent has access to
subprocess.runfor SSH execution and theproxmoxerlibrary for cluster management. - Sanitization: Hostnames/IPs are validated via regex in the Python tools before being interpolated into shell commands.
Audit Metadata