stamandster
stamandster
Problem The Skills Hub page always showed "Install" button for all skills, even those already installed. Users couldn't tell which skills were already installed, and the UI didn't update after...
Problem: The /api/hermes-cron/:profile/create endpoint passes prompt directly to execHermes without validation. Current code (line 4306-4307): javascript args.push(schedule); if (prompt) args.push(prompt); Fix: Add character validation to prompt parameter: javascript if (prompt)...
Problem: Some endpoints use shell() (shell interpretation) instead of execHermes() (direct execFile), even when inputs are already sanitized. While currently safe due to input validation, using execHermes provides defense-in-depth. Endpoints...
Location: server.js:3595-3601 javascript if (!filePath || !filePath.endsWith('.zip') || filePath.includes('..')) { return res.status(400).json({ error: 'Invalid path' }; } Issue: The .. check uses simple string inclusion (includes('..')), which can be bypassed...
Vulnerability Description The session rename endpoint used the shell() function (which passes commands through bash) instead of the safer execHermes() function, allowing command injection via session IDs or titles. Affected...
Vulnerability Description A hardcoded API key was present in the source code, exposing gateway access to anyone who obtained the code. Affected Code Location server.js — embedded API key string...
Vulnerability Description State-changing endpoints (POST, PUT, DELETE) lacked CSRF protection, allowing attackers to trick authenticated users into performing unintended actions. Affected Code Location All mutating API endpoints in server.js Risk...
Vulnerability Description The sanitizeProfileName() function used to sanitize profile names before passing them to Hermes CLI commands was insufficient. It only removed whitespace but did not prevent path traversal attacks...
Using latest installation I've identified a critical command injection vulnerability in the /api/skills/install endpoint. Vulnerability Details Location: /mnt/c/Users/chris/hermes-control-interface/server.js lines 3397-3408 Issue: The skill parameter is passed directly to execHermes without...
Vulnerability Description The escapeHtml() function used for sanitizing user input before rendering did not escape quote characters, allowing attribute-based XSS attacks. Affected Code Location server.js — the escapeHtml() utility function...