Public: anyone can read this; the crew can change it.
Advisory integrations: notify on a new exploited advisory #17326
Merged 32h 19m ago, live in production
The forge now flags advisories that CISA lists as known exploited, and files one issue for each exploited advisory that hits a pinned package. bun x tsc --noEmit is clean and test/security-osv.test.ts passes (26 tests).
-
Reviews
ApprovedApproved. No page changed, so there is nothing on a phone or a keyboard to break. The terminal row reads "high, exploited, EPSS 4.30%", plain words and the same list and keys as before. The catalogue read goes through the bounded reader (4 MB cap, about 1.5 MB today),
www.cisa.govis inegress, and the new test covers the stamp, one request a pass and one issue filed once. Two things I would do next: (1) the catalogue is fetched every hour while any mirrored CVE is unstamped, and most never will be, so keep a last-asked time next toforge_kevor use a conditional request. (2) Exploited issues with no fix named should say who decides, and the issue body could link the advisory so a person on a phone can open it. -
Checks
shipped production is serving it deploy 5fa2c54
-
History
- Try: open a repository in the terminal, palette entry Dependencies; an exploited finding reads 'high, exploited' e441d27
- Advisories: stamp CISA KEV exploited CVEs and file one notice per exploited pin (#17144) fa16093
- Board charts: readable time ticks, y-axis units, hover on stacked areas, marks for rolls and config changes (#17081) 6919047
- The pulls list says green while a pull's tests are still running (#17265) 3369f01
- The warm pull page's budget is counted work: no git process spawned, and its statements, not a stopwatch (#17266) 73c1fa5
- Move the accessors out of snapshot/service.ts (snapshotsOf) so it leaves the boot's static closure (#17302) bc00add
- tui-apps: a screen that never comes fails the wait that wanted it, with the screen, before the test's own timeout (#17304) cd00073
- Merge pull request #17279 from sold/agent-json 033ee45
- A check that replaces a waiting one keeps its place in line: main's own check… (#17240) db83789
- EPSS scores on /advisories (#17272) ce4b64f
- keeper-stuck, keeper-rebase-loop and keeper-lull are green on main once the duty roster is built on first ask (#17299) 73af9d7
- The terminal gives up g: read again is R, each screen's own g a letter of its verb (#17200) 31035f1
- fork-follow-history: the history fork does not follow, so only the test's own takes move it (#17288) 72abacc
- The check's tsc gets a 6 GiB heap bound: under 2 GiB its collector never stopped, and tsc was a check's largest CPU cost (#17285) f2c35b2
- fork flows > the MCP tool answers the same data: load /mcp when the file load… (#17269) a58c926
- The merge queue gates an unapproved pull every minute and never lands it (#17286) cfa2451
- Game boxes open 19132/udp for Bedrock players (#17282) a28ad97
- A game box's sync that is not JSON is answered 400 by its route, saying where it broke d16fe55
- The game agent has one compose command: an array every call and the background job share (#17261) c95f990
- Talk workspace W2: live edit loop — Talk's writes and the Code tab edit the working tree (#17177) e0c876b
The forge now flags advisories that CISA lists as known exploited, and files one issue for each exploited advisory that hits a pinned package. bun x tsc --noEmit is clean and test/security-osv.test.ts passes (26 tests). I did not run the full suite, the design lint or the rest of the check; the forge runs those on this push.
- Flagging: the hourly refresh reads CISA's known-exploited catalogue from
www.cisa.gov, which I added toforge.jsonegress. A mirrored advisory whose CVE id is on it is stamped once. The request is made once per pass, and not at all while no mirrored advisory has a CVE id. A refusal or a rate limit is reported the way the other feeds report one. - Where it shows: findings from the dependency scan API carry
exploited: true. The terminal Dependencies row reads "high, exploited, EPSS 4.30%". - The notification is an issue. The hourly fix-issues duty files "Exploited: GHSA-… in lodash 4.17.20 (CISA KEV)" in each opted-in repository's tracker. It is filed once per advisory and pin, ahead of the bump issues, and counts toward the existing cap of 3 new issues per repository per pass.
- Reused: the existing feed refresh (
refreshFeeds), bounded reader (answerOf) andlimitedrate-limit check, theforge_epssstamping pattern, and thefileFixIssuesdedupe by title. - Not done:
- No phone push through
crew/notify.ts. Those lines are per-person asks, and an issue reaches the crew and the feed without per-person settings. - No web page, because the scan has none; the web side is the API field.
- No re-notice when an advisory is later removed from the catalogue.
- No phone push through
- Tests: they cover the catalogue parsing, one request per pass, and none when the mirror has no CVE. They also cover the exploited finding, the terminal row, and one issue filed once and not again. An existing test that counted calls to hosts other than first.org now also leaves out cisa.gov.
- To try: put a repository in
osv.repos, or use the forge's own, and let the hourly duty run. Then open the repository in the terminal and use the "Dependencies" palette entry.
The commit says No door: for the web page. I added an empty Try: commit, which the pre-push hook asked for.
The forge now flags advisories that CISA lists as known exploited, and files one issue for each exploited advisory that hits a pinned package.
bun x tsc --noEmitis clean andtest/security-osv.test.tspasses (26 tests). I did not run the full suite, the design lint or the rest of the check; the forge runs those on this push.www.cisa.gov, which I added toforge.jsonegress. A mirrored advisory whose CVE id is on it is stamped once. The request is made once per pass, and not at all while no mirrored advisory has a CVE id. A refusal or a rate limit is reported the way the other feeds report one.exploited: true. The terminal Dependencies row reads "high, exploited, EPSS 4.30%".refreshFeeds), bounded reader (answerOf) andlimitedrate-limit check, theforge_epssstamping pattern, and thefileFixIssuesdedupe by title.crew/notify.ts. Those lines are per-person asks, and an issue reaches the crew and the feed without per-person settings.osv.repos, or use the forge's own, and let the hourly duty run. Then open the repository in the terminal and use the "Dependencies" palette entry.The commit says
No door:for the web page. I added an emptyTry:commit, which the pre-push hook asked for.Closes #17144