Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Dockerfile & Container Build Sanity Gate

    by PubsProToolkit

    1

    The Dockerfile & Container Build Sanity Gate is an adversarial reviewer for Dockerfiles and container build files.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    Review this Dockerfile: FROM node:latest COPY . . RUN npm install && npm run build ENV API_TOKEN=sk-live-abc123 CMD ["node", "server.js"]

    Your agent does

    VERDICT: BLOCK PRIVILEGE: risk - no USER directive, so the container runs as root. SIZE: bloated - single stage leaves npm and build tools in the final image. LAYERS: fragile - FROM node:latest is unpinned; COPY . . before install busts the cache on every code change. SECRETS: API_TOKEN in ENV is baked into a layer and visible to anyone who pulls the image - highest risk. HARDENING: no .dockerignore, no HEALTHCHECK, packages not minimized. TOP 3 FIXES: remove API_TOKEN from ENV and pass it at runtime; pin the base image and move COPY after dependency install; add a non-root USER plus a multi-stage build.

    What you get

    Reviewing a Dockerfile for root users and leaked secrets before building the imageChecking a teammate's Dockerfile in a pull request for bloat and fragile layersAuditing an oversized or slow-building image for missing hardening before it ships

    About this skill

    The Dockerfile & Container Build Sanity Gate is an adversarial reviewer for Dockerfiles and container build files. You paste a Dockerfile and it reads it the way a security-minded platform engineer would in code review — then returns a structured verdict. It does not rewrite your Dockerfile or generate one.

    It runs five passes — privilege and user, image size and bloat, layer order and pinning, secret and data leakage, and hardening best practices — and returns a structured PASS / FIX / BLOCK verdict with the highest-impact fixes first. It is built to be the last read before an image is built or pushed, when the author is too close to the file to spot a root process, a baked-in token, or a cache-busting layer.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    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

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    Listed1 month ago

    Creator

    PubsProToolkit builds rigor-first skills for AI agents — they write your docs and content properly, then adversarially review them to catch what's wrong before it ships. The result: cleaner output and a hard quality gate in one toolkit. Built by a CMPP-certified, PhD medical writer who brings regulated-industry standards to developer docs, content, compliance, and research integrity.

    Frequently Asked Questions

    Popular in Security & Compliance