devcontainer
Fail
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/scan-image.tscontains documentation and error messages referencing an installation command:curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh. This involves piping a script from Aqua Security's GitHub repository to a shell for tool installation. - [COMMAND_EXECUTION]: The
scripts/scan-image.tsscript executes thetrivybinary usingDeno.Commandto perform vulnerability scans on container images. The script also requires network access permissions to download vulnerability databases. - [INDIRECT_PROMPT_INJECTION]: The skill's diagnostic scripts ingest data from local environment configuration files, presenting a surface for indirect prompt injection.
- Ingestion points: The scripts
scripts/analyze-devcontainer.tsandscripts/validate-dockerfile.tsreaddevcontainer.jsonandDockerfilecontent respectively. - Boundary markers: No specific delimiters or instructions are used to separate user-provided file content from the script's analysis logic.
- Capability inventory: The skill possesses the capability to execute system commands (
trivyinscripts/scan-image.ts) and read local files. - Sanitization: The scripts parse and analyze file content without specific sanitization for embedded instructions that could target the AI agent.
Recommendations
- HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh - DO NOT USE without thorough review
Audit Metadata