# email-security-auditor-cpp

Validates email credentials and audits inbox authentication via SMTP and IMAP using C++. Built for authorized security testing and credential stuffing assessments.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 479 installs · ★ 12
- Author: reason-machines
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/security-skills/tree/HEAD/skills/email-security-auditor-cpp/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/email-security-auditor-cpp

## What it does

This skill provides a C++17 utility for evaluating mail server authentication defenses. It tests credential pairs by connecting over TLS on port 587 for SMTP or SSL on port 993 for IMAP. For providers like Gmail or Outlook, the tool automatically detects mail host domains without manual configuration.

Verification runs concurrently with `std::thread`. Parallel threads process entries from text files without blocking the main loop. The program writes results into separate files for valid and failed attempts, then generates a summary audit report.

Building the binary locally requires `libssl-dev` or the platform equivalent of OpenSSL, without which compilation fails at link time.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill email-security-auditor-cpp -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/email-security-auditor-cpp/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/email-security-auditor-cpp/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill email-security-auditor-cpp -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/email-security-auditor-cpp/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill email-security-auditor-cpp -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/email-security-auditor-cpp/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/security-skills email-security-auditor-cpp
```

2. **Manually: put the files in place**
- File: `.github/skills/email-security-auditor-cpp/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill email-security-auditor-cpp -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/security-skills --path skills/email-security-auditor-cpp
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/email-security-auditor-cpp/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill email-security-auditor-cpp -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/security-skills/tree/HEAD/skills/email-security-auditor-cpp/SKILL.md

## When to use it
- audit email account credentials through SMTP and IMAP protocols
- evaluate mailbox resistance against credential stuffing attacks
- execute concurrent multi-threaded account validation from a file
- export segregated output lists for valid and rejected credentials

## Example prompts
- Compile the email auditor executable using CMake and OpenSSL
- Run an IMAP authentication audit on credentials.txt with 10 parallel threads
- Configure an SMTP credential check with a 30 second connection timeout

## Similar
- [git-guardrails-claude-code](https://affpapa.org/en/nevibecode/skills/git-guardrails-claude-code.md) — skill · 499069 installs
- [ponytail-review](https://affpapa.org/en/nevibecode/skills/ponytail-review.md) — skill · 57000 installs
- [ponytail-audit](https://affpapa.org/en/nevibecode/skills/ponytail-audit.md) — skill · 45400 installs
- [security-audit](https://affpapa.org/en/nevibecode/skills/cloudflare-security-audit.md) — skill · 54800 installs
- [security-and-hardening](https://affpapa.org/en/nevibecode/skills/security-and-hardening.md) — skill · 70200 installs
- [supabase](https://affpapa.org/en/nevibecode/skills/supabase.md) — skill · 8 installs

From the same set: [reason-machines/security-skills](https://affpapa.org/en/nevibecode/by/reason-machines/security-skills.md) — 69 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
