Commit f14b069
test(fetch): stealth regression suite against 5 public detection sites
Adds stealth_test.rs with 5 integration tests that verify Palimpsest's
anti-detection patches against known public bot detection test sites:
1. Sannysoft (bot.sannysoft.com) — classic 13-point headless battery
Asserts: webdriver, chrome object, plugins, languages pass
2. Infosimples (detect-headless) — 16-point detection with DOM parsing
Asserts: webdriver, chrome element, plugins, languages, permissions pass
3. FingerprintJS BotD — 18 detectors with structured output
Reports: all detector results, overall bot verdict
4. Rebrowser Bot Detector — CDP Runtime.enable leak detection
Parses: #detections-json textarea (JSON array with ratings)
Reports: each detection type with pass/fail rating
5. CreepJS — advanced stealth detection (chrome object position,
proxy traps, lie detection, cross-context consistency)
Reports: crowd blending score, headless ratings, lie count
Tests are #[ignore] by default — they require Chrome + network:
cargo test -p palimpsest-fetch --test stealth_test -- --ignored --nocapture
Each test launches a fresh stealth-hardened Chrome instance with all
17 evasion patches injected, navigates to the detection site, extracts
machine-readable results, and asserts critical checks pass.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0ccc140 commit f14b069
2 files changed
Lines changed: 651 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
0 commit comments