Skip to content

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

Description

@dan-petty

Problem

devops research advisories (#3898) asks OSV about the Python and Node packages of the inventory. It leaves out three parts of #3898, because they send requests to hosts that no document of the repository approves as egress destinations, and an approval is a decision of a person:

  • GitHub GET /advisories (api.github.com) as a second source. OSV misses the Qdrant server advisories GHSA-3gph-6c29-p29v and GHSA-frc7-44gm-99qq, which the repository advisory page lists.
  • The CISA KEV list (www.cisa.gov), for the exploited flag.
  • The components that OSV cannot match: GitHub Actions (OSV does not match versions of Actions: a query for tj-actions/changed-files at v45.0.0 and at 45.0.0 gave no result on 2026-11-07, although its advisory says the versions before 46.0.1 are affected), container images, Helm charts and release binaries. On this repository that is 181 of 558 components (80 Actions, 47 images, 18 charts, 20 release binaries, 9 Terraform providers, 7 devcontainer features).

Expected

devops research advisories also reads the GitHub advisories for the components that OSV misses, sets an exploited flag on a finding whose CVE is in the KEV list, and reports findings for the components that it counts as not covered today.

Acceptance criteria

  • A person approves api.github.com (advisories API) and www.cisa.gov as egress destinations of the research agent, and the approval is recorded in SECURITY.md or in the spec public-api-egress.
  • Tests with recorded responses: a KEV id sets the exploited flag; a GHSA advisory of a repository gives a finding where OSV gives none.
  • A named test case: the Qdrant server and GHSA-3gph-6c29-p29v and GHSA-frc7-44gm-99qq, or a named known gap with the reason.
  • A recorded live call shows that GET /advisories answers with and without a token, and the pull request comment states the rate limit seen. The token goes to api.github.com only.
  • A matcher for the version of a GitHub Action against the ranges of an OSV or GHSA record, from a maintained library, and a mapping from an image, a chart or a release binary to the package or repository that publishes its advisories (.devops/research-watch.toml).
  • Tests that a response over the byte cap, a redirect to another host and a redirect to a private address are errors for each new client.
  • A metric row in docs/TELEMETRY.md if a new instrument is added.

Existing tool considered

GitHub global advisories API, CISA KEV JSON, OSV, and osv-scanner 2.6.0 (reference only). No new scanner is built.

Related

Follows #3898. Related: #3899 (sweep), #3907, devops ci audit.

Activity

  1. added
    source/agent
    type/feature
    scope/research
    status/new
    value/high
    effort/medium
    on Nov 7, 2026
  2. dan-petty commented on Nov 7, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/research. The (research) scope of the title gives the scope.
    • Priority: P2-Medium. It closes a security coverage gap for 181 components, but it depends on a human egress decision and follows an already-tracked umbrella item. The advisory GHSA-3gph-6c29-p29v does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.
    • Value: High. It exposes exploited and unpatched vulnerabilities in 181 components that no current source reports.
    • Effort: Medium. It needs two new API clients, a version matcher for Actions, recorded tests, and an egress approval, but reuses the existing research agent scaffold.
    • Related: feat(research): find advisories for every pin #3898, which asks for a different change. Both extend 'devops research advisories'; #3898 is the umbrella for all sources and components, while the candidate adds the GitHub advisories and KEV parts that #3898 excluded pending egress approval.
  3. added
    priority/p2-medium
    on Nov 7, 2026
  4. dan-petty commented on Nov 7, 2026

    @dan-petty
    OwnerAuthor

    The owner approved the research agent's egress to api.github.com (the advisories API) and www.cisa.gov (the KEV list) on 2026-11-07, as recommended on #3994: public egress level, with a byte cap on each reply. This unblocks the work of this issue. Record the approval in the public-api-egress spec in the pull request that delivers it.

  5. added
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 7, 2026
  6. removed
    status/in-review
    owner/agent
    on Nov 7, 2026
  7. devops-cli-service commented on Nov 7, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-07 22:00 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/researchsource/agenttype/featurevalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions