Borrowing it
Nothing to install: this file belongs to Pirate-Kitty/hayabusa-mcp-security-scanner. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Pirate-Kitty/hayabusa-mcp-security-scanner/main/.claude/commands/investigate-evtx.mdgit clone --depth 1 https://github.com/Pirate-Kitty/hayabusa-mcp-security-scannerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/pirate-kitty/hayabusa-mcp-security-scanner/investigate-evtx)<a href="https://agentmods.dev/commands/pirate-kitty/hayabusa-mcp-security-scanner/investigate-evtx"><img src="https://agentmods.dev/badge/commands/pirate-kitty/hayabusa-mcp-security-scanner/investigate-evtx/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/pirate-kitty/hayabusa-mcp-security-scanner/investigate-evtx"><img src="https://agentmods.dev/badge/commands/pirate-kitty/hayabusa-mcp-security-scanner/investigate-evtx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.01838 |
| Opus 5 | $0.00018 | $0.00919 |
| Sonnet 5 | $0.00007 | $0.00368 |
| Haiku 4.5 | $0.00004 | $0.00184 |
Grade A, and why
investigate-evtx scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Investigate the EVTX file at $1 and write an Obsidian-compatible investigation note under investigations/.
1. Parse arguments
evtx_path=$1. If empty, stop immediately and report:Usage: /investigate-evtx <evtx-path> [severity]. Make no tool calls.severity_arg=$2(may be absent).
2. Resolve and validate severity BEFORE scanning
- If
severity_argis present: trim whitespace and lowercase it, then check it is exactly one ofinformational,low,medium,high,critical.- No match → stop immediately, before calling any scan tool, and report:
Invalid severity '<severity_arg>'. Must be exactly one of: informational, low, medium, high, critical. - Match → use the normalized value as
min_severity.
- No match → stop immediately, before calling any scan tool, and report:
- If
severity_argis absent →min_severity = "medium"(the default).
3. Scan
Call mcp__hayabusa-mcp__scan_evtx with evtx_path, the resolved min_severity, and output_format="full".
- If the tool raises a file-not-found or Hayabusa-binary error, surface that error message verbatim, and add a note that
evtx_pathis resolved by the MCP server against its own process working directory (the repo root) — relative paths should be given relative to the repo root, or as absolute paths. - If the scan succeeds with zero findings, this is not a failure: continue to step 7 to write a minimal note recording that the scan ran and found nothing at
min_severity, and suggest re-running with a lower severity value.
4. Resolve MITRE ATT&CK tags per finding
scan_evtx findings do not carry ATT&CK tags directly — only a RuleID. For each unique RuleID across the findings:
- Read the MCP resource
detection://rules/{RuleID}viaReadMcpResourceToolto get that rule's full YAML text. - Parse the YAML
tags:list. Keep only entries matching^attack\.t\d{4}(\.\d{3})?$(case-insensitive), and normalize each toTxxxxorTxxxx.xxxform (e.g.attack.t1070.001→T1070.001). - If the rule has no tags matching that pattern (this is a real, expected case — do not treat it as an error), record "no ATT&CK tags for this rule" for that
RuleID. Never invent or guess a technique ID. - If the resource lookup fails for a given
RuleID(e.g. unknown identifier), record "could not resolve tags for RuleID<id>" and continue with the rest.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 91 lines · 36 tokens per session scan A d4b9026e7a9c
investigate-evtx is a command published in the GitHub repository Pirate-Kitty/hayabusa-mcp-security-scanner (0 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 1,838 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.