- Home
- Skills
- DevOps & Cloud
- docker-security-lint-lite
Works with the AI Agents you already use
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
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
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 21 days ago
- Free with an Agensi account
Requires
Permissions
Allowed Hosts