Skip to content

feat(research): add GitHub advisories and KEV to research advisories - #4032

Merged
dan-petty merged 4 commits into
mainfrom
feat/3987-advisories-ghsa-kev
Nov 7, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/3987-advisories-ghsa-kev

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

devops research advisories now also reads GitHub advisories and the CISA KEV list. For each GitHub Action with an exact release it reads the reviewed advisories (GET /advisories). For each image, chart or release binary that .devops/research-watch.toml maps to a repository it reads the advisories that the repository published, and matches the pinned version to each range with packaging. A CVE in the KEV list sets exploited on the finding. A read that fails, a range that cannot be read and a KEV list that cannot be read are reported and make the command exit with code 1. OSV misses the Qdrant server advisories GHSA-3gph-6c29-p29v and GHSA-frc7-44gm-99qq; they are findings now. The owner approved the egress to api.github.com and www.cisa.gov on 2026-11-07; the spec public-api-egress records it. The OSV, GitHub and KEV clients share one bounded read: byte cap, no redirect, no contact data.

Closes #3987

Change: openspec/changes/archive/2026-11-07-3987-advisories-ghsa-kev/

@dan-petty dan-petty added type/feature Type feature: a new function scope/research The research agent: the pins of the project and the news about them labels Nov 7, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Evidence for #3987, read on 2026-11-07.

Live calls (read-only, no identifying header; the User-Agent is devops-cli/<version> or curl)

  • GET /advisories?ecosystem=actions&affects=tj-actions/changed-files&per_page=100 with no token: 200, two advisories. Rate limit seen: x-ratelimit-limit: 60, x-ratelimit-remaining: 59, resource core.
  • The same call with the token of gh: 200, same advisories, x-ratelimit-limit: 5000.
  • GET /advisories/GHSA-3gph-6c29-p29v and GET /advisories/GHSA-frc7-44gm-99qq: 404. Both are repository advisories of qdrant/qdrant, listed by GET /repos/qdrant/qdrant/security-advisories. So the command reads that endpoint for mapped components (same host, same API family). A person should confirm that this endpoint is inside the egress approval: it is on api.github.com, but the issue named GET /advisories.
  • CISA KEV list: 200, 1,832,349 bytes, 1,769 entries, no redirect. The byte cap is 8 MiB.
  • A run on this repository (558 components) sends 1 request for the Actions, 25 for the repositories of the watch list, and 1 to the KEV list. Two runs in one hour pass the limit of 60 without a token.

Result of the run on this repository (token of gh): 12 findings (7 OSV, 5 GitHub), 47 pins that name no one release (major tags such as v7; follow-up #4012), 11 failures, exit code 1. GitHub findings: litellm v1.103.0 (GHSA-7hp6-4w63-5g45 and GHSA-w4c7-34wj-hqm8, both critical), qdrant chart 1.19.1 (GHSA-frc7-44gm-99qq, GHSA-3gph-6c29-p29v) and open-webui v0.11.4 (GHSA-3vvh-g22g-jq6r). No finding is in the KEV list. The 11 failures are old advisories whose range is free text (3.2.0 through 3.2.11, < 1.83.10-stable, 0.6.5). The command does not guess them, so it exits with 1 on this repository. A person may decide whether such a range should only be counted.

Checks that I ran

  • uv run devops ci test on tests/research, tests/commands/test_research_advisories.py, tests/http, tests/security/test_vulnerability_lookup.py, tests/ai/mcp, tests/invariants, tests/docs, tests/lang, tests/config, tests/dry_run, tests/openspec, tests/telemetry: all pass (after the update of the MCP tool listing snapshot).
  • uv run ruff check, ruff format --check and mypy on the changed src files: pass. uv run devops docs generate --check and uv run devops openspec check: pass.
  • Full uv run devops ci: not run. The shared lock was held for more than an hour by another run, and my run was still queued.
  • Fail-to-pass: not applicable (a feature).

@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 18:32
@dan-petty
dan-petty merged commit 61e6936 into main Nov 7, 2026
25 checks passed
@dan-petty
dan-petty deleted the feat/3987-advisories-ghsa-kev branch November 7, 2026 20:17
dan-petty pushed a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.84.0](v0.83.2...v0.84.0)
(2026-11-07)


### Features

* **k8s:** alert when Crawl4AI fetches fail
([#4037](#4037))
([49f0f14](49f0f14))
* **k8s:** run SearXNG in the devops namespace
([#4033](#4033))
([9d223f4](9d223f4)),
closes [#3924](#3924)
* **research:** add GitHub advisories and KEV to research advisories
([#4032](#4032))
([61e6936](61e6936)),
closes [#3987](#3987)
* **research:** add research sweep that files intake candidates
([#4055](#4055))
([11ddee9](11ddee9))
* **roadmap:** add a test-first manifest kind to the stage plan
([#3981](#3981))
([8476163](8476163))
* **roadmap:** check a plan number against its constant
([#4073](#4073))
([324a3a5](324a3a5))
* **roadmap:** name every caller of a changed function
([#4047](#4047))
([24e9138](24e9138))
* **roadmap:** the stage probe routes prompt changes to prompt rule
tests ([#3989](#3989))
([4aebde2](4aebde2))


### Code Refactoring

* **cli:** source modules keep no accommodation for tests
([#4053](#4053))
([33b57a9](33b57a9))
* **roadmap:** remove the dead plan and review step classes
([#4074](#4074))
([526834f](526834f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/research The research agent: the pins of the project and the news about them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(research): add GitHub advisories and KEV to advisories

1 participant