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
address review: remove ALTER ROLE PASSWORD from changelog (not in database.js)
Adam Eivyc44c7221f1e8
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 703c18ec6d..c4bc48128a 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -47,7 +47,7 @@## Security-- **Dependency CVE sweep + SQL/JQL identifier escaping** — `/do:better` audit surfaced a handful of known-CVE dependency ranges and two string-interpolation sites. Upgraded `react-router-dom` 7.1.1 → 7.5.2 (GHSA-2w69-qvjg-hvjx + GHSA-8v8x-cx79-35w7 — XSS via `<Link to>` open redirect + SSR XSS). Added root `package.json` overrides to pin transitive deps against known issues: `socket.io-parser` >= 4.2.6 (GHSA-cqmj-92ph-6vvx binary-attachment OOM DoS), `path-to-regexp` >= 8.3.1 (GHSA-j3q9-mxjg-w52f ReDoS via Express 5's route matcher), `lodash` >= 4.17.21 (prototype pollution via `pm2`'s transitive dep), `basic-ftp` >= 5.2.3 (CRLF injection via `pm2`'s transitive dep), `follow-redirects` >= 1.15.12 (Authorization header forwarded on cross-origin redirects), and `brace-expansion` >= 2.0.2 (ReDoS). On the app code side, `server/routes/database.js` was building DDL like `CREATE USER ${pgUser} WITH PASSWORD '${pgPassword}'` via raw string interpolation — new `pgQuoteIdentifier()` / `pgEscapeString()` helpers double embedded quotes and wrap in standard SQL quoting before interpolation into `CREATE ROLE`/`CREATE DATABASE`/`DROP DATABASE`/`ALTER ROLE PASSWORD` and the `SELECT ... WHERE datname = ...` lookup. `server/services/jira.js`'s "find epic" JQL query (`project = "${projectKey}" AND summary ~ "${query}"`) escapes `"` in both values before interpolation. Even on a single-user Tailscale deployment, misconfigured env vars (`PGUSER`/`PGDATABASE` containing metacharacters) or pasted Jira search terms with quotes would have broken the statement or altered semantics — now they pass through as literal strings.+- **Dependency CVE sweep + SQL/JQL identifier escaping** — `/do:better` audit surfaced a handful of known-CVE dependency ranges and two string-interpolation sites. Upgraded `react-router-dom` 7.1.1 → 7.5.2 (GHSA-2w69-qvjg-hvjx + GHSA-8v8x-cx79-35w7 — XSS via `<Link to>` open redirect + SSR XSS). Added root `package.json` overrides to pin transitive deps against known issues: `socket.io-parser` >= 4.2.6 (GHSA-cqmj-92ph-6vvx binary-attachment OOM DoS), `path-to-regexp` >= 8.3.1 (GHSA-j3q9-mxjg-w52f ReDoS via Express 5's route matcher), `lodash` >= 4.17.21 (prototype pollution via `pm2`'s transitive dep), `basic-ftp` >= 5.2.3 (CRLF injection via `pm2`'s transitive dep), `follow-redirects` >= 1.15.12 (Authorization header forwarded on cross-origin redirects), and `brace-expansion` >= 2.0.2 (ReDoS). On the app code side, `server/routes/database.js` was building DDL like `CREATE USER ${pgUser} WITH PASSWORD '${pgPassword}'` via raw string interpolation — new `pgQuoteIdentifier()` / `pgEscapeString()` helpers double embedded quotes and wrap in standard SQL quoting before interpolation into `CREATE ROLE`/`CREATE DATABASE`/`DROP DATABASE` and the `SELECT ... WHERE datname = ...` lookup. `server/services/jira.js`'s "find epic" JQL query (`project = "${projectKey}" AND summary ~ "${query}"`) escapes `"` in both values before interpolation. Even on a single-user Tailscale deployment, misconfigured env vars (`PGUSER`/`PGDATABASE` containing metacharacters) or pasted Jira search terms with quotes would have broken the statement or altered semantics — now they pass through as literal strings.## Fixed