Oci Cve Checker logo

Oci Cve Checker

Organization
opendatahub-io
oci-cve-checker

Use this skill to compare CVE vulnerabilities between two OCI container images and generate reports showing fixed and new CVEs.

Overview

Publisheropendatahub-io
Repositoryai-helpers
Skill nameoci-cve-checker
Stars
39
Forks
76
Bundled files
2
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by opendatahub-io on GitHub. Read the source before you install it.

Installation

Install the Oci Cve Checker AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-security/skills/oci-cve-checker
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opendatahub-io/ai-helpers.git /tmp/ai-helpers
mkdir -p .claude/skills
cp -r /tmp/ai-helpers/plugins/odh-security/skills/oci-cve-checker .claude/skills/oci-cve-checker
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Oci Cve Checker in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Oci Cve Checker on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Oci Cve Checker is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

OCI CVE Checker

This skill compares CVE vulnerabilities between two OCI container images and generates detailed reports showing which CVEs were fixed and which new CVEs were introduced.

Instructions

When a user asks to compare CVEs between container images or analyze security differences:

  1. Check and install required dependencies:

    bash
    ./scripts/manage_deps.sh

    This script checks for trivy, jq, and skopeo, and automatically installs any missing tools to a temporary directory if needed.

  2. Run the CVE comparison script with two container image references:

    bash
    ./scripts/check_cves.sh <base_image> <target_image> [output_directory]
  3. Analyze the generated output files:

    Output Files

    The script generates the following files in the output directory (default: ./cve-reports/):

    • fixed_cves.txt: CVEs that existed in the base image but are fixed in the target image
    • new_cves.txt: New CVEs that appear in the target image but weren't in the base image
    • common_cves.txt: CVEs that exist in both images
    • summary.txt: High-level summary with counts and statistics
    • <image_name>_<digest>.json: Complete vulnerability scans for each image (filenames include image name and first 12 characters of digest, e.g., python-3.11_a1b2c3d4e5f6.json)
  4. Interpret the results for the user:

    Fixed CVEs Analysis

    • Count of CVEs resolved between versions
    • Severity breakdown of fixed vulnerabilities
    • Notable security improvements
    • Packages that were updated to fix vulnerabilities

    New CVEs Analysis

    • Count of newly introduced CVEs
    • Severity assessment of new vulnerabilities
    • Risk evaluation for production deployment
    • Packages introducing new vulnerabilities
    • Recommendations for mitigation

    Overall Security Posture

    • Net change in vulnerability count
    • Severity trends (more/fewer critical CVEs)
    • Recommendation on whether to upgrade
    • Additional security considerations

Usage Examples

Compare Two Container Images

bash
./scripts/check_cves.sh registry.io/app:v1.0 registry.io/app:v1.1

Interpretation: Compare CVEs between version 1.0 and 1.1, identifying security improvements and any regressions.

Compare with Custom Output Directory

bash
./scripts/check_cves.sh quay.io/myapp:latest quay.io/myapp:dev ./security-audit

Interpretation: Generate comparison reports in a custom directory for documentation or CI/CD integration.

Compare Different Registries

bash
./scripts/check_cves.sh docker.io/library/python:3.11 docker.io/library/python:3.12

Interpretation: Analyze security differences between Python base image versions.

Private Registry Authentication

bash
# Method 1: Using auth.json file (Recommended)
REGISTRY_AUTH_FILE=/home/default/containers/auth.json \
./scripts/check_cves.sh private-registry.io/app:v1 private-registry.io/app:v2

# Method 2: Using environment variables
TRIVY_USERNAME=myuser TRIVY_PASSWORD=mypass \
./scripts/check_cves.sh private-registry.io/app:v1 private-registry.io/app:v2

# Method 3: Trivy automatically uses podman credentials from ${XDG_RUNTIME_DIR}/containers/auth.json
podman login private-registry.io
./scripts/check_cves.sh private-registry.io/app:v1 private-registry.io/app:v2

# Method 4: For non-SSL registries
TRIVY_NON_SSL=true REGISTRY_AUTH_FILE=/home/default/containers/auth.json \
./scripts/check_cves.sh insecure-registry.io/app:v1 insecure-registry.io/app:v2

Interpretation: Trivy can authenticate to private registries using the REGISTRY_AUTH_FILE environment variable pointing to your auth.json, or using TRIVY_USERNAME/TRIVY_PASSWORD environment variables, or existing podman credentials.

Key Analysis Points

When Reviewing Fixed CVEs

  • Critical/High Severity Fixes: Highlight major security improvements
  • Long-standing Vulnerabilities: Note fixes for older, known issues
  • Completeness: Check if all expected CVEs were addressed
  • Verification: Confirm fixes align with release notes

When Reviewing New CVEs

  • Severity Assessment: Prioritize by CVSS score and exploitability
  • Exposure Analysis: Determine if vulnerable code paths are reachable
  • Mitigation Options: Suggest workarounds if immediate fix isn't available
  • Timeline: Check if patches are available or planned

Security Recommendations

Based on the comparison, provide guidance:

For Improved Security (More Fixed than New)
  • "Upgrading is recommended - net reduction of X vulnerabilities"
  • "Y critical CVEs fixed with only Z new low-severity issues"
  • "Security posture improved, safe to deploy after testing"
For Degraded Security (More New than Fixed)
  • "Caution: X new vulnerabilities introduced"
  • "Review new CVEs before deploying to production"
  • "Consider waiting for next release or apply mitigations"
For Mixed Results
  • "Security trade-offs detected"
  • "Fixed: [critical issues], but introduced: [new concerns]"
  • "Recommend risk assessment based on your threat model"

Tool Requirements

This skill requires the following tools to be installed:

  • trivy: Container vulnerability scanner
  • jq: JSON processor for parsing scan results
  • skopeo: For image inspection and pre-validation (validates image tags exist before analysis)

Error Handling

If the dependency check fails:

  • Missing tools: Run ./scripts/manage_deps.sh first to check and install trivy, jq, and skopeo
  • Auto-install failure: Install tools manually as instructed by the manage_deps script

If the comparison script fails:

  • Image not found: Verify image names and registry accessibility
  • Authentication required: Set TRIVY_USERNAME/TRIVY_PASSWORD environment variables, or login with podman login <registry>
  • Network issues: Check connectivity to container registries
  • Insufficient permissions: Verify file write permissions for output directory
  • Non-SSL registry: Set TRIVY_NON_SSL=true for insecure registries

Integration Notes

This skill works well with:

  • CI/CD pipelines: Automated security checks before deployment
  • Security audits: Regular vulnerability assessments
  • Release validation: Verify security improvements in new releases
  • Container image promotion: Gate promotions based on CVE thresholds
  • K8s/OpenShift deployments: Pre-deployment security validation

Example Workflow

  1. Developer builds new container image
  2. Run CVE checker comparing old vs new image
  3. Review fixed and new CVEs
  4. Make deployment decision based on security posture
  5. Document findings in security reports
  6. Update deployment runbooks with any new mitigations

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Oci Cve Checker AI skill do?

Use this skill to compare CVE vulnerabilities between two OCI container images and generate reports showing fixed and new CVEs.

Why use Oci Cve Checker on TypingMind?

Because you install it once and use it with any model. Oci Cve Checker is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Oci Cve Checker in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-security/skills/oci-cve-checker. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Oci Cve Checker?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Oci Cve Checker?

As many as you like. As long as a model supports skills, you can use Oci Cve Checker with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Oci Cve Checker AI skill free?

Yes. It is published on GitHub by opendatahub-io under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