MHaggis/Security-Detections-MCP
MCP to help Defenders Detection Engineer Harder and Smarter
0df47c0d51c6security-detections-mcp3.3.0 in package.jsonio.github.MHaggis/security-detections-mcpPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 110 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 1 file exceeded the 524288 byte size limit and were parsed only up to it
- 34 source files could be read only in part
- 3 of 28 tools, prompts and resources could not be followed through the code
- 3 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 26 tools, 1 prompt, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
analyze_coverage, get_coverage_summaryanalyze_coverage, get_coverage_summaryanalyze_coverage, get_coverage_summaryNo tool was seen to: start other programs on the machine; read or write files; connect to the internet or other hosts.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (28: 26 tools, 1 prompt, 1 resource)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)prompt
No description.
(name computed at run time)resource
No description.
(name computed at run time)tool
No description.
analyze_actor_coveragetool Deep intelligence about a threat actor: per-tactic coverage breakdown, covered techniques with detection counts, and all uncovered technique gaps.
Deep intelligence about a threat actor: per-tactic coverage breakdown, covered techniques with detection counts, and all uncovered technique gaps.
analyze_coveragetool Alias for get_coverage_summary — returns the same comprehensive coverage report.CredentialsEnv varsSensitive paths
Alias for get_coverage_summary — returns the same comprehensive coverage report.
compare_actor_coveragetool Compare two or more threat actors side-by-side: total techniques, coverage %, shared gaps, unique gaps.
Compare two or more threat actors side-by-side: total techniques, coverage %, shared gaps, unique gaps.
compare_sourcestool Cross-source comparison for a MITRE technique: how many detections does each source (Sigma, Splunk, Elastic, KQL, Sublime, CQL) have for this technique, and whi
Cross-source comparison for a MITRE technique: how many detections does each source (Sigma, Splunk, Elastic, KQL, Sublime, CQL) have for this technique, and which sources have no coverage.
generate_navigator_layertool Generate a MITRE ATT&CK Navigator JSON layer showing covered techniques. Output can be pasted directly into the Navigator web app.
Generate a MITRE ATT&CK Navigator JSON layer showing covered techniques. Output can be pasted directly into the Navigator web app.
get_actor_profiletool Get a full profile for a threat actor: description, aliases, technique list, and detection coverage %.
Get a full profile for a threat actor: description, aliases, technique list, and detection coverage %.
get_by_idtool Get full details for a single detection by its ID (Sigma UUID or Splunk/Elastic slug).
Get full details for a single detection by its ID (Sigma UUID or Splunk/Elastic slug).
get_coverage_summarytool Get overall MITRE ATT&CK coverage summary — total techniques, covered techniques, coverage %, breakdowns by source and tactic, weakest/strongest tactics.CredentialsEnv varsSensitive paths
Get overall MITRE ATT&CK coverage summary — total techniques, covered techniques, coverage %, breakdowns by source and tactic, weakest/strongest tactics.
get_raw_yamltool Get the original YAML content for a detection (useful for copying the rule verbatim).
Get the original YAML content for a detection (useful for copying the rule verbatim).
get_statstool Get summary statistics about the indexed detection corpus (total detections, per-source counts, last sync).
Get summary statistics about the indexed detection corpus (total detections, per-source counts, last sync).
get_technique_fulltool Full technique detail: all covering detections (paginated), actors using it, procedures, per-source breakdown.
Full technique detail: all covering detections (paginated), actors using it, procedures, per-source breakdown.
get_technique_intelligencetool Deep intelligence for a single MITRE technique ID: detections by source, actors using it, related sub-techniques, coverage gaps.
Deep intelligence for a single MITRE technique ID: detections by source, actors using it, related sub-techniques, coverage gaps.
identify_gapstool Identify detection gaps for a specific threat profile (ransomware, apt, initial-access, persistence, credential-access, defense-evasion). Returns prioritized un
Identify detection gaps for a specific threat profile (ransomware, apt, initial-access, persistence, credential-access, defense-evasion). Returns prioritized uncovered techniques.
list_actorstool List or search MITRE ATT&CK threat actors. Pass a query to search by name or alias.
List or search MITRE ATT&CK threat actors. Pass a query to search by name or alias.
list_alltool List detections with pagination. Prefer search() or list_by_* filters for targeted queries.
List detections with pagination. Prefer search() or list_by_* filters for targeted queries.
list_by_analytic_storytool List detections that belong to a Splunk Analytic Story (e.g., "Ransomware", "Cloud Federated Credential Abuse").
List detections that belong to a Splunk Analytic Story (e.g., "Ransomware", "Cloud Federated Credential Abuse").
list_by_cvetool Find detections that reference a specific CVE ID.
Find detections that reference a specific CVE ID.
list_by_data_sourcetool Find detections that require a specific data source (e.g., "Sysmon", "Windows Event Log", "Process Creation").
Find detections that require a specific data source (e.g., "Sysmon", "Windows Event Log", "Process Creation").
list_by_detection_typetool List detections by detection type (e.g., "TTP", "Anomaly", "Hunting", "Correlation").
List detections by detection type (e.g., "TTP", "Anomaly", "Hunting", "Correlation").
list_by_mitretool List detections that reference a specific MITRE technique ID (via the detection_techniques junction table).
List detections that reference a specific MITRE technique ID (via the detection_techniques junction table).
list_by_mitre_tactictool List detections that map to a specific MITRE tactic (e.g., credential-access, defense-evasion).
List detections that map to a specific MITRE tactic (e.g., credential-access, defense-evasion).
list_by_process_nametool Find detections that monitor a specific process name (e.g., rundll32.exe, powershell.exe).
Find detections that monitor a specific process name (e.g., rundll32.exe, powershell.exe).
list_by_severitytool List detections at a specific severity (informational, low, medium, high, critical).
List detections at a specific severity (informational, low, medium, high, critical).
list_by_sourcetool List detections from a specific source (sigma, splunk_escu, elastic, kql, sublime, crowdstrike_cql, jamf_protect).
List detections from a specific source (sigma, splunk_escu, elastic, kql, sublime, crowdstrike_cql, jamf_protect).
searchtool Full-text search across all detection rules (name, description, query). Supports multi-word AND queries. Returns up to 50 detections by default.
Full-text search across all detection rules (name, description, query). Supports multi-word AND queries. Returns up to 50 detections by default.
Text the model reads (28)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
search tool
Full-text search across all detection rules (name, description, query). Supports multi-word AND queries. Returns up to 50 detections by default.
get_by_id tool
Get full details for a single detection by its ID (Sigma UUID or Splunk/Elastic slug).
get_raw_yaml tool
Get the original YAML content for a detection (useful for copying the rule verbatim).
list_all tool
List detections with pagination. Prefer search() or list_by_* filters for targeted queries.
get_stats tool
Get summary statistics about the indexed detection corpus (total detections, per-source counts, last sync).
get_coverage_summary tool
Get overall MITRE ATT&CK coverage summary — total techniques, covered techniques, coverage %, breakdowns by source and tactic, weakest/strongest tactics.
analyze_coverage tool
Alias for get_coverage_summary — returns the same comprehensive coverage report.
identify_gaps tool
Identify detection gaps for a specific threat profile (ransomware, apt, initial-access, persistence, credential-access, defense-evasion). Returns prioritized uncovered techniques.
get_technique_intelligence tool
Deep intelligence for a single MITRE technique ID: detections by source, actors using it, related sub-techniques, coverage gaps.
get_technique_full tool
Full technique detail: all covering detections (paginated), actors using it, procedures, per-source breakdown.
compare_sources tool
Cross-source comparison for a MITRE technique: how many detections does each source (Sigma, Splunk, Elastic, KQL, Sublime, CQL) have for this technique, and which sources have no coverage.
generate_navigator_layer tool
Generate a MITRE ATT&CK Navigator JSON layer showing covered techniques. Output can be pasted directly into the Navigator web app.
list_by_source tool
List detections from a specific source (sigma, splunk_escu, elastic, kql, sublime, crowdstrike_cql, jamf_protect).
list_by_severity tool
List detections at a specific severity (informational, low, medium, high, critical).
list_by_detection_type tool
List detections by detection type (e.g., "TTP", "Anomaly", "Hunting", "Correlation").
list_by_mitre tool
List detections that reference a specific MITRE technique ID (via the detection_techniques junction table).
list_by_mitre_tactic tool
List detections that map to a specific MITRE tactic (e.g., credential-access, defense-evasion).
list_by_cve tool
Find detections that reference a specific CVE ID.
list_by_process_name tool
Find detections that monitor a specific process name (e.g., rundll32.exe, powershell.exe).
list_by_data_source tool
Find detections that require a specific data source (e.g., "Sysmon", "Windows Event Log", "Process Creation").
list_by_analytic_story tool
List detections that belong to a Splunk Analytic Story (e.g., "Ransomware", "Cloud Federated Credential Abuse").
list_actors tool
List or search MITRE ATT&CK threat actors. Pass a query to search by name or alias.
get_actor_profile tool
Get a full profile for a threat actor: description, aliases, technique list, and detection coverage %.
analyze_actor_coverage tool
Deep intelligence about a threat actor: per-tactic coverage breakdown, covered techniques with detection counts, and all uncovered technique gaps.
compare_actor_coverage tool
Compare two or more threat actors side-by-side: total techniques, coverage %, shared gaps, unique gaps.
(name computed at run time) prompt
(name computed at run time) resource
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 28 capabilities; 25 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 28 capabilities; 25 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 28 capabilities; 25 more call code the scanner could not follow, where it may happen
Where the code is: 28 handlers in 2 files at commit 0df47c0d51c6
src/server.ts(name computed at run time), (name computed at run time), (name computed at run time)web/lib/mcp/tools.tssearch, get_by_id, get_raw_yaml, list_all, get_stats, get_coverage_summary, analyze_coverage, identify_gaps, get_technique_intelligence, get_technique_full, compare_sources, generate_navigator_layer +13
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests4 manifests: agents/package.json, automation/package.json, package.json, web/package.json
- Lockfiles checked against OSV4 files resolved and checked against the OSV database
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependencies1 package with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/sdk ^1.25.3, @modelcontextprotocol/server ^2.4.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials2 of 28 capabilities read credentials; 23 more call code the scanner could not follow, where it may happen
- Environment variables2 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
minimatchnpm 10.2.6 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.25.3, @modelcontextprotocol/server ^2.4.0 |
| Servers in the code | 1 (security-detections-mcp) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-04 |
| Signed releases | not checked yet |
Install it
For the server's own npm package security-detections-mcp. Pin a version ([email protected]) so an update cannot change the tools without you noticing.
Claude Desktop claude_desktop_config.json
{
"mcpServers": {
"security-detections-mcp": {
"command": "npx",
"args": [
"-y",
"security-detections-mcp"
]
}
}
}Cursor ~/.cursor/mcp.json
{
"mcpServers": {
"security-detections-mcp": {
"command": "npx",
"args": [
"-y",
"security-detections-mcp"
]
}
}
}VS Code .vscode/mcp.json
{
"servers": {
"security-detections-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"security-detections-mcp"
]
}
}
}Claude Code terminal
claude mcp add security-detections-mcp -- npx -y security-detections-mcpWhere it is published
| npm package | security-detections-mcp |
|---|---|
| Downloads | 2 840 a month on npm |
| MCP Registry | io.github.MHaggis/security-detections-mcp |
| Listed in | 5 catalogs (github_search, glama, mcp_registry, mcp_toplist, npm) |
| License | not stated |
| Created | 2026-01-13 |
| Topics | detection-engineering mcp |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.