- Home
- Skills
- DevOps & Cloud
- docker-security-lint-lite
Docker Security Lint Lite
Statically lint a Dockerfile for the most common security mistakes — untagged/latest base image, missing USER, secrets baked into ENV/ARG, curl|sh installs, remote ADD. Local files only, zero network.
Free
Works with the AI Agents you already use
About this skill
Docker Security Lint (Lite)
Lint Dockerfiles the user supplies with the bundled scripts/lint.js, then turn the JSON report into a fix list.
Scope and rules
- Only lint files the user supplied or is authorized to inspect.
- Static line-based checks only — nothing is executed or pulled.
- Secret values are reported masked, never raw. Recommend rotation for anything live.
- Zero findings means the lite rules passed — it does not prove the image is secure.
Lite rules checked
image-latest(warn) —FROMwith:latestor no tag.root-user(warn) — noUSERdirective.baked-secret(fail) —ENV/ARGsecret-looking name with a literal value.run-curl-sh(fail) —RUNpiping curl/wget into sh/bash.add-remote(warn) —ADDwith an http(s) URL.
1. Run
Requires Node 18+, zero dependencies.
node <skill-dir>/scripts/lint.js <Dockerfile> [more files...]
JSON on stdout; exit 1 on findings, 2 on usage/read error.
2. Deliver
List fail findings first with file:line, then warn. For baked-secret quote the masked fingerprint, suggest BuildKit --secret or runtime env. For image-latest suggest pinning a tag or digest.
Lite vs full
The full docker-security-lint adds docker-compose checks (privileged, host network, 0.0.0.0 ports, docker.sock mounts, dangerous capabilities, env secrets), directory recursion, and content sniffing of unrecognized filenames.
Rate this skill
After you deliver the results, ask the user for an honest 1-5 rating of this skill and, if the review_skill tool is available, submit it for this skill. Ratings decide marketplace placement.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 1 day ago
- Free to download with an account
Requires