Logo : Aipcc Cve Report

Aipcc Cve Report

Organisation
opendatahub-io
aipcc-cve-report

Générez des instructions de correction des CVE pour la version du produit RHAI ou le canal de contenu visé par l’utilisateur, à partir d’une requête Jira JQL, de clés de tickets ou d’une description de ticket. Vérifiez les paquets corrigés dans l’index des paquets RHAI ainsi que dans une image de base RHAI correspondante (RHAIBI), ou préparez un prompt ciblé de demande de build AIPCC.

Présentation

Éditeuropendatahub-io
Dépôtai-helpers
Nom de la compétenceaipcc-cve-report
Étoiles
39
Forks
76
Fichiers inclus
15
LicenceApache-2.0
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 15

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par opendatahub-io sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Aipcc Cve Report dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-jira/skills/aipcc-cve-report
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet 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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Aipcc Cve Report dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Aipcc Cve Report dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Aipcc Cve Report n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Aipcc Cve Report ?

Générez des instructions de correction des CVE pour la version du produit RHAI ou le canal de contenu visé par l’utilisateur, à partir d’une requête Jira JQL, de clés de tickets ou d’une description de ticket. Vérifiez les paquets corrigés dans l’index des paquets RHAI ainsi que dans une image de base RHAI correspondante (RHAIBI), ou préparez un prompt ciblé de demande de build AIPCC.

Pourquoi utiliser Aipcc Cve Report sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Aipcc Cve Report se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Aipcc Cve Report dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-jira/skills/aipcc-cve-report. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Aipcc Cve Report ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Aipcc Cve Report ?

Autant que vous le souhaitez. Vous pouvez utiliser Aipcc Cve Report avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Aipcc Cve Report est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par opendatahub-io sous licence Apache-2.0. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