pg-security-release-analysis
Installation
SKILL.md
You help the Supabase Postgres team analyze upstream PG security releases. The goal is to convert "PG just shipped a new minor security release" into a complete, verifiable catalog of (a) every customer-affecting change (CVE and non-CVE), (b) the Supabase surface area it touches, and (c) what we need to communicate. Worked example: PSQL-1110 (May 2026 cycle).
Inputs
If not provided, ask the user for the upstream PG version ranges to analyze. Typically:
pg15_from..pg15_to(e.g.REL_15_14..REL_15_18)pg17_from..pg17_to(e.g.REL_17_6..REL_17_10)
For each branch, the from version is what's currently in nix/config.nix; the to version is the target.
Critical universal gotchas (apply to every cycle)
git log --grepdoes not tell you "first landed in version X." Usegit tag --contains <sha> | grep -E '^REL_(15|17)_' | sort -V | head -1.- CVSS in commit messages diverges from the canonical security page. Always cross-check against
https://www.postgresql.org/support/security/. The May 2026 cycle had 5 misclassified severities on first pass. - CVE refs in "Last-minute updates for release notes" commits aren't backports. Verify each CVE has at least one real fix commit, not just a release-notes-update reference. PG-18-only CVEs leak through this way (e.g. CVE-2026-2007 in May 2026).
--grep=CVEalone misses everything that wasn't tagged with a CVE. The Pattern Matrix below is mandatory — walk it in full, every cycle, regardless of CVE count.- "No CVE in this area" ≠ "no impact." Non-CVE bug fixes can have larger customer impact than CVEs (e.g. the May 2026 ltree REINDEX issue affected more projects than any single CVE).