email-security

email-security is a skill for Claude Code, Codex from xAmirHamza77/ReverseOps-Skill. It costs 35 tokens per session (414 once invoked), scanned A, original, MIT.

A workflow for reviewing email security, including phishing messages, sender-authentication records, and business email compromise (BEC), where attackers impersonate trusted people to commit fraud.

In plain words
What is it for?
Use it to analyze phishing samples, assess SPF, DKIM, and DMARC records, investigate OAuth or mailbox-token abuse, and design authorized security-awareness exercises.
Why use it?
It gives investigators a structured way to identify suspicious senders, links, attachments, authentication failures, and risky mailbox or tenant settings.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/xamirhamza77/reverseops-skill/email-security
Any agent
npx skills add xAmirHamza77/ReverseOps-Skill --skill email-security
Clone the repo
git clone --depth 1 https://github.com/xAmirHamza77/ReverseOps-Skill

Made for: Claude Code, Codex.

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-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/xamirhamza77/reverseops-skill/email-security.svg)](https://agentmods.dev/skills/xamirhamza77/reverseops-skill/email-security)
Your own site
<a href="https://agentmods.dev/skills/xamirhamza77/reverseops-skill/email-security"><img src="https://agentmods.dev/badge/skills/xamirhamza77/reverseops-skill/email-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 414 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00035 $0.00414
Opus 5 $0.00017 $0.00207
Sonnet 5 $0.00007 $0.00083
Haiku 4.5 $0.00003 $0.00041

Measured 4d ago against content hash bd1bf7c4bfb5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

email-security 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 4d 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.

skills/email-security/SKILL.md · 55 lines

What it actually says

Email Security & Phishing Analysis

ACTION REQUIRED (Execute immediately after reading)

  1. NOW: Confirm authorization (analyzing sample emails / tenant configuration review)
  2. NOW: Do not re-deliver malicious samples to real users
  3. ACT: Header authentication → Content/URL → Attachment sandbox → Tenant control plane recommendations

Use Cases

  • Phishing email disassembly and IOC extraction
  • SPF/DKIM/DMARC configuration assessment
  • BEC (Business Email Compromise) fraud patterns
  • OAuth app phishing / Mailbox token abuse (integrated with LLM/cloud identity)
  • Security awareness exercise design (authorized)

Workflow

[ ] Complete raw header: Received chain, From/Return-Path consistency
[ ] SPF/DKIM/DMARC alignment results
[ ] URL sandbox and static attachment analysis (integrated with malware-analysis)
[ ] Brand impersonation and reply-to address discrepancies
[ ] Tenant: Anti-phishing policy, external tagging, MFA, OAuth app consent

Toolchain

Tool Purpose
Email client "View Source" Headers
dig/nslookup SPF/DMARC records
urlscan / sandbox Links and attachments
Tenant Admin Center Policies

References

  • references/email-auth-checklist.md
  • ../malware-analysis/ ../attack-chain/ (phishing phase) ../windows-ad/ (token)

Routing Context

Upstream: MASTER R36
MUST NOT: Send test phishing emails in bulk to unauthorized third-party domains

Task Completion Checklist

  • Are header authentication conclusions complete?
  • Are IOCs detect-ready (integrated with threat-hunting)?
  • Checklist complete?
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 55 lines · 35 tokens per session scan A bd1bf7c4bfb5

Subscribe to this mod's changes

email-security is a skill published in the GitHub repository xAmirHamza77/ReverseOps-Skill (4 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 414 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.