phy-dockerfile-audit@1.0.3
CAUTION· install onlyPublisher claims: "Dockerfile static security auditor. Scans any Dockerfile for 10 security issues — running as root, unpinned base images, secrets in ENV/ARG, remote ADD fetch..." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-12 and scored it 74/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Credential pass-through configuration; Privileged sudo command; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
"DF006": ("sudo installed in container", "HIGH", "CWE-250"),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Fix : Pass secrets at runtime via --env-file or Docker secrets.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- **FAIL (HIGH)**: `RUN apt-get install -y sudo`, `RUN apt install sudo vim`.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.| DF007 | MEDIUM | Missing .dockerignore | CWE-552 | `.env`, `.git`, `node_modules` sent to build context |Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.message="No .dockerignore file found — .git, .env, node_modules, secrets may be sent to build context",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# sudo installFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell..env*Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- **PASS**: sudo not installed anywhere. Specific commands needing elevation should use `gosu` or capability grants.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.message="sudo installed in container — privilege escalation risk if process is compromised",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.fix="Use: apt-get install -y --no-install-recommends <packages> && rm -rf /var/lib/apt/lists/*",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.| DF006 | HIGH | sudo installed | CWE-250 | `apt-get install sudo` — privilege escalation |Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.fix="Pass secrets at runtime via --env-file or Docker secrets. Use ARG for build-time only (but ARG values also appear in layer history).",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."""sudo installed in container."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.### DF006 — sudo installedFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.fix="Remove sudo from the container. If specific commands need elevated privileges, use gosu or setuid wrapper instead.",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…inned base images, secrets in ENV/ARG, remote ADD fetch, shell-form ENTRYPOINT, sudo installed, missing .dockerignore, privileged port EXPOSE, apt-get without --no-i…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- **PASS**: `RUN apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*`.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
6 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim phy041: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Credential pass-through configuration≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Privileged sudo command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Destructive file system command detected≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.