Description

Detects Gmail confidential mode messages where the sender-controlled subject, rendered as the message link text, or the sender address contains job scam or recruitment language.

References

No references.

Sublime Security
Created Oct 7th, 2026 • Last updated Oct 7th, 2026
Source
type.inbound
and any(body.current_thread.links,
        .href_url.domain.domain == "confidential-mail.google.com"
        and strings.istarts_with(.href_url.path, "/msg/")
)
and (
  // the sender-controlled subject is rendered as the link text
  any(filter(body.current_thread.links,
             .href_url.domain.domain == "confidential-mail.google.com"
      ),
      any(ml.nlu_classifier(.display_text).intents,
          .name == "job_scam" and .confidence in ("medium", "high")
      )
      // compensation figures such as "$450K–$900K+"
      or any(ml.nlu_classifier(.display_text).entities,
             .name == "financial" and regex.contains(.text, '\d\s*[kKmM]\b')
      )
      // recruitment terms in the subject
      or regex.icontains(.display_text,
                         '\b(?:leader(?:ship)?|director|mandate|opportunit(?:y|ies)|executive.search|career|jobs?|role)\b'
      )
  )
  // recruitment terms in the sender local part
  or regex.icontains(sender.email.local_part,
                     '(?:recruit|talent|staffing|executive.?s[ea]|career)'
  )
)
MQL Rule Console
•Docs•Learning 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