Saltar al contenido principal

Menú de comandos

Ve a una página o busca en el catálogo

Herramientas y scripts de IA

Dockerfile Safety Check

Este anuncio se muestra en su idioma original (inglés).

Catch Dockerfile mistakes before you build or push: secrets baked into ENV or ARG, curl-pipe-to-shell downloads, copied .env files and keys, root containers and unpinned base images.

$5.00

Qué recibes: 1 archivo · 16.17 KB · ZIP

Ver opciones de compra

Descripción del producto

A secret written into ENV or ARG stays in every image layer and in the build history, so anyone who can pull the image can read it. This skill finds that and nine other common Dockerfile mistakes, and tells you how to fix each one.

Your agent runs a scanner on your Dockerfiles (Dockerfile, Dockerfile.*, *.dockerfile, Containerfile). It returns BLOCK, REVIEW, or NOT FLAGGED, with the file, line, reason, and a safer approach for every finding. Multi-stage builds are understood: the root user and health checks are judged on the final stage. Secret values are never printed: the report shows the variable name and length only.

What it checks

BLOCK (fix before shipping)

  • D01: a password, token or key written into ENV or ARG

  • D02: a script piped from curl or wget straight into a shell

  • D03: a .env file, an SSH or TLS private key, or a .p12/.pfx bundle copied into the image

REVIEW (check before release)

  • D11: the final image runs as root

  • D12: a base image with no tag or :latest

  • D13: ADD of a remote URL with no checksum

  • D14: apt-get install without removing the package lists

  • D15: an exposed port with no HEALTHCHECK

  • D16: sudo in a build step

  • D17: chmod 777

What's included

  • The scanner (Python 3.9+, standard library only)

  • A rules guide with the reason and safer approach for each rule

  • A risky and a safe example Dockerfile, and the real report the scanner produces on the risky one

Limits

It is a static check of the Dockerfile text. It does not build images or read build arguments, and it supports the default backslash line continuation only. NOT FLAGGED is not a guarantee.

Contents

One ZIP file with 7 files: SKILL.md, the scanner in scripts/ (2 Python files), references/rules.md (every rule with its reason and safer approach), and examples/ (2 example files plus report.md, the real scanner output on the risky example).

How to use: This is an agent skill: a folder with a SKILL.md file and Python scripts that an AI coding agent such as Claude Code, Cursor, or Codex CLI can run. Unzip it into your agent's skills folder (for Claude Code: ~/.claude/skills/), then ask your agent to check your project. The scripts also run on their own with Python 3.9 or newer, with nothing to install. They read your files only: no network access, and nothing is sent anywhere.

Qué recibes

1 archivo · 16.17 KB

  • dockerfile-safety-check-1.0.1.zipZIP · 16.17 KB

Incluido en Getly ProObtener Pro

LicenciaUso comercial permitido
Publicado8 nov 2026
Tamaño del archivo16.17 KB
Formato de archivoZIP
Versiónv1.0.1

Etiquetas

dockerdockerfilecontainerssecuritydevopsai agent skill
R
RR HH

Preguntas frecuentes

¿Tengo acceso al instante?

Sí. Es un producto digital: puedes descargarlo justo después del pago, directamente desde tu biblioteca.

¿Puedo usarlo en proyectos comerciales?

Sí. Se permite el uso comercial: úsalo en tu propio negocio y en cosas que vendas. No puedes revender ni redistribuir el archivo en sí.

¿Cuál es vuestra política de reembolso?

Puedes pedir un reembolso dentro de 30 días. Si algo no va bien, solicítalo desde tu pedido y el equipo de Getly lo revisa.

¿Qué formatos y tamaños de archivo recibiré?

Descargarás 1 archivo - ZIP - 16.17 KB en total.

¿Recibo actualizaciones gratis?

Sí: cuando el vendedor publica una versión nueva, puedes volver a descargar los archivos más recientes desde tu biblioteca sin coste extra. Mira el registro de cambios para ver las últimas actualizaciones.

Precio

$5.00