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: address review — safer iframe sandbox and shell-free execGit
Adam Eivy59352e54c634
diff --git a/client/src/components/messages/MessageDetail.jsx b/client/src/components/messages/MessageDetail.jsxindex 9ed7e9026e..ff72d14c6a 100644--- a/client/src/components/messages/MessageDetail.jsx+++ b/client/src/components/messages/MessageDetail.jsx@@ -52,7 +52,10 @@ function SafeHtmlBody({ html }) {return (<iframeref={iframeRef}- sandbox=""+ // allow-same-origin is required to write/resize via contentDocument;+ // scripts remain blocked (no allow-scripts), and we sanitize HTML upstream+ // before injecting so the email body cannot execute JS.+ sandbox="allow-same-origin"className="w-full border-0 min-h-[100px]"style={{ background: 'transparent' }}title="Email content"diff --git a/server/lib/execGit.js b/server/lib/execGit.jsindex 23c610f278..84960796b6 100644--- a/server/lib/execGit.js+++ b/server/lib/execGit.js@@ -19,9 +19,12 @@ export function execGit(args, cwd, options = {}) {return new Promise((resolve, reject) => {const maxBuffer = options.maxBuffer || 10 * 1024 * 1024;const timeout = options.timeout || 30000;+ // Always disable the shell to keep this helper a hard boundary against+ // shell-injection. `spawn` resolves `git` via PATH on all supported+ // platforms (including Windows) without a shell wrapper.const child = spawn('git', args, {cwd,- shell: process.platform === 'win32',+ shell: false,windowsHide: true});