Medium Severity

Attachment: PDF Attachment with links to workers.dev

Description

Detects inbound messages containing PDF attachments with fewer than 5 pages that, when analyzed, contain URLs pointing to workers.dev subdomains. This pattern indicates potential abuse of Cloudflare Workers infrastructure to host malicious content delivered via PDF documents.

References

No references.

Sublime Security
Created Jun 4th, 2026 • Last updated Jun 4th, 2026
Source
type.inbound
and any(filter(attachments, .file_type == "pdf"),
        beta.parse_exif(.).page_count <= 2
        and any(file.explode(.),
                any(.scan.url.urls, .domain.root_domain == "workers.dev")
        )
)
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