xgent-image-push
Pass
Audited by Gen Agent Trust Hub on Aug 27, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill executes standard system utilities such as
docker,curl, andgit. All user-provided inputs (like application names and tags) are strictly validated using regular expressions before use, effectively preventing shell injection attacks. - [CREDENTIALS_SAFE]: Secret handling is managed with high security standards. The script passes credentials to
docker loginvia standard input to prevent them from appearing in process logs, and it uses a temporary, restricted-permissioncurlrcfile for registry API calls. It also provides clear instructions on avoiding hardcoded secrets and using proper file permissions (e.g.,chmod 600). - [DYNAMIC_EXECUTION]: The configuration loading logic is designed for security. Instead of using
sourceorevalwhich could execute arbitrary code, the script manually parsesKEY=valuepairs from environment files. This ensures that a malicious configuration file cannot trigger unauthorized code execution. - [DATA_EXFILTRATION]: No unauthorized data transfer was detected. The skill only communicates with the Harbor registry domain explicitly provided by the user in local configuration files or environment variables.
- [INDIRECT_PROMPT_INJECTION]: While the skill accepts parameters that could theoretically be used for injection, the implementation uses strict OCI-compliant character whitelists for app names and tags, neutralizing the risk of indirect injection via user-supplied metadata.
Audit Metadata