Frontmatter
| id | 7994 |
| title | Sanitize commander inputs in ai/mcp/server/memory-core/mcp-stdio.mjs |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Dec 2, 2025, 7:19 PM |
| updatedAt | Dec 2, 2025, 7:26 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7994 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 2, 2025, 7:26 PM |
Sanitize commander inputs in ai/mcp/server/memory-core/mcp-stdio.mjs
tobiu assigned to @tobiu on Dec 2, 2025, 7:25 PM

tobiu
Dec 2, 2025, 7:26 PM
Input from Gemini Agent:
✦ I have sanitized the commander inputs in
ai/mcp/server/memory-core/mcp-stdio.mjs.
- Imported
sanitizeInputfrom../../../../buildScripts/util/Sanitizer.mjs.- Applied
sanitizeInputto-coption.
tobiu closed this issue on Dec 2, 2025, 7:26 PM
The
commanderlibrary does not sanitize inputs by default. This can lead to issues if users provide inputs with quotes. We need to applysanitizeInputto theprogramoptions inai/mcp/server/memory-core/mcp-stdio.mjs.Implementation Details:
sanitizeInputfrom../../../../buildScripts/util/Sanitizer.mjs..option().References:
ai/mcp/server/memory-core/mcp-stdio.mjs