Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/e2e-advisor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
# Pin the Pi SDK to a known-good version. Updates should go through
# the normal dependency-review path (e.g. Dependabot) so a compromised
# upstream release cannot execute automatically in this secret-bearing job.
PI_SDK_VERSION: "0.74.0"
PI_SDK_VERSION: "0.80.6"
# Keep the advisor timeout shorter than the GitHub job timeout so the
# analyzer can write failure artifacts, summaries, and PR comments.
E2E_ADVISOR_TIMEOUT_MS: "900000"
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
- name: Install Pi SDK
run: |
PI_SDK_DIR="$RUNNER_TEMP/pi-sdk"
npm install --prefix "$PI_SDK_DIR" --ignore-scripts --no-save --package-lock=false --before=2026-05-14T00:00:00.000Z "@earendil-works/pi-coding-agent@${PI_SDK_VERSION}"
npm install --prefix "$PI_SDK_DIR" --ignore-scripts --no-save --package-lock=false --before=2026-07-11T00:00:00.000Z "@earendil-works/pi-coding-agent@${PI_SDK_VERSION}"
rm -rf "$ADVISOR_DIR/node_modules"
ln -s "$PI_SDK_DIR/node_modules" "$ADVISOR_DIR/node_modules"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/installer-hash-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Set up trusted installer hash parser runtime
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.0.0
with:
node-version: 22.16.0
node-version: 22.19.0

# The full PR-head checkout below supplies data only. Its checker and pin
# parser are never executed: later steps run exclusively from either
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/pr-review-advisor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ jobs:
# Pin the Pi SDK to a known-good version. Updates should go through
# normal dependency review so a compromised upstream release cannot run
# automatically in this secret-bearing job.
PI_SDK_VERSION: "0.74.0"
PI_SDK_VERSION: "0.80.6"
# The review ledger imports TypeBox directly. Pi 0.80.6 shrinkwraps its
# own copy, so the advisor runtime must install this direct dependency.
TYPEBOX_VERSION: "1.1.38"
# Keep the grep tool deterministic for the pinned Ubuntu runner. A newer
# package must be reviewed and updated explicitly instead of floating.
RIPGREP_VERSION: "14.1.0-1"
Expand Down Expand Up @@ -158,6 +161,17 @@ jobs:
echo "ADVISOR_WORKDIR=$TARGET_DIR" >> "$GITHUB_ENV"
echo "PR_NUMBER=$TARGET_PR" >> "$GITHUB_ENV"

# The advisor reads repository files while holding its model API key.
# Remove worktree symlinks so untrusted PR data cannot redirect a read
# to runner files such as /proc/self/environ. Git diff still reads the
# committed objects, so symlink additions and changes remain visible.
- name: Remove symlinks from analysis workspace
shell: bash
run: |
while IFS= read -r -d '' link; do
rm -- "$link"
done < <(find "$ADVISOR_WORKDIR" -type l -print0)

- name: Install Pi SDK
run: |
if ! command -v rg >/dev/null 2>&1; then
Expand All @@ -166,7 +180,7 @@ jobs:
fi
rg --version
PI_SDK_DIR="$RUNNER_TEMP/pi-sdk"
npm install --prefix "$PI_SDK_DIR" --ignore-scripts --no-save --package-lock=false --before=2026-05-14T00:00:00.000Z "@earendil-works/pi-coding-agent@${PI_SDK_VERSION}"
npm install --prefix "$PI_SDK_DIR" --ignore-scripts --no-save --package-lock=false --before=2026-07-11T00:00:00.000Z "@earendil-works/pi-coding-agent@${PI_SDK_VERSION}" "typebox@${TYPEBOX_VERSION}"
rm -rf "$ADVISOR_DIR/node_modules"
ln -s "$PI_SDK_DIR/node_modules" "$ADVISOR_DIR/node_modules"

Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ For shell scripts use `#` comments. For Markdown use HTML comments.

### JavaScript

- `bin/` launcher and remaining `scripts/*.js`: **CommonJS** (`require`/`module.exports`), Node.js 22.16+
- `bin/` launcher and remaining `scripts/*.js`: **CommonJS** (`require`/`module.exports`), Node.js 22.19+
- `test/`: **ESM** (`import`/`export`)
- Biome config in `biome.json`
- Keep function complexity low; existing complexity hotspots are tracked separately
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ That section is a planning aid, not a commitment that a specific issue or featur

Install the following before you begin.

