Logo: Aipcc Cve Report

Aipcc Cve Report

Organisatioun
opendatahub-io
aipcc-cve-report

Erstellt Uweisunge fir d'Behebung vu CVE-Sécherheetslücken fir déi vum Benotzer gewënschte RHAI-Produktversioun oder den Inhaltkanal, baséiert op Jira JQL, Ticket-Schlësselen oder enger Ticketbeschreiwung. Kontrolléiert déi gefléckte Packagen am RHAI-Package-Index an an engem passende RHAI-Basisimage (RHAIBI), oder preparéiert e gezielte Prompt fir eng AIPCC-Build-Ufro.

Iwwersiicht

Editeuropendatahub-io
Repositoryai-helpers
Skill-Nummaipcc-cve-report
Stären
39
Forks
76
Matgeliwwert Dateien
15
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 15 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    opendatahub-io huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Aipcc Cve Report an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-jira/skills/aipcc-cve-report
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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-jira/skills/aipcc-cve-report .claude/skills/aipcc-cve-report
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Aipcc Cve Report an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Aipcc Cve Report automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Aipcc Cve Report net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

AIPCC CVE report

Generate a fresh, local, standalone cve-report.html with the bundled scripts and assets. Lead with a plain-language remediation journey and keep technical evidence available for drill-down. Use the bundled renderer and collect the requested ticket scope afresh for each run.

Inputs and defaults

Accept literal JQL, one or more Jira keys, or a description of the tickets to find. Convert a description into a specific JQL query and state that query before collection. Ask for clarification only if the description cannot be mapped reliably. A description is not a package-name or fix-version authority.

When the user provides no ticket scope, suggest this query and give them a chance to adjust it:

jql
project in (RHAIENG, RHOAIENG, AIPCC) AND labels = ecosystem:pypi AND component not in (Documentation, PXE, Devops, testops) AND issuetype in (vulnerability) AND status not in (Closed, Resolved)

Establish the user's target product release for the legacy model, or exact channel name for the channel model. Use user-provided or verified consumer context; ask for the target when it is missing. Do not assume a release or compare releases by default. For a channel-based product release, resolve the consuming component's channel mapping. Default the environment to CPU, CPython 3.12 and x86_64 unless the user specifies otherwise. Exclude legacy 3.5-stable. Check a validated RHAI base image's test index when that image is in development. Stable channel maturity is not the legacy 3.5-stable product index. Stable channels stay eligible for the report.

Release-model discovery

Read repository AGENTS.md and applicable CONTEXT.md before using each checkout. Resolve source locations at runtime; no checkout directory is assumed. Obtain the current Content Channels Guide, Release Content Delivery Policy, Consumer FAQ, index lifecycle and update policy from authorized team documentation. Resolve their repository or rendered URLs from the user or organization configuration. Do not embed restricted documentation URLs or private repository locations in this public skill. If access fails, report which policy could not be checked.

Read release-models.md for source mappings, publication proof and migration rules. Pass resolved checkout paths to --fondue, --pipeline, --builder, and --team-docs; the latter three are conditional on the sources needed. Inspect Fondue's current rhai-pipeline/channels.yml and supported_versions.yml. Collect source commits with --refresh-sources when network access is available. Fetching refs must not switch branches, edit checkouts or discard local changes. Team-docs working-file hashes are recorded because local guidance can differ from committed files.

  • Confirm the legacy cutoff from current team guidance and pass it through --legacy-through. Compare exact requested product paths, including explicit EA suffixes. Do not substitute a preview release for a GA release.
  • For channel-based releases, use channel targets. Do not invent product-versioned index paths or equate a product release with one channel. Obtain per-component channel mappings for a product-wide answer; an unmapped release stays explicit.
  • Channel identity includes accelerator/SDK, fixed Torch anchor and OS. Compare channels individually. Record maturity, adopted-by metadata, architecture and Python support. Maturity is separate from test/production status.
  • Discover images from the full channel catalog and team guidance, not a fixed list of examples. Inspect the image's Linux architecture, channel/index labels and SHA-256 digest before suggesting it. Development images can point at the same index with -test; this is a normal release stage. Verify the fixed package in the exact index the image currently uses. Prefer a timestamp/release tag pinned by digest; a verified latest image may be pinned by its inspected digest. Image names or tags alone are not publication proof.

Run the workflow

