Description

Detects inbound messages impersonating MyChart, the patient portal brand, by using a display name containing 'mychart' combined with common lure phrases such as 'claim your reward', 'member rewards', 'feedback survey', or 'medicare kit'. The rule also flags messages sent from recently registered domains. Legitimate senders from trusted MyChart-related domains that pass DMARC authentication, as well as designated high-trust sender domains, are excluded.

References

No references.

Sublime Security
Created Aug 28th, 2026 • Last updated Sep 4th, 2026
Source
type.inbound
and (
  strings.icontains(sender.display_name, "mychart")
  or any(ml.nlu_classifier(body.current_thread.text).entities,
         .name == "org" and strings.icontains(.text, 'mychart medicare kit')
  )
)
and (
  (
    strings.icontains(body.current_thread.text, "mychart")
    and 2 of (
      strings.icontains(body.current_thread.text, "claim your reward"),
      strings.icontains(body.current_thread.text, "feedback survey"),
      strings.icontains(body.current_thread.text, "invited to participate"),
      strings.icontains(body.current_thread.text, "medicare kit"),
      strings.icontains(body.current_thread.text, "member rewards"),
      strings.icontains(body.current_thread.text, "member appreciation"),
      strings.icontains(body.current_thread.text, "log in to mychart"),
      regex.icontains(body.current_thread.text, '©\s*(?:\d+)\s*mychart')
    )
  )
  or strings.icontains(subject.base, "medicare kit")
  or network.whois(sender.email.domain).days_old < 365
)
and not (
  sender.email.domain.root_domain in (
    "epic-notification.com",
    "myhealthconnect.org"
  )
  and coalesce(headers.auth_summary.dmarc.pass, false)
)
// negate highly trusted sender domains unless they fail DMARC authentication
and not (
  sender.email.domain.root_domain in $high_trust_sender_root_domains
  and coalesce(headers.auth_summary.dmarc.pass, false)
)
MQL Rule Console
DocsLearning Labs

Playground

Test against your own EMLs or sample data.

Share

Post about this on your socials.

Get Started. Today.

Managed or self-managed. No MX changes.

Deploy and integrate a free Sublime instance in minutes.
Get Started