Scan your whole stack
Are you using stealthhttp?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.10.5
stealthhttp was last scanned on 23 Nov 2026 at version 0.10.5. Risk score 0 of 100. High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 0.10.5 LATEST | 23 Nov 2026 | 1 rule fired |
| 0.10.4 | 23 Nov 2026 | 1 rule fired |
| 0.10.3 | 23 Nov 2026 | 1 rule fired |
| 0.10.2 | 22 Nov 2026 | Not shown |
| 0.10.1 | 20 Nov 2026 | Not shown |
Findings for v0.10.5. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.
HIGHThe score describes 0.10.5; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A standalone HTTP client with TLS fingerprint impersonation — its own BoringSSL ClientHello and HTTP/1.1+2 stack, not a wrapper around wreq/curl_cffi — plus rotation, proxy health, behaviour emulation, and a captcha-solving orchestration layer.
from stealthhttp import Session
s = Session(browser="chrome158", proxy="http://user:pass@ip:port")
r = s.get("https://example.com", timeout=15)
print(r.status_code, r.text)
print(s.ja3_hash, s.ja4)
src/transport/ builds the ClientHello from a Profile directly against BoringSSL (boring 5), runs HTTP/1.1 and HTTP/2 over hyper, and drives everything on a Tokio runtime with its own connection pool — the layer reqwest and curl occupy. wreq and curl_cffi are optional fallbacks for the handful of things the native engine doesn't implement yet (streaming bodies, WebSocket, SOCKS5, HTTP/3); the capability router picks them automatically and nothing degrades silently.
| Layer | Owner |
|---|---|
| ClientHello, HTTP/1.1+2, connection pool, batch execution | native engine (Rust: boring + hyper + Tokio) |
| Profile database, JA3/JA4, header consistency | stealthhttp core (Rust, pure-Python fallback) |
| Rotation, proxy health, pacing, retries, cookies, behaviour, captcha orchestration | stealthhttp (Python) |
| Streaming, WebSocket, SOCKS5, HTTP/3 | wreq / curl_cffi (fallback only) |
Chrome ≤151:
observed t13d1516h2_8daaf6152771_d8a2da3f94cd
expected t13d1516h2_8daaf6152771_d8a2da3f94cd
Chrome 152+ (trust_anchors extension added):
observed t13d1517h2_8daaf6152771_cb7bf5808d99
expected t13d1517h2_8daaf6152771_cb7bf5808d99
missing [] extra []
groups: GREASE, X25519MLKEM768 (4588), X25519, P-256, P-384
15 ciphers, 17 extensions (16 prior to Chrome 152), GREASE, BoringSSL's per-connection extension permutation, ALPS at codepoint 17613, ECH GREASE, brotli certificate compression, trust_anchors (51764, Chrome 152+), ML-DSA post-quantum signature algorithms (Chrome 155+) — all from a ClientHello this library builds.
Batch of 60 requests, 12 Python threads for the thread-based comparisons:
| client | wall | req/s | |
|---|---|---|---|
| native engine (raw batch) | 0.11s | 539.7 | best |
Session.fetch_many (full pipeline) |
0.14s | 437.9 | 1.23x |
| wreq + 12 threads | 0.44s | 134.9 | 4.0x slower |
| curl_cffi + 12 threads | 1.47s | 40.9 | 13.2x slower |
| curl_cffi sequential | 5.25s | 11.4 | 47.2x slower |
| wreq sequential | 5.46s | 11.0 | 49.1x slower |
All 60 requests in the batch rode a single pooled HTTP/2 connection. The win isn't a faster socket — one request is one round trip, and every client ties there. It's that a whole batch crosses into Rust once: one GIL release, with concurrency, connection reuse and stream multiplexing decided in Rust rather than N round trips with the interpreter scheduling each one. curl_cffi gains nothing from threads because libcurl handles aren't thread-safe, so correct usage means a session — and a TLS handshake — per thread.
Run it yourself: python benchmarks/bench_native.py --n 80 --workers 16.
Tested against 18 real sites, datacenter IP, no proxy, native engine:
| Target | WAF | Status | Result |
|---|---|---|---|
| cloudflare.com | Cloudflare | 200 | pass |
| discord.com | Cloudflare | 200 | pass |
| nowsecure.nl | Cloudflare | 200 | pass |
| shopify.com | Cloudflare | 200 | pass |
| nike.com | Akamai Bot Manager | 200 | pass |
| twitch.tv | Akamai | 200 | pass |
| linkedin.com | Akamai | 200 | pass |
| ebay.com | Akamai Bot Manager | 200 | pass (bypass engine) |
| footlocker.com | DataDome | 200 | pass |
| vinted.com | DataDome | 200 | pass |
| leboncoin.fr | DataDome | 200 | pass |
| alltrails.com | DataDome | 200 | pass |
| zillow.com | PerimeterX/HUMAN | 200 | pass |
| walmart.com | PerimeterX/HUMAN | 200 | pass |
| incapsula.com | Imperva | 200 | pass |
| amazon.com | — | 200 | pass |
| x.com | — | 200 | pass |
| hermes.com | DataDome | 403 | DC IP reputation block |
17/18 (94%) on a datacenter IP with no proxy or solver. hermes.com is an infrastructure-level IP reputation block (DataDome x-dd-b=1), not a fingerprint or sensor failure — it passes on residential IPs.
Fingerprint verification (tls.peet.ws): JA4 exact match, TLS 1.3, HTTP/2, correct Akamai H2 fingerprint 1:65536;2:0;4:6291456;6:262144|15663105|...|m,a,s,p.
c-segment does not match a live capture — the sig_alg order hasn't been fully recovered. Marked derived-known-gap.record_size_limit (28) and delegated_credentials (34) — boring exposes no API for either.Solvability.BROWSER.pip install maturin
maturin develop --release # builds the native transport
python -c "import stealthhttp._core as c; print(c.HAS_TRANSPORT)" # True
Building needs a Rust toolchain and cmake (pip install cmake is enough — no Go, no system BoringSSL). Without a compiled core the package still runs on a pure-Python fingerprint mirror plus wreq/curl_cffi if either is installed — stealthhttp.NATIVE and available_backends() report what's active.
Everything visible at the HTTP layer is derived from the same profile that drives TLS, so the two can never disagree. This is the most common way a scraper gives itself away: a Chrome 136 ClientHello paired with a Chrome 120 sec-ch-ua, or a Firefox JA3 sending client hints at all (Firefox doesn't implement them).
>>> from stealthhttp import resolve_profile
>>> resolve_profile("chrome158").sec_ch_ua
'"Not:A;Brand";v="8", "Chromium";v="158", "Google Chrome";v="158"'
>>> resolve_profile("firefox150").sec_ch_ua # correctly sends none
None
The Chromium sec-ch-ua GREASE algorithm — brand permutation, GREASE punctuation, GREASE version — is derived from the major version, verified byte-for-byte against live Chrome 131–158, so it produces correct hints for versions no library ships yet.
A browser sends a different sec-fetch-*/accept/priority group for a navigation than for an XHR. Sending the navigation set on an API call is a common, easily-filtered mistake.
s.get(api_url, kind="xhr") # sec-fetch-mode: cors, accept: */*, no upgrade-insecure-requests
s.get(img_url, kind="image") # sec-fetch-dest: image, image accept list, priority: u=2, i
s.browse(page_url) # fetches the document, then its stylesheets/scripts/images/favicon
Session.browse() exists because a "browser" that fetches HTML and never a stylesheet, script, font, image or favicon is the loudest behavioural signal there is.
>>> from stealthhttp import predict, verify
>>> predict("chrome158").ja4
't13d1517h2_8daaf6152771_cb7bf5808d99' # no network
>>> verify("chrome158").ok # compares against a live capture
True
Chrome has shuffled its ClientHello extension order since v110, so its JA3 hash legitimately changes per connection — a fixed JA3 is the anomaly. JA4 sorts its inputs and stays stable; prefer it.
s = Session(
browser=["chrome158", "firefox150", "edge158"], rotate="sticky_per_domain",
proxy_pool=["http://p1", "http://p2", "http://p3"],
delay=(0.4, 1.8), jitter_distribution="lognormal",
retries=3, circuit_breaker=True,
)
Sticky rotation keeps one browser and one proxy per host, since a clearance cookie is bound to the IP and User-Agent that earned it — ChallengeTracker pins that pair once a cf_clearance/datadome/etc. cookie shows up and refuses to rotate it away. Consecutive proxy failures bench it for a doubling cooldown; a detected ban takes it out until revive_all(). Retries respect Retry-After, skip POST by default, and a circuit breaker stops hammering a host that's down.
responses = s.fetch_many([url1, url2, ..., url100]) # one GIL crossing, one pooled connection
Each request still goes through rotation, coherent headers, cookies and proxy selection — the whole batch just crosses into Rust once instead of once per request.
s = Session(resolve={"example.com": "1.2.3.4"}) # connects there; SNI/Host still say example.com
Owning the TCP connect makes this possible. wreq accepts resolve= and silently ignores it — this was measured, not assumed, and is why CapabilityUnsupported exists rather than a request that quietly goes to the wrong place.
from stealthhttp import Identity
ident = Identity.from_storage_state("cookies_export.json", browser="chrome158", proxy=proxy)
s = Session(identity=ident)
...
s.save_identity("account-42.json") # cookies + clearance pins, ready to resume
from_storage_state and from_cookies_txt are browser-agnostic — they read a cookie export, not caring whether it came from Playwright, plain Chrome, or an antidetect browser. That's the hand-off this is built for: solve an interactive challenge once, for real, then keep going at HTTP speed with the identity that earned clearance.
Jitter paces gaps within a session. Antifraud engines (Sift, Forter, Stripe Radar) also watch what only shows up across sessions — what hours an account is normally active, and whether it appears somewhere travel couldn't explain in the time available. Neither piece here is wired into the request path automatically; both are tools you consult explicitly when scheduling work, not a hook that could silently make Session.get() block for hours.
from stealthhttp import ActivityClock, FlowStep, check_travel
clock = ActivityClock.for_country("DE")
if not clock.is_plausible_now():
time.sleep(clock.wait_seconds()) # 3am in Berlin is a quiet hour, not a good time to run a batch
check = ident.check_travel("RU") # before reusing an identity with a different proxy
if not check.plausible:
ident = store.get("a-different-account") # this one was just in the US an hour ago
s.visit_flow([ # realistic dwell time per page, not just inter-request jitter
FlowStep("https://shop.example/", dwell=(5, 15)),
FlowStep("https://shop.example/product/42", dwell=(10, 40)),
FlowStep("https://shop.example/cart", dwell=(3, 10)),
])
check_travel is centroid-distance-based and, measured directly, that alone falsely flags the single most common real proxy-pool pairing: US↔Canada within an hour computed as "1898 km/h needed" because a country's geometric centroid can be thousands of km from its own border. Fixed with an explicit ADJACENT_COUNTRIES table (US-CA, US-MX, and two dozen other confirmed-adjacent pairs) that bypasses the distance check for bordering countries, while genuinely impossible jumps (US↔Russia, GB↔Australia within an hour) are still caught at 15,000+ km/h.
An HTTP client can't execute JavaScript, but it can generate the same data that JS collectors send. stealthhttp emulates the observable effects of a browser's JS environment:
from stealthhttp import JsEnvironment, InteractionSequence
from stealthhttp.collectors import AkamaiSensor, PerimeterXCollector
# Real device fingerprint — 10K records from actual Chrome instances, zero synthetic data
env = JsEnvironment.from_real_device("chrome158")
print(env.webgl.renderer) # "ANGLE (Intel, Intel(R) UHD Graphics 730 Direct3D11 vs_5_0 ps_5_0, ...)"
# Or derive from a profile spec (deterministic per seed, coherent with HTTP headers)
env = JsEnvironment.derive("chrome158", platform="macos", seed=42)
# Natural mouse movement, keyboard timing, scroll behavior
events = InteractionSequence.generate(seed=42, viewport=(env.window.inner_width, env.window.inner_height))
# Antibot sensor payloads for Akamai, PerimeterX, DataDome, Imperva
sensor = AkamaiSensor(abck_cookie=resp.cookies.get("_abck", ""))
payload = sensor.generate(env, events, page_url)
s.post(sensor.post_url(page_url), data=sensor.form_body(payload))
What this covers:
JsEnvironment: complete navigator/screen/window/WebGL/canvas/audio/font property sets, deterministic per seed, coherent with HTTP headers. Database of real hardware configs (Apple Silicon, NVIDIA/AMD/Intel GPUs, screen resolutions per platform).InteractionSequence: mouse trajectories (Bezier curves, Fitts's law timing, overshoot-and-correct), keystroke timing (right-skewed, bigram-aware), touch gestures (tap/swipe/scroll with realistic pressure), scroll behavior (wheel steps or trackpad momentum).HintStore: Client Hints negotiation — Chrome sends low-entropy hints always, high-entropy only after Accept-CH, Critical-CH triggers automatic retry. Firefox/Safari correctly send none.HstsStore: HSTS preload enforcement (~80 top domains) + learned policies — no plain HTTP to google.com.SameSite: enforcement of Strict/Lax/None, __Secure-/__Host- prefix validation.solve_sha256(): SHA-256/HMAC/double-SHA proof-of-work solver for computational challenges.auto_bypass=True makes the session automatically detect and bypass antibot challenges without a real browser:
s = Session(browser="chrome158", proxy=proxy, auto_bypass=True)
r = s.get("https://akamai-protected-site.com") # _abck sensor submitted automatically
r = s.get("https://datadome-site.com") # device fingerprint sent to api-js.datadome.co
r = s.get("https://cloudflare-site.com") # PoW solved and submitted
print(s.bypass.report()) # per-vendor success stats
What the engine handles natively (no browser, no external API):
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.