Use a Python 3.10 or newer virtual environment and resolve <python> to its interpreter. Install the dependencies with <python> -m pip install -r <skill>/scripts/requirements.txt. Resolve <skill> to this installed skill directory and <out> to a new private report directory outside the source checkout. Do not assume a particular assistant cache path. Required CLI tools are acli and git; skopeo supports registry inspection and gh provides a GitHub API fallback when available. Node.js is required for the UI regression checks. Live collection requires authorized Jira and source-repository access. Quay inspection may require skopeo login quay.io on each computer; do not assume existing registry credentials. Keep generated reports, raw Jira and security evidence local. They can contain restricted tickets and private source links even though the skill code is public.

For Red Hat Jira, prefer acli. Check acli jira auth status. If unauthorized, authenticate without printing or saving credentials:

sh
printf '%s' "$JIRA_API_TOKEN" | acli jira auth login --site redhat.atlassian.net --email "$JIRA_EMAIL" --token

If the restricted shell cannot reach Jira, retry the CLI with network access. Do not replace it with a custom Jira HTTP client.

sh
<python> <skill>/scripts/report.py collect --out <out> --jql-file <query-file> --fondue <fondue-checkout> --team-docs <team-docs-checkout> --model legacy --releases <target-product-release> --legacy-through <verified-cutoff> --variants cpu-ubi9 --refresh-sources
<python> <skill>/scripts/report.py assess --out <out>

collect also accepts --jql or --tickets KEY .... For a channel target, use --model channels --channels <exact-target-channel>. Read the full catalog to resolve valid names, but collect the user's target for the normal remediation journey. Use multiple targets or --model both only for an explicit comparison investigation. Private channels require explicit selection and access; failed checks stay Unknown. Set --legacy-through from current release guidance. Supply --request-policy-url <authorized-url> and --request-intake-name <current-form-name> to populate request prompts at runtime, rather than publishing internal locations or intake metadata in the skill. Resolve legacy image names/tags from current documentation and release sources; pass them as repeatable --image-candidate TARGET=REGISTRY/REPOSITORY:TAG inputs. Candidates must pass registry validation before becoming recommendations.

Review the generated assessment.json before rendering. Read assessment.md for the schema and review rules. Confirm every package identity and CVE association against the CNA, upstream advisories and ticket evidence. Review branch-specific fixed versions, new/reopened affected intervals, advisory conflicts, no-fix cases and dependencies. Fetch primary release notes or source commits where structured records are insufficient. A CNA exclusive bound is a candidate until a released fix is verified. An inclusive affected bound, Git commit, newer version or local suffix is not a fixed release.

Keep reviewed: false until review is complete. For an established fix, fill positive fixed_specifiers, branch minimum_versions, sources and notes. For a CVE with no verified fix, leave positive ranges empty, set reviewed: true, and explain the result. Keep unknown package identities in unclassified with an explanation. Do not drop tickets or CVEs to make the table look complete. Unreviewed or changed advisory fingerprints block normal rendering.

For backports, verify the source revision and the exact released version. If patched and unpatched wheels share a version, approve wheel hashes, not the version. Use scripts/inspect_wheel.py to verify the download hash and inspect source without installing or executing the package. Review the source check semantically. Source-only backports must remain labeled as source evidence and must not be presented as binary provenance.

sh
<python> <skill>/scripts/report.py indexes --out <out>
<python> <skill>/scripts/report.py render --out <out> --architecture x86_64 --open

The index phase checks actual production PEP 691 package pages and any validated base image's development index, compatible wheel tags, Requires-Python and yanking. It fetches fixed-target PyPI metadata for Torch dependency checks. Download URLs remain only in raw/inspection evidence. Report wheel links must use /api/pypi/<domain>/<index>/simple/<package>/, never pulp-content.

Before marking the result complete, inspect the report's coverage warnings and failed checks. Resolve failures that affect a fix answer when access permits; otherwise retain Unknown with the cause. Read current constraints and primary build requests, scoped to their collection. Historical backfill pins are not global locks. If a target source mapping is absent, report lock status Unknown. Do not infer a producer lock from an old indexed version.

The collector also finds AIPCC and RHAI tickets for the selected CVEs. Check their summary/description associations in snapshot.json and raw/work-tickets/; incidental comments or unrelated issue links do not establish a CVE match. These references do not expand the original CVE query scope. Show actual clickable keys and status beside the CVEs in each main-table row, plus the per-CVE evidence. If no matching ticket is established, say so. A Closed ticket is not proof of a fixed wheel.

Required output and checks

