Skip to main content
yaramail logo

yaramail

Python tests PyPI PyPI - Downloads

yaramail is a Python package and command line utility for scanning emails with YARA rules. It is ideal for automated triage of phishing reports.

CLI Demo

asciicast

Features

  • Scans all parts of an email via API or CLI
    • Headers
      • Removes header indents by default for consistent scanning
    • Plain text and HTML body content
      • Converts body content to Markdown by default for consistent scanning
    • Attachments
      • Raw file content
      • Emails attached to emails
      • PDF document text
      • ZIP file contents, including nested ZIP files
        • Uses message body content as a list of possible ZIP passwords
        • Customizable list of passwords to use when attempting to scan encrypted ZIP files
  • Provides a built-in methodology for categorizing emails
  • Parses Authentication-Results headers

Metadata

Release files for yara-mail 3.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yara-mail 3.4.1
File Size Uploaded Provenance Actions
yara_mail-3.4.1.tar.gz 15.3 kB Without provenance Details for yara_mail-3.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yara-mail 3.4.1
File Interpreter ABI Platform Actions
yara_mail-3.4.1-py3-none-any.whl Python 3 none any Details for yara_mail-3.4.1-py3-none-any.whl

Total release size: 31.1 kB

Release files / yara_mail-3.4.1.tar.gz

Download URL yara_mail-3.4.1.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7b5eb3b97600e0df3efeed731b5b7ac1a26c4aafe9bb40e9f4689ffa404c7df7
BLAKE2b-256 checksum
How to use checksums
1fbb604a8eaa8eea0f26cd77ca53722ea5061a46e4da7a660083faaf4a371b8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.13.9 HTTPX/0.28.1

Release files / yara_mail-3.4.1-py3-none-any.whl

Download URL yara_mail-3.4.1-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08097963e52cff2bae42f4be26bdfcf58b3d7d36dc243ac0088980aaa1eea321
BLAKE2b-256 checksum
How to use checksums
277afec8cf9f5c827b156139a2ed0f12229885d1ccdc691bbe7aadb8f763ddc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.13.9 HTTPX/0.28.1

Security for yara-mail 3.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.4.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page