Skills/ClawHub/phy-dockerfile-audit

phy-dockerfile-audit@1.0.3

CAUTION· install only

Publisher 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.

Registry ClawHubPublisher phy041 · publishing for 251 daysInstalls 731Last detonated 1 h ago

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 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessscript backend runs setup only
0.0sprocessscript backend runs setup only
0.0sprocessno install scripts to re-run

Static findings

MEDIUM
Privileged sudo commandscripts/dockerfile_audit.py:24 · Privileged sudo command — agent may execute with elevated privileges"DF006": ("sudo installed in container", "HIGH", "CWE-250"),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Credential pass-through configurationSKILL.md:153 · Credential pass-through configuration — agent relays sensitive credentialsFix : 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.
AST02
HIGH
Privileged sudo commandSKILL.md:86 · Privileged sudo command — agent may execute with elevated privileges- **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.
AST05
HIGH
Access to sensitive file pathsSKILL.md:55 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files| 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.
AST05
MEDIUM
Access to sensitive file pathsscripts/dockerfile_audit.py:293 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesmessage="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.
AST05
MEDIUM
Privileged sudo commandscripts/dockerfile_audit.py:73 · Privileged sudo command — agent may execute with elevated privileges# sudo installFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathsSKILL.md:95 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files.env*Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandSKILL.md:87 · Privileged sudo command — agent may execute with elevated privileges- **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.
AST05
MEDIUM
Privileged sudo commandscripts/dockerfile_audit.py:279 · Privileged sudo command — agent may execute with elevated privilegesmessage="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.
AST05
MEDIUM
Destructive file system command detectedscripts/dockerfile_audit.py:344 · Destructive file system command detectedfix="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.
AST05
HIGH
Privileged sudo commandSKILL.md:54 · Privileged sudo command — agent may execute with elevated privileges| 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.
AST05
MEDIUM
Credential pass-through configurationscripts/dockerfile_audit.py:226 · Credential pass-through configuration — agent relays sensitive credentialsfix="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.
AST02
MEDIUM
Privileged sudo commandscripts/dockerfile_audit.py:269 · Privileged sudo command — agent may execute with elevated privileges"""sudo installed in container."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandSKILL.md:85 · Privileged sudo command — agent may execute with elevated privileges### DF006 — sudo installedFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandscripts/dockerfile_audit.py:282 · Privileged sudo command — agent may execute with elevated privilegesfix="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.
AST05
HIGH
Privileged sudo commandSKILL.md:3 · Privileged sudo command — agent may execute with elevated privileges…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.
AST05
HIGH
Destructive file system command detectedSKILL.md:109 · Destructive file system command detected- **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.
AST05

Cost to the agent

Instructions loaded
≈2,343 tok
1 file · 3 in bundle

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%
  1. 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.
  2. 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.
  3. 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.
  4. Privileged sudo command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  5. Destructive file system command detected≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
Publish a new version to ClawHub, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim phy041Propose a patch to the maintainer