ReadonlycategoryWhich trap category this detector addresses
ReadonlyidUnique identifier for this detector
ReadonlynameHuman-readable name
Protected ReadonlytrapReturn sanitized content with threats neutralized
Scan content and return any threats found
Optionaloptions: DetectorOptions
Detects JavaScript patterns that conditionally serve different content to AI agents vs human users.
Reference: Zychlinski (2025) — fingerprinting scripts that detect LLM-powered web agents and serve semantically different pages.