devcontainer-setup
Warn
Audited by Gen Agent Trust Hub on Jun 18, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONREMOTE_CODE_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill generates and executes several scripts at runtime, including a
post_install.pyscript and aninstall.shCLI helper. These scripts are created based on inferred project data and then executed as part of the container lifecycle. - [COMMAND_EXECUTION]: The skill configures the
postCreateCommandin the devcontainer to execute various shell commands such asuv sync,npm ci,cargo build, andgo mod downloadbased on detected project languages. - [PRIVILEGE_ESCALATION]: The generated configuration requests the
NET_ADMINcapability for the container to facilitate the use of network isolation tools likeiptablesandipset. This provides the container with high-level network configuration privileges. - [EXTERNAL_DOWNLOADS]: The skill fetches devcontainer features from
ghcr.io/devcontainers/features/rust:1andghcr.io/devcontainers/features/go:1. It also references plugins fromanthropics/skillsandtrailofbits/skills. These are well-known or trusted services. - [DATA_EXFILTRATION]: The skill performs project reconnaissance by reading sensitive configuration files such as
package.json,pyproject.toml,Cargo.toml, andgo.modto extract project names and version requirements. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits an attack surface for indirect prompt injection as it ingests untrusted data from project configuration files (e.g.,
package.jsonnames) and interpolates them into generated scripts and Dockerfiles. While instructions specify 'slugifying' the input, a malicious project file could attempt to inject commands if sanitization is bypassed. - Ingestion points: Project configuration files (
package.json,pyproject.toml,Cargo.toml,go.mod). - Boundary markers: The instructions mandate a 'slugification' process (lowercase, hyphenate) for interpolated names, which acts as a boundary marker.
- Capability inventory: The skill has the capability to write files to the local filesystem (
.devcontainer/directory) and execute arbitrary shell commands via thepostCreateCommandand generated scripts. - Sanitization: The skill includes explicit instructions for slugification (lowercase, replace spaces/underscores with hyphens) to normalize external data.
Audit Metadata