Repository navigation
feat(advisories): the triage record, one file per advisory, with the test that proves each refusal - #6
Merged
Conversation
…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>
Merged
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.jsonis the merged file, generated byscripts/advisory_record.pyand kept current by the tests, for the documentation and the security watch on tetrak.dev to read.seen.jsonuntil they are folded in.Test plan
python scripts/advisory_record.py validateandexport --check/security/section built against this branch'srecord.json: 22 rows, newest first, every row dated; RSS and JSON export carry the same 22; 37 Playwright tests passPairs with scattercode/tetrak's
feat/security-watchbranch, which fetchesrecord.jsonfrommainat build time, so this merges first.🤖 Generated with Claude Code