Back to Home
Robotti-io icon

copilot-security-instructions

Verified Safe

by Robotti-io

Overview

This MCP server provides a toolkit of security-focused prompts and instructions to guide GitHub Copilot towards secure coding practices, helping developers identify and mitigate security risks.

Installation

Run Command
npm start

Environment Variables

  • server.port
  • server.hostname
  • server.ssl
  • server.ssl.pfx
  • server.ssl.pfx.passphrase
  • logger.transports.console.enabled
  • logger.transports.console.level
  • logger.transports.amqp.enabled
  • logger.transports.amqp.level
  • logger.transports.amqp.exchange
  • logger.transports.amqp.hostname
  • logger.transports.amqp.port
  • logger.transports.amqp.username
  • logger.transports.amqp.password
  • logger.transports.amqp.vhost
  • logger.transports.amqp.heartbeat
  • logger.transports.amqp.locale
  • logger.transports.amqp.type
  • logger.transports.amqp.durable

Security Notes

The server uses an Express.js application and delegates core Model Context Protocol (MCP) handling to the `@modelcontextprotocol/sdk`. Input validation for retrieving prompts (`get_prompt` tool) uses `zod` and `z.enum(Object.keys(prompts))` which prevents path traversal and arbitrary file reads, a strong security practice. Configuration for sensitive data like AMQP credentials and SSL PFX passphrases are sourced from environment variables, which is appropriate. The `reqInfo` middleware logs the full `req.body`, which could expose sensitive data in logs if the logger is enabled and misconfigured. However, console and AMQP logging are disabled by default. No `eval` or other direct code execution vulnerabilities were found in the provided server code.

Similar Servers

Stats

Interest Score42
Security Score8
Cost ClassLow
Avg Tokens650
Stars28
Forks8
Last Update2025-12-02

Tags

Secure CodingGitHub CopilotAI/MLSecurity AuditDevelopment Tools