@openclaw/openshell-sandbox 2026.8.1 → 2026.8.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -566,7 +566,8 @@ async function assertLocalPathSafety(params) {
566
566
  if (!params.target.hostPath) throw new Error(`Missing local host path for ${params.target.containerPath}`);
567
567
  const canonicalRoot = await fsPromises.realpath(params.root).catch(() => path.resolve(params.root));
568
568
  const targetStats = await fsPromises.lstat(params.target.hostPath).catch(() => null);
569
- if (!isPathInside(canonicalRoot, params.allowFinalSymlinkForUnlink && targetStats?.isSymbolicLink() ? path.resolve(canonicalRoot, path.relative(params.root, params.target.hostPath)) : await resolveCanonicalCandidate(params.target.hostPath))) throw new Error(`Sandbox path escapes allowed mounts; cannot access: ${params.target.containerPath}`);
569
+ const candidate = params.allowFinalSymlinkForUnlink && targetStats?.isSymbolicLink() ? path.resolve(canonicalRoot, path.relative(params.root, params.target.hostPath)) : await resolveCanonicalCandidate(params.target.hostPath);
570
+ if (!isPathInside(canonicalRoot, candidate)) throw new Error(`Sandbox path escapes allowed mounts; cannot access: ${params.target.containerPath}`);
570
571
  const segments = path.relative(params.root, params.target.hostPath).split(path.sep).filter(Boolean);
571
572
  let cursor = params.root;
572
573
  for (const [index, segment] of segments.entries()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/openshell-sandbox",
3
- "version": "2026.8.1",
3
+ "version": "2026.8.33",
4
4
  "description": "OpenClaw sandbox backend for the NVIDIA OpenShell CLI with mirrored local workspaces and SSH command execution.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,10 +21,10 @@
21
21
  "minHostVersion": ">=2026.5.12-beta.1"
22
22
  },
23
23
  "compat": {
24
- "pluginApi": ">=2026.8.1"
24
+ "pluginApi": ">=2026.8.33"
25
25
  },
26
26
  "build": {
27
- "openclawVersion": "2026.8.1",
27
+ "openclawVersion": "2026.8.33",
28
28
  "bundledDist": false
29
29
  },
30
30
  "release": {
@@ -41,7 +41,7 @@
41
41
  "README.md"
42
42
  ],
43
43
  "peerDependencies": {
44
- "openclaw": ">=2026.8.1"
44
+ "openclaw": ">=2026.8.33"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "openclaw": {