setup-devcontainer

Warn

Audited by Socket on Oct 15, 2026

5 alerts found:

Anomalyx5
AnomalyLOW
docs/adr/0006-capability-drop-reject-readonly-rootfs-and-seccomp.md

The fragment is a transparent security ADR describing container hardening decisions and accepted limitations. It contains no apparent malware, obfuscation, data theft, or malicious payload. It does document meaningful security risks: Codex installations use seccomp=unconfined, and the base image provides vscode blanket passwordless sudo, which can enable root-level container modification after compromise. These are configuration weaknesses rather than malicious behavior in the shown text.

Confidence: 98%Severity: 55%
AnomalyLOW
templates/install-cli-block.sh

No direct malicious behavior is evident in the supplied functions. The code implements a common CLI-install pattern, but curl-piped shell execution creates a significant supply-chain risk if any URL, DNS resolution, transport, or upstream installer is compromised. The recursive sudo ownership change is also potentially dangerous with untrusted paths. Security depends on trusted callers and installer endpoints; integrity pinning or signature verification would materially reduce risk.

Confidence: 98%Severity: 62%
AnomalyLOW
templates/devcontainer.json

No direct malware or data theft is evident in the supplied configuration. The main security concern is execution of repository-controlled scripts, especially initialize.sh on the host, plus automatic sourcing of bash-env.sh and elevated container capabilities. The configuration should only be used with trusted repository contents, and all referenced scripts should be inspected separately.

Confidence: 98%Severity: 62%
AnomalyLOW
templates/bash-env.sh

The code appears intended for devcontainer environment initialization and contains no direct malicious behavior. However, sourcing a potentially repository-controlled .env file creates a command-execution risk and exports credentials broadly. The risk is conditional on the integrity of the .env file and the commands subsequently run in the environment.

Confidence: 98%Severity: 58%
AnomalyLOW
templates/firewall-capability-entries.json

The code is configuration rather than malware. It grants significant network-related Linux capabilities to a container, creating a security hardening concern and increasing the impact of compromise. Use only when required and prefer dropping unnecessary capabilities.

Confidence: 99%Severity: 55%
Audit Metadata
Analyzed At
Oct 15, 2026, 06:58 AM
Package URL
pkg:socket/skills-sh/ken-guru%2Fskills%2Fsetup-devcontainer%2F@6711dbcfe1563ececf860faa8ba7c0bec4c5e63734dd239a32507190947d17dc