host-governance
Fail
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill downloads installation scripts from external sources during the server bootstrap process.
- Evidence includes fetching the Tailscale installation script from
https://tailscale.com/install.shand the Beszel agent installation script fromhttps://get.beszel.devusingcurl. - [REMOTE_CODE_EXECUTION]: External scripts downloaded from remote servers are executed with high privileges on the host.
- The
APPLY_SCRIPTinscripts/server_bootstrap.pydownloads shell scripts to/tmp/and executes them usingshor direct invocation to install networking and monitoring tools. - [COMMAND_EXECUTION]: The skill is designed to resolve and execute arbitrary shell commands defined in repository-specific task contracts.
- The
scripts/host-governance.pyrunner usessubprocess.run()to execute commands resolved byscripts/resolve.pyfrom project-provided configuration files. - [PRIVILEGE_ESCALATION]: The skill performs sensitive system-level modifications, including user management and security policy changes.
scripts/server_bootstrap.pycreates new users (useradd), grants passwordless sudo access via/etc/sudoers.d/, and modifies SSH daemon configurations (sshd_config).- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted project configuration files that define executable operations, creating an indirect injection surface.
- Ingestion points:
scripts/resolve.pyreads and parses.agents/skills-config/host-governance/config.yamland associated contract JSON files from the project repository. - Boundary markers: The skill uses a versioned schema (
host-governance.task-contract.v1) and validates command paths, but lacks explicit "ignore instructions" delimiters for external configuration data. - Capability inventory: The skill has broad capabilities, including file system writes, network operations, and arbitrary subprocess execution via its task runner.
- Sanitization: The skill validates that executables exist and are within the project or skill root, and requires a mechanical
--authorizedflag for mutating operations.
Recommendations
- HIGH: Downloads and executes remote code from: https://get.beszel.dev, https://tailscale.com/install.sh - DO NOT USE without thorough review
Audit Metadata