Back to Home
LidoxLee icon

ai-skills-hub

by LidoxLee

Overview

Provides AI assistants with access to a team's coding standards, best practices, and knowledge base by dynamically loading Markdown skill files via an MCP server.

Installation

Run Command
npm start

Environment Variables

  • OPENAI_API_KEY
  • GEMINI_API_KEY
  • ANTHROPIC_API_KEY

Security Notes

The `executeSkillScript` function, exposed as an MCP tool, uses `child_process.spawn` with `shell: true`. While it attempts to sanitize `script_path` to prevent directory traversal and ensures the script is within the designated skill directory, the `shell: true` option introduces a critical security risk. If a skill containing a malicious script (or arguments with shell metacharacters) is added from an untrusted URL (via `skillshub add`) and an AI agent is prompted to execute it, arbitrary shell commands could be injected and executed with the permissions of the user running the `ai-skills-hub` server. This could lead to remote code execution. Additionally, the `skillshub add <url>` command allows downloading skills from arbitrary URLs, making it a potential vector for supply chain attacks by introducing untrusted code into the local skills directory.

Similar Servers

Stats

Interest Score83
Security Score3
Cost ClassMedium
Avg Tokens1000
Stars4
Forks0
Last Update2026-01-19

Tags

AI AssistantKnowledge BaseCLI ToolMarkdownMCP Server