Skip to content

feat(advisories): the triage record, one file per advisory, with the test that proves each refusal - #6

Merged
stephen-masters merged 2 commits into
mainfrom
feat/advisory-record
Nov 1, 2026
Merged

stephen-masters merged 2 commits into
mainfrom
feat/advisory-record

Conversation

@stephen-masters

Copy link
Copy Markdown
Contributor

Summary

  • docs/advisories/record/ holds one file per triaged advisory: the facts, how the triggering input reaches the flaw, the bucket and finding, which check refuses it under which policy, the tests that prove it, and how to protect yourself with or without the library.
  • docs/advisories/record.json is the merged file, generated by scripts/advisory_record.py and kept current by the tests, for the documentation and the security watch on tetrak.dev to read.
  • The first 22 records are the advisories the README's policy table already cited, each tied to the hostile-corpus test written for it. The backfill's 138 stay in seen.json until they are folded in.
  • The five libpng records carry what OSV holds for each CVE: published date, GHSA alias, CVSS 3.1 base score (checked against the NVD), affected range and fixed version. Without them the watch fell back to the triage date and listed a year-old advisory as the newest.

Test plan

  • python scripts/advisory_record.py validate and export --check
  • ruff, ruff format, mypy, pytest (355 passed)
  • tetrak.dev's /security/ section built against this branch's record.json: 22 rows, newest first, every row dated; RSS and JSON export carry the same 22; 37 Playwright tests pass

Pairs with scattercode/tetrak's feat/security-watch branch, which fetches record.json from main at build time, so this merges first.

🤖 Generated with Claude Code

stephen-masters and others added 2 commits November 1, 2026 18:17
…th the test that proves each refusal

docs/advisories/record/ holds what each triaged advisory meant for this
library: the facts, how the triggering input reaches the flaw, the bucket
and finding, which check refuses it under which policy, the tests that
prove it, and how to protect yourself with or without the library.
record.json is the merged file, generated by scripts/advisory_record.py
and kept current by the tests, for the documentation and the security
watch on tetrak.dev to read.

The first 22 records are the advisories the README's policy table already
cited, each tied to the hostile-corpus test written for it. The backfill's
138 stay in seen.json until they are folded in.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018UhHdevgBGz837t9dcHohQ
The libpng rows were written by hand, with no published date, alias,
score, range or fixed version, so the security watch on tetrak.dev fell
back to their triage date and listed a year-old advisory as the newest.
Each now carries what OSV holds for the CVE: the published date, the
GHSA alias, the CVSS 3.1 base score computed from the vector (checked
against the NVD, which carries GitHub's scoring for each), and the
affected range and fixed version from the advisory's own text. The
sources lead with the GitHub advisory, as the other rows do.

record.json is regenerated.

Co-authored-by: Yvette Mankerian <yvettekm@gmail.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@stephen-masters
stephen-masters merged commit 5032b94 into main Nov 1, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant