testing-for-email-header-injection

Detect and validate email header injection vulnerabilities using CRLF and encoded payloads.

2|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Acczdy/MoZiSec --skill testing-for-email-header-injection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-for-email-header-injection
Source: https://github.com/Acczdy/MoZiSec/tree/main/web-security/.claude/skills/testing-for-email-header-injection
Command: npx skills add https://github.com/Acczdy/MoZiSec --skill testing-for-email-header-injection

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill helps security testers identify and validate email header injection vulnerabilities in web applications by automating tests across common input fields and endpoints that influence email headers.

Core Features & Use Cases

  • Automated field-level header injection tests across contact forms and email-related APIs.
  • Validation across CRLF and URL-encoded payload variants to reveal header manipulation risks.
  • Generated findings reports with actionable remediation guidance for developers and security teams.

Quick Start

Run the agent against a target URL to begin automated header-injection testing and generate a report.

Frequently Asked Questions about testing-for-email-header-injection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is email header injection and how does CRLF injection work?

Email header injection is a web security vulnerability where attackers manipulate email headers using CRLF characters in user input. This skill automates CRLF payload testing across contact forms and APIs to detect and validate such header manipulation risks.

How do I test for email header injection vulnerabilities in web applications?

To test for email header injection, run this skill against your target URL. It automates field-level tests across contact forms and JSON APIs using multiple CRLF and URL-encoded payload variants, generating a structured report of findings.

Can I use this to test JSON APIs for CRLF injection vulnerabilities?

Yes, you can test JSON APIs for CRLF injection vulnerabilities. The skill applies automated header injection tests across endpoints that accept user input to influence email headers, covering both contact forms and JSON APIs.

What is the best way to automate security testing for header manipulation risks?

The best way to automate security testing for header manipulation is using this skill, which applies multiple encoding variants and CRLF payloads to target endpoints. It ensures safe input handling while generating actionable remediation reports.

Do I need the requests library to run email header injection tests?

Yes, you need the requests library installed as a dependency to run these email header injection tests. The skill uses it to send automated CRLF payloads and URL-encoded variants to target URLs for vulnerability validation.