2. Evasion, Debugger, & Anti-Stealth Traps
CDP Stack Trace Trap
Detection approach
CDP prepareStackTrace hook trap triggered. Error.prepareStackTrace caught serialization execution (DevTools or an automated CDP console logger inspected the environment). This is a definitive signature of Chrome DevTools Protocol automation.
How this helps detect bots
This signal is assessed with other independent session, browser, and network evidence. A single anomaly is a lead, not a verdict; corroborating anomalies make automated traffic more likely.
Legitimate traffic to consider
Site-monitoring tools (Sentry, LogRocket, Datadog) or privacy extensions intercepting console logs.