devcontainer-setup
Warn
Audited by Gen Agent Trust Hub on May 11, 2026
Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill programmatically configures the AI agent's security posture by setting
bypassPermissionstodefaultModein~/.claude/settings.jsonwithinresources/post_install.py. This instructs the agent to skip user confirmation prompts for sensitive operations like file system changes or command execution. - [COMMAND_EXECUTION]: The skill adds a
claude-yoloalias to.zshrcthat executes the agent with the--dangerously-skip-permissionsflag, further encouraging the bypass of built-in security guardrails. - [COMMAND_EXECUTION]: The
resources/devcontainer.jsonconfiguration grants the containerNET_ADMINandNET_RAWcapabilities. These are elevated privileges that allow processes inside the container to manipulate network interfaces, sniff traffic, and modify firewall rules (iptables). - [COMMAND_EXECUTION]: The
resources/post_install.pyscript usessudo chownto modify directory ownership on mounted volumes, indicating the container user has elevated privileges. - [EXTERNAL_DOWNLOADS]: The
resources/Dockerfileperforms multiple remote downloads and executions of scripts and binaries from external sources: - Installs Claude Code via
curl -fsSL https://claude.ai/install.sh | bash. - Installs
fnm(Fast Node Manager) viacurl -fsSL https://fnm.vercel.app/install | bash. - Installs
zsh-in-dockervia a script fromgithub.com/deluan/zsh-in-docker. - Fetches binaries for
fzfandgit-deltadirectly from GitHub releases. - Adds several third-party plugins from the Claude marketplace.
- [REMOTE_CODE_EXECUTION]: The
resources/install.shscript includes anupdatecommand that executesgit pullin its local directory. This mechanism fetches and integrates remote code updates, which are then executed during subsequent uses of the tool.
Audit Metadata