xalgorix/xalgorix is a self-hosted AI penetration-testing tool in which an LLM agent performs reconnaissance, looks for vulnerabilities, and coordinates exploitation, while a separate verifier re-tests findings before reporting them. It is for security teams, ethical hackers, and bug bounty work using a private, bring-your-own-LLM setup. The catalogue skills extend the agent's pentesting workflow.
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.
npx skills add xalgorix/xalgorix --skill pentesting-smtpgit clone --depth 1 https://github.com/xalgorix/xalgorixWrote 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/skills/xalgorix/xalgorix/pentesting-smtp)<a href="https://agentmods.dev/skills/xalgorix/xalgorix/pentesting-smtp"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/pentesting-smtp/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/skills/xalgorix/xalgorix/pentesting-smtp"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/pentesting-smtp.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.00074 | $0.02138 |
| Opus 5.5 | $0.00030 | $0.00855 |
| Sonnet 5.5 | $0.00015 | $0.00428 |
| Haiku 4.5 | $0.00007 | $0.00214 |
Grade A, and why
pentesting-smtp 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 7d 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 — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pentesting SMTP (ports 25, 465, 587)
When to Use
- Default ports:
25/tcp(MTA-to-MTA),465/tcp(SMTPS),587/tcp(submission/STARTTLS). - When
nmap/banner showssmtp,ESMTP,Sendmail,Postfix,Exim, orMicrosoft ESMTP. - For testing relay policy, user enumeration, email-spoofing controls (SPF/DKIM/DMARC), and gateway routing.
Quick Enumeration
# Plaintext banner + manual session
nc -vn <IP> 25
# SMTPS / STARTTLS
openssl s_client -crlf -connect <IP>:465 # implicit TLS
openssl s_client -starttls smtp -crlf -connect <IP>:587
# MX discovery
dig +short mx <domain>
# nmap scripts: commands, open-relay, NTLM info
nmap -p25 --script smtp-commands <IP>
nmap -p25 --script smtp-open-relay -v <IP>
nmap -p25 --script smtp-ntlm-info <IP>
Critical: Checks Most Often Missed
- Open relay — server forwards mail for arbitrary external sender/recipient. High-impact, frequently missed.
- How to CONFIRM:
nmap -p25 --script smtp-open-relay -v <IP>reports relaying, or manuallyMAIL FROM:<[email protected]>+RCPT TO:<[email protected]>is accepted.
- How to CONFIRM:
- User enumeration without auth —
VRFY,EXPN, and differentialRCPT TOresponses leak valid accounts.- How to CONFIRM:
nc <IP> 25 HELO x VRFY root # 250 = exists, 550 = unknown EXPN root RCPT TO:admin # compare 250 vs 550 smtp-user-enum -M VRFY -U users.txt -t <IP>
- How to CONFIRM:
- NTLM info disclosure —
AUTH NTLMover 587 leaks Windows/domain build info.- How to CONFIRM:
nmap -p587 --script smtp-ntlm-info <IP>or sendAUTH NTLM 334+ a Type-1 token in a manual telnet session.
- How to CONFIRM:
- Spoofing controls (SPF/DKIM/DMARC) missing or weak —
p=none, relaxed alignment, or no SPF lets you spoof the domain.- How to CONFIRM:
dig txt <domain> | grep spf dig 20120113._domainkey.<domain> TXT | grep p= dig _dmarc.<domain> txt | grep DMARC # p=none/quarantine/reject
- How to CONFIRM:
- SEG bypass — if any accepted domain (or
<tenant>.onmicrosoft.com) has an MX pointing directly at the mail server instead of the Secure Email Gateway, you can deliver mail past inspection.- How to CONFIRM:
dig +short mx <accepted_domain>resolves to Exchange Online / origin MTA, not the SEG.
- How to CONFIRM:
- SMTP smuggling / Exim STARTTLS+BDAT (GnuTLS UAF) — protocol-desync and memory-lifetime surfaces on Exim+GnuTLS where
STARTTLSandCHUNKING/BDATare advertised.
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.
- 7d ago First seen · 166 lines · 74 tokens per session scan A 2cba7ca9ea1f
pentesting-smtp is a skill published in the GitHub repository xalgorix/xalgorix (1,531 stars, last pushed yesterday), licensed Apache-2.0. It adds 74 tokens to every session and 2,138 once invoked, about $0.0003 per session on Opus 5.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-11-23.
pentesting-smtp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pentesting-smtpxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 74 | Claude Code, Codex |
| cis-aws-foundations-4.3CyberStrikeus/CyberStrike | Skill | 3.8k | yesterday | AGPL-3.0 | A | 18 | Claude Code, Codex |
| cis-aws-foundations-6.5CyberStrikeus/CyberStrike | Skill | 3.8k | yesterday | AGPL-3.0 | A | 23 | Claude Code, Codex |
| cis-aws-foundations-2.1.1CyberStrikeus/CyberStrike | Skill | 3.8k | yesterday | AGPL-3.0 | A | 19 | Claude Code, Codex |
| cis-aws-foundations-2.15CyberStrikeus/CyberStrike | Skill | 3.8k | yesterday | AGPL-3.0 | A | 23 | Claude Code, Codex |
| cis-aws-foundations-4.1CyberStrikeus/CyberStrike | Skill | 3.8k | yesterday | AGPL-3.0 | A | 18 | Claude Code, Codex |
| cis-aws-foundations-2.4CyberStrikeus/CyberStrike | Skill | 3.8k | yesterday | AGPL-3.0 | A | 20 | Claude Code, Codex |