Commit 1b2992d
authored
fix: group alerts by normalized name and link to GHSA pages (#15)
Dependabot reports the same package under inconsistent casing across
advisories (e.g. "starlette" and "Starlette"). Grouping by the raw name
split it into two packages with different fix versions, so the second
upgrade downgraded what the first one fixed, leaving the lockfile on a
still-vulnerable version. Group by the PEP 503 normalized name so all
advisories merge and the highest fix version wins.
Also prefer the GHSA advisory URL over NVD for vulnerability links:
freshly-assigned CVEs are often still RESERVED and 404 on NVD, while the
GHSA page always exists for a Dependabot alert.
Claude-Session: https://claude.ai/code/session_01VFS7dXstJqCtX4zYF9Gp3x1 parent efa135e commit 1b2992d
1 file changed
Lines changed: 20 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 | | |
99 | 106 | | |
100 | | - | |
| 107 | + | |
101 | 108 | | |
102 | 109 | | |
103 | 110 | | |
| |||
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
145 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
146 | 157 | | |
147 | 158 | | |
148 | 159 | | |
| 160 | + | |
149 | 161 | | |
150 | 162 | | |
151 | 163 | | |
152 | 164 | | |
153 | 165 | | |
154 | 166 | | |
155 | 167 | | |
156 | | - | |
157 | | - | |
| 168 | + | |
| 169 | + | |
158 | 170 | | |
159 | 171 | | |
160 | 172 | | |
161 | | - | |
162 | | - | |
| 173 | + | |
| 174 | + | |
163 | 175 | | |
164 | | - | |
165 | | - | |
| 176 | + | |
| 177 | + | |
166 | 178 | | |
167 | 179 | | |
168 | 180 | | |
| |||
0 commit comments