Medium Severity

Link: Google share.google URL shortener in undocumented redirect forms

Description

Detects inbound messages with body links in either of two undocumented Google share.google redirect forms: google.<tld>/share.google?q=<code>, and share.google/?link=<url>. Both inherit Google domain reputation to mask an attacker-controlled destination. Google publishes the share.google shortener as a share.google/<code> path, but neither the on-Google-domain ‘q’ form nor the ‘link’ parameter form is documented.

References

No references.

Sublime Security
Created Sep 14th, 2026 • Last updated Nov 13th, 2026
Source
type.inbound
and any(body.links,
        (
          .href_url.domain.sld == "google"
          and strings.istarts_with(.href_url.path, '/share.google')
          and 'q' in keys(.href_url.query_params_decoded)
        )
        or (
          .href_url.domain.root_domain == "share.google"
          and any(["link", "_task", "_mbox", "_mimeclass"],
                  . in keys(..href_url.query_params_decoded)
          )
        )
)
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