Lead with one guided card per unique Python package for the user's exact target: (1) linked Jira issues and CVEs, package identity, and ticket-reported version when established; (2) whether a fix exists and whether AIPCC has published it in that target's RHAI package index; (3) the matching RHAI base image (RHAIBI), or the exact-target build request needed. State when a ticket version is unknown. Explain the RHAI package index, RHAIBI and channels in simple language. Keep architecture, target, search and all/missing-fix filters. Show all affected packages by default so an available fix still gets remediation instructions. A single collected target is preselected; a report with multiple targets asks the user to choose their target.

For a verified fixed package, recommend a matching published base image first. Show an exact timestamp/digest Containerfile example and the package pin. Lead with the specific verified image reference and a FROM example, then the fixed application requirement. Keep full production package/index URLs and pip/uv examples in a collapsed advanced alternative. Explain that the consumer must update its locks, rebuild, test, and scan. Do not imply the base image already contains the fixed package. Usage recommendations must cover all collected CVEs for that package, including CVEs hidden by the filter for missing fixes. Suppress version-only install commands for hash-specific fixes and source-only backports. When no fix is verified, publication is missing, or checks failed, give a clear next step and a copyable agent prompt instead of an install command. Read request-workflow.md for intake, update and ownership rules. Resolve the current package-request form from authorized team guidance and supply its name at runtime. The prompt must focus on asking AIPCC to build the needed package. Include the requested version, exact target and package URLs, environment, all collected CVEs and linked Jira issues. Reference the current rendered update policy instead of embedding its form fields or workflow metadata. Ask the agent to check existing work, collect missing request information, and prepare intake and required follow-up for review.

Keep the evidence table in a collapsed technical section: grouped CVEs, one unique package, minimum fixed version and the user's target. An optional technical comparison can add a second source column. It must not change the main remediation instructions or include unrelated channel recommendations. Each source cell retains fix availability, coverage count, indexed versions, source-linked constraints, compatibility notes, matching base route, and action. Yes requires one indexed compatible wheel covering every displayed CVE for the package; separate patched builds do not establish one usable package pin. Retain clickable wheel filenames, collapsed package/CVE evidence, exact onboarding targets, and no-fix highlights. The HTML must work when copied alone.

Choose fixes within the current channel's anchors. Prefer a compatible upstream fixed release. When the fix requires another Torch/SDK/OS anchor, the consumer can validate a different channel or arrange a backport with its component team. The requesting component team owns production-code patches, forks and releases; AIPCC builds and publishes the requested source. Do not promise an AIPCC-owned backport. Do not propose mixing indexes or upgrading Torch inside an existing channel. Pin recommendations are individual publication targets, not a combined validated lockfile. A Yes is index availability, not proof that the consuming image is remediated.

Run scripts/test_report.py after changing the skill. For a report run, verify unique package rows, complete CVE coverage, exact production URLs, source-scoped pins and channel/image alignment. Check the default and alternate-target filters. Rendering the same saved snapshot and assessment must give byte-identical HTML, Markdown and JSON.

When the target has no verified matching RHAIBI or fixed package, state the missing evidence and provide the next AIPCC request for that exact target. Do not use a different release or channel as the default remedy. Explore migration only when the consumer asks for it.

After generating the report, attempt to open cve-report.html with CLI-native tooling: open <out>/cve-report.html on macOS or xdg-open <out>/cve-report.html on Linux. The render command's --open option performs this attempt. Do not open the output folder or use an interactive browser integration to open the report. If the opener fails, retain the generated report and state the failure. Return a link to the HTML, the count of unique packages needing attention, and material unresolved checks. Do not publish the report, change Jira tickets, onboard packages or alter consumer locks as part of this skill.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Aipcc Cve Report?

Erstellt Uweisunge fir d'Behebung vu CVE-Sécherheetslücken fir déi vum Benotzer gewënschte RHAI-Produktversioun oder den Inhaltkanal, baséiert op Jira JQL, Ticket-Schlësselen oder enger Ticketbeschreiwung. Kontrolléiert déi gefléckte Packagen am RHAI-Package-Index an an engem passende RHAI-Basisimage (RHAIBI), oder preparéiert e gezielte Prompt fir eng AIPCC-Build-Ufro.

Firwat Aipcc Cve Report op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Aipcc Cve Report besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Aipcc Cve Report an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-jira/skills/aipcc-cve-report an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Aipcc Cve Report benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Aipcc Cve Report benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Aipcc Cve Report domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Aipcc Cve Report gratis?

Jo. opendatahub-io huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