1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Stealth Matrix
# Runs the bench under each StealthProfile against the public
# fingerprint-checking endpoints (CreepJS, fp.json, browserleaks)
# and asserts each profile produces a trust-score above the per-
# profile floor declared in `bench/stealth_floors.toml`.
#
# Triggers:
# - nightly (catches drift in vendor detection logic)
# - manual workflow_dispatch
#
# A regression here is a stealth-bug — captchaforge solving will
# silently degrade against the corresponding vendors. Treat as an
# incident.
on:
schedule:
- cron: "0 6 * * *" # 06:00 UTC nightly
workflow_dispatch:
permissions:
contents: read
jobs:
stealth-matrix:
strategy:
fail-fast: false
matrix:
profile:
- ChromeWindowsStable
- ChromeLinux
- ChromeMacStable
- SafariMacStable
- SafariIphone
- SafariIpad
- BraveWindows
- FirefoxStable
- EdgeStable
- OperaWindows
- SamsungInternetAndroid
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install Chrome
run: |
sudo apt-get update
sudo apt-get install -y google-chrome-stable
- name: Run stealth probe against ${{ matrix.profile }}
env:
CAPTCHAFORGE_STEALTH_PROFILE: ${{ matrix.profile }}
run: |
cargo run --release --bin captchaforge -- selftest
# The bench's anti-detection suite probes for the same
# signals CreepJS / fp.json check (navigator.webdriver,
# chrome.runtime, plugin count, language, WebGL vendor,
# …). Failing this suite means stealth dropped.
cd bench
cargo run --release -- --suite anti-detection --strict