Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

AegisGate MCP

Latest version: v1.5.1

Overview

Last scanned
11 Oct 2026
Published
11 Oct 2026
MCP server Transport: stdio Publisher: aegisgatesecurity
0 Stars
0 Forks
6 Versions
Go Repo language

Scan summary

AegisGate MCP was last scanned on 11 Oct 2026 at version 1.5.1. Risk score 20 of 100 (low). No malicious behavior was detected.

  • Releases: 6 versions; the latest 5 were published within 3 days (9–11 Oct 2026).
  • Findings: 1 rule fired in version 1.5.1 (1 medium). The score describes this version only.
  • MCP server: Runs over stdio.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.5.1 LATEST 11 Oct 2026 1 rule fired
1.5.0 11 Oct 2026 1 rule fired
1.4.2 9 Oct 2026 1 rule fired
1.4.1 9 Oct 2026 Not shown
1.4.0 9 Oct 2026 Not shown

Rules fired in 1.5.1: 1

Findings

1 Medium

Findings for v1.5.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Mass-delete command (install run not confirmed)

A file contains a mass-destructive command, such as a recursive delete of the home or root directory. The scanner found no install manifest it could use for this package (such as a top-level package.json, setup.py or pyproject.toml), so it could not confirm whether this code runs automatically on install. Treat it as needing review.

MEDIUM
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 1.5.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

🛡️ AegisGate MCP

Secure MCP server framework — 23 layers of defense, zero dependencies.

A hardened, zero-dependency MCP server written in pure Go. Build your MCP server on a foundation that has security built in from line one — not bolted on after a breach.

Apache 2.0 · 23 security layers · 30 regex patterns + CharCNN-BiLSTM (v13) ML detection · Zero CVEs · Zero external module dependencies

License: Apache 2.0 Go Version Coverage Dependencies Docker ML Arch CI Security Patent Pending

MCP Registry

Quick Start · Security Layers · RBAC · Architecture · Protocol · Docs · Releases

GitHub stars — If AegisGate MCP helps you secure your AI agents, please consider ⭐ starring this repo. It helps others discover it.

AegisGate Security™ is a trademark of AegisGate Security, LLC, filed with the USPTO. "AegisGate MCP" is an unregistered product name. See Trademark below.


Why AegisGate MCP?

38% of MCP servers have no authentication. 590+ security advisories. 3 critical CVEs in the official MCP SDKs in 6 months — including CVSS 9.8 remote code execution and the "Mother of All AI Supply Chains" flaw affecting 150M+ downloads.

The official MCP SDKs give you the protocol. They don't give you security. No authentication. No audit logging. No threat detection. No rate limiting. No RBAC. Every server built on a bare SDK starts with a blank security posture and it's on you to build it — or skip it, as 38% of servers do.

AegisGate MCP is the secure alternative. Build your MCP server on a foundation that has security built in from line one — not bolted on after a breach.

Official MCP SDKs AegisGate MCP
Authentication ❌ Bring your own ✅ Bearer tokens + API keys + lockout
Authorization ❌ Nothing ✅ 4-tier RBAC with per-tool permissions
Audit logging ❌ Nothing ✅ Tamper-evident SHA-256 hash chain
Threat detection ❌ Nothing ✅ 30 regex patterns + neural ML (\<1ms)
Supply chain risk ❌ npm/PyPI deps ✅ Zero dependencies (Go stdlib only)
CVEs 3 critical in 6 months Zero. Ever.
License MIT Apache 2.0

23 security layers. Zero dependencies. Zero CVEs. Apache 2.0.

Need proxy mode, OAuth, SIEM, or compliance frameworks? See When to Upgrade to AegisGate Platform below — or explore AegisGate Rampart for local AI API proxy protection.


Overview

AegisGate MCP is a hardened, zero-dependency MCP server written in pure Go. It sits between AI agents and the tools they call, applying 23 layers of defense to every request — from authentication and RBAC to neural threat detection and chain analysis.

Standard MCP servers assume a trusted local environment. In production — whether that's a cloud SaaS platform, an enterprise data pipeline, or an air-gapped plant network — agents may execute commands, query databases, or interact with critical systems. A single unauthorized or malicious tool call can cause data exfiltration, process disruption, or worse. AegisGate MCP wraps every tool call in defense-in-depth, all with zero external module dependencies so it can run air-gapped.

Version 1.5.1
License Apache-2.0
Go version 1.26+
Module deps Zero (no require directives — all third-party code vendored)
Docker image debian:bookworm-slim, ~135 MB (ML-enabled) or ~8 MB (heuristic-only)
Architectures amd64, arm64
ML model CharCNN-BiLSTM v13, 1.6M params, \<1ms CPU inference
Tests 611 unit/integration + 32 load/stress = 643 total, 14 benchmarks, 3 fuzz targets, 92.0% coverage (non-CGO) / 91.9% (CGO)

Quick Start

Build
go build -o mcp-server ./cmd/mcp-server
Run
# Basic TCP server on :8081
./mcp-server

# With authentication and audit logging
./mcp-server --token my-secret --audit /var/log/mcp-audit.json

# With demo tools (ping, system_info, echo)
./mcp-server --demo

# stdio mode for local MCP clients (Claude Desktop, Cursor)
./mcp-server --transport stdio --demo

# Streamable HTTP mode (MCP 2025-06-18)
./mcp-server --transport http --addr :8081 --demo

# TLS + mutual TLS
./mcp-server --tls --tls-cert server.pem --tls-key server.key --tls-client-ca ca.pem

# Config file + health endpoint
./mcp-server --config /etc/mcp/config.json --health-addr :8082
Docker
# Build and run (ML-enabled, ~135 MB)
docker build -t aegisgate-mcp .
docker run -p 8081:8081 aegisgate-mcp --demo

# With authentication and audit logging
docker run -p 8081:8081 \
  -e MCP_AUTH_TOKEN=your-secret-token \
  -e MCP_DEMO_TOOLS=true \
  aegisgate-mcp

# Heuristic-only build (no CGO, ~8 MB)
docker build --build-arg CGO_ENABLED=0 -t aegisgate-mcp:lite .
docker run -p 8081:8081 aegisgate-mcp:lite --demo

The default Docker image uses debian:bookworm-slim with CGO enabled, including the vendored ONNX Runtime and CharCNN-BiLSTM v13 model for full neural threat detection. A --build-arg CGO_ENABLED=0 variant produces a smaller heuristic-only image. Multi-arch builds support both linux/amd64 and linux/arm64.

ML Threat Detection (L3)

AegisGate MCP includes the same CharCNN-BiLSTM v13 neural model used by AegisGate Platform and Rampart — vendored with zero external module dependencies. The model provides:

  • Semantic attack detection — catches prompt injection and jailbreak attempts that bypass regex pattern matching
  • Evasion resistance — detects obfuscation techniques (leetspeak, Unicode homoglyphs, character transposition, vowel deletion, word reversal)
  • Two-tier blocking — scores ≥0.95 block independently; scores 0.50–0.94 block only if L1 (regex) or L2 (input scanner) corroboration is present
  • Shadow mode — log predictions without blocking (for calibration)
  • Heuristic fallback — when CGO is unavailable, heuristic scoring provides baseline detection without ONNX
Flag Env Var Default Description
--ml MCP_ML_ENABLED false (CLI) / true (Docker) Enable neural threat detection
--ml-shadow MCP_ML_SHADOW false Log predictions but never block
--ml-threshold MCP_ML_THRESHOLD 0.50 Threat score threshold (0.0–1.0)
--ml-model MCP_ML_MODEL ./models/threat_cnn_bilstm.onnx Path to ONNX model file
Library Usage

AegisGate MCP can be embedded as a Go library:

package main

import (
    "context"
    "log"
    mcp "github.com/aegisgatesecurity/aegisgate-mcp"
)

func main() {
    cfg := mcp.DefaultServerConfig()
    cfg.AuthToken = "my-secret-token"
    cfg.AuditLogPath = "/var/log/mcp-audit.json"
    cfg.RateLimitRPM = 120
    cfg.ScanResponses = true

    server, err := mcp.NewSecuredMCPServer(cfg)
    if err != nil {
        log.Fatal(err)
    }

    // Register a custom tool
    // Note: tools are automatically scanned for prompt-injection poisoning
    // at registration time. If the description or inputSchema contains
    // malicious patterns, RegisterTool returns *ToolPoisoningError.
    server.RegisterTool("my_tool", "Does something useful", 40, map[string]interface{}{
        "type": "object",
        "properties": map[string]interface{}{
            "param1": map[string]interface{}{"type": "string"},
        },
        "required": []interface{}{"param1"},
    })
    server.RegisterToolHandler("my_tool", func(ctx context.Context, params map[string]interface{}) (interface{}, error) {
        return "result", nil
    })

    // Register a resource (MCP resources/list, resources/read)
    server.RegisterResource("config://app/info", "App Info", "App config as JSON", "application/json",
        func(ctx context.Context, uri string) (*mcp.ResourceContent, error) {
            return &mcp.ResourceContent{URI: uri, Text: `{"version":"1.0"}`, MimeType: "application/json"}, nil
        })

    // Register a prompt (MCP prompts/list, prompts/get)
    server.RegisterPrompt("code_review", "Generate a code review prompt",
        []mcp.PromptArgument{{Name: "filename", Required: true}},
        func(ctx context.Context, args map[string]string) (*mcp.GetPromptResult, error) {
            return &mcp.GetPromptResult{
                Messages: []mcp.PromptMessage{{Role: "user", Content: "Review " + args["filename"]}},
            }, nil
        })

    // Load built-in policy rules
    server.LoadDefaultPolicies()

    // Start the server
    if err := server.Start(context.Background()); err != nil {
        log.Fatal(err)
    }
    defer server.Stop()
}

See examples/simple-server/ for a complete working example that registers a tool, resource, and prompt.

ML Model Hot-Swap

Reload the neural threat detection model at runtime without restarting the server:

// Swap to a new ONNX model file (verifies SHA-256 hash)
err := server.ReloadMLModel("/path/to/new_model.onnx")
if err != nil {
    log.Printf("model reload failed: %v", err)
}
Tool Poisoning Detection

All tools registered via RegisterTool() are automatically scanned for prompt injection in their descriptions and inputSchema. To scan manually:

err := server.ScanToolForPoisoning("my_tool", description, inputSchema)
if err != nil {
    // err is *ToolPoisoningError — do not register this tool
}

Security Layers

AegisGate MCP applies 23 security layers to every request, in order:

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.aegisgatesecurity/aegisgate-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229