Skip to content

Verify exact vulnerable pnpm versions before offering repairs - #67

Merged
omry merged 1 commit into
mainfrom
pr67
Nov 4, 2026
Merged

omry merged 1 commit into
mainfrom
pr67

Conversation

@omry

@omry omry commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Prove each affected installed version through a registry intersection rather than treating a range-wide pnpm response as an enumeration. Retain positive patched versions established by parent and override intersections. Unknown, wrong-version and partial proof still withhold repair eligibility.

Validated with 1660 Python tests, 433 focused checks, Ruff, Pyrefly and a real pnpm 11.21.0 body-parser metadata probe. No dependency repair or release performed.


Prove each affected installed version through a registry intersection rather than treating a range-wide pnpm response as an enumeration. Retain positive patched versions established by parent and override intersections. Unknown, wrong-version and partial proof still withhold repair eligibility.

Validated with 1660 Python tests, 433 focused checks, Ruff, Pyrefly and a real pnpm 11.21.0 body-parser metadata probe. No dependency repair or release performed.
@omry

omry commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor Author

PR-cycle state — maintained automatically. Do not edit by hand.

Mechanical PR-cycle state (JSON)
{
  "approval": {
    "candidate_revision_fingerprint": "sha256:410590a0f790324f5281b7338dd4ae5dfc2df3b8f7ccf68b7f53a9656aaf1f07",
    "evidence": {
      "attestations": [],
      "candidate_revision_fingerprint": "sha256:410590a0f790324f5281b7338dd4ae5dfc2df3b8f7ccf68b7f53a9656aaf1f07",
      "check_conclusions": [
        {
          "conclusion": "SUCCESS",
          "name": "repair-app",
          "run_id": 126431233104
        },
        {
          "conclusion": "SUCCESS",
          "name": "test",
          "run_id": 126431233485
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, npm, 11.9.0)",
          "run_id": 126431233609
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.20.0)",
          "run_id": 126431233536
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.21.0)",
          "run_id": 126431233428
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, npm, 11.9.0)",
          "run_id": 126431233461
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.20.0)",
          "run_id": 126431233666
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.21.0)",
          "run_id": 126431233730
        }
      ],
      "delivery_deferral_ledger_digest": "sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
      "finding_dispositions_digest": "sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
      "operation_identity": "sha256:51a7ee421053651bedfad88d82eca1ccb8c8b5c9365e58c733bea3bfacf3c298",
      "review_request": {
        "body_digest": "sha256:a4dd66c16875f69a30b55f816d9313d9f4b564de95ae38cb91880877de29e05a",
        "id": 6624493570
      },
      "review_result": {
        "body_digest": "sha256:62be14010c36146c76bc3a3ba9dedc4495fb2f3c3fda417bf87c64918fb71560",
        "id": 6624513132
      }
    },
    "evidence_fingerprint": "sha256:4c5a58baed4cd21807e780122a5a3f60985a068de17110cd9336e382cc34c9f8",
    "head_sha": "60dcb25d687b0b0143b54b76fe6c66d620b169ce",
    "operation_identity": "sha256:51a7ee421053651bedfad88d82eca1ccb8c8b5c9365e58c733bea3bfacf3c298",
    "review_request_id": 6624493570,
    "review_result_id": 6624513132,
    "status": "approved-evidence-recorded"
  },
  "candidate_revision_fingerprint": "sha256:410590a0f790324f5281b7338dd4ae5dfc2df3b8f7ccf68b7f53a9656aaf1f07",
  "check_conclusions": [
    {
      "conclusion": "SUCCESS",
      "name": "repair-app",
      "run_id": 126431233104
    },
    {
      "conclusion": "SUCCESS",
      "name": "test",
      "run_id": 126431233485
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (22, npm, 11.9.0)",
      "run_id": 126431233609
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (22, pnpm, 11.20.0)",
      "run_id": 126431233536
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (22, pnpm, 11.21.0)",
      "run_id": 126431233428
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (24, npm, 11.9.0)",
      "run_id": 126431233461
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (24, pnpm, 11.20.0)",
      "run_id": 126431233666
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (24, pnpm, 11.21.0)",
      "run_id": 126431233730
    }
  ],
  "check_observations": [
    {
      "checks": [
        {
          "conclusion": "SUCCESS",
          "name": "repair-app",
          "run_id": 126431233104,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786971768/job/126431233104"
        },
        {
          "conclusion": "SUCCESS",
          "name": "test",
          "run_id": 126431233485,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786971768/job/126431233485"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, npm, 11.9.0)",
          "run_id": 126431233609,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786971768/job/126431233609"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.20.0)",
          "run_id": 126431233536,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786971768/job/126431233536"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.21.0)",
          "run_id": 126431233428,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786971768/job/126431233428"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, npm, 11.9.0)",
          "run_id": 126431233461,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786971768/job/126431233461"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.20.0)",
          "run_id": 126431233666,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786971768/job/126431233666"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.21.0)",
          "run_id": 126431233730,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786971768/job/126431233730"
        }
      ],
      "head_sha": "60dcb25d687b0b0143b54b76fe6c66d620b169ce",
      "id": "sha256:57b45ae4c0233c87738a127cf05b0905fe77f05a227f90176cffb9ef0b4d9e40",
      "required_checks": [
        "repair-app",
        "test",
        "toolchain (22, npm, 11.9.0)",
        "toolchain (22, pnpm, 11.20.0)",
        "toolchain (22, pnpm, 11.21.0)",
        "toolchain (24, npm, 11.9.0)",
        "toolchain (24, pnpm, 11.20.0)",
        "toolchain (24, pnpm, 11.21.0)"
      ],
      "status": "success"
    }
  ],
  "delivery_deferral_ledger_digest": "sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
  "delivery_deferrals": [],
  "findings": [],
  "pr": {
    "base_ref": "main",
    "base_sha": "3d0d4c5e46a70e181b4149cdc8ded01d77c3da01",
    "body_digest": "sha256:10d9b64906dbb2b89e2fd27fe9c4871c0ee3f1755be0932be294b2e056df08f3",
    "body_identity_version": 2,
    "diff_digest": "sha256:5482e85f472f0ba395bbda6125b80f1a8896676c64024b16dc2c58d801fb3f48",
    "head_ref": "pr67",
    "head_sha": "60dcb25d687b0b0143b54b76fe6c66d620b169ce",
    "pr": 67,
    "repository": "hydra-ecosystem/github-actions",
    "scope_authority": [],
    "title_digest": "sha256:9e6f3816a5a3e14d4951575ec84f9c5d840264bfee9f6210d75e95dfc32b9a26"
  },
  "record_version": 4,
  "review_observations": [],
  "review_requests": [
    {
      "base_established_at": "2026-11-04T06:39:21Z",
      "base_ref": "main",
      "base_sha": "3d0d4c5e46a70e181b4149cdc8ded01d77c3da01",
      "body_digest": "sha256:a4dd66c16875f69a30b55f816d9313d9f4b564de95ae38cb91880877de29e05a",
      "created_at": "2026-11-04T06:43:51Z",
      "head_sha": "60dcb25d687b0b0143b54b76fe6c66d620b169ce",
      "id": 6624493570,
      "kind": "regular-review"
    }
  ],
  "review_results": [
    {
      "base_ref": "main",
      "base_sha": "3d0d4c5e46a70e181b4149cdc8ded01d77c3da01",
      "body_digest": "sha256:62be14010c36146c76bc3a3ba9dedc4495fb2f3c3fda417bf87c64918fb71560",
      "commit_id": "60dcb25d687b0b0143b54b76fe6c66d620b169ce",
      "id": 6624513132,
      "inline_message_ids": [],
      "request_comment_id": 6624493570,
      "result_kind": "clean",
      "status": "result",
      "submitted_at": "2026-11-04T06:45:10Z",
      "unresolved_thread_ids": []
    }
  ],
  "revision_fingerprint": "sha256:410590a0f790324f5281b7338dd4ae5dfc2df3b8f7ccf68b7f53a9656aaf1f07",
  "rounds": [
    {
      "applied_fix_paths": [],
      "disposition_changes": [],
      "effective_diff_digest": "sha256:5482e85f472f0ba395bbda6125b80f1a8896676c64024b16dc2c58d801fb3f48",
      "finding_ids": [],
      "invariants": [
        "Each affected installed version needs positive exact vulnerable-range membership.",
        "Unknown, wrong-version and partial registry proof withhold eligibility.",
        "Parent/patch/cooldown/scope/consent and producer guards remain enforced."
      ],
      "outcome": "clean",
      "proposed_fix_paths": [],
      "resulting_head": "60dcb25d687b0b0143b54b76fe6c66d620b169ce",
      "review_observation_id": null,
      "review_request_id": 6624493570,
      "review_result_id": 6624513132,
      "reviewed_head": "60dcb25d687b0b0143b54b76fe6c66d620b169ce",
      "root_cause": "pnpm range-wide version output may contain only the latest match, so it cannot enumerate all affected installed versions. Exact per-version intersections and positive patched parent/override intersections fix the proof. Fresh Codex review is clean; all8 required CI contexts,1660 local Python tests,433 focused checks,statics and genuine pnpm metadata proof pass.",
      "round": 1,
      "unresolved_current_slice_findings": 0,
      "unresolved_design_blockers": 0
    }
  ],
  "schema": "awd:swe:pr-cycle-state",
  "version": 2
}

@omry
omry marked this pull request as ready for review November 4, 2026 06:42
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T06:45:12.090298Z 60dcb25 Manual request
🔒 Security Review ⚠️ Failed 2026-11-04T06:42:54.405305Z
We couldn’t complete this review. Comment @codex security review to try again.
60dcb25 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

@omry

omry commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Exact head: 60dcb25

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 60dcb25d68

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@omry omry added the approved label Nov 4, 2026
@omry
omry merged commit 0ef9791 into main Nov 4, 2026
8 checks passed
@omry
omry deleted the pr67 branch November 4, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant