virtualmin-dns
Fail
Audited by Gen Agent Trust Hub on Jul 6, 2026
Risk Level: HIGHCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill requires root privileges to function, as evidenced by the
sudo bashusage inSKILL.mdand the internal script calls tosudo virtualmin. This constitutes a privilege escalation pattern where the agent is granted full administrative access to the hosting control panel. - [COMMAND_EXECUTION]: Shell scripts like
scripts/modify-dns.shinterpolate variables such as$ACTIONand$VALUEdirectly into commands executed withsudo. This dynamic construction of command flags (e.g.,--"$ACTION"-record) and parameters without robust validation creates a significant surface for command and argument injection. - [COMMAND_EXECUTION]: In
scripts/set-dkim.sh, the use of"${EXTRA_ARGS[@]}"allows arbitrary flags to be passed to the privilegedvirtualmincommand without validation, enabling potential abuse of the underlying tool's capabilities. - [COMMAND_EXECUTION]: The skill is vulnerable to indirect prompt injection because it processes external data like domain names and DNS values without boundary markers or validation. Untrusted data enters the agent context through command-line variables (Ingestion points). There are no delimiters or instructions to ignore embedded commands (Boundary markers). The skill possesses high-privilege capabilities including system configuration via
sudo virtualmin(Capability inventory). No escaping or validation is performed on the variables before they are passed to the shell (Sanitization).
Recommendations
- AI detected serious security threats
Audit Metadata