Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix(deps): unpin postcss and brace-expansion overrides that had gone stale into vulnerable versions
[._.]/ Adam Eivy35ca90150104
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex a7d1ac6f1a..45c3181504 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -112,6 +112,7 @@- **The Autofixer UI on `:5560` now honours the PortOS password gate** — when the install is password protected (Settings → Security), the Autofixer sidecar requires the same password before it will list apps, stream PM2 logs, or restart/stop a process. It listens on `0.0.0.0` for tailnet access, so it previously stayed wide open while `:5555` asked for a password. A browser already signed in to the PortOS dashboard on the same host is let straight through (the session cookie is port-agnostic); anything else gets a login prompt, and scripts can use `Authorization: Basic`/`Bearer`. Installs with no password set are unchanged.- Guard paid-provider API keys against SSRF / key-exfiltration: `streamCompletion` (askService), voice-LLM endpoint resolution, and the local-LLM playground now validate a provider's endpoint through the shared endpoint guard before attaching the `Authorization: Bearer` header, so a mistyped or malicious custom endpoint (including cloud-metadata hosts) never receives the key unless the provider opts in via `allowCustomEndpoint`.+- Bump the stale `postcss` override from 8.5.15 to 8.5.23 (root, server) and `brace-expansion` from 5.0.7 to 5.0.8 (root, server, client), clearing two high-severity advisories — a PostCSS path traversal via auto-loaded `sourceMappingURL` comments (GHSA-r28c-9q8g-f849, CVSS 7.5) and the brace-expansion range fixed in 5.0.8. Both were dev-only (PostCSS reaches the tree through Vite under Vitest; PortOS only ever processes its own first-party CSS at build time, so the traversal was never reachable here) — but both pins were themselves the problem: each was added to fix an *earlier* advisory in the same package and had since become the thing holding the tree at a now-vulnerable version. Worth remembering when reading the `overrides` blocks: an exact pin is a snapshot, not a subscription, and re-auditing it is part of the fix. Root and server audits are now clean.- Bump the `js-yaml` override from 4.2.0 to 4.3.0 (root, server, client) to clear a high-severity advisory where chained YAML merge keys force quadratic CPU consumption.- Pin server `tar` to 7.5.21 and `engine.io` to 6.6.9 via overrides, clearing a critical node-tar cluster (PAX header file smuggling, parse/decompression DoS, infinite loop on negative entry size) and an Engine.IO polling-transport connection-exhaustion advisory. These live only in `server/package-lock.json`, which is gitignored, so Dependabot never surfaced them.- **[issue-2848] Clear the remaining `npm audit` HIGH/CRITICAL findings across all three workspaces** — pin `protobufjs` to 7.6.5 and add a `body-parser` 2.3.0 and `sharp` 0.35.3 override in the server, and bring the root and client `brace-expansion` pins up to 5.0.7 / 1.1.16. The `sharp` pin also collapses a stale nested copy that `@huggingface/transformers` carried, so the bundled speech models no longer ship a second, vulnerable libvips build. Root, server, and client all report zero vulnerabilities; no major version bumps were needed (the previously-planned breaking `eslint` upgrade turned out to be avoidable).diff --git a/client/package.json b/client/package.jsonindex d166b87f61..6e6dacf1d2 100644--- a/client/package.json+++ b/client/package.json@@ -46,7 +46,7 @@"vitest": "4.1.9"},"overrides": {- "brace-expansion": "5.0.7",+ "brace-expansion": "5.0.8","js-yaml": "4.3.0","socket.io-parser": "4.2.6","ws": "8.21.0",diff --git a/package.json b/package.jsonindex 3bee04ad83..69532854a3 100644--- a/package.json+++ b/package.json@@ -43,7 +43,7 @@"lodash": "4.18.1","basic-ftp": "6.0.1","follow-redirects": "1.16.0",- "brace-expansion": "5.0.7",+ "brace-expansion": "5.0.8","js-yaml": "4.3.0","socket.io-parser": "4.2.6","protobufjs": "7.6.5",@@ -51,7 +51,7 @@"ws": "8.21.0","ip-address": "10.2.0","picomatch": "4.0.4",- "postcss": "8.5.15",+ "postcss": "8.5.23","systeminformation": "5.31.6"}}diff --git a/server/package-lock.json b/server/package-lock.jsonindex 490e1ff307..65a584f428 100644--- a/server/package-lock.json+++ b/server/package-lock.json@@ -3880,9 +3880,9 @@}},"node_modules/postcss": {- "version": "8.5.15",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz",- "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==",+ "version": "8.5.23",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.23.tgz",+ "integrity": "sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==","dev": true,"funding": [{@@ -3900,7 +3900,7 @@],"license": "MIT","dependencies": {- "nanoid": "^3.3.12",+ "nanoid": "^3.3.16","picocolors": "^1.1.1","source-map-js": "^1.2.1"},diff --git a/server/package.json b/server/package.jsonindex 54a0167af0..f6c30bf746 100644--- a/server/package.json+++ b/server/package.json@@ -39,7 +39,7 @@"lodash": "4.18.1","basic-ftp": "6.0.1","follow-redirects": "1.16.0",- "brace-expansion": "5.0.7",+ "brace-expansion": "5.0.8","body-parser": "2.3.0","js-yaml": "4.3.0","tar": "7.5.21",@@ -52,7 +52,7 @@"ws": "8.21.0","ip-address": "10.2.0","picomatch": "4.0.4",- "postcss": "8.5.15",+ "postcss": "8.5.23","systeminformation": "5.31.6"}}