Skip to main content

Canonical taxonomy and cross-project adapters for the MCP security ecosystem

Project description

mcp-taxonomy

Canonical classification taxonomy for the MCP security ecosystem.

Provides shared enums, types, and cross-project adapters so findings from palisade-scanner, MCPGuard, MCPwn, and agentgate can be correlated, compared, and displayed in a unified view (MCPscop).

Quick Start

from mcp_taxonomy import (
    AttackCategory, Severity, Confidence, DetectionMethod,
    palisade_finding_to_taxonomy,
    mcpguard_event_to_taxonomy,
    mcpwn_finding_to_taxonomy,
    agentgate_signal_to_taxonomy,
)

# Normalize findings from any tool into a common TaxonomyEvent
event = palisade_finding_to_taxonomy({
    "category": "jailbreak",
    "detector": "injection_patterns",
    "severity": "high",
    "confidence": 0.9,
    "title": "Jailbreak detected",
})

print(event.attack_category)  # AttackCategory.JAILBREAK
print(event.severity)         # Severity.HIGH
print(event.source)           # "palisade-scanner"

Taxonomy

Attack Categories (20)

Category Default Severity
rce critical
command_injection critical
sql_injection critical
malware critical
exfiltration high
tool_poisoning high
ssrf high
jailbreak high
injection high
scareware high
policy_violation medium
impersonation medium
stego medium
resource_scan medium
unicode_attack medium
encoded_payload medium
anomaly medium
crawl low
homoglyph low
misconfiguration low

Severity (5 levels)

critical (25) > high (10) > medium (3) > low (1) > info (0)

Detection Methods (22)

Hidden text, injection patterns, metadata, exfiltration, unicode advanced, stego markers, entropy, image stego, instruction classifier (palisade-scanner), prompt injection, jailbreak patterns, tool poisoning, resource prompt, stego detector, anomaly detector (MCPGuard), injection tester, prompt fuzzer, tool analysis, tool poisoning fuzzer, SSRF tester, SQLi tester, RCE blind tester, A2A scanner (MCPwn), known/suspicious UA, rate/honeypot (agentgate).

Adapters

Function Input Source
palisade_finding_to_taxonomy() dict or Finding object palisade-scanner
mcpguard_event_to_taxonomy() dict or SecurityEvent MCPGuard
mcpwn_finding_to_taxonomy() dict or Finding object MCPwn
agentgate_signal_to_taxonomy() signal type + metadata agentgate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_taxonomy-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_taxonomy-0.1.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file mcp_taxonomy-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_taxonomy-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for mcp_taxonomy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bbf5294bb41840fdaad028d5df5a5957944e7ef4f2762de5bfbc145fb2d526e1
MD5 3b39d47789281d9bbb49beb3bee95403
BLAKE2b-256 01161bb2f516a9ba4da7ed3a19fc4a20d0acdd9fb81f1f2fecd064783bb129c9

See more details on using hashes here.

File details

Details for the file mcp_taxonomy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_taxonomy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for mcp_taxonomy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 426125fd0c5bfb7c4a7de8a9d7a1f858356fa33cd28c436c7d778bad0b132d07
MD5 0c08d077d652cd202f597819c20d14b3
BLAKE2b-256 c8ea07243678c572aea6fda35a1a9c3b8ee43822edd0ba153d004a0bb27770bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page