Skip to content

Commit d46e984

Browse files
Ahsaan-Ullahclaude
andcommitted
Add DNS leak check, warm-up presets, scheduled warm-up, and a Health page
DNS leak checker: probe.check_dns resolves a batch of unique subdomains through the profile, reads back which resolvers saw them (and their countries) from a third-party test service, and fails if any escaped the proxy's country. Folded into `proxy test`, exposed as `persona dns`, POST /api/profiles/{id}/dns, and a DNS-leak button in the dashboard. Warm-up presets: per-vertical site sets (ads/ecommerce/crypto/social/ news/general) so a profile's history reads like a real user of that world. `warmup --preset`, a dropdown in the dashboard. Scheduled warm-up: new scheduler.py (JSON-backed ScheduleStore + pure due-rule). The server fires due warm-ups from a background thread; `persona schedule add/list/remove/run-due` drives it from cron for people who don't run the server. /api/schedules CRUD + dashboard toggle. Health page: GET /api/profiles/health returns coherence, proxy, the cached trust grade (trust/align now remember it) and any schedule per profile; new dashboard Health view with per-row trust-check and auto-adjust, attention flagging. 154 tests pass (+20); dashboard builds. Docs + CHANGELOG updated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 3753495 commit d46e984

14 files changed

Lines changed: 1080 additions & 39 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,33 @@ Format based on [Keep a Changelog](https://keepachangelog.com/).
55
## [Unreleased]
66

77
### Added
8+
- **Profile health overview** (`GET /api/profiles/health`, dashboard **Health**
9+
page): one row per profile grading it at a glance — coherence (computed
10+
instantly from the stored fingerprint), whether a proxy is set and its country,
11+
the last measured trust grade (cached from the last trust/align run, since a
12+
live check opens a real browser), any warm-up schedule, and last-active. Rows
13+
that need attention (incoherent, or a C/D trust grade) are flagged, with
14+
one-click **trust check** and **auto-adjust** per row.
15+
- **Scheduled warm-up** (`persona schedule`, `scheduler.py`, `/api/schedules*`):
16+
recurring, unattended warm-up so a session you log into once doesn't go
17+
"cold". Add a schedule per profile (interval + vertical); when `persona serve`
18+
is running a background thread fires the due runs itself, and for people who
19+
don't run the server, `persona schedule run-due` runs whatever's due from cron
20+
/ Windows Task Scheduler. Exposed in the dashboard's Warm-up section as a
21+
toggle with interval and vertical controls.
22+
- **Warm-up presets per vertical** (`persona warmup --preset`, `warmup.PRESETS`):
23+
`ads`, `ecommerce`, `crypto`, `social`, `news` (or the default `general`) each
24+
browse a site set that matches the account's world, so its history reads like
25+
a real user of that vertical rather than a random walk. Chosen from a dropdown
26+
in the dashboard; passed through `POST /api/profiles/{id}/warmup`.
27+
- **DNS leak checker** (`persona dns`, `probe.check_dns`,
28+
`/api/profiles/{id}/dns`): the companion to the proxy test — even with the
29+
proxy hiding your IP, DNS lookups that go to your own ISP's resolver still
30+
reveal the sites you visit at your real location. It resolves a batch of
31+
unique subdomains through the profile, reads back which resolvers were seen
32+
(and their countries) from a third-party test service, and fails if any sits
33+
outside the proxy's country. Folded into `proxy test` and surfaced as a **DNS
34+
leak test** button next to the connection test in the dashboard.
835
- **Proxy pool — import, test, assign** (`proxypool.py`, `/api/proxies*`):
936
a managed pool the dashboard's Proxies page now drives for real. Import a
1037
pasted list or file in any common layout (`host:port`, `host:port:user:pass`,

‎README.md‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ persona-studio/
6262
| 🔎 **Trust checker** | Grades the *real* browser against the checks a fingerprinter runs |
6363
| ✨ **Auto-adjust** | One click aligns a profile to what its browser actually presents — grade jumps to A |
6464
| 📡 **Proxy & leak test** | Exit IP, country and timezone match + WebRTC leak detection |
65+
| 🌐 **DNS leak check** | Confirms name lookups exit through the proxy, not your real ISP's resolver |
6566
| 🌐 **Proxy pool** | Import, health-check and assign proxies round-robin across profiles |
6667
| 🔐 **TLS/JA3 check** | Reads the handshake fingerprint — the one layer JS injection can't reach |
68+
| ❤️ **Health overview** | One page: coherence, proxy, trust grade and warm-up schedule per profile |
6769
| 🔑 **Encrypted vault** | Proxy passwords encrypted at rest behind a master password |
6870
| 🧩 **Extensions** | Per-profile unpacked extensions, isolated from every other profile |
69-
| ✨ **Warm-up** | Human-paced browsing so a fresh profile isn't obviously fresh |
71+
| ✨ **Warm-up + schedule** | Human-paced browsing (per-vertical presets) so a fresh profile isn't obviously fresh — and a recurring schedule so it never goes cold |
7072
| 🤖 **Automation attach** | Drive a live profile from Selenium, Puppeteer or Playwright over CDP |
7173
| 🔁 **Bulk edit** | One change applied to hundreds of profiles, coherently |
7274
| 📥 **Migrate in** | Import profiles from GoLogin, AdsPower or Multilogin exports |
@@ -242,11 +244,17 @@ stays the same manager over all of them.
242244
- [x] Dashboard-side import (GoLogin / AdsPower / Multilogin) — an Import button
243245
that maps each export to a coherent profile
244246

247+
- [x] DNS leak checker (`persona dns`) — reads which resolvers actually saw the
248+
lookups and fails if any escaped the proxy's country
249+
- [x] Warm-up presets per vertical (`--preset ads|ecommerce|crypto|social|news`)
250+
- [x] Scheduled warm-up (`persona schedule`) — recurring, unattended; the server
251+
fires due runs from a background thread, or drive it from cron with
252+
`schedule run-due`
253+
- [x] Profile health overview — one page grading coherence, proxy, cached trust
254+
and warm-up schedule across every profile, with one-click fix
255+
245256
**Next**
246257

247-
- [ ] DNS leak checker (needs a resolver-side probe, not just the browser)
248-
- [ ] Cookie warm-up presets per vertical (ads, e-commerce, crypto)
249-
- [ ] Scheduled warm-up (recurring, unattended)
250258
- [ ] Cloud sync + team roles — deliberately unbuilt: it needs a hosted backend,
251259
accounts and a threat model of its own. Persona stays local-first until
252260
that's designed properly rather than bolted on.

0 commit comments

Comments
 (0)