Repository navigation
v0.17.0 — security-alert sees auto-dismissed alerts
Fixed
security-alert: step 1 collected onlystate == "open"alerts, so any alert GitHub's Dependabot auto-triage had dismissed was invisible to the whole workflow while the vulnerable version stayed in the lock file. The skill would then report "no alerts to handle" for a repo installing a package inside an advisory's vulnerable range, which is the one conclusion this skill must not reach incorrectly. Collection now takesauto_dismissedalongsideopen(fixedand humandismissedstay excluded), and the termination condition moves off alert count onto the resolved version: "nothing to handle" may only be said once every collected alert's resolved version is outside its advisory range. Observed on karasu#2565: twohighalerts, both auto-dismissed as development-scoped, both still resolving to the vulnerable version; one of them (brace-expansion5.0.8 against>= 4.0.0, < 5.0.9) was the stale-floor case step 2 exists to catch, and it sat unfixed for two weeks because collection never surfaced it. Its row joins the step 2 example table, which now records how long each instance took to notice. (#85)security-alert: step 2 now saysscopeis for prioritising, not for deciding whether to act. The field is recomputed when the dependency graph moves: karasu's alert #68 wasopen/runtimein the morning andauto_dismissed/developmentthe same afternoon, after unrelated dependency PRs changed the graph. The vulnerable version never moved. (#85)
Full Changelog: v0.16.0...v0.17.0