Skip to content

fix(deps): renew osv-scanner ignores until 2026-11-30 #104

Done

Description

@dan-petty

Problem

The 8 dated ignores of python/osv-scanner.toml expired on 2026-11-27 00:00 UTC. The job "Build, test and scan" of the workflow Image now fails on each pull request (first seen on #103 at 01:41 UTC), and the next push to main fails the same way.

semgrep 1.187.0 is the newest release on PyPI (read on 2026-11-27). It still requires mcp==1.29.0, opentelemetry-api~=1.37.0 and wcmatch~=8.3, so no released semgrep allows the fixed versions (#2).

Expected

The ignores are renewed for 3 days under the rule "A Finding with No Fix", with the new evidence in the comments of the file.

Acceptance criteria

  • Each of the 8 ignores has effectiveUntil = 2026-11-30T00:00:00Z and a comment that names semgrep 1.187.0 as the newest release.
  • osv-scanner scan source with the 4 lock files of the job exits 0.

Related

#2 (bump semgrep and drop the ignores).

Source

Source: #2

Proposed design

Problem statement

The eight dated ignores of python/osv-scanner.toml expired on 2026-11-27 00:00 UTC. The job "Build, test and scan" of workflow Image fails on each pull request. semgrep 1.187.0 is the newest release on PyPI and still pins mcp 1.29.0, opentelemetry-api 1.37.0 and wcmatch 8.3. No released semgrep allows the fixed versions (#2). The change renews the eight ignores to 2026-11-30 and records the new evidence in the file.

Acceptance criteria

Requirement: Renewed ignore dates

The eight ignores in python/osv-scanner.toml SHALL set effectiveUntil = 2026-11-30T00:00:00Z.

Scenario: The scan accepts the renewed ignores

  • WHEN the live check runs osv-scanner scan source over the four lock files of the python folder
  • THEN the command exits 0 and reports no vulnerability that the file does not ignore

Requirement: Evidence names semgrep 1.187.0

The reason of each ignore and the comment above the ignores SHALL name semgrep 1.187.0 as the newest release on PyPI.

Scenario: The file records the blocking release

  • WHEN the live check runs grep -c 'semgrep 1.187.0' python/osv-scanner.toml
  • THEN the command reports at least eight matching lines

Existing Tool Considered

No alternatives check has run. The change builds no code. It edits python/osv-scanner.toml, the config file of osv-scanner, the open and maintained tool that the repository already uses. The build cost is zero tokens and zero elapsed time. The permanent fix waits on a semgrep release that allows the fixed versions (#2).

Key questions

  • Which semgrep release is the newest, and which versions does it pin?: semgrep 1.187.0 is the newest release on PyPI on 2026-11-27. It still requires mcp==1.29.0, opentelemetry-api~=1.37.0 and wcmatch~=8.3, so no released semgrep allows the fixed versions. [sources: python/semgrep.txt]
  • How long is the renewal?: Renew each ignore to 2026-11-30T00:00:00Z, three days from 2026-11-27. (best practice) [sources: python/osv-scanner.toml]
    • Chosen: Three days to 2026-11-30. The file header and the "A Finding with No Fix" rule renew three days at a time, and the total stays within the 14-day cap.
    • Rejected: Fourteen days to 2026-12-11. The rule renews three days at a time and caps the total at 14 days, so a long extension breaks the cap.
    • Rejected: Drop the ignores now. No released semgrep allows the fixed versions, so the scan fails (chore(deps): bump semgrep and drop osv-scanner ignores #2).
  • Does this issue bump semgrep or drop the ignores?: No. This issue renews the ignores for three days. Issue chore(deps): bump semgrep and drop osv-scanner ignores #2 bumps semgrep and drops the ignores when a release allows the fixed versions. (best practice) [sources: python/osv-scanner.toml, python/semgrep.txt]
    • Chosen: Renew the ignores. The renewal clears the failing job now, and the reasons keep the tracking issue.
    • Rejected: Bump semgrep. semgrep 1.187.0 still pins the three vulnerable versions, so the bump does not fix the findings.
    • Rejected: Drop the ignores. The scan then reports the findings and the job fails.
  • Which command proves that the renewed ignores work?: The job "Build, test and scan" of workflow Image runs osv-scanner scan source over the lock files of the python folder. The command exits 0 only when each ignore is still active. [sources: .github/workflows/image.yml, python/osv-scanner.toml]
  • How does a check prove the evidence comment?: No validator reads the comment lines. A grep -c 'semgrep 1.187.0' python/osv-scanner.toml count of at least eight lines proves that each ignore names the release. (best practice) [sources: python/osv-scanner.toml]
    • Chosen: Count the matching lines with grep. The command is short, offline and names the release that each reason must cite.
    • Rejected: Add a test that parses the file. A test asserts no value of a config file.
    • Rejected: Add no check. The evidence stays unverified.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/bug
    status/new
    value/high
    effort/low
    on Nov 27, 2026
  2. added
    source/agent
    scope/deps
    on Nov 27, 2026
  3. dan-petty commented on Nov 27, 2026

    @dan-petty
    OwnerAuthor
    • Priority: The 'Build, test and scan' job fails on every pull request and push to main.
  4. added
    priority/p0-critical
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 27, 2026
  5. devops-cli-service commented on Nov 27, 2026

    @devops-cli-service
    Contributor

    Next step: the alternatives check records a verdict. See the section Proposed design of the body.

  6. added
    status/in-review
    and removed
    status/in-progress
    on Nov 27, 2026
  7. removed
    status/in-review
    owner/agent
    on Nov 27, 2026
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/lowpriority/p0-criticalscope/depssource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions