M ManySignal
Detection Pack AI & MCP

AI & MCP Detection Pack

31 detection rules for AI model APIs, LLM gateways, and Model Context Protocol servers — covering prompt injection, API key exposure, MCP tool abuse, model weight exfiltration, and AI supply chain attacks.

Pack summary

Detection rules
31
Critical severity
10
Platforms covered
8+
ATT&CK techniques
10

What's included

31 rules across 5 threat categories for AI and MCP security.

MCP Server Threats 10 rules

Tool scope violations, credential tool access, filesystem path traversal, shell command abuse, resource enumeration.

LLM Gateway & API 10 rules

Prompt injection, system prompt extraction, PII in prompts, anomalous token volume, SSRF via input.

AI Supply Chain 6 rules

Model artifact replacement, unverified model downloads, training data poisoning, weight exfiltration.

Credential & Secret Exposure 3 rules

API key exposure in repositories and logs, unauthenticated tool API access.

Resource Abuse 2 rules

GPU container from user namespace, API budget exhaustion (DoS pattern).

Detection rules (20 of 31 shown)

Showing 20 representative rules. All 31 rules activate with one click.

Rule name Severity
LLM Gateway — Prompt Injection Pattern Detected High
OpenAI API Key Exposed in Repository or Logs Critical
AI Model API — Anomalous Token Volume High
MCP Server — Tool Invocation Outside Allowed Scope High
MCP Server — Credential or Secret Tool Access by Unexpected Client Critical
AI Workload — Container with GPU Access Spawned from User Namespace High
LLM API — System Prompt Extracted via Model Inversion High
AI Model Registry — Model Artifact Replaced Critical
MCP Server — Resource List Enumeration Without Tool Execution Medium
AI Training Job — Data Poisoning — Unexpected Dataset Modification Critical
LLM Sidecar — Exfiltration via Model Output High
AI Gateway — Unauthenticated Request to Internal Tool API Critical
OpenAI / Anthropic API — Requests from Unexpected Source IP High
MCP Server — Filesystem Tool Accessed Outside Allowed Paths Critical
AI Model Serving Endpoint — SSRF via User Input Critical
Hugging Face Model Downloaded from Unverified Publisher High
AI API Budget Exhausted — Denial of Service Pattern Medium
MCP Server — Shell Tool Invoked with Unexpected Command Critical
AI Workload — Exfiltration of Model Weights Critical
LLM Gateway — Personally Identifiable Information in Prompt High

Prerequisites

  • LLM gateway or API proxy configured to forward request/response metadata (not full content) to ManySignal
  • MCP servers instrumented with the MCP logging capability or a sidecar log forwarder
  • Model registry (MLflow, Weights and Biases, Hugging Face Hub) API access for model artifact monitoring
  • Cloud storage monitoring (S3, Azure Blob, GCS) enabled for model weight exfiltration detection

AI & MCP Detection Pack: frequently asked questions

What is the MCP (Model Context Protocol) and why does it need security monitoring?

Model Context Protocol is an open standard (published by Anthropic) that allows AI agents to connect to external tools, data sources, and services. MCP servers expose tools that agents call on behalf of users — including filesystem access, database queries, email, and code execution. A compromised or misconfigured MCP server can give an AI agent — or a malicious user exploiting prompt injection — access to sensitive systems with the permissions of the MCP server's service account.

How does ManySignal monitor MCP server activity?

ManySignal ingests MCP server logs via the standard MCP logging output or a sidecar log forwarder. MCP servers that implement the logging capability send tool invocation events (client identity, tool name, arguments, and response metadata) to ManySignal. Detection rules analyse tool access patterns, argument content, and client identity against expected usage baselines.

Can ManySignal detect prompt injection attacks?

Yes — indirectly. ManySignal does not read LLM model output in real time by default. Instead, it monitors the LLM gateway layer (AWS Bedrock gateway, Azure OpenAI gateway, or custom API gateway) for known prompt injection patterns in request payloads. Direct detection of injection in model responses requires LLM gateway integration with response scanning enabled.

What AI platforms does this detection pack cover?

The pack covers OpenAI API, Anthropic Claude API, Google Gemini API (Vertex AI), AWS Bedrock, Azure OpenAI Service, and self-hosted models served via Ollama, vLLM, or LiteLLM gateway. For model registries, coverage includes MLflow, Weights and Biases, and Hugging Face Hub. MCP server coverage is framework-agnostic.

How does ManySignal detect AI model weight exfiltration?

Model weight exfiltration is detected through storage access monitoring. Large files with model weight extensions (.safetensors, .gguf, .bin, .pt, .pkl) copied to external cloud storage, downloaded via HTTP, or accessed from unexpected user accounts trigger high-severity alerts. The detection correlates storage events with the accessing user's role and expected job function.

Secure your AI workloads and MCP server infrastructure

31 detection rules for LLM gateways, MCP servers, and AI model registries — covering prompt injection, tool abuse, and model weight exfiltration.