SlimContainer: Base Image CVE & Bloat Slasher

    by AllAccessData

    1

    Runs Trivy against your image, then rewrites the Dockerfile onto a distroless or Alpine base and through multi-stage builds so the high-severity CVEs and most of the megabytes go away together.

    $5

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned

    Works with the AI Agents you already use

    About this skill

    SlimContainer: Container Base Image CVE & Bloat Slasher Most of your CVE count belongs to packages your application never calls. The fastest remediation is deleting them.

    Built for DevOps and SRE teams shipping containers that have to pass a scanner. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.

    What's included:

    • Local scan, no upload: Trivy and a Dockerfile parser run on your machine. Your image and its contents do not leave it.
    • Base image replacement: swaps bloated Ubuntu and Debian bases for distroless or Alpine, which removes whole classes of findings rather than patching them one at a time.
    • Multi-stage restructuring: build toolchains, compilers and package managers stay in the build stage and out of the runtime image - the single biggest cut to both size and attack surface.
    • High-severity triage: the remaining CVEs, with what actually fixes each one.
    • Clean output: a rewritten Dockerfile you can read and diff, not a patch to apply blind.
    • Credentials are read from environment variables and never printed or stored.

    Changing a base image changes runtime behaviour, and the failures are specific: Alpine uses musl rather than glibc, so binaries compiled against glibc and some DNS resolution behaviour will not work unchanged; distroless images ship no shell, so docker exec, entrypoint scripts and your debugging workflow all need rethinking. Run the full test suite against the rebuilt image and check your startup path before this reaches production - a smaller image that will not boot is not an improvement.

    A clean Trivy report means no known CVEs in the scanned layers. It is not a statement about your application code.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    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

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    Accounts
    Anthropic

    Permissions

    Network Access
    Environment Variables
    Read Files
    Terminal / Shell

    Allowed Hosts

    api.anthropic.com

    This skill calls Anthropic Claude 3.5 Haiku (paid). 1 of these is billed by its provider, not by us; you supply the account. It reads ANTHROPIC_API_KEY from your environment; credentials are never hardcoded, stored, logged or echoed. It also expects these installed locally: Local Trivy CLI, Local Dockerfile Parser - Trivy fetches its own vulnerability database over the network when you run it. Please note: the description on this listing states that no API keys or paid services are needed. That is incorrect - the services above are required. Listing text cannot be edited after approval, so treat this permissions block as the authoritative statement of what the skill needs.

    Listed14 days ago
    Updated6 days ago

    What's inside

    Frequently Asked Questions

    Runs Trivy against your image, then rewrites the Dockerfile onto a distroless or Alpine base and through multi-stage builds so the high-severity CVEs and most of the megabytes go away together.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use SlimContainer: Base Image CVE & Bloat Slasher on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.