Sponsored by Deepsite.site

Vigil - AI Security Audit and Cryptographic Proof

Created By
vigil-xya day ago
Security scanner for developers and startups. Vigil performs deep security audits of your system and generates cryptographically signed, tamper-evident reports. It integrates seamlessly with AI assistants like Claude Desktop and Cursor through the Model Context Protocol.
Content

Vygil Security Scanner

A comprehensive MCP (Model Context Protocol) security scanner for developers and startups

Vygil performs deep security audits of your system and generates cryptographically signed, tamper-evident reports. It integrates seamlessly with AI assistants like Claude Desktop and Cursor through the Model Context Protocol.

What is Vygil?

Vygil is a production-ready security scanner designed for:

  • 🔍 Comprehensive Security Auditing: Scans networks, processes, filesystems, dependencies, configurations, and containers
  • 🔐 Cryptographic Signing: Every scan report is cryptographically signed using Ed25519 signatures with SHA-256 hashing
  • 🤖 AI Integration: Exposes security scanning capabilities to AI assistants via MCP (Model Context Protocol)
  • 🚀 Developer-Friendly: Simple CLI interface and easy integration into development workflows

Vygil helps developers and security teams:

  • Identify security vulnerabilities in their local development environment
  • Detect exposed secrets, weak file permissions, and dangerous configurations
  • Audit dependencies for known vulnerabilities
  • Monitor container and network security
  • Generate tamper-evident security reports for compliance and auditing

Features

🔍 Comprehensive Security Scanning

  • Network Security: Scans open ports, firewall status, and listening services
  • Process Security: Detects suspicious processes, processes in /tmp, and secrets in environment variables
  • Filesystem Security: Checks file permissions, SUID/SGID binaries, world-writable files, and exposed secrets
  • Dependency Security: Integrates with npm audit to detect vulnerable dependencies
  • Configuration Security: Analyzes SSH configs and scans configuration files for hardcoded secrets
  • Container Security: Lists Docker containers, checks for privileged containers and exposed ports

🔐 Cryptographic Signing

Every scan report is cryptographically signed using Ed25519 signatures with SHA-256 hashing to ensure tamper-evidence and authenticity.

🤖 MCP Server Integration

Includes an MCP (Model Context Protocol) server that exposes security scanning tools to AI assistants like Claude Desktop and Cursor.

Installation

Install globally via npm:

npm install -g vygil

Or use directly with npx (no installation required):

npx vygil scan

From Source (For Developers)

# 1. Clone the repository
git clone https://github.com/vigil-xy/vigil-mcp.git
cd vigil-mcp

# 2. Install dependencies
npm install

# 3. Build the project
npm run build

# 4. (Optional) Link globally for local development
npm link

Usage

CLI Commands

Vygil provides a powerful command-line interface for security scanning:

Run a Security Scan

# Basic scan with cryptographic signing
vygil scan

# Output as JSON
vygil scan --json

# Save report to file
vygil scan -o report.json

# Skip cryptographic signing
vygil scan --no-sign

# Combined options
vygil scan --json -o report.json

Verify a Report

Verify the cryptographic signature to ensure the report hasn't been tampered with:

vygil verify report.json

Manage Cryptographic Keys

# Generate new Ed25519 key pair
vygil keys --generate

# Show your public key
vygil keys --show-public

Keys are stored in ~/.vigil/keys/ directory.

Using from Source

If you've cloned the repository:

# Run CLI directly
node build/cli.js scan

# Run with options
node build/cli.js scan --json -o report.json

# Verify a report
node build/cli.js verify report.json

# Manage keys
node build/cli.js keys --generate

MCP Server (AI Integration)

Vygil includes an MCP server that exposes security scanning tools to AI assistants.

Start the MCP Server

# If installed globally
vygil-mcp

# From source
npm start
# or
node build/index.js

Configure AI Assistant (e.g., Claude Desktop)

Add to your AI assistant's MCP configuration file:

For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "vygil": {
      "command": "vygil-mcp"
    }
  }
}

For Cursor (.cursor/mcp_config.json in your project):

{
  "mcpServers": {
    "vygil": {
      "command": "npx",
      "args": ["vygil-mcp"]
    }
  }
}

Available MCP Tools

Once configured, your AI assistant will have access to:

  • vygil.scan - Run security scan on host or repository (returns structured data)
  • vygil.scan.signed - Run security scan with cryptographic signing (returns tamper-evident results)
  • vygil.proof.sign - Sign action payloads with cryptographic proof

Example AI Prompts

Try these prompts with your AI assistant:

  • "Use vygil to scan my system for security issues"
  • "Run a signed security scan and give me a detailed report"
  • "Check for vulnerabilities on this host"
  • "Scan my development environment and identify any exposed secrets"

Security Checks

Network Security

  • ✅ Scans all open TCP/UDP ports using netstat or ss
  • ✅ Identifies dangerous ports (FTP, Telnet, MySQL, PostgreSQL, Redis, MongoDB, etc.)
  • ✅ Checks firewall status (ufw/iptables)
  • ✅ Lists listening services with lsof or netstat

Process Security

  • ✅ Lists all running processes
  • ✅ Detects suspicious processes (reverse shells: nc -l, ncat -l, socat, etc.)
  • ✅ Finds processes running from /tmp/
  • ✅ Checks for privileged/root processes
  • ✅ Scans environment variables for secrets (AWS_ACCESS_KEY, API_KEY, PASSWORD, GITHUB_TOKEN, etc.)

Filesystem Security

  • ✅ Checks sensitive file permissions: ~/.ssh/id_rsa, ~/.aws/credentials, .env files
  • ✅ Finds world-writable files in common directories
  • ✅ Finds SUID/SGID files
  • ✅ Detects exposed secret files

Dependency Security

  • ✅ Runs npm audit if package.json exists
  • ✅ Parses and reports vulnerabilities
  • ✅ Shows vulnerability severity breakdown

Configuration Security

  • ✅ Analyzes SSH configuration for security issues
  • ✅ Scans configuration files for hardcoded secrets

Container Security

  • ✅ Lists all Docker containers
  • ✅ Detects privileged containers
  • ✅ Identifies exposed dangerous ports

Development

Project Structure

vigil-mcp/
├── src/
│   ├── cli.ts              # CLI entry point
│   ├── index.ts            # MCP server entry point
│   ├── crypto/
│   │   └── keys.ts         # Cryptographic signing
│   ├── scanners/
│   │   ├── index.ts        # Main scanner orchestrator
│   │   ├── network.ts      # Network security scanner
│   │   ├── process.ts      # Process security scanner
│   │   ├── filesystem.ts   # Filesystem security scanner
│   │   ├── dependencies.ts # Dependency vulnerability scanner
│   │   ├── configuration.ts # Config security scanner
│   │   └── containers.ts   # Container security scanner
│   └── utils/
│       └── formatter.ts    # Report formatting
├── build/                  # Compiled JavaScript
└── package.json

Build Commands

# Build TypeScript to JavaScript
npm run build

# Run MCP server
npm start

# Build and run MCP server
npm run dev

Technologies

  • TypeScript - Type-safe development
  • Node.js - Runtime environment
  • Model Context Protocol SDK - AI integration
  • Commander.js - CLI interface
  • Chalk - Terminal formatting
  • Zod - Schema validation
  • Ed25519 - Cryptographic signatures
  • SHA-256 - Secure hashing

Architecture

Vygil is a dual-purpose security tool:

  1. CLI Scanner: Standalone command-line tool for comprehensive local security auditing
  2. MCP Server: Exposes security scanning capabilities to AI assistants via Model Context Protocol

The tool uses a modular scanner design where each security domain (network, processes, filesystem, etc.) is a separate module. All scans run in parallel for optimal performance, and results are aggregated into a comprehensive report with risk assessment.

Output Example

🔍 Starting Vygil Security Scan...

✅ Report cryptographically signed

═══════════════════════════════════════════════════════════
                    SECURITY SCAN REPORT                    
═══════════════════════════════════════════════════════════

SUMMARY
  Risk Level: MEDIUM
  Total Issues: 12
  Critical: 0 | High: 3 | Medium: 7 | Low: 2

─────────────────────────────────────────────────────────────
                  CRYPTOGRAPHIC SIGNATURE                     
─────────────────────────────────────────────────────────────
Algorithm: Ed25519
Hash (SHA-256): a3f2b1c8d4e5f6a7b8c9d0e1f2a3b4c5...
Signature: x9y8z7w6v5u4t3s2r1q0p9o8n7m6l5k4...
Public Key Location: ~/.vigil/keys/public.pem

📄 Full report (JSON) saved to: report.json

License

MIT

Author

Vygil Security Team

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Tavily Mcp
Serper MCP ServerA Serper MCP Server
Playwright McpPlaywright MCP server
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
DeepChatYour AI Partner on Desktop
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Amap Maps高德地图官方 MCP Server