release skill: add an npm audit step to the v1 procedure
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 78/100
- Issue-Typ
- Dokumentation
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- documentation, release
Rechercherichtung
Beginne mit .claude/skills/release/SKILL.md, vergleiche die v1-Schritte mit dem Auditverfahren für v2 PR 1 und prüfe anschließend die Checkliste des v1-Release-Issues sowie die Beschreibung des Ledgers. Füge das Audit in der angegebenen Reihenfolge relativ zu v1-1 und v1-2 hinzu, dokumentiere den Bericht und die Erreichbarkeitsentscheidungen und führe npm run verify:skills aus; fertig ist die Arbeit, wenn das v1-Verfahren, die Checkliste und die Ledger-Beschreibung die Abnahmekriterien erfüllen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
The v1 release procedure (.claude/skills/release/SKILL.md, "The v1 line", steps v1-1 to v1-7) has no npm audit step. The v2 procedure runs one in PR 1 on every release: it audits each install, reports only (never npm audit fix), and fixes deliberately before the bump.
On v1, findings show up only incidentally. Releasing 1.0.8 (#3122), npm ci on the bump branch printed 34 vulnerabilities (16 moderate, 13 high, 5 critical). The procedure had no step to triage them, so they were neither looked at nor recorded anywhere durable.
Proposed change
Add an audit step to the v1 procedure, before or alongside v1-1, mirroring v2's PR 1:
- Run
npm audit --audit-level=highonv1/main(one install: v1 is a single npm workspace with one lockfile) and record the report in the v1 release ledger. - Same rules as v2: report only. Never run
npm audit fix(it downgrades silently), with or without--force. Fix deliberately with a direct bump or anoverridesentry, each as its own PR againstv1/main, merged before the bump (v1-2). - v1 takes security fixes only, so a finding needs a reachability call: fix one that is reachable from a shipped package; for one that is not (dev-only, or never on a shipped code path), record why in the ledger rather than fix it. This follows the precedent of #2074 and #2938.
- Add the step to the v1 release issue's checklist, so it can't be skipped silently.
Acceptance
releaseskill's v1 section has the audit step, with its place in the order relative to v1-1 / v1-2 stated.- The v1 ledger description names the audit report as one of the things it records.
npm run verify:skillspasses.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 11.4k
- Forks
- 1.6k
- Ø Merge
- 2 Std. 27 Min.
- Gemergte PRs (30 T.)
- 121
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus modelcontextprotocol/inspector
-
bug v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
modelcontextprotocol/inspector#3136 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
modelcontextprotocol/inspector#3133 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug v2
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
modelcontextprotocol/inspector#3132 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
modelcontextprotocol/inspector#3131 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
modelcontextprotocol/inspector#3111 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in modelcontextprotocol/inspector
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 95/100
amosblomqvist/learnharness#1141 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
ranxianglei/billion-context#8319 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
tencent-connect/dsh-qqbot#148 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
JimLiu/open-artifact#126 ·
-
redis.expireTime() returns relative TTL seconds on live host instead of Unix timestamp secondsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100