update-base-image
Pass
Audited by Gen Agent Trust Hub on Jun 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes various shell scripts and system utilities, including the bundled
analyze-base-images.shand external scripts likeupdateBaseImages.shandgetLatestImageTags.shto perform image analysis and updates. - [EXTERNAL_DOWNLOADS]: The skill's workflow depends on cloning external repositories from the
redhat-developerorganization, specificallyrhdh,rhdh-operator, andrhdh-downstream, which provide the necessary build scripts and target files. - [COMMAND_EXECUTION]: The skill uses established developer tools such as
skopeo,jq,gh, andgitto interact with the Red Hat Container Registry and manage Git operations for pull requests. - [PROMPT_INJECTION]: The
analyze-base-images.shscript contains a vulnerability surface where it parses comments fromContainerfileandDockerfileto extract configuration for thegetLatestImageTags.shscript. While shell quoting is used to mitigate direct command execution, this represents an ingestion point for untrusted data from repository files. - Ingestion points: Comments in
ContainerfileorDockerfileparsed via regex to extract image URLs and tag filters. - Boundary markers: None; the script relies on specific comment formatting conventions.
- Capability inventory: The script performs registry queries via
skopeoand executes thegetLatestImageTags.shscript with extracted arguments. - Sanitization: The
resolve_glit_tagfunction extracts content after a#delimiter but does not perform extensive validation before passing it as a command-line argument.
Audit Metadata