Skip to content

fix(deps): update tar security patch for extended stable - #132249

Merged
RomneyDa merged 1 commit into
extended-stable/2026.6.33from
fix/extended-stable-2026-6-35-tar-security
Aug 29, 2026
Merged

RomneyDa merged 1 commit into
extended-stable/2026.6.33from
fix/extended-stable-2026-6-35-tar-security

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Aug 29, 2026 •

Copy link
Copy Markdown
Member

Summary

  • update the direct tar runtime dependency and authoritative workspace override from 7.5.20 to 7.5.22
  • regenerate the pnpm lockfile plus the root and llama-cpp npm shrinkwraps that resolve this dependency

Why

The exact frozen-candidate CI proof for #127002 is blocked by the production-dependency audit on [email protected]. The candidate uses tar for archive handling; this patch preserves its existing 7.x API and Node >=18 contract while adopting the upstream patch release that bounds the affected archive-filter recursion.

Proof

Production delta: direct dependency, workspace override, and resolved metadata only; 17 additions / 17 removals across the five required graph artifacts. No product source changes.

@RomneyDa
RomneyDa requested a review from a team as a code owner August 29, 2026 00:54
@clawsweeper

clawsweeper Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 29, 2026
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Aug 29, 2026
@github-actions

github-actions Bot commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • extensions/llama-cpp/npm-shrinkwrap.json
  • npm-shrinkwrap.json
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfile, shrinkwrap, or workspace dependency policy changes are present.
  • Treat package-lock.json and npm-shrinkwrap.json diffs as security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions

github-actions Bot commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph changes are blocked

OpenClaw does not accept dependency graph changes through PRs unless a repository admin or security explicitly authorizes the current head SHA. Dependency updates are generated internally by maintainers so external PRs cannot change the resolved graph.

Detected dependency graph changes:

  • extensions/llama-cpp/npm-shrinkwrap.json changed.
  • npm-shrinkwrap.json changed.
  • pnpm-lock.yaml changed.
  • package.json changed dependencies.

Auto-scrub was not attempted because this PR changes package manifest dependency graph fields:

  • package.json changed dependencies.

Dependency graph changes must be reviewed by security or handled by maintainers internally. Please remove lockfile changes manually if they are not needed.

To remove lockfile changes, restore them from the target branch:

git fetch origin
git checkout 'origin/extended-stable/2026.6.33' -- 'extensions/llama-cpp/npm-shrinkwrap.json' 'npm-shrinkwrap.json' 'pnpm-lock.yaml'
git commit -m 'chore: remove dependency lockfile change'
git push

If this PR intentionally needs a dependency graph change, ask a repository admin or member of @openclaw/openclaw-secops to comment:

/allow-dependencies-change

The action will approve the current head SHA (fbc5348a96b75b90474eea6d1ecbeb51f56cdbe2) when it reruns. A later push requires a fresh approval.

@RomneyDa
RomneyDa force-pushed the fix/extended-stable-2026-6-35-tar-security branch from e024723 to fbc5348 Compare August 29, 2026 00:58
@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 29, 2026
@clawsweeper

clawsweeper Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 28, 2026, 9:07 PM ET / August 29, 2026, 01:07 UTC.

ClawSweeper review

What this changes

The PR updates OpenClaw’s direct tar archive dependency and its pnpm/npm resolution artifacts from 7.5.20 to 7.5.22 on the extended-stable branch.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open for the required SHA-bound security approval. The introduced dependency update is internally consistent and matches the version already used on current main, but the repository dependency guard has correctly blocked this unapproved production-graph change.

Priority: P2
Reviewed head: fbc5348a96b75b90474eea6d1ecbeb51f56cdbe2
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused and internally consistent dependency backport with relevant validation; merge readiness is gated only on the required security authorization.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored dependency-only PR is outside the external-contributor real-behavior-proof gate; the supplied audit, shrinkwrap, and CI checks are supplemental validation of the graph change.
Patch quality 🐚 platinum hermit (4/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored dependency-only PR is outside the external-contributor real-behavior-proof gate; the supplied audit, shrinkwrap, and CI checks are supplemental validation of the graph change.
Evidence reviewed 7 items Introduced direct dependency update: The PR changes the direct production dependency from tar 7.5.20 to 7.5.22.
Resolution artifacts agree: The workspace override, root importer, resolved package entry, and shrinkwrap pin all select tar 7.5.22 with the same integrity hash.
Production owner and caller: Backup verification imports tar and uses its archive-list operation to inspect user backup archives; package verification separately extracts packed plugin archives through tar.
Findings None None.
Security Needs attention Obtain SHA-bound dependency authorization: The PR changes package.json dependencies and resolved lock/shrinkwrap artifacts; the trusted-base dependency guard has blocked this exact head until a security approver or admin validates it.

How this fits together

The root package manifest and workspace override select the archive-library version used by production backup verification and package inspection. The pnpm lockfile and npm shrinkwraps carry that selection into installs and published packages.

flowchart LR
  A[Package manifest] --> B[Workspace override]
  B --> C[Resolved dependency graph]
  C --> D[Lockfile and shrinkwraps]
  D --> E[Archive and backup operations]
  E --> F[Dependency security guard]
Loading

Decision needed

Question Recommendation
Should a designated security approver authorize tar 7.5.22 for this exact extended-stable PR head after verifying the upstream release and artifact provenance? Authorize the reviewed backport: Verify the tar 7.5.22 release and integrity-pinned artifact, then authorize the exact current head so the dependency guard can pass.

Why: The change alters a direct production dependency and its resolved package graph, which the repository intentionally reserves for SHA-bound security approval.

Before merge

  • Resolve security concern: Obtain SHA-bound dependency authorization - The PR changes package.json dependencies and resolved lock/shrinkwrap artifacts; the trusted-base dependency guard has blocked this exact head until a security approver or admin validates it.
  • Resolve merge risk (P1) - Merging before a designated approver validates and authorizes the exact resolved tar artifact would bypass the repository’s supply-chain review boundary.

Findings

  • [medium] Obtain SHA-bound dependency authorization — package.json:1997
Agent review details

Security

Needs attention: The dependency update is coherent, but its direct production graph change requires the repository’s exact-head security authorization before merge.

PR surface

Source 0, Config 0, Other 0. Total 0 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 1 3 3 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 2 2 2 0
Generated 0 0 0 0
Other 2 12 12 0
Total 5 17 17 0

Review metrics

Metric Value Why it matters
Resolved package transition 1 direct package version changed; 0 other package versions changed The patch changes only tar’s pinned release while keeping the workspace override, pnpm graph, and npm shrinkwraps synchronized.

Merge-risk options

Maintainer options:

  1. Authorize the exact dependency graph (recommended)
    A designated security approver should validate the tar 7.5.22 release and authorize the current head before this production archive dependency is merged.
  2. Recreate the backport internally
    If the exact graph cannot be approved, maintain the release branch through the repository’s controlled dependency-update process.

Technical review

Best possible solution:

Retain the consistent 7.5.22 backport and merge only after a designated security approver verifies the upstream security release and authorizes this exact head SHA.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR updates a dependency graph rather than fixing a directly reproducible product symptom.

Is this the best way to solve the issue?

Yes, conditionally: updating the one direct pin and every derived install artifact is the narrowest maintainable backport, and current main already selects 7.5.22; independent security approval remains required.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 204faa53f69c.

Labels

Label changes:

  • add P2: This is a focused production dependency security-maintenance update with limited code-surface blast radius.
  • add merge-risk: 🚨 security-boundary: The PR changes the resolved production archive library and remains blocked pending the repository’s required exact-head security approval.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored dependency-only PR is outside the external-contributor real-behavior-proof gate; the supplied audit, shrinkwrap, and CI checks are supplemental validation of the graph change.

Label justifications:

  • P2: This is a focused production dependency security-maintenance update with limited code-surface blast radius.
  • merge-risk: 🚨 security-boundary: The PR changes the resolved production archive library and remains blocked pending the repository’s required exact-head security approval.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored dependency-only PR is outside the external-contributor real-behavior-proof gate; the supplied audit, shrinkwrap, and CI checks are supplemental validation of the graph change.

Evidence

Security concerns:

  • [medium] Obtain SHA-bound dependency authorization — package.json:1997
    The PR changes package.json dependencies and resolved lock/shrinkwrap artifacts; the trusted-base dependency guard has blocked this exact head until a security approver or admin validates it.
    Confidence: 0.99

What I checked:

  • Introduced direct dependency update: The PR changes the direct production dependency from tar 7.5.20 to 7.5.22. (package.json:1997, fbc5348a96b7)
  • Resolution artifacts agree: The workspace override, root importer, resolved package entry, and shrinkwrap pin all select tar 7.5.22 with the same integrity hash. (pnpm-lock.yaml:7315, fbc5348a96b7)
  • Production owner and caller: Backup verification imports tar and uses its archive-list operation to inspect user backup archives; package verification separately extracts packed plugin archives through tar. (src/commands/backup-verify.ts:179, fbc5348a96b7)
  • Current-main comparison: Current main independently pins the same tar 7.5.22 version in its direct dependency manifest, so this is a targeted extended-stable backport rather than a new version selection for OpenClaw. (package.json:2099, 204faa53f69c)
  • Security gate contract: The trusted-base dependency workflow requires a security approver or repository admin to authorize the exact PR head for dependency graph changes; the supplied PR comment reports that this approval has not occurred. (.github/workflows/dependency-guard.yml:103, fbc5348a96b7)
  • Relevant validation: The supplied exact-head check state reports successful dependency, shrinkwrap, and security-fast checks; dependency-guard is the remaining failing gate because the graph is not yet authorized. (fbc5348a96b7)

Likely related people:

  • RomneyDa: Current file history attributes multiple extended-stable and production-dependency remediation commits to Dallin Romney, who is also the author of this focused backport. (role: recent release and dependency contributor; confidence: high; commits: f68539120019, b7a9941d1850, fbc5348a96b7; files: package.json, pnpm-workspace.yaml, pnpm-lock.yaml)
  • steipete: The trusted-base dependency workflow explicitly lists this account among the security approvers for exact-head dependency graph authorization. (role: security approver named by the dependency guard; confidence: high; files: .github/workflows/dependency-guard.yml, scripts/github/dependency-guard.mjs)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Have a designated security approver validate tar 7.5.22 provenance and authorize the exact current head.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@RomneyDa
RomneyDa merged commit c2ca5ac into extended-stable/2026.6.33 Aug 29, 2026
84 of 87 checks passed
@RomneyDa
RomneyDa deleted the fix/extended-stable-2026-6-35-tar-security branch August 29, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies-changed PR changes dependency-related files extensions: llama-cpp maintainer Maintainer-authored PR merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant