dkr-images-trivy
Pass
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill provides instructions to download and install Trivy from Aqua Security's official repository.
- Evidence:
SKILL.mdcontains commands to fetch the public key fromhttps://aquasecurity.github.io/trivy-repo/deb/public.keyand add the repository athttps://aquasecurity.github.io/trivy-repo/deb. - Context: Aqua Security is a well-known provider of container security tools, and these are the official installation methods for the tool.
- [PRIVILEGE_ESCALATION]: The documentation includes commands that require administrative privileges for tool installation.
- Evidence:
SKILL.mdlistssudo apt-get installandsudo teecommands to manage system packages and repository configurations. - Context: This is standard procedure for installing software on Linux systems and is intended for the user to execute manually during setup.
- [INDIRECT_PROMPT_INJECTION]: The provided Python scripts ingest external image references which are then passed to a CLI tool, representing a surface for potential injection if the inputs are malicious.
- Ingestion points: The
image_refargument inscripts/agent.pyand theimageargument inscripts/process.pyare taken from user-supplied command-line arguments. - Boundary markers: None are explicitly defined in the scripts to delimit the user input within the command execution context.
- Capability inventory: Both
scripts/agent.pyandscripts/process.pyusesubprocess.runto execute thetrivycommand with the provided image reference. - Sanitization: The scripts use command lists (e.g.,
subprocess.run(["trivy", ...])) which effectively prevents shell-level command injection, though the input is passed directly as an argument to the Trivy tool.
Audit Metadata