dinuduke

Results comments of dinuduke

### Exact Fix **File**: `k8s/nemoclaw-k8s.yaml` — workspace container securityContext **Add to the workspace container spec**: ```yaml - name: workspace # ... existing fields ... securityContext: readOnlyRootFilesystem: true allowPrivilegeEscalation: false runAsNonRoot:...

### Exact Fix **File**: `Dockerfile` lines 113-114 **Problem**: Auth token is generated at Docker BUILD time via `secrets.token_hex(32)` at line 114. This bakes the same token into every image instance....

Recommended Fix ```bash # scripts/nemoclaw-start.sh, add before the wait command (around line 370): cleanup() { echo "Shutting down NemoClaw services..." kill "$GATEWAY_PID" 2>/dev/null wait "$GATEWAY_PID" 2>/dev/null echo "Cleanup complete." exit...

Recommended Fix **No code change required** — this is correct security hardening. **File**: `Dockerfile` lines 140-145 (current implementation is correct) ```dockerfile USER root RUN chown root:root /sandbox/.openclaw \ && find...

## Suggested Fix Add to CONTRIBUTING.md after the build section: ### Local Development Testing After building, link the CLI for local testing: \`\`\`bash npm link nemoclaw --version # Verify linked...

### Recommended Fix ```dockerfile # Add after ENTRYPOINT in Dockerfile: HEALTHCHECK --interval=10s --timeout=3s --start-period=10s --retries=3 \ CMD openclaw doctor --quick || exit 1 ```

### Recommended Fix ```bash # scripts/backup-workspace.sh line 91, replace: # Before: ts="$(find "$BACKUP_BASE" -mindepth 1 -maxdepth 1 -type d -printf '%f\n' 2>/dev/null | sort -r | head -n1 || true)"...

### Recommended Fix ```yaml # nemoclaw-blueprint/policies/presets/huggingface.yaml, narrow POST rules: rules: - allow: { method: GET, path: "/**" } - allow: { method: POST, path: "/api/models/*/inference" } - deny: { method:...

### Recommended Fix ```yaml # nemoclaw-blueprint/policies/presets/discord.yaml line 21: # Remove entirely: # - allow: { method: DELETE, path: "/**" } # Or restrict to own messages only: - allow: {...

### Recommended Fix ```yaml # k8s/nemoclaw-k8s.yaml — pin images by digest: # Line 16, replace: image: docker@sha256: # Line 54, replace: image: node@sha256: # To get digests: # docker pull...