secdevai-oci-image-security

secdevai-oci-image-security is a skill for Claude Code from RedHatProductSecurity/prodsec-skills. It costs 76 tokens per session (1,405 once invoked), scanned B, original, Apache-2.0.

A security-review skill for OCI container images. OCI is a standard format used by images stored in registries such as Docker Hub, Quay.io, and Red Hat’s registry.

In plain words
What is it for?
Use it to review images, interpret Trivy or Grype vulnerability results, investigate supply-chain concerns, and harden Dockerfiles or image builds.
Why use it?
It helps identify vulnerable packages, unsafe settings, outdated components, exposed credentials, and other supply-chain risks before an image is used.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the prodsec-skills plugin — 133 skills shipped together

Good fit Use it to review images, interpret Trivy or Grype vulnerability results, investigate supply-chain concerns, and harden Dockerfiles or image builds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redhatproductsecurity/prodsec-skills/secdevai-oci-image-security
Install

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.

Any agent
npx skills add RedHatProductSecurity/prodsec-skills --skill secdevai-oci-image-security
Clone the repo
git clone --depth 1 https://github.com/RedHatProductSecurity/prodsec-skills

Made for: Claude Code.

Or install prodsec-skills, the plugin that ships this one along with the rest of its 133 skills.

Wrote 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.

agentmods badge for secdevai-oci-image-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/redhatproductsecurity/prodsec-skills/secdevai-oci-image-security/github.svg)](https://agentmods.dev/skills/redhatproductsecurity/prodsec-skills/secdevai-oci-image-security)
Your own site
<a href="https://agentmods.dev/skills/redhatproductsecurity/prodsec-skills/secdevai-oci-image-security"><img src="https://agentmods.dev/badge/skills/redhatproductsecurity/prodsec-skills/secdevai-oci-image-security/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.

agentmods 80×15 button for secdevai-oci-image-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/redhatproductsecurity/prodsec-skills/secdevai-oci-image-security"><img src="https://agentmods.dev/badge/skills/redhatproductsecurity/prodsec-skills/secdevai-oci-image-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,405 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.01405
Opus 5 $0.00038 $0.00702
Sonnet 5 $0.00015 $0.00281
Haiku 4.5 $0.00008 $0.00140

Measured 10d ago against content hash 1f7c499ea4f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

secdevai-oci-image-security scanned grade B with 2 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 10d 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.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

(`RUN curl | bash` patterns, `ADD` from HTTP, etc.).

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(`RUN curl | bash` patterns, `ADD` from HTTP, etc.).
experimental/secdevai-oci-image-security/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OCI Container Image Security Analysis

This skill guides systematic security analysis of OCI container images. It is structured around four core finding categories that consistently yield actionable signal when analyzing images from registries such as Red Hat, Quay.io, and Docker Hub.

When to Use This Skill

  • Reviewing container images before promotion to production or a registry
  • Triaging CVE scanner output (Trivy, Grype, ACS/RHACS) for a container image
  • Analyzing a new base image or upstream image for adoption decisions
  • Performing security review as part of a FedRAMP ConMon or ATO workflow
  • Investigating a supply chain concern involving an OCI image or package
  • Hardening a Dockerfile or image build pipeline

Analysis Workflow

Work through the four finding categories in order. Each category has its own detection patterns and reference material.

1. CVE and Package Vulnerability Analysis

Goal: Identify exploitable or high-signal CVEs in the image's installed packages, with a focus on supply chain and embedded component risks that scanner tools may miss.

Steps:

  1. Run Trivy or Grype against the image and collect the raw findings.
  2. Filter for HIGH and CRITICAL CVEs. Cross-reference against CISA KEV for any active exploitation.
  3. Look beyond top-level packages — check for embedded or vendored libraries that scanners may not attribute to the correct source package. See ./reference/supply-chain-patterns.md for known high-risk patterns.
  4. For each HIGH/CRITICAL CVE: assess exploitability in the container context (network exposure, privilege level, whether the vulnerable code path is reachable).
  5. Flag any packages that are end-of-life (EOL) at the upstream level even if no specific CVE is assigned. EOL components represent ongoing unpatched risk. See ./reference/eol-detection.md.

Key signals to escalate:

  • Embedded EOL OpenSSL, libcurl, or libssl in compiled binaries (not OS packages)
  • Packages shipping vendored copies of libraries with known CVEs
  • Any KEV-listed CVE present in the image

Read the full file on GitHub · 148 lines

Files

What ships with it

4 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.

Changes

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.

  1. 10d ago First seen · 148 lines · 76 tokens per session scan B 1f7c499ea4f6

Subscribe to this mod's changes

secdevai-oci-image-security is a skill published in the GitHub repository RedHatProductSecurity/prodsec-skills (52 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 76 tokens to every session and 1,405 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 2 findings (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.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens