Yara-mail

Latest version: v3.2.0

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 8

3.1.0

- Update minium `mailsuite` version to `>=1.9.9`
- Fix header and body separation when Windows line breaks (`\r\n`) are used
- CLI changes
- Remove unused formats in verbose output
- Remove attachment payloads in verbose output
- Test results are now in JSON
- Using the verbose option in testing now is the same as normal operations, instead of outputting all results

3.0.3

- Fix: Other warnings were ignored when the `unexpected-attachment` warning was raised

3.0.2

- Increase minimum version requirement for `mailsuite` to `1.9.8`
- Fix parsing of email addresses in message `From` headers with encoded display names.

3.0.1

- in the dictionary returned by `MailScanner.scan_email()`, rename
`["msg_from_domain"]["implicit_safe_domain"]` to `["msg_from_domain"]["implicit_safe"]`

3.0.0

*Warning*
This release is a major rewrite that includes changes breaking existing use

- Logic changes
- Rules with a category of `safe` must have a `from_domain` `meta` value for the category to apply
- This logic replaces `trusted_domains_yara_safe_required`
- `trusted_domain_yara_safe_required`, and `auth_optional` removed from results
- The `auth_optional`rule `meta` key only applies to that rule
- Warnings are located inside a `warnings` list in each match, instead of as a `verdict`
- A rule category does not apply if one or more warning is raised
- Possible warnings include
- `domain-authentication-failed` - Authentication of the message
From domain failed
- `from-domain-mismatch` - The message From domain did not exactly
match the value of the `meta` key `from_domain`
- `safe-rule-missing-from-domain` - The rule is missing a
`from_domain` `meta` key that is required for rules with the
`category` meta key set to `safe`
- `unexpected-attachment` - An email win an attachment matched a
rule with the `meta` key `no attachment` or `no_attachments`
set to `true`
- Trusted domains are now called implicit safe domains
- API changes
- `trusted_domains` renamed to `implicit_safe_domains`
- `trusted_domains_yara_safe_required` parameter removed
- `include_sld_in_auth_check` parameter removed
- Returned data structure changed (see docs for details)
- CLI changes
- `--trusted-domains` renamed to `--implicit-safe-domains`
- `--trusted-domains-yara` removed
- `--sld` removed
- Log output delimiter changed from `:` to `|` to avoid conflicting with JSON

2.1.0

- Use email body content to brute force password-protected ZIPs

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.