type.inbound
and 0 < length(body.links) < 15
and any(body.links,
any(html.xpath(ml.link_analysis(.).final_dom, '//script//text()').nodes,
// full tycoon uri struct
any(.links,
regex.icontains(.href_url.path,
'^\/[a-z0-9]{0,30}[!@][a-z0-9]{0,30}\/'
)
and not regex.icontains(.href_url.path, '\/[!@][a-z]{2,30}\/')
and not strings.istarts_with(.href_url.domain.domain, 'www.')
and not regex.icontains(.href_url.domain.root_domain,
'(?:fpjs\.io|(?:medium|unpkg|alicdn)\.com|turtl\.co)'
)
)
)
// tycoon structured path and cloudflare captcha domain
or (
regex.icontains(.display_text,
'\/[a-zA-Z0-9]{0,30}[!@][a-zA-Z0-9]{0,30}\/'
)
and strings.icontains(.display_text, 'challenges.cloudflare.com')
)
)
Playground
Test against your own EMLs or sample data.