Skip to content

Rebuild vulnerable pnpm lock records before security refresh - #72

Merged
omry merged 1 commit into
mainfrom
pr72
Nov 5, 2026
Merged

omry merged 1 commit into
mainfrom
pr72

Conversation

@omry

@omry omry commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

OmegaConf's security refresh can resolve fast-uri 3.1.9 on one path and restore vulnerable 3.1.8 through a shared parent, leaving four compatible advisories unfixed.

Rebuild only verified vulnerable package and snapshot records before the existing named pnpm update. Preserve parent references, unrelated and already-patched records, policy and rollback behavior. Keep the final audit and security-only guard unchanged.

Validation: 1,767 Python tests plus 15 expanded focused checks; real patched-engine probes on pnpm 11.20 and 11.21 fix all four fast-uri advisories and preserve unrelated core-js and the manifest. The resulting proposal passes a frozen install and the Docusaurus build. Final exact-head CI and regular Codex review remain required.

OmegaConf's security refresh can resolve fast-uri 3.1.9 on one path and restore vulnerable 3.1.8 through a shared parent, leaving four compatible advisories unfixed.

Rebuild only verified vulnerable package and snapshot records before the existing named pnpm update. Preserve parent references, unrelated and already-patched records, policy and rollback behavior. Keep the final audit and security-only guard unchanged.

Validation: 1,767 Python tests plus 15 expanded focused checks; real patched-engine probes on pnpm 11.20 and 11.21 fix all four fast-uri advisories and preserve unrelated core-js and the manifest. The resulting proposal passes a frozen install and the Docusaurus build. Final exact-head CI and regular Codex review remain required.
@omry
omry marked this pull request as ready for review November 5, 2026 10:17
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 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-05T10:25:31.130665Z cfb4fb3 Manual request
🔒 Security Review ✅ Completed 2026-11-05T10:22:02.254734Z cfb4fb3 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.

@omry

omry commented Nov 5, 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:972272bfd2ae0d6a6f573bebc998f521e36019076f0d6eb23d3b4ba9e16cb957",
    "evidence": {
      "attestations": [],
      "candidate_revision_fingerprint": "sha256:972272bfd2ae0d6a6f573bebc998f521e36019076f0d6eb23d3b4ba9e16cb957",
      "check_conclusions": [
        {
          "conclusion": "SUCCESS",
          "name": "repair-app",
          "run_id": 127184680180
        },
        {
          "conclusion": "SUCCESS",
          "name": "test",
          "run_id": 127184679597
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, npm, 11.9.0)",
          "run_id": 127184680213
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.20.0)",
          "run_id": 127184680178
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.21.0)",
          "run_id": 127184680049
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, npm, 11.9.0)",
          "run_id": 127184680194
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.20.0)",
          "run_id": 127184680048
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.21.0)",
          "run_id": 127184680079
        }
      ],
      "delivery_deferral_ledger_digest": "sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
      "finding_dispositions_digest": "sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
      "operation_identity": "sha256:f91046ba07deabb0a4918a20809c70c0c9936f758544d5f260ee02b38fca4a37",
      "review_request": {
        "body_digest": "sha256:66a5196b2ae26a09c96d99945585ef29e2b8695710aee5166f23c769c0c131db",
        "id": 6655582795
      },
      "review_result": {
        "body_digest": "sha256:6509f3b336eee476850a60ea3b2318e623b687203b80d534a9a3aa055b8ff036",
        "id": 6655607142
      }
    },
    "evidence_fingerprint": "sha256:ff344c90899a112c0dc5a6da4857d57a5b5c0187a40e5bd160348e1cc26f74ca",
    "head_sha": "cfb4fb3ef91fa09a974a6275f6919bd20636e4bd",
    "operation_identity": "sha256:f91046ba07deabb0a4918a20809c70c0c9936f758544d5f260ee02b38fca4a37",
    "review_request_id": 6655582795,
    "review_result_id": 6655607142,
    "status": "approved-evidence-recorded"
  },
  "candidate_revision_fingerprint": "sha256:972272bfd2ae0d6a6f573bebc998f521e36019076f0d6eb23d3b4ba9e16cb957",
  "check_conclusions": [
    {
      "conclusion": "SUCCESS",
      "name": "repair-app",
      "run_id": 127184680180
    },
    {
      "conclusion": "SUCCESS",
      "name": "test",
      "run_id": 127184679597
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (22, npm, 11.9.0)",
      "run_id": 127184680213
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (22, pnpm, 11.20.0)",
      "run_id": 127184680178
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (22, pnpm, 11.21.0)",
      "run_id": 127184680049
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (24, npm, 11.9.0)",
      "run_id": 127184680194
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (24, pnpm, 11.20.0)",
      "run_id": 127184680048
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (24, pnpm, 11.21.0)",
      "run_id": 127184680079
    }
  ],
  "check_observations": [
    {
      "checks": [
        {
          "conclusion": "SUCCESS",
          "name": "repair-app",
          "run_id": 127184680180,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/42009522262/job/127184680180"
        },
        {
          "conclusion": "SUCCESS",
          "name": "test",
          "run_id": 127184679597,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/42009522262/job/127184679597"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, npm, 11.9.0)",
          "run_id": 127184680213,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/42009522262/job/127184680213"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.20.0)",
          "run_id": 127184680178,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/42009522262/job/127184680178"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.21.0)",
          "run_id": 127184680049,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/42009522262/job/127184680049"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, npm, 11.9.0)",
          "run_id": 127184680194,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/42009522262/job/127184680194"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.20.0)",
          "run_id": 127184680048,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/42009522262/job/127184680048"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.21.0)",
          "run_id": 127184680079,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/42009522262/job/127184680079"
        }
      ],
      "head_sha": "cfb4fb3ef91fa09a974a6275f6919bd20636e4bd",
      "id": "sha256:4721ccf4df4506a248a3a1e57f36508967a749ebdcfce1667278e84989f0c20a",
      "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": "70d06decf27473a3359f80f6c8833dba4e7b5616",
    "body_digest": "sha256:0759946760c14f95c75833b2c53edb1bbfe90cec27e0dd8defbba4f2120a3283",
    "body_identity_version": 2,
    "diff_digest": "sha256:002631c3df9fec86f735a57fd49529916b5a9ea972daf3d7d19c4509bf09b34e",
    "head_ref": "pr72",
    "head_sha": "cfb4fb3ef91fa09a974a6275f6919bd20636e4bd",
    "pr": 72,
    "repository": "hydra-ecosystem/github-actions",
    "scope_authority": [],
    "title_digest": "sha256:731b84154fb095b9ac30e0c84c988a7e6fb358ca93fb51162a3da1c28d7bd271"
  },
  "record_version": 4,
  "review_observations": [],
  "review_requests": [
    {
      "base_established_at": "2026-11-05T10:17:44Z",
      "base_ref": "main",
      "base_sha": "70d06decf27473a3359f80f6c8833dba4e7b5616",
      "body_digest": "sha256:66a5196b2ae26a09c96d99945585ef29e2b8695710aee5166f23c769c0c131db",
      "created_at": "2026-11-05T10:24:19Z",
      "head_sha": "cfb4fb3ef91fa09a974a6275f6919bd20636e4bd",
      "id": 6655582795,
      "kind": "regular-review"
    }
  ],
  "review_results": [
    {
      "base_ref": "main",
      "base_sha": "70d06decf27473a3359f80f6c8833dba4e7b5616",
      "body_digest": "sha256:6509f3b336eee476850a60ea3b2318e623b687203b80d534a9a3aa055b8ff036",
      "commit_id": "cfb4fb3ef91fa09a974a6275f6919bd20636e4bd",
      "id": 6655607142,
      "inline_message_ids": [],
      "request_comment_id": 6655582795,
      "result_kind": "clean",
      "status": "result",
      "submitted_at": "2026-11-05T10:25:29Z",
      "unresolved_thread_ids": []
    }
  ],
  "revision_fingerprint": "sha256:972272bfd2ae0d6a6f573bebc998f521e36019076f0d6eb23d3b4ba9e16cb957",
  "rounds": [
    {
      "applied_fix_paths": [],
      "disposition_changes": [],
      "effective_diff_digest": "sha256:002631c3df9fec86f735a57fd49529916b5a9ea972daf3d7d19c4509bf09b34e",
      "finding_ids": [],
      "invariants": [
        "Only verified vulnerable target package and snapshot records are rebuilt; parent references, safe and unrelated records remain.",
        "Existing project constraints, pins, cooldown policy and the final unrelated-change guard remain enforced.",
        "Failed or malformed resolution restores the preceding security proposal."
      ],
      "outcome": "clean",
      "proposed_fix_paths": [],
      "resulting_head": "cfb4fb3ef91fa09a974a6275f6919bd20636e4bd",
      "review_observation_id": null,
      "review_request_id": 6655582795,
      "review_result_id": 6655607142,
      "reviewed_head": "cfb4fb3ef91fa09a974a6275f6919bd20636e4bd",
      "root_cause": "Native pnpm resolution can resolve a compatible fast-uri patch and then reuse its vulnerable record through the same shared parent. Rebuilding only exact originally verified vulnerable package and snapshot records makes the existing named update resolve consistently. Both real pnpm versions fix the four original advisories without unrelated core-js or manifest changes; frozen install and website build pass. Exact-head Codex review, all eight CI checks and the complete nine-command local profile pass (1773 Python and 257 Worker tests). No correction or synchronization occurred in this round.",
      "round": 1,
      "unresolved_current_slice_findings": 0,
      "unresolved_design_blockers": 0
    }
  ],
  "schema": "awd:swe:pr-cycle-state",
  "version": 2
}

@omry

omry commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Exact head: cfb4fb3

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: cfb4fb3ef9

ℹ️ 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 5, 2026
@omry
omry merged commit 03068a7 into main Nov 5, 2026
8 checks passed
@omry
omry deleted the pr72 branch November 5, 2026 11:42
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