Back to Home
NightHammer1000 icon

n1ght-mcp

by NightHammer1000

Overview

Developer toolkit enhancing AI agents with data manipulation, AI delegation, and semantic search capabilities via the Model Context Protocol.

Installation

Run Command
npx tsx app.ts

Environment Variables

  • MODULES
  • CUSTOM_API_KEY

Security Notes

CRITICAL RISK: The `n1ght_data_*` tools accept `filePath` as a direct input parameter, which is then used in `fs.readFile` and `fs.writeFile` operations without explicit path sanitization or containment checks (e.g., ensuring `filePath` is within `process.cwd()`). This creates a path traversal vulnerability, allowing a malicious AI agent to potentially read from or write to arbitrary locations on the host file system (e.g., `../../etc/passwd`). While the `gemini` and `codex` CLI calls escape prompts before passing them to `spawn` with `shell: true`, the general use of `shell: true` can still introduce risks if underlying CLI tools have their own vulnerabilities or if argument handling is not perfectly robust. Additionally, downloading binary models from HuggingFace (`node-llama-cpp`) introduces a supply chain risk, as a compromised model could execute malicious code.

Similar Servers

Stats

Interest Score11
Security Score4
Cost ClassMedium
Avg Tokens5000
Stars2
Forks0
Last Update2025-12-17

Tags

Developer ToolsAI AgentsSemantic SearchData ManagementMCP Server