Repository navigation
Commit c5087a9
Answer the four security alerts GitHub opened
Three were Dependabot, all transitive and all build-time: js-yaml 3.15.0
under gray-matter and 4.3.0 under Astro, both vulnerable to quadratic CPU
consumption while resolving !!omap, and nanoid 3.3.16 under postcss, whose
custom generators can loop forever at size zero. Patched releases exist for
all three and none of them needed a parent upgrade, so this is a lockfile
change and nothing else: 3.15.1, 4.3.1, 3.3.18.
The fourth was CodeQL, and it was pointing at a lock I wrote yesterday. To
prove the privacy page tells the truth about who carries our mail, the
check searched email.ts for the substring "api.resend.com". CodeQL reads
that as host validation, and it is right that the shape is wrong — the
name appearing anywhere in the file passed, including in a comment left
behind after a provider swap. It now matches the actual call, scheme and
path included, so the lock proves where the mail goes rather than what the
file mentions. Verified by pointing the client at another host and
watching the check fail for the stated reason.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 1786573 commit c5087a9
2 files changed
Lines changed: 17 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
252 | 256 | | |
253 | | - | |
254 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
255 | 260 | | |
256 | 261 | | |
257 | 262 | | |
| |||
0 commit comments