Synthèse automatique
Cette skill prend l'URL d'un billet du blog Chrome Releases et retrouve, pour chaque CVE et bug ID mentionné, le ou les changelists Gerrit qui ont corrigé le problème, en fouillant l'historique git d'un checkout Chromium local et de ses sous-dépôts.
Points forts
- Extrait les paires CVE → bug ID depuis le HTML du blog en supprimant les balises, avec une stratégie de repli par grep si le format change
- Route la recherche vers le bon dépôt selon le composant (ANGLE, Skia, PDFium, Dawn, V8) et retombe sur chromium/src en cas d'échec
- Gère les cas difficiles : fetch puis recherche sur les remotes, requêtes Gerrit directes, format de bug `b/<id>` via `message:` pour Skia/Dawn, et traçage du CL principal via `cherry_pick_of_change`
- Distingue le CL principal des cherry-picks de branche `[M1xx]` pour éviter de remonter les mauvais commits
Limites
- Suppose un checkout Chromium local à un chemin codé en dur (`/root/src/electron/src`) et une arborescence de sous-dépôts déjà présente
- La recherche git est bornée à `--since='6 months ago'`, ce qui peut manquer des correctifs plus anciens
- Dépend de la structure actuelle du HTML du blog et des conventions de footer git (`Bug:`/`Fixed:`/`Reviewed-on:`), qui peuvent évoluer
Quand vous devez relier les notes de sécurité d'une version stable de Chrome aux commits et CL Gerrit qui ont réellement corrigé chaque CVE.
Si vous n'avez pas de checkout Chromium local avec ses sous-dépôts, ou si vous cherchez simplement la liste des CVE sans leur commit de correction.
Analyse de sécurité
PrudenceThe skill is a read-only research/doc-mapping workflow: it fetches a blog page, parses it with an inline Python script, runs read-only `git log --grep` searches over local repos, and queries Gerrit REST APIs. There are no destructive commands, no piping remote content to a shell, and no credential/token exfiltration. Risk is limited to expected use of bash, curl, git, and network access plus fixed /tmp paths and an unvalidated input URL, so it is caution rather than safe or risky.
- •Uses curl to fetch an arbitrary user-supplied URL ($URL) — content is only parsed locally, not executed, but the URL is not validated against the chromereleases.googleblog.com domain
- •Hardcoded local checkout path /root/src/electron/src assumes a specific machine layout
- •Writes intermediate results to fixed paths in /tmp (/tmp/cve_bugs.txt, /tmp/cve_cls.txt), which are predictable and not user-isolated
- •Makes outbound network calls to multiple Google Gerrit REST endpoints and parses JSON from them
- •No destructive, exfiltration, or obfuscated actions; all git/curl operations are read-only lookups
Exemples
Here's the Chrome stable release post: https://chromereleases.googleblog.com/2025/03/stable-channel-update-for-desktop.html — map every CVE to its fixing Gerrit CL.From this Chrome Releases post, find the Gerrit CL that fixed the High-severity V8 CVE and tell me whether it was cherry-picked to the release branch.name: chrome-release-cls description: Given a Chrome Releases blog post URL (chromereleases.googleblog.com), extract every CVE/bug and find the underlying Gerrit CL that fixed it by searching the local Chromium checkout and sub-repos. Use when asked to map Chrome security release notes to fixing CLs, or to find which commits correspond to CVEs in a Chrome stable update.
Chrome Release → Fixing CL Mapper
Maps every security fix in a Chrome Releases blog post to the Gerrit CL(s) that fixed it.
Input
$ARGUMENTS — a https://chromereleases.googleblog.com/... URL. If empty, ask the user for one.
Procedure
1. Extract CVE → bug ID pairs from the blog post
The blog HTML buries bug IDs inside <a> tags, so strip tags first. Run:
curl -sL "$URL" | python3 -c '
import sys, re, html
t = re.sub(r"<[^>]+>", " ", sys.stdin.read())
t = re.sub(r"\s+", " ", html.unescape(t))
seen = set()
for m in re.finditer(r"\[\s*(\d{6,})\s*\]\s*(Critical|High|Medium|Low)\s*(CVE-\d{4}-\d+):\s*([^.]+?)\.", t):
if m.group(3) in seen: continue
seen.add(m.group(3))
print(f"{m.group(3)}|{m.group(1)}|{m.group(2)}|{m.group(4).strip()}")
' > /tmp/cve_bugs.txt
cat /tmp/cve_bugs.txt
If this yields nothing, the page may have changed format — fall back to grep -oE 'CVE-[0-9]{4}-[0-9]+' and grep -oE 'crbug\.com/[0-9]+' and pair them by order.
2. Find the fixing CL for each bug
Search git history in the Chromium checkout and relevant sub-repos for commits whose Bug: or Fixed: footer references the bug ID, then extract the Reviewed-on: Gerrit URL.
Repo selection by component keyword:
- ANGLE →
third_party/angle - Skia, Graphite →
third_party/skia - PDFium →
third_party/pdfium - Dawn →
third_party/dawn - V8, Turbofan, Maglev, Turboshaft →
v8 - everything else →
.(chromium/src)
Always also fall back to . if the hinted repo has no match.
cd /root/src/electron/src # chromium root (parent of electron/)
lookup() {
local bug="$1" repos="$2"
for repo in $repos . v8 third_party/skia third_party/angle third_party/pdfium third_party/dawn; do
local hits
hits=$(git -C "$repo" log --all --since='6 months ago' -E \
--grep="(Bug|Fixed):.*\\b${bug}\\b" --format='%H' 2>/dev/null | sort -u)
[[ -z "$hits" ]] && continue
while read -r h; do
git -C "$repo" log -1 --format='%B' "$h" | grep '^Reviewed-on:' | sed 's/^/ /'
echo " ↳ $(git -C "$repo" log -1 --format='%s' "$h")"
done <<<"$hits"
return 0
done
echo " (not found locally)"
}
Drive it from /tmp/cve_bugs.txt. Prefer the non-[M1xx]-prefixed commit subject as the canonical main CL; the [M1xx] ones are branch cherry-picks.
3. Handle misses
For any bug with no local hit:
git -C <repo> fetch originthen re-search--remotes(fix may be newer than the checkout).- Query Gerrit directly:
curl -s "https://chromium-review.googlesource.com/changes/?q=bug:${BUG}&n=10" | tail -n +2 | python3 -m json.tool(also tryskia-review,pdfium-review,dawn-review,aomedia-review). b/bug format (Skia, Graphite, Dawn): These repos reference bugs asb/<id>in commit messages rather thanBug: <id>footers. The Gerritbug:query will return nothing. Usemessage:<id>search instead:Apply the same pattern forcurl -s "https://skia-review.googlesource.com/changes/?q=message:${BUG}&n=5" | tail -n +2dawn-review.googlesource.comwhen the component is Dawn.- Tracing main CLs from merges: When only
[M1xx]merge CLs are found, query the CL detail forcherry_pick_of_changeto find the original main CL number:curl -s "https://chromium-review.googlesource.com/changes/${CL_NUM}?o=CURRENT_REVISION" | tail -n +2 | python3 -c " import sys, json d = json.load(sys.stdin) print(d.get('cherry_pick_of_change', 'none')) " - If still nothing and the bug was reported very recently (especially by "Google Threat Intelligence" or marked in-the-wild), the CL is likely still access-restricted — report it as such rather than guessing.
4. Special cases
-
Roll CLs — skip and find the upstream fix: For components whose fixes land in upstream repos (PDFium, Dawn, Skia, Graphite, libaom, libvpx, ffmpeg), the chromium-review hit will be a
Roll src/third_party/...commit. Do not report the roll CL as the fix. Instead, query the component's own Gerrit instance directly for the actual fixing CL:- PDFium →
pdfium-review.googlesource.com(usebug:ormessage:query) - Dawn →
dawn-review.googlesource.com(usemessage:query — usesb/format) - Skia / Graphite →
skia-review.googlesource.com(usemessage:query — usesb/format) - libaom →
aomedia-review.googlesource.com
Only if the upstream Gerrit instance returns no results should you fall back to reporting the roll CL — in that case, include the roll CL and note that the actual fix is upstream but the specific CL could not be identified.
- PDFium →
-
Multiple
Reviewed-on:lines in one commit body: cherry-picks keep the original line plus a new one. The firstReviewed-on:is the original CL. -
A bug may have multiple distinct fix CLs (fix + follow-up hardening) — list all of them.
5. Output
Produce a markdown table per severity level: CVE | Bug | Component | Fix CL (main). Link bugs as https://crbug.com/<id>. Save raw output (including all branch merges) to /tmp/cve_cls.txt and mention the path.
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/chrome-releases-to-gerrit-cl-mapper-mte1lfib/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/chrome-releases-to-gerrit-cl-mapper-mte1lfib' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/chrome-releases-to-gerrit-cl-mapper-mte1lfib/download' --output '.skill-downloads/chrome-releases-to-gerrit-cl-mapper-mte1lfib/SKILL.md.part' && mv '.skill-downloads/chrome-releases-to-gerrit-cl-mapper-mte1lfib/SKILL.md.part' '.skill-downloads/chrome-releases-to-gerrit-cl-mapper-mte1lfib/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/chrome-releases-to-gerrit-cl-mapper-mte1lfib/SKILL.md' && test -s '.skill-downloads/chrome-releases-to-gerrit-cl-mapper-mte1lfib/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/chrome-release-cls' && cp -R '.skill-downloads/chrome-releases-to-gerrit-cl-mapper-mte1lfib' '.claude/skills/chrome-release-cls'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/chrome-releases-to-gerrit-cl-mapper-mte1lfib'openskills read 'chrome-releases-to-gerrit-cl-mapper-mte1lfib'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/chrome-releases-to-gerrit-cl-mapper-mte1lfib/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Sécurité AMM DeFi
Securite
Checklist de sécurité pour les contrats Solidity AMM, pools de liquidité et flux de swap. Couvre réentrance, attaques par donation, manipulation d'oracles, etc.
Créateur de règles Semgrep
Securite
Crée des règles Semgrep personnalisées pour détecter des vulnérabilités de sécurité, des motifs de bugs et des motifs de code. Inclut une méthodologie de test en premier, le support du mode taint et des étapes de validation. Utile pour construire des détections d'analyse statique ciblées.
Revue barre d'outils développement
Securite
Règles de sécurité pour la barre d'outils de développement, le client PostHog et les feature flags. À utiliser lors de la revue de modifications des composants dev-tools et connexes.