• Sublime Core Feed
Medium Severity

Link to Google Apps Script macro via comment tagging

Description

Message contains a Google Apps Script macro link invoked from a comment on Google Slides|Docs. App Scripts can run arbitrary code, including redirecting the user to a malicious web page.

Sublime Security
Created Aug 17th, 2023 • Last updated Jan 12th, 2026
Source
type.inbound
and regex.contains(sender.display_name, '\(Google (Slides|Docs)')
and any(body.links,
        .href_url.domain.domain == "script.google.com"
        and strings.ilike(.href_url.path, "/macros*")
)
and 1 of (
  strings.ilike(body.plain.raw, '*you have ? hours*'),
  strings.ilike(body.plain.raw, '*transfer of funds*'),
  strings.ilike(body.plain.raw, '*order your funds*')
  // Or the Sender Display Name is not in your Org Display Names
  or not any($org_display_names,
             strings.istarts_with(sender.display_name,
                                  strings.concat(., " (Google ")
             )
  )
)
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