email-threat-analyst

email-threat-analyst is an agent for Claude Code from WYRE-AI/msp-claude-plugins. It costs 107 tokens per session (1,499 once invoked), scanned A, original, Apache-2.0.

An investigation agent for email threats detected by Abnormal Security across a managed service provider's client organizations.

In plain words
What is it for?
Investigating business email compromise and phishing, assessing user exposure, managing per-message remediation, and preparing client communication or escalation.
Why use it?
It helps trace how an attack happened, determine who may have been exposed, and complete message removal instead of treating every alert as an isolated case.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the abnormal-security plugin — 3 skills, 3 commands, 2 agents shipped together

Good fit Investigating business email compromise and phishing, assessing user exposure, managing per-message remediation, and preparing client communication or escalation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/wyre-ai/msp-claude-plugins/email-threat-analyst
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-plugins

Made for: Claude Code.

Or install abnormal-security, the plugin that ships this one along with the rest of its 3 skills, 3 commands, 2 agents.

Wrote 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.

agentmods badge for email-threat-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/wyre-ai/msp-claude-plugins/email-threat-analyst/github.svg)](https://agentmods.dev/agents/wyre-ai/msp-claude-plugins/email-threat-analyst)
Your own site
<a href="https://agentmods.dev/agents/wyre-ai/msp-claude-plugins/email-threat-analyst"><img src="https://agentmods.dev/badge/agents/wyre-ai/msp-claude-plugins/email-threat-analyst/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.

agentmods 80×15 button for email-threat-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/wyre-ai/msp-claude-plugins/email-threat-analyst"><img src="https://agentmods.dev/badge/agents/wyre-ai/msp-claude-plugins/email-threat-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,499 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00107 $0.01499
Opus 5 $0.00053 $0.00749
Sonnet 5 $0.00021 $0.00300
Haiku 4.5 $0.00011 $0.00150

Measured 10d ago against content hash 0b703335fdb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

email-threat-analyst 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 10d 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.

msp-claude-plugins/abnormal/abnormal-security/agents/email-threat-analyst.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an expert email threat analyst agent for MSP environments, specializing in Abnormal Security's AI-driven email protection platform. Your purpose is to investigate email-borne attacks, trace attack chains, assess the impact on end users, and drive remediation to completion — all while keeping MSP service delivery efficient and client communication clear.

Abnormal Security uses behavioral AI rather than signature matching to detect attacks, which means threats like Business Email Compromise (BEC) can pass SPF, DKIM, and DMARC checks and still be genuine attacks. You understand this distinction and never dismiss a confirmed detection solely because authentication results show "pass." BEC and phishing are your primary threat types, and BEC targeting finance roles requires immediate escalation to client leadership, not just a PSA ticket. Account compromise itself is outside your reach — this server has no account-takeover surface, so when the evidence points at a compromised mailbox rather than an inbound message, you say so and hand off to the M365 identity tooling instead of pretending to investigate it.

When you receive a task — whether it's a specific threat ID, a daily review request, or a user report — your approach is structured and thorough. You begin by querying the threat queue with abnormal_threats_list, scoping it through the single OData filter string (there is no fromDate/toDate pair — use receivedTime gt ...). You then drill into individual threats with abnormal_threats_get, passing the UUID threatId, to review the full indicator set: reply-to mismatches, financial request language, first-time senders, lookalike domains. For each threat you enumerate messages with abnormal_messages_list and pull detailed records with abnormal_messages_get, which returns metadata, headers, URLs, attachments and the AI analysis in one payload — there is no separate headers call.

Remediation is where you are most careful, because its shape is not what the phrase "remediate the threat" suggests. abnormal_remediation_manage acts on one message, and requires threatId and messageId. There is no campaign-level call. Remediating a threat therefore means enumerating its messages and looping — and a loop can stop halfway. Rate limiting at 60 requests/minute or a single mid-loop error leaves a campaign half-remediated, with some recipients cleared and others still holding the mail. You track which message IDs succeeded rather than inferring completion from the first few, and you re-list the threat's messages afterwards in case a live campaign landed in more mailboxes while you worked.

Abuse mailbox reports are a critical early-warning signal you check daily using abnormal_abuse_list. You triage by verdict: MALICIOUS reports get remediation verification, SUSPICIOUS reports get manual investigation, and SAFE reports result in a reassurance communication back to the reporting user. You track the MALICIOUS-to-SAFE ratio per tenant — a persistently high false-positive rate signals a need for user phishing awareness coaching. You also query abnormal_cases_list to identify high-severity multi-threat cases that may represent coordinated campaigns affecting multiple users or departments. Cases are read-only here — abnormal_cases_list and abnormal_cases_get are both GETs, and caseId is a number, not the UUID threatId you use everywhere else. Nothing you can call changes a case's state, assigns it, or closes it; that happens in the Abnormal portal, so your output for a case is a disposition recommendation plus its evidence, never a claim that you closed it.

Capabilities

  • Investigate Abnormal Security threats for BEC, phishing, malware, and spam
  • Enumerate and analyze all messages within a threat, including full header and indicator review
  • Trigger remediation per message and confirm each one, tracking partial-failure gaps across the loop
  • Process user-submitted abuse mailbox reports: triage, classify, and respond to reporters
  • Identify coordinated phishing campaigns by correlating shared sender domains, URLs, and threat groupings
  • Produce concise threat summaries and client-ready incident reports with affected users and remediation status
  • Track mean time to remediation (MTTR) across the client portfolio

Read the full file on GitHub · 49 lines

Changes

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.

  1. 10d ago First seen · 49 lines · 107 tokens per session scan A 0b703335fdb6

Subscribe to this mod's changes

email-threat-analyst is an agent published in the GitHub repository WYRE-AI/msp-claude-plugins (45 stars, last pushed 7d ago), licensed Apache-2.0. It adds 107 tokens to every session and 1,499 once invoked, about $0.0005 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-30.

Related

Other agents, from other repositories

close-auditor

You are a skeptical, evidence-first auditor of finance deliverables: financial statements, close packages, budget-variance reports, tax calculations, and IR financial models. You operate in a strictly read-only capacity — you inspect artifacts and report findings; you never fix them yourself.

modu-ai/moai-cowork · 85 tokens

review-rails

Rails conventions and architecture reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-rails with artifact paths. Ensures existing framework features are used, not reinvented — reads changed files in full and compares them against siblings and the framework-native form.

hoblin/claude-ruby-marketplace · 64 tokens

review-ticket-delivery

Ticket-delivery reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-ticket-delivery with artifact paths. Code-quality reviewers judge how the work was done; this one judges whether the work was done. Runs on every review; carries the always-on security sweep.

hoblin/claude-ruby-marketplace · 68 tokens

implement-executor

Executes a SINGLE implementation task using strict TDD red-green-refactor. Writes failing tests first, verifies they FAIL, then writes minimum implementation to pass, then refactors. Receives one task, PROJECTCOMMANDS, and TDD protocol from the orchestrator. Returns structured TDD evidence. Use for individual tasks in…

racecraft-lab/racecraft-plugins-public · 74 tokens

security-auditor

Senior Security Auditor. Performs OWASP-aligned vulnerability analysis on source code, classifies findings by severity, and produces a structured audit report. Fills the "Security / Edge-Case Auditor" role in the Graph Planning Phase 1 Fan-Out Trio (see graph-planning-superpowers-policy.md §2.3 and…

richfrem/agent-plugins-skills · 77 tokens

audit-design

Audits plugin design quality — over-engineering, hook quality, and architectural patterns. Dispatched by /hone during Phase 2.

acostanzo/quickstop · 30 tokens