dockerfile-cache-xp
Warn
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONCREDENTIALS_UNSAFEREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill instructs the agent to provide the user with commands requiring
sudoprivileges. Specifically, it provides templates for modifying the root-owned Docker configuration file at/root/.docker/config.jsonand executingnerdctlwith administrative rights. - [CREDENTIALS_UNSAFE]: The reference material in
references/build-command.mdcontains a shell command template designed to write authentication credentials (username and password) into the Docker configuration file. While it uses placeholders likeUSER:PASS, the pattern encourages the insecure handling of secrets in shell history or scripts. - [REMOTE_CODE_EXECUTION]: The
references/rust.mdfile includes a DockerfileRUNinstruction template that uses thecurl | shpattern to install the Rust toolchain fromhttps://sh.rustup.rs. This is the official and well-known installation method for Rustup. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data (CI Dockerfiles) and interpolates values from those files (such as project names or paths) into the generation of shell commands and new Dockerfiles.
- Ingestion points: Reading existing Dockerfiles from the local filesystem.
- Boundary markers: None; the skill reads the file "end to end" and preserves stage structure.
- Capability inventory: Writing a new file (
Dockerfile.local) and assembling a shell command (sudo nerdctl build ...) to be printed to the user. - Sanitization: There are no instructions to sanitize or escape strings extracted from the source Dockerfile before they are used to build the final shell command.
- [COMMAND_EXECUTION]: The primary output of the skill is a complex shell command intended for the user to run in their terminal. This includes backgrounding the process and redirecting output to
/tmp/build.log.
Audit Metadata