- Node.js 22.16+ and npm 10+
- Node.js 22.19+ and npm 10+
- Python 3.11+ (for documentation tooling)
- Docker (running)
- [hadolint](https://github.com/hadolint/hadolint) (Dockerfile linter — `brew install hadolint` on macOS)
Expand Down
2 changes: 1 addition & 1 deletion agents/openclaw/mcporter-runtime/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion agents/openclaw/mcporter-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"mcporter": "0.7.3"
},
"engines": {
"node": ">=22.16.0"
"node": ">=22.19.0"
}
}
5 changes: 5 additions & 0 deletions ci/source-shape-test-budget.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,11 @@
"test": "pins both controller checkouts and installs without lifecycle scripts or caches",
"category": "security"
},
{
"file": "test/pr-review-advisor-workflow-boundary.test.ts",
"test": "rejects deleting or weakening analysis-workspace symlink removal",
"category": "security"
},
{
"file": "test/pr-review-advisor-workflow-boundary.test.ts",
"test": "requires one advisor lane to publish the PR comment",
Expand Down
2 changes: 1 addition & 1 deletion docs/_components/StarterPrompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ When you need an API key, bot token, app token, or other secret, use the checked
- Helper: https://raw.githubusercontent.com/NVIDIA/NemoClaw/dd61a307d7ddf7be99de8ff1e2678fb8ef42f8e6/scripts/local-credential-helper.mts (SHA-256 \`1a42bbe8dbc9003cb79d4e641b53760571aacd85293671aee97c09c0746fef33\`)
- Form: https://raw.githubusercontent.com/NVIDIA/NemoClaw/dd61a307d7ddf7be99de8ff1e2678fb8ef42f8e6/docs/resources/local-credential-form.html (SHA-256 \`5512a256e0ad7c63a26ab82cf4f5924e98652097172ab8a5dc9d9358dd4f6ae8\`)
- Treat the two immutable URL and digest pairs as one reviewed trust boundary. Stop if either verification fails; do not substitute another URL, helper, form, or digest. Put fetched copies in a private temporary directory restricted to the current user.
- The helper requires Node.js 22.16 or newer. If that runtime is unavailable, use a secure local terminal prompt or local app prompt instead; never ask for the value in chat and never fall back to generated code.
- The helper requires Node.js 22.19 or newer. If that runtime is unavailable, use a secure local terminal prompt or local app prompt instead; never ask for the value in chat and never fall back to generated code.
- Run the helper with \`--execution-profile isolated\` for stateless commands. Pass one \`--field NAME:type\` per value, then a literal \`--\` and the exact approved argv. The helper serves a one-time \`http://127.0.0.1\` form, accepts a single submission, then runs that argv; it enforces loopback-only access, requires an absolute executable, and strips ambient credential and process-control variables. Never put credentials in argv. For example:

\`\`\`shell
Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/prerequisites.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ If you cannot add memory, configure at least 8 GB of swap to work around the iss

| Dependency | Version |
|------------|----------------------------------|
| Node.js | 22.16 or later |
| Node.js | 22.19 or later |
| npm | 10 or later |
| Docker | Docker Engine, Docker Desktop, or Colima on a tested platform |
| Platform | Refer to [Platforms](#platforms) below |
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ If you see an unsupported platform error, verify that you are running on a teste

### Node.js version is too old

NemoClaw requires Node.js 22.16 or later.
NemoClaw requires Node.js 22.19 or later.
If the installer exits with a Node.js version error, check your current version:

```bash
node --version
```

If the version is below 22.16, install a supported release.
If the version is below 22.19, install a supported release.
If you use nvm, run:

```bash
Expand Down
6 changes: 3 additions & 3 deletions docs/security/e2e-weather-plugin-fixture-dependency-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# E2E Weather Plugin Fixture Dependency Review

Review date: 2026-07-09
Review date: 2026-07-12

Scope: `test/e2e/fixtures/plugins/weather/package-lock.json` and the secret-free OpenClaw custom-plugin lifecycle regression lane.

Expand Down Expand Up @@ -45,11 +45,11 @@ Run from `test/e2e/fixtures/plugins/weather`:
npm audit --package-lock-only --ignore-scripts --json
```

Revalidated on 2026-07-09: npm audit exited `1` and reported 9 vulnerable packages (3 moderate and 6 high; 0 info, low, or critical) across 374 total dependencies.
Revalidated on 2026-07-12: npm audit exited `1` and reported 9 vulnerable packages (3 moderate and 6 high; 0 info, low, or critical) across 374 total dependencies.
The affected packages are `@earendil-works/pi-coding-agent`, `@openclaw/fs-safe`, `hono`, `linkify-it`, `markdown-it`, `openclaw`, `protobufjs`, `tar`, and `undici`.
The point-in-time advisory set is GHSA-22p9-wv53-3rq4, GHSA-2gcr-mfcq-wcc3, GHSA-35p6-xmwp-9g52, GHSA-38rv-x7px-6hhq, GHSA-3hrh-pfw6-9m5x, GHSA-6v5v-wf23-fmfq, GHSA-7v5m-pr3q-6453, GHSA-88fw-hqm2-52qc, GHSA-94rc-8x27-4472, GHSA-9c3v-684m-579c, GHSA-f38q-mgvj-vph7, GHSA-f577-qrjj-4474, GHSA-g8m3-5g58-fq7m, GHSA-j6c9-x7qj-28xf, GHSA-jfgx-wxx8-mp94, GHSA-mqxh-6gq7-558m, GHSA-p88m-4jfj-68fv, GHSA-pr7r-676h-xcf6, GHSA-r95r-rj6r-c39x, GHSA-rv63-4mwf-qqc2, GHSA-vmf3-w455-68vh, GHSA-vmh5-mc38-953g, GHSA-vxpw-j846-p89q, GHSA-wcpc-wj8m-hjx6, GHSA-wgpf-jwqj-8h8p, GHSA-wwfh-h76j-fc44, and GHSA-xrhx-7g5j-rcj5.
The advisories are in the release-pinned OpenClaw development graph; the Docker build suppresses lifecycle scripts and prunes development and peer dependencies before copying the plugin into the runtime image.
The reviewed lockfile has SHA-256 `ea5fcb849fbc39ef2c9dd1d893258d373a9c3eae796306951f8c2e180cf6469c`, and every non-root package entry records both its resolved registry URL and integrity value.
The reviewed lockfile has SHA-256 `a2bc0bc3d55cce607652ce0471d0a1f05148cf98ead8d63b9ecad1ac8e2585bb`, and every non-root package entry records both its resolved registry URL and integrity value.

The audit is a point-in-time advisory check, not a substitute for the exact lockfile, lifecycle-script suppression, or secret-free workflow boundary.
Rerun it whenever `package.json` or `package-lock.json` changes and again before merge if npm advisory state changes.
Expand Down
2 changes: 1 addition & 1 deletion nemoclaw/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nemoclaw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"vitest": "^4.1.9"
},
"engines": {
"node": ">=22.16.0"
"node": ">=22.19.0"
},
"files": [
"dist/",
Expand Down
Loading
Loading