Repository navigation
ci(security): admit reviewed ws replacement lock identities - #14976
Conversation
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Authoring session — opening
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage/plugin
View coverage of the 10 most impacted files.
TypeScript / code-coverage/cli
View coverage of the 10 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
|
@coderabbitai review Please review the three exact replacement lock identities at |
Action performed
|
|
Review and failure classification for All nine Advisor specialists completed. Their immutable artifacts were verified and the deterministic plan independently recomputed. Advisor recommends no E2E jobs or targets for this metadata-only prerequisite. This statement does not cover #14973, which retains its four recommended E2Es. CodeRabbit's review of this commit reports no actionable comments. The Advisor aggregate remains failed for one P1 verification finding requesting checked-in replacement-lock fixtures. No incorrect digest was found. The artifact-specific evidence already completed is:
The source locks are available for independent verification: 2026.10.5, 2026.9.5, 2026.9.7. Their SHA-256 values are listed in the description. The proposal to duplicate those unmerged lock artifacts as permanent fixtures remains for maintainer disposition; this comment does not override the Advisor gate. Observed CI failures: PR npm audit and reviewed-npm-audit reject inherited tar/ws advisories on the unchanged primary graphs. Their complete logs and retained audit artifacts were inspected. The static check fails only the Pi receipt refresh. All twelve CLI shards, both Pi image builds, staging QA, and code scanning passed. The CLI aggregate passed its one permitted unchanged-job retry after the initial GitHub coverage upload returned HTTP 504; the original failure is retained. All checks for this commit have reached a terminal state. The overall checks aggregate fails because of the recorded audit and static failures; passing individual Pi image jobs in a failed workflow cannot supply qualification receipts. No unchanged failed gate has been rerun. Limit of this prerequisite: it removes rejection of the three unknown lock hashes after it lands. It does not publish #14973's new ws remediation code to the trusted base. The audit controller continues to use base-owned code, including the old archive-graph overrides and private plugin remediation. Therefore this one-file PR alone cannot make #14973's complete audit green. If full pre-merge qualification of #14973 is required, publishing that trusted recipe needs a separately scoped prerequisite. Otherwise a maintainer must explicitly govern any exceptional landing and obtain post-merge evidence. No such waiver or bypass is claimed here. Tar remains separately owned in #14975. Audit thresholds and exceptions are unchanged. The agent will leave the exceptional merge to Rebecca and repository maintainers. |
sandl99
left a comment
There was a problem hiding this comment.
Independent review of 2590325 against ba4ed9f: no blocking code defect found in the three replacement lock identities.
Independently recomputed all three replacement SHA-256 values from #14973 at b720c88. All match. Each replacement lock changes only node_modules/ws version, integrity, and resolved URL. Removing the three replacement records reproduces the base policy exactly.
The production parser, identity selector, and strict lock verifier accepted all three primary and all three replacement locks. The selector rejected a one-byte mutation of each replacement. Registry metadata responses were stubbed for these local checks; network audits, the reported 47-test suite, image qualification, and live E2Es were not rerun.
I assess the Advisor fixture finding as a nonblocking regression-coverage suggestion for this commit: independent artifact checks found no incorrect or stale digest. This assessment does not clear or override the failed Advisor gate.
Security categories: PASS for secrets, input validation, authorization, dependencies, error handling, cryptography, configuration, and system security. WARNING for security testing because permanent artifact-specific regression coverage is absent.
Approval readiness: BLOCKED. This PR targets main. The local maintainer approval skill requires passing candidate E2E evidence even when the deterministic plan is empty; its fallback is targets=vllm-docker-storage, empty jobs, gateway_runtimes=docker. No matching dispatch appeared in the 100 most recent manual e2e.yaml runs inspected, and no qualifying evidence was established. Audit and Pi receipt gates also remain failed. This review grants no waiver or permission for an exceptional merge.
The linked comment correctly states that admitting these lock hashes alone cannot make #14973 pass its complete audit. The trusted base also needs the ws remediation recipe. Publish that prerequisite and obtain qualification evidence before landing the repair.
sandl99
left a comment
There was a problem hiding this comment.
Approved following independent review of 2590325. All three replacement lock hashes match their immutable source locks; production selection and verification checks pass, and altered lock bytes are rejected. I consider permanent artifact-specific fixtures a nonblocking coverage suggestion for this change.
Approval is submitted at the maintainer's explicit direction despite the E2E approval requirement recorded in my earlier review. This approval does not establish passing E2E, audit, or Pi qualification evidence and does not bypass required checks or authorize a merge.
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
|
@coderabbitai review Please review the lock identities and new artifact-specific regression evidence at |
Action performed
|
|
Review collection for The original artifact-specific verification finding is repaired. Three compressed, immutable #14973 lockfiles now pass through the production selector and strict verifier, with byte-drift rejection. The two focused suites pass 50 tests. Deliberately substituting stale configured hashes makes all three artifact cases fail. Test placement was adjusted to respect the existing 1,500-line file budget; the test body and assertions are unchanged. Advisor recommends no E2E jobs or targets for this commit. All nine specialist artifacts were verified and read, and the deterministic plan was independently recomputed. There are no unresolved selector recommendations. This does not replace #14973's separate E2E requirements. The Advisor aggregate failed with six findings across three causes. Its follow-up review includes changes brought in from main after the earlier approval. None of the cited paths differs between this PR and its current base:
The current PR diff contains only the three admission records, their focused artifact test, fixture provenance, and three compressed lockfiles. The inherited findings remain documented rather than being treated as permission to expand this change. This comment does not override the failed Advisor gate. CodeRabbit's review of this commit reports no actionable comments. Its path filters exclude the gzip files; their decompressed bytes were independently checked against the reviewed source commit. Its auxiliary markdownlint process failed during startup on a regular-expression compatibility error. The repository's own Markdown hook passed. No claim is made that every bot tool ran successfully. The audits remain blocked by other inherited tar advisories, private The earlier approval covers After this prerequisite lands, resume #14973 against main. Hash admission still does not publish #14973's ws remediation code into the trusted base; that sequencing limit remains documented in the description. |
Outcome
Main's reviewed npm policy recognizes the three replacement lock identities prepared in #14973. Checked-in artifact tests now prove that each identity selects its intended lock bytes and rejects byte drift. Existing primary identities remain valid during the transition.
Commit under review:
5db87309b239b412009702e33419de76b7602c36.Reason
PR audits execute the controller and configuration from their base commit. The ws repair cannot authorize its own changed lock hashes. This prerequisite supplies the explicit main-owned identities using the replacement mechanism from #14959.
Related issues
Refs #14973. Land this prerequisite before refreshing that PR. The merged tar prerequisite #14975 is included through main at
fb7352afef6cd23fa582b3198bc808fd887a8817.Changes
Add one replacement record for each graph in
ci/reviewed-npm-audit.json:4a70b6aa6b7be9aa37a16e891814a6a85d5e187885bb8b8a8fd4495a083b6ce6a49f02c2ccb341c13e61c73d70eee1541e17f37f6d2b43f3e2eb037b09cf6e1e8d2e2b054ccd293edb6d23a7e0411ee643ab51afc831ef88b505d2df2ffe96a0Each record preserves the primary package specification, archive integrity, and tarball URL. Each hash was recomputed from the committed lock in #14973 at
b720c88b364975c14db1c0acb3f578ba0d020343and independently matched to the immutable GitHub file bytes.Three gzip fixtures preserve those complete source lockfiles in 145,288 bytes. Their README records source and compressed digests. The focused
reviewed-npm-ws-lock-artifacts.test.tsexercises the production parser, selector, and strict lock verifier for each fixture, then requires rejection after one-byte drift. The fixtures remain valid when a replacement becomes the primary identity. Registry metadata uses the established deterministic stub; tests execute no package scripts or live service calls.The PR changes one policy file and adds artifact regression evidence. It adds no controller mechanism, dependency update, audit exception, or threshold change. Repository maintainers own retiring the primary identities after the repaired graphs land and old consumers are retired.
Verification
5db8730. CodeRabbit reports no actionable comments. Advisor inherited-finding dispositions and its no-E2E selection are recorded in the review handoff. The two audits and Pi receipt static check remain failed, so the fullchecksaggregate fails.Review notes
The artifact cases address Advisor finding
F-verification-mistake-proofing-97e958898c08c9d1699c. Automated review of this commit is complete; the current findings concern unchanged main code and are classified in the review handoff. The test uses a focused companion file because the existing workflow test owner is at its size budget.This is a bootstrap prerequisite. Its production graphs remain main's existing graphs, so ws audit and Pi receipt failures can remain. The PR audit continues using base-owned policy and code until reviewed changes land.
Hash admission alone does not publish #14973's ws remediation code to the trusted base. The old archive-graph overrides and private plugin remediation can therefore keep #14973's full audit red even after this prerequisite lands. Publishing that recipe before #14973 requires a separately scoped prerequisite; any exceptional landing requires a maintainer's recorded governance decision and subsequent evidence.
Pre-publication review: author self-review of the full diff, source lock provenance, and negative test evidence. The canonical sensitive-path patterns do not match these policy/test/fixture paths; the security-policy effect is disclosed here nevertheless. No independent approval or CI waiver is claimed. Merge remains conditional on independent approval and applicable repository protections.
Signed-off-by: Rebecca Sliter 571084+rsliter@users.noreply.github.com
Summary by CodeRabbit