xgent-image-push
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The script executes
dockerandcurlcommands. It properly uses shell array expansion ("${build_args[@]}") and input validation to prevent command injection. App names and tags are strictly validated against allow-list regular expressions. - [CREDENTIALS_SAFE]: The skill handles registry credentials (
ROBOT_USER,ROBOT_SECRET) using secure patterns. It accepts them via environment variables or protected configuration files, usesdocker login --password-stdinto avoid leaking secrets in process lists, and utilizes a temporarycurlrcfile for API calls to keep credentials out of command arguments. - [DYNAMIC_EXECUTION]: The script includes a custom configuration parser (
load_config_file) that manually parsesKEY=valuepairs instead of using the shell'ssourcecommand. This effectively prevents arbitrary code execution (RCE) that could occur if a malicious configuration file were loaded. - [SAFE]: The skill implements operational safety features, such as a 'dry-run' mode and a network latency check (measuring TLS handshake time) to prevent extremely slow cross-region image pushes that could hang deployment pipelines.
Audit Metadata