Vigil - AI Security Audit and Cryptographic Proof
About
Security scanner for developers and startups.
Details
- Author
- vigil-xy
- Downloads
- 235
- Categories
- Other, Security, Infrastructure, Developer Tools
Jump to
- Comprehensive security scanning across six domains
- Cryptographically signed reports with Ed25519 and SHA-256
- MCP server integration for AI assistants (Claude, Cursor)
- CLI interface with scan, verify, and key management commands
- Tamper-evident reports for compliance and auditing
- Modular scanner design with parallel execution
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Vigil - AI Security Audit and Cryptographic ProofCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install globally via npm (npm install -g vygil) or run directly with npx (npx vygil scan). Use the CLI: vygil scan (basic scan), vygil scan --json -o report.json (JSON output saved to file), vygil verify report.json (verify cryptographic signature), and vygil keys --generate (generate key pair). To expose scanning tools to AI assistants, start the MCP server with vygil-mcp and configure the assistant’s MCP settings (e.g., add to Claude Desktop’s claude_desktop_config.json).
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"vigil - ai security audit and cryptographic proof": {
"vigil-mcp": {
"command": "npx",
"args": [
"vygil",
"scan"
]
}
}
}
}
McpServers
{
"vigil-mcp": {
"command": "npx",
"args": [
"vygil",
"scan"
]
}
}
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
Quick Install (Recommended)
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 netstatProcess 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 filesDependency Security
- ✅ Runs npm audit if package.json exists - ✅ Parses and reports vulnerabilities - ✅ Shows vulnerability severity breakdownConfiguration Security
- ✅ Analyzes SSH configuration for security issues - ✅ Scans configuration files for hardcoded secretsContainer Security
- ✅ Lists all Docker containers - ✅ Detects privileged containers - ✅ Identifies exposed dangerous portsDevelopment
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
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



