{
  "slug": "io-github-mhaggis-security-detections-mcp",
  "name": "Security Detections",
  "auditedAt": "2026-11-16T12:54:42Z",
  "version": "3.3.4",
  "ecosystem": "npm",
  "package": "security-detections-mcp",
  "disclaimer": "Automated smoke test, not a security guarantee.",
  "complete": true,
  "checks": {
    "versionPin": {
      "status": "pass",
      "detail": "Pinned npm security-detections-mcp@3.3.4",
      "version": "3.3.4"
    },
    "vulnerabilities": {
      "status": "pass",
      "detail": "No critical, high, or medium advisories were returned.",
      "critical": 0,
      "high": 0,
      "medium": 0,
      "low": 0,
      "packagesScanned": 133
    },
    "license": {
      "status": "pass",
      "detail": "Apache-2.0",
      "spdx": "Apache-2.0"
    },
    "installScripts": {
      "status": "pass",
      "detail": "No preinstall, install, postinstall, or prepare script.",
      "scripts": []
    },
    "secrets": {
      "status": "pass",
      "detail": "No credential patterns in the published artifact.",
      "findings": []
    },
    "packageSize": {
      "status": "pass",
      "detail": "2437737 bytes",
      "bytes": 2437737
    },
    "activity": {
      "status": "pass",
      "detail": "Active 12 days ago.",
      "ageDays": 12
    },
    "sandbox": {
      "status": "pass",
      "detail": "MCP handshake completed. 80 tools listed.",
      "starts": true,
      "handshake": true,
      "timeToReadyMs": 181,
      "tools": [
        {
          "name": "search",
          "description": "Full-text search across all detection fields (name, description, query, MITRE IDs, tags, CVEs, analytic stories, process names, file paths, registry paths)"
        },
        {
          "name": "get_by_id",
          "description": "Get a single detection by its ID"
        },
        {
          "name": "get_raw_yaml",
          "description": "Get the original YAML content for a detection"
        },
        {
          "name": "list_all",
          "description": "List all detections with pagination. Use for browsing the detection index."
        },
        {
          "name": "list_by_source",
          "description": "List detections filtered by source type"
        },
        {
          "name": "list_by_mitre",
          "description": "List detections that map to a specific MITRE ATT&CK technique"
        },
        {
          "name": "list_by_logsource",
          "description": "List Sigma detections filtered by logsource (category, product, or service)"
        },
        {
          "name": "list_by_severity",
          "description": "List detections filtered by severity level"
        },
        {
          "name": "list_by_cve",
          "description": "List detections that cover a specific CVE vulnerability"
        },
        {
          "name": "list_by_analytic_story",
          "description": "List Splunk detections that belong to a specific analytic story (e.g., \"Ransomware\", \"Data Destruction\")"
        },
        {
          "name": "list_by_process_name",
          "description": "List detections that reference a specific process name (e.g., \"powershell.exe\", \"w3wp.exe\", \"cmd.exe\")"
        },
        {
          "name": "list_by_detection_type",
          "description": "List detections by type (TTP, Anomaly, Hunting, Correlation)"
        },
        {
          "name": "list_by_data_source",
          "description": "List detections that use a specific data source (e.g., \"Sysmon\", \"Windows Security\", \"process_creation\")"
        },
        {
          "name": "list_by_mitre_tactic",
          "description": "List detections by MITRE ATT&CK tactic (e.g., \"execution\", \"persistence\", \"credential-access\")"
        },
        {
          "name": "list_by_kql_category",
          "description": "List KQL detections filtered by category (e.g., \"Defender For Endpoint\", \"Azure Active Directory\", \"Threat Hunting\")"
        },
        {
          "name": "list_by_kql_tag",
          "description": "List KQL detections filtered by tag (e.g., \"ransomware\", \"hunting\", \"ti-feed\")"
        },
        {
          "name": "list_by_kql_datasource",
          "description": "List KQL detections that use a specific Microsoft data source (e.g., \"DeviceProcessEvents\", \"SigninLogs\", \"EmailEvents\")"
        },
        {
          "name": "get_stats",
          "description": "Get statistics about the indexed detections and stories"
        },
        {
          "name": "get_technique_ids",
          "description": "Get ONLY unique MITRE technique IDs (lightweight - no full detection data). Use this for Navigator layer generation or coverage analysis."
        },
        {
          "name": "analyze_coverage",
          "description": "Get coverage analysis with stats by tactic, top covered techniques, and weak spots. Returns summary data, not raw detections. Use this instead of listing detections and processing manually."
        },
        {
          "name": "identify_gaps",
          "description": "Identify detection gaps based on a threat profile (ransomware, apt, initial-access, persistence, credential-access, defense-evasion). Returns prioritized gaps with recommendations."
        },
        {
          "name": "suggest_detections",
          "description": "Get detection suggestions for a specific technique. Returns existing detections, required data sources, and detection ideas."
        },
        {
          "name": "generate_navigator_layer",
          "description": "Generate a MITRE ATT&CK Navigator layer JSON from detection coverage. Returns valid Navigator JSON ready for import at https://mitre-attack.github.io/attack-navigator/. Filter by source, tactic, or severity."
        },
        {
          "name": "analyze_procedure_coverage",
          "description": "Analyze procedure-level coverage for a MITRE technique. Goes beyond \"we cover T1059.001\" to show WHICH specific behaviors/procedures your detections actually catch (e.g., encoded commands, download cradles, AMSI bypass). Shows covered and u"
        },
        {
          "name": "compare_procedure_coverage",
          "description": "Compare procedure-level detection coverage across sources for a technique. Shows which source catches which specific behaviors \u2014 two orgs can both tag T1059.001 but detect completely different procedures. Returns a matrix of source \u00d7 proced"
        },
        {
          "name": "get_detection_list",
          "description": "Get a lightweight list of detection names and IDs matching a search query. Returns ONLY name, id, source, mitre_ids - no queries or raw yaml. Use this when you need a simple list."
        },
        {
          "name": "compare_sources",
          "description": "Compare detection coverage between sources (Sigma vs Splunk vs Elastic vs KQL) for a topic. Returns a clean breakdown with counts and names per source."
        },
        {
          "name": "count_by_source",
          "description": "Get quick counts of detections by source for a topic. Returns just the numbers, no detection details."
        },
        {
          "name": "list_by_name_pattern",
          "description": "List detections whose NAME matches a pattern, grouped by source. Returns just name + ID pairs."
        },
        {
          "name": "smart_compare",
          "description": "Compare detections across sources, tactics, or techniques for a given topic. Returns breakdown by source, tactic, and severity."
        },
        {
          "name": "get_coverage_summary",
          "description": "Get a lightweight coverage summary (~200 bytes) with tactic percentages. Use this for quick overviews instead of full analyze_coverage."
        },
        {
          "name": "get_top_gaps",
          "description": "Get just the top 5 gaps (~300 bytes) for a threat profile. Use this for quick gap checks."
        },
        {
          "name": "get_technique_count",
          "description": "Get just the detection count for a technique (~50 bytes). Use this for quick coverage checks."
        },
        {
          "name": "analyze_actor_coverage",
          "description": "Analyze detection coverage against a specific threat actor. Shows which of the actor's known MITRE ATT&CK techniques have detections, coverage percentage, and prioritized gaps. Requires STIX data (ATTACK_STIX_PATH env var)."
        },
        {
          "name": "list_actors",
          "description": "List all known MITRE ATT&CK threat actors with aliases and technique counts. Requires STIX data (ATTACK_STIX_PATH env var)."
        },
        {
          "name": "compare_actor_coverage",
          "description": "Compare detection coverage across multiple threat actors. Shows shared technique gaps and unique risks per actor. Requires STIX data (ATTACK_STIX_PATH env var)."
        },
        {
          "name": "get_actor_profile",
          "description": "Get full threat actor dossier: description, aliases, known techniques, software employed, and detection coverage status. Requires STIX data (ATTACK_STIX_PATH env var)."
        },
        {
          "name": "search_stories",
          "description": "Search analytic stories by narrative, description, or name. Stories provide rich context about threat campaigns and detection strategies."
        },
        {
          "name": "get_story",
          "description": "Get detailed information about a specific analytic story by name"
        },
        {
          "name": "list_stories",
          "description": "List all analytic stories with pagination"
        },
        {
          "name": "list_stories_by_category",
          "description": "List analytic stories by category (e.g., \"Malware\", \"Adversary Tactics\", \"Abuse\")"
        },
        {
          "name": "save_query",
          "description": "Save a query result for quick retrieval later. Useful for caching frequently needed data."
        },
        {
          "name": "get_saved_query",
          "description": "Retrieve a previously saved query result by name."
        },
        {
          "name": "list_saved_queries",
          "description": "List all saved queries, optionally filtered by type."
        },
        {
          "name": "rebuild_index",
          "description": "Force re-index all detections and stories from configured paths. WARNING: This is a destructive operation that deletes the current index."
        },
        {
          "name": "save_template",
          "description": "Save a reusable query template with {{placeholders}}. Templates can contain SQL queries or tool-chain definitions for future execution."
        },
        {
          "name": "run_template",
          "description": "Execute a saved query template with the provided parameters. Returns the query results."
        },
        {
          "name": "list_templates",
          "description": "List all saved query templates with their names, descriptions, and usage statistics."
        },
        {
          "name": "get_template",
          "description": "Get the full details of a saved query template including the template string and parameters."
        },
        {
          "name": "delete_template",
          "description": "Delete a saved query template by name."
        },
        {
          "name": "create_table",
          "description": "Create a new custom table to store analysis data. Use this to persist findings, research results, or any structured data you want to retrieve later.\n\nPre-built tables available: gap_analyses, source_comparisons, threat_actor_profiles, detec"
        },
        {
          "name": "insert_row",
          "description": "Insert a row of data into a dynamic table. Data is validated against the table schema."
        },
        {
          "name": "query_table",
          "description": "Query data from a dynamic table with optional filtering, sorting, and pagination.\n\nFilter examples:\n- Exact match: {\"status\": \"completed\"}\n- LIKE match: {\"name\": \"%ransomware%\"}\n- Multiple conditions: {\"status\": \"pending\", \"priority\": \"high"
        },
        {
          "name": "list_tables",
          "description": "List all dynamic tables created by the LLM, including pre-built analysis tables and their statistics."
        },
        {
          "name": "drop_table",
          "description": "Remove a dynamic table and all its data. Use with caution - this is irreversible."
        },
        {
          "name": "describe_table",
          "description": "Get detailed schema information and statistics for a dynamic table."
        },
        {
          "name": "create_entity",
          "description": "Create a knowledge entity representing a security concept. Use this to build the knowledge graph with threat actors, techniques, detections, campaigns, tools, vulnerabilities, and data sources.\n\nEntity types:\n- threat_actor: APT groups, cri"
        },
        {
          "name": "create_relation",
          "description": "Create a relationship between two entities WITH reasoning explaining WHY they're connected. This is the core of tribal knowledge - capturing not just the connection but the insight behind it.\n\nRelation types:\n- uses: Threat actor uses techn"
        },
        {
          "name": "add_observation",
          "description": "Add a fact or observation about an entity. Observations capture point-in-time knowledge that can be queried later.\n\nExamples:\n- \"APT29 has been active since at least 2008\"\n- \"This detection has high false positives in development environmen"
        },
        {
          "name": "delete_entity",
          "description": "Remove an entity from the knowledge graph. This also removes all relations and observations associated with the entity."
        },
        {
          "name": "delete_observation",
          "description": "Remove a specific observation by its ID. Use open_entity first to find observation IDs."
        },
        {
          "name": "search_knowledge",
          "description": "Search across all knowledge types: entities, relations, observations, decisions, and learnings. Uses full-text search to find relevant tribal knowledge.\n\nSearch examples:\n- \"PowerShell execution\" - Find everything related to PowerShell\n- \"c"
        },
        {
          "name": "read_graph",
          "description": "Read the entire knowledge graph or a filtered subgraph. Returns entities, relations, and observations.\n\nUse this to:\n- Get an overview of all stored knowledge\n- Filter by entity type to focus on specific concepts\n- Understand the structure "
        },
        {
          "name": "open_entity",
          "description": "Get complete information about a specific entity including all its relations and observations. This is the detailed view of a single knowledge node."
        },
        {
          "name": "log_decision",
          "description": "Record WHY a significant decision was made. This is the gold of tribal knowledge - capturing the reasoning process so future agents can understand past decisions.\n\nDecision types:\n- gap_identified: A detection gap was found\n- detection_reco"
        },
        {
          "name": "add_learning",
          "description": "Store a pattern or insight derived from analysis for future reference. Learnings are reusable knowledge that can help future sessions.\n\nLearning types:\n- detection_pattern: A pattern for writing effective detections\n- gap_pattern: A recurri"
        },
        {
          "name": "get_relevant_decisions",
          "description": "Get past decisions relevant to the current context. Uses full-text search to find tribal knowledge that applies to your current analysis.\n\nUse this to:\n- See how similar situations were handled before\n- Understand reasoning behind past reco"
        },
        {
          "name": "get_learnings",
          "description": "Get applicable learnings for the current task. Returns patterns and insights that may help with the current analysis.\n\nUse this to:\n- Apply proven patterns to new situations\n- Remember user preferences\n- Avoid known pitfalls"
        },
        {
          "name": "auto_analyze_coverage",
          "description": "Automatically analyze detection coverage, identify gaps across threat profiles, and store findings for future reference.\n\nThis tool:\n1. Runs coverage analysis across all detections\n2. Identifies gaps for specified threat profiles (ransomwar"
        },
        {
          "name": "auto_gap_report",
          "description": "Generate a comprehensive gap report comparing detection coverage across sources (Sigma, Splunk ESCU, Elastic, KQL) and threat profiles.\n\nThis tool:\n1. Analyzes all threat profiles for gaps\n2. Compares detection coverage across different sou"
        },
        {
          "name": "auto_compare_sources",
          "description": "Autonomously compare detection coverage across different sources (Sigma, Splunk ESCU, Elastic, KQL) with detailed reasoning and analysis.\n\nThis tool:\n1. Compares detection counts and coverage across all available sources\n2. Analyzes techniq"
        },
        {
          "name": "llm_enhanced_analysis",
          "description": "Request LLM-enhanced analysis of security detection data using MCP sampling.\n\nThis tool leverages MCP sampling to request the client's LLM to analyze security data with expert reasoning. Unlike the auto_* tools that perform direct analysis,"
        },
        {
          "name": "check_sampling_status",
          "description": "Check if MCP sampling is available for LLM-enhanced analysis.\n\nSampling allows the server to request LLM completions from the client, enabling richer autonomous analysis. Not all MCP clients support this feature.\n\nUse this tool to check cap"
        },
        {
          "name": "get_query_patterns",
          "description": "Get common query patterns for a MITRE technique based on existing detections. Returns SPL structure, common fields, macros used, and example queries. Use this before writing a detection to learn the conventions."
        },
        {
          "name": "get_field_reference",
          "description": "Get available fields for a Splunk data model with usage examples. Use this to understand what fields are available when writing a detection query."
        },
        {
          "name": "get_macro_reference",
          "description": "Get common Splunk macros and their usage patterns. Essential for writing detections that follow repository conventions."
        },
        {
          "name": "find_similar_detections",
          "description": "Find existing detections similar to what you want to create. Use this to learn from existing detection logic and structure."
        },
        {
          "name": "suggest_detection_template",
          "description": "Generate a detection template based on technique, learned patterns, and conventions. Returns YAML structure ready for customization."
        },
        {
          "name": "generate_rba_structure",
          "description": "Generate RBA (Risk-Based Alerting) structure for a detection based on learned patterns and best practices."
        },
        {
          "name": "extract_patterns",
          "description": "Extract and store patterns from all indexed detections. Run this to populate the pattern database for template generation."
        }
      ],
      "toolCount": 80,
      "resourceCount": 9,
      "promptCount": 11,
      "stderrExcerpt": "[tools] Registry initialized with 81 tools\n[tools] - Detections: 37\n[tools] - Stories: 4\n[tools] - Cache: 4\n[tools] - Meta: 5\n[tools] - Dynamic: 6\n[tools] - Knowledge: 12\n[tools] - Autonomous: 5\n[tools] - Engineering: 8\n[security-detections-mcp] 81 tools registered\n[security-detections-mcp] Modules: detections(37), stories(4), cache(4), meta(5), dynamic(6), knowledge(12), autonomous(5), engineering(8)\n[security-detections-mcp] Server started (v3.3.4 - Advanced MCP Features)",
      "network": "disabled",
      "networkAttemptedWhileOffline": false,
      "outboundHosts": [],
      "requiresCredentials": false
    }
  },
  "tier": "gold",
  "tierReason": "Sandbox handshake completed and the published checks passed.",
  "logExcerpt": "[tools] Registry initialized with 81 tools\n[tools] - Detections: 37\n[tools] - Stories: 4\n[tools] - Cache: 4\n[tools] - Meta: 5\n[tools] - Dynamic: 6\n[tools] - Knowledge: 12\n[tools] - Autonomous: 5\n[tools] - Engineering: 8\n[security-detections-mcp] 81 tools registered\n[security-detections-mcp] Modules: detections(37), stories(4), cache(4), meta(5), dynamic(6), knowledge(12), autonomous(5), engineering(8)\n[security-detections-mcp] Server started (v3.3.4 - Advanced MCP Features)"
}