Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add NovaCode37/claude-security-skills --skill dockerfile-scangit clone --depth 1 https://github.com/NovaCode37/claude-security-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/novacode37/claude-security-skills/dockerfile-scan)<a href="https://agentmods.dev/skills/novacode37/claude-security-skills/dockerfile-scan"><img src="https://agentmods.dev/badge/skills/novacode37/claude-security-skills/dockerfile-scan/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/novacode37/claude-security-skills/dockerfile-scan"><img src="https://agentmods.dev/badge/skills/novacode37/claude-security-skills/dockerfile-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00096 | $0.00512 |
| Opus 5.5 | $0.00038 | $0.00205 |
| Sonnet 5.5 | $0.00019 | $0.00102 |
| Haiku 4.5 | $0.00010 | $0.00051 |
Grade D, and why
dockerfile-scan scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
hardcoded secrets in ENV/ARG, world-writable chmod 777, and sudo usage. Use Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
- **Remote code execution** — `curl|wget … | sh` (`docker-remote-exec`). Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
:latest base images, ADD from remote URLs, piping curl/wget into a shell, What it actually says
Dockerfile Security Scan
Parses a Dockerfile and flags common security and supply-chain problems, each with a concrete fix. Pure text analysis — no Docker daemon, no network, stdlib only.
When to use this skill
- "Review this Dockerfile for security issues."
- "Is my container running as root?"
- "Lint my Dockerfiles before I push them."
What it checks
- Base image pinning — missing tag or
:latest(docker-no-tag,docker-latest-tag). - Runs as root — no
USER, or finalUSERis root (docker-root-user). - Remote code execution —
curl|wget … | sh(docker-remote-exec). - Remote ADD —
ADD http://…without integrity checks (docker-add-remote). - Hardcoded secrets —
ENV/ARGwith a secret-looking name and a value (docker-hardcoded-secret). - Loose permissions —
chmod 777(docker-chmod-777). - sudo usage in
RUN(docker-sudo).
How to run it
# Scan one Dockerfile
python skills/dockerfile-scan/scanner.py path/to/Dockerfile
# Scan every Dockerfile under a directory, as JSON
python skills/dockerfile-scan/scanner.py . --json
Exit codes: 0 clean · 1 findings present · 2 usage/IO error.
Recommended workflow for Claude
- Run the scan on the file or repo.
- Present findings by severity, each with its one-line fix.
- Offer a corrected Dockerfile snippet (pinned base image, non-root
USER,COPYinstead of remoteADD, secrets moved to runtime).
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 56 lines · 96 tokens per session scan D 0f65cf9b406e
dockerfile-scan is a skill published in the GitHub repository NovaCode37/claude-security-skills (13 stars, last pushed 16d ago), licensed MIT. It adds 96 tokens to every session and 512 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
docker-debugger
Debug Docker containers, fix Dockerfile issues, optimize images, and troubleshoot docker-compose. Use when having Docker problems, container issues, or optimizing Docker builds.
agents-v2-py
Build container-based Foundry Agents with Azure AI Projects SDK (ImageBasedHostedAgentDefinition). Use when creating hosted agents with custom container images in Azure AI Foundry.
owasp-security
Reviews code for security vulnerabilities and guides secure implementation using OWASP Top 10:2025, ASVS 5.0, the OWASP Top 10 for LLM Applications (2026), and the OWASP Top 10 for Agentic Applications (2026). Use when reviewing code or a diff for security issues, implementing authentication, authorization, sessions…
devops
Comprehensive DevOps engineering practices for Kubernetes, CI/CD, Bash scripting, Ansible, and cloud infrastructure.
docker
Docker containerization best practices for building, securing, and deploying containers.
kubernetes
Expert in Kubernetes and DevOps with infrastructure-as-code and cloud-native patterns.