stealthhttp 0.3.1__tar.gz → 0.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/CHANGELOG.md +42 -0
  2. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/PKG-INFO +1 -1
  3. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/pyproject.toml +1 -1
  4. stealthhttp-0.5.0/python/stealthhttp/__init__.py +296 -0
  5. stealthhttp-0.5.0/python/stealthhttp/adaptive_persona.py +393 -0
  6. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/auto_bypass.py +69 -4
  7. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/behavior.py +1 -0
  8. stealthhttp-0.5.0/python/stealthhttp/browser_fsm.py +395 -0
  9. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/__init__.py +30 -13
  10. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/perimeterx.py +58 -21
  11. stealthhttp-0.5.0/python/stealthhttp/canvas_webgl_sim.py +253 -0
  12. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/cdp_solver.py +127 -128
  13. stealthhttp-0.5.0/python/stealthhttp/challenge_vm.py +460 -0
  14. stealthhttp-0.5.0/python/stealthhttp/coherence.py +187 -0
  15. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/perimeterx.py +45 -6
  16. stealthhttp-0.5.0/python/stealthhttp/cookie_intel.py +211 -0
  17. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/cookies.py +4 -2
  18. stealthhttp-0.5.0/python/stealthhttp/cover_traffic.py +187 -0
  19. stealthhttp-0.5.0/python/stealthhttp/dns_tunnel.py +382 -0
  20. stealthhttp-0.5.0/python/stealthhttp/entropy_mask.py +247 -0
  21. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/forms.py +25 -7
  22. stealthhttp-0.5.0/python/stealthhttp/honeypot_oracle.py +293 -0
  23. stealthhttp-0.5.0/python/stealthhttp/immortal.py +210 -0
  24. stealthhttp-0.5.0/python/stealthhttp/mesh.py +316 -0
  25. stealthhttp-0.5.0/python/stealthhttp/poison_detect.py +350 -0
  26. stealthhttp-0.5.0/python/stealthhttp/predictive_rate.py +94 -0
  27. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/prepare.py +9 -0
  28. stealthhttp-0.5.0/python/stealthhttp/proto_chameleon.py +252 -0
  29. stealthhttp-0.5.0/python/stealthhttp/replay_attack.py +391 -0
  30. stealthhttp-0.5.0/python/stealthhttp/resp_diff.py +285 -0
  31. stealthhttp-0.5.0/python/stealthhttp/rhythm.py +92 -0
  32. stealthhttp-0.5.0/python/stealthhttp/self_audit.py +370 -0
  33. stealthhttp-0.5.0/python/stealthhttp/session_dna.py +375 -0
  34. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/session_ext.py +33 -0
  35. stealthhttp-0.5.0/python/stealthhttp/smart_retry.py +168 -0
  36. stealthhttp-0.5.0/python/stealthhttp/synth_fingerprint.py +324 -0
  37. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tests/test_features_v3.py +1 -1
  38. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tests/test_v030_features.py +78 -1
  39. stealthhttp-0.5.0/python/stealthhttp/tests/test_v040_features.py +979 -0
  40. stealthhttp-0.5.0/python/stealthhttp/tests/test_v050_batch1.py +378 -0
  41. stealthhttp-0.5.0/python/stealthhttp/tests/test_v050_batch2.py +638 -0
  42. stealthhttp-0.5.0/python/stealthhttp/tests/test_v050_integrations.py +255 -0
  43. stealthhttp-0.5.0/python/stealthhttp/tests/test_v050_live.py +309 -0
  44. stealthhttp-0.5.0/python/stealthhttp/tls_clone.py +294 -0
  45. stealthhttp-0.5.0/python/stealthhttp/traffic_morph.py +333 -0
  46. stealthhttp-0.5.0/python/stealthhttp/waf_recon.py +276 -0
  47. stealthhttp-0.3.1/python/stealthhttp/__init__.py +0 -443
  48. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/.cargo/config.toml +0 -0
  49. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/.github/workflows/release.yml +0 -0
  50. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/.gitignore +0 -0
  51. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/Cargo.lock +0 -0
  52. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/Cargo.toml +0 -0
  53. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/LICENSE +0 -0
  54. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/README.md +0 -0
  55. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/benchmarks/bench.py +0 -0
  56. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/benchmarks/bench_native.py +0 -0
  57. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/examples/basic.py +0 -0
  58. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/_fallback.py +0 -0
  59. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/_loader.py +0 -0
  60. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/_rotation.py +0 -0
  61. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/ambient.py +0 -0
  62. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/antidetect.py +0 -0
  63. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/async_session.py +0 -0
  64. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/auto_profile.py +0 -0
  65. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/backends/__init__.py +0 -0
  66. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/backends/base.py +0 -0
  67. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/backends/curl_backend.py +0 -0
  68. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/backends/native_backend.py +0 -0
  69. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/backends/wreq_backend.py +0 -0
  70. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/browser_cookies.py +0 -0
  71. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/browser_pool.py +0 -0
  72. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/browsing.py +0 -0
  73. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/akamai.py +0 -0
  74. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/captcha.py +0 -0
  75. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/cloudflare.py +0 -0
  76. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/datadome.py +0 -0
  77. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/flow.py +0 -0
  78. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/imperva.py +0 -0
  79. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/kasada.py +0 -0
  80. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/shape.py +0 -0
  81. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/solver.py +0 -0
  82. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/capabilities.py +0 -0
  83. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/captcha.py +0 -0
  84. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/captcha_farm.py +0 -0
  85. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/challenge.py +0 -0
  86. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/clienthints.py +0 -0
  87. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/__init__.py +0 -0
  88. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/akamai.py +0 -0
  89. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/datadome.py +0 -0
  90. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/imperva.py +0 -0
  91. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/kasada.py +0 -0
  92. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/shape.py +0 -0
  93. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/consistency.py +0 -0
  94. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/detection.py +0 -0
  95. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/device_db.py +0 -0
  96. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/dns_intel.py +0 -0
  97. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/doh.py +0 -0
  98. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/error_analysis.py +0 -0
  99. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/exceptions.py +0 -0
  100. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/fingerprint_diff.py +0 -0
  101. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/geo.py +0 -0
  102. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/graphql.py +0 -0
  103. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/h2_frames.py +0 -0
  104. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/har.py +0 -0
  105. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/header_canon.py +0 -0
  106. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/health_monitor.py +0 -0
  107. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/hooks.py +0 -0
  108. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/hsts.py +0 -0
  109. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/httpcache.py +0 -0
  110. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/humanize.py +0 -0
  111. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/identity.py +0 -0
  112. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/js_sandbox.py +0 -0
  113. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/jsdb.py +0 -0
  114. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/jsenv.py +0 -0
  115. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/lifecycle.py +0 -0
  116. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/lint.py +0 -0
  117. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/middleware.py +0 -0
  118. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/multipart.py +0 -0
  119. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/parsing.py +0 -0
  120. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/pow.py +0 -0
  121. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/proxy.py +0 -0
  122. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/proxy_scoring.py +0 -0
  123. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/record_replay.py +0 -0
  124. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/redirect_intel.py +0 -0
  125. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/request_graph.py +0 -0
  126. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/response.py +0 -0
  127. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/response_decoder.py +0 -0
  128. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/response_intel.py +0 -0
  129. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/retry.py +0 -0
  130. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/rotation.py +0 -0
  131. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/selfcheck.py +0 -0
  132. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/sensors.py +0 -0
  133. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/session.py +0 -0
  134. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/session_coord.py +0 -0
  135. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/site_recipes.py +0 -0
  136. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/smart_proxy.py +0 -0
  137. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/__init__.py +0 -0
  138. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/audio.py +0 -0
  139. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/base.py +0 -0
  140. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/browser.py +0 -0
  141. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/local.py +0 -0
  142. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/orchestrator.py +0 -0
  143. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/providers.py +0 -0
  144. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/vision.py +0 -0
  145. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/stealth_audit.py +0 -0
  146. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/strategy.py +0 -0
  147. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tcp_tuning.py +0 -0
  148. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tests/test_cdp_solver.py +0 -0
  149. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tests/test_features_v3_live.py +0 -0
  150. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tls_ext.py +0 -0
  151. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tls_intel.py +0 -0
  152. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tls_session.py +0 -0
  153. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/traffic.py +0 -0
  154. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/websocket.py +0 -0
  155. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/fingerprint/headers.rs +0 -0
  156. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/fingerprint/ja3.rs +0 -0
  157. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/fingerprint/ja4.rs +0 -0
  158. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/fingerprint/mod.rs +0 -0
  159. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/fingerprint/profile.rs +0 -0
  160. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/lib.rs +0 -0
  161. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/proxypool.rs +0 -0
  162. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/rotation.rs +0 -0
  163. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/transport/decode.rs +0 -0
  164. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/transport/engine.rs +0 -0
  165. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/transport/mod.rs +0 -0
  166. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/transport/tls.rs +0 -0
  167. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/conftest.py +0 -0
  168. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_audio.py +0 -0
  169. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_bypass.py +0 -0
  170. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_bypasses.py +0 -0
  171. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_bypasses_live.py +0 -0
  172. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_emulation.py +0 -0
  173. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_features_v2.py +0 -0
  174. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_features_v2_live.py +0 -0
  175. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_fingerprint.py +0 -0
  176. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_humanize.py +0 -0
  177. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_jsemu.py +0 -0
  178. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_jsemu_live.py +0 -0
  179. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_live_bypass.py +0 -0
  180. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_live_detection.py +0 -0
  181. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_new_features.py +0 -0
  182. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_policies.py +0 -0
  183. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_routing.py +0 -0
  184. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_session.py +0 -0
  185. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_solving.py +0 -0
  186. {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_vision.py +0 -0
@@ -1,5 +1,47 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.0] - 2026-08-11
4
+
5
+ ### Added
6
+
7
+ - **entropy_mask** -- EntropyMask, PayloadNormalizer for masking statistical anomalies in HTTP traffic (Shannon entropy normalization, JSON key reordering, q-factor mutation)
8
+ - **honeypot_oracle** -- HoneypotOracle, TrapDetector, LinkClassifier for detecting honeypot traps before following them (Naive Bayes with 17 features, invisible link detection, trap form fields)
9
+ - **canvas_webgl_sim** -- CanvasSimulator, WebGLProfile, AudioContextSim for generating canvas/WebGL/AudioContext fingerprints without rendering (312 GPU combos, consistency-checked)
10
+ - **session_dna** -- SessionDNA, FingerprintGenome, EvolutionEngine for genetic algorithm fingerprint evolution (tournament selection, 2-point crossover, adaptive mutation, crowding distance)
11
+ - **adaptive_persona** -- AdaptivePersona, BehaviorGraph for DAG-based browsing behavior modeling with Thompson Sampling mutation selection
12
+ - **replay_attack** -- ReplayAttackDetector, RequestMutator for detecting and bypassing replay protection (nonce, HMAC, timestamp validation)
13
+ - **tls_clone** -- TLSSessionCloner, SessionTicketStore for cloning TLS session state from browser via CDP (TLS 1.3 PSK resumption)
14
+ - **browser_fsm** -- BrowserStateMachine, NavigationFSM for finite state machine modeling real browser state transitions with auto-repair
15
+ - **traffic_morph** -- TrafficMorpher, PacketPadder, TimingDistribution for transport-level traffic morphing (H2 padding, TCP window, concurrency batching)
16
+ - **dns_tunnel** -- DNSTunnel, DoHRelay, EDNSClientSubnet for DNS-level bypass (DoH relay, EDNS Client Subnet geo-spoof, DNS cache with TTL)
17
+
18
+ ### Fixed
19
+
20
+ - **bypasses/perimeterx** -- detect() now catches _pxAppId, window._pxVid, px-cdn, human.security markers; extended to 429/503 statuses (was 403-only)
21
+ - **cdp_solver** -- added fetch_through() for CDP proxy mode (bypasses TLS fingerprint mismatch); enhanced stealth patches (navigator.connection, outerWidth/Height, chrome.app, HeadlessChrome UA fix)
22
+ - **auto_bypass** -- added CDP proxy mode fallback (_try_cdp_fetch) after regular CDP solve fails
23
+ - **bypasses/__init__** -- _try_cdp_solver now falls back to solve_and_fetch when cookie-based CDP solve fails due to TLS mismatch
24
+
25
+ ## [0.4.0] - 2026-08-10
26
+
27
+ ### Added
28
+
29
+ - **synth_fingerprint** -- SynthProfile and FingerprintSynthesizer for generating realistic browser fingerprints from statistical models
30
+ - **waf_recon** -- WafInfo, recon_sync/recon for identifying WAF vendors and versions from response signatures
31
+ - **poison_detect** -- PoisonScore, PoisonDetector, poison_check for detecting cache poisoning and response manipulation
32
+ - **resp_diff** -- DiffReport, diff_json, diff_html_structure, compare_bodies for structural comparison of HTTP responses
33
+ - **predictive_rate** -- PredictiveRateLimiter for anticipating rate limit windows and pre-throttling requests
34
+ - **smart_retry** -- FailureDiagnosis, RetryStrategy, SmartRetry for intelligent retry with root-cause failure analysis
35
+ - **rhythm** -- HumanRhythm, weibull_delay for Weibull-distributed inter-request timing that mimics human browsing patterns
36
+ - **coherence** -- CoherentProfile, coherent_headers, check_coherence, country_to_locale/timezone/accept_language for ensuring header-locale-timezone consistency
37
+ - **cookie_intel** -- CookieClassification, CookieIntelligence for classifying cookies by vendor and purpose (tracking, auth, antibot)
38
+ - **cover_traffic** -- SubResource, CoverTrafficGenerator for generating plausible background requests (CSS, JS, images) alongside primary requests
39
+ - **immortal** -- ImmortalSession for sessions that survive proxy failures, identity rotation, and connection drops without losing state
40
+ - **mesh** -- SessionMesh, MeshState for coordinating multiple sessions with shared state and identity distribution
41
+ - **challenge_vm** -- ChallengeVM, ChallengeResult for executing JavaScript challenge scripts in an isolated VM environment
42
+ - **proto_chameleon** -- ProtocolChameleon, NegotiationResult for dynamic HTTP/1.1 vs HTTP/2 vs HTTP/3 negotiation matching target server preferences
43
+ - **self_audit** -- RequestAuditor, AuditReport, AuditFinding for runtime self-inspection of outgoing requests against known detection vectors
44
+
3
45
  ## [0.3.1] - 2026-08-10
4
46
 
5
47
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stealthhttp
3
- Version: 0.3.1
3
+ Version: 0.5.0
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -7,7 +7,7 @@ build-backend = "maturin"
7
7
 
8
8
  [project]
9
9
  name = "stealthhttp"
10
- version = "0.3.1"
10
+ version = "0.5.0"
11
11
  description = "HTTP with TLS fingerprint impersonation, rotation and proxy health tracking"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.9"
@@ -0,0 +1,296 @@
1
+ """stealthhttp — HTTP with TLS fingerprint impersonation.
2
+
3
+ from stealthhttp import Session
4
+
5
+ s = Session(browser="chrome136", proxy="http://user:pass@ip:port")
6
+ r = s.get("https://example.com", timeout=15)
7
+ print(r.status_code, r.text)
8
+
9
+ print(s.ja3_hash, s.ja4)
10
+ """
11
+
12
+ from __future__ import annotations
13
+
14
+ from typing import Any
15
+
16
+ from . import bypasses, collectors, multipart
17
+ from ._loader import NATIVE, Profile, Rotator, build_profile, resolve_profile
18
+ from .antidetect import Jitter
19
+ from .backends import available_backends, get_backend
20
+ from .browsing import KINDS, RefererChain, fetch_site
21
+ from .bypasses import BypassEngine, BypassResult
22
+ from .capabilities import CAPABILITIES, Cap, CapabilityUnsupported, Router
23
+ from .captcha import Challenge, Solvability, Solver, Vendor, identify
24
+ from .clienthints import HintStore
25
+ from .collectors import (
26
+ AkamaiSensor,
27
+ DataDomeCollector,
28
+ ImpervaCollector,
29
+ PerimeterXCollector,
30
+ )
31
+ from .identity import Identity, IdentityStore
32
+ from .behavior import PageVisit, VisitPlan, plan_visit
33
+ from .challenge import CLEARANCE_COOKIES, ChallengeTracker, find_interstitial
34
+ from .cookies import Cookie, CookieJar
35
+ from .detection import VECTORS, Layer, Status, audit, lint
36
+ from .geo import COUNTRY_LANGUAGES, ProxyGeo, language_for
37
+ from .hsts import HstsStore
38
+ from .httpcache import ResponseCache
39
+ from .humanize import (
40
+ DEFAULT_MAX_KMH,
41
+ ActivityClock,
42
+ FlowStep,
43
+ TravelCheck,
44
+ check_travel,
45
+ dwell_times,
46
+ )
47
+ from .jsenv import JsEnvironment
48
+ from .exceptions import (
49
+ Banned,
50
+ CircuitOpen,
51
+ ConnectionError,
52
+ HTTPStatusError,
53
+ NoHealthyProxies,
54
+ ProxyError,
55
+ RequestsError,
56
+ StealthHTTPError,
57
+ Timeout,
58
+ TooManyRedirects,
59
+ UnknownProfile,
60
+ )
61
+ from .hooks import HookRegistry, PreparedRequest, log_hook
62
+ from .pow import PowSolution, solve_sha256
63
+ from .proxy import ProxyPool, detect_ban
64
+ from .response import Response
65
+ from .retry import CircuitBreaker, RetryPolicy
66
+ from .selfcheck import measure, predict, verify
67
+ from .sensors import (
68
+ InteractionSequence,
69
+ KeyboardTrack,
70
+ MouseEvent,
71
+ MouseTrack,
72
+ ScrollTrack,
73
+ TouchTrack,
74
+ )
75
+ from .session import Session
76
+ from .async_session import AsyncSession
77
+ from .doh import DoHResolver
78
+ from .har import export_har, save_har, load_har, replay_har
79
+ from .parsing import HTMLDocument, Element
80
+ from .websocket import WebSocket
81
+ from .proxy import parse_chain, connect_chain
82
+ from .tcp_tuning import TCPProfile, ConnectionPoolPolicy, apply_tcp_profile, dns_prefetch_domains
83
+ from .tls_session import SessionTicket, SessionTicketCache, RecordSplitPattern, TLSCaptureProxy
84
+ from .tls_ext import ECHConfig, ALPSConfig, CertCompression, shuffle_extensions, get_pq_curve
85
+ from .h2_frames import PriorityTree, FlowControlProfile, ConditionalHeaders, accept_for_type
86
+ from .consistency import EntropyScorer, NavigatorCoherence, validate_cross_layer
87
+ from .device_db import DeviceSpec, pick_device
88
+ from .ambient import AmbientLoader, DecoyTraffic, TimingCoherence, WarmupPipeline
89
+ from .lifecycle import PageLifecycle, ScrollDepthModel, HumanIdleModel
90
+ from .browser_cookies import import_chrome, import_firefox, find_browser_profiles
91
+ from .rotation import AgeRotator, GradientRotator, SessionRecorder
92
+ from .middleware import Middleware, MiddlewarePipeline, RateLimitMiddleware
93
+ from .strategy import AdaptiveStrategy, WAFDetector, HoneypotDetector, RateLimitPredictor, StealthDiagnostic
94
+ from .js_sandbox import JSSandbox, Deobfuscator, match_challenge, CHALLENGE_TEMPLATES
95
+ from .middleware import ConcurrencyLimiter, DomainThrottle, CorsPreflight, CacheRevalidator
96
+ from .stealth_audit import StealthScore, ProfileDiff, quick_audit
97
+ from .auto_profile import AutoProfileSelector, ProfileRotationPolicy
98
+ from .header_canon import HeaderCanonicalizer, PseudoHeaderOrder
99
+ from .tls_intel import CertAnalyzer, ServerFingerprint, MitmDetector
100
+ from .response_intel import BodyIntelligence, CookieClassifier, PatternDetector
101
+ from .traffic import NetworkSimulator, TrafficShaper, BandwidthMonitor, NETWORK_PROFILES
102
+ from .dns_intel import DnsLeakChecker, CnameTracker, CdnDetector, DnsPrefetchPlanner
103
+ from .proxy_scoring import ProxyScorer, ProxyBenchmark
104
+ from .redirect_intel import RedirectTracker, ChallengeRedirectDetector, RedirectPattern
105
+ from .error_analysis import ErrorClassifier, ErrorPattern, FixSuggester
106
+ from .session_coord import SharedRateLimiter, IdentityRotationPolicy, SessionPool, CoordinationHub
107
+ from .health_monitor import HealthMonitor, AlertManager, HealthStatus, SessionHealth
108
+ from .request_graph import RequestGraph, ResourceNode, build_graph_from_html, estimate_load_time
109
+ from .response_decoder import ContentDecoder, CharsetDetector, EncodingNegotiator, decode_response
110
+ from .fingerprint_diff import FingerprintDiff, format_diff, similarity_score
111
+ from .cdp_solver import StealthBrowser, CdpSession, find_chrome, solve_challenge as cdp_solve
112
+ from .auto_bypass import AutoSession
113
+ from .site_recipes import SiteRecipe, get_recipe, apply_recipe, RECIPES
114
+ from .forms import Form, FormField, FormExtractor, fill_form, submit_form
115
+ from .graphql import GraphQLClient, GraphQLResponse, GraphQLError
116
+ from .smart_proxy import SmartProxyPool, ProxySiteStats
117
+ from .browser_pool import BrowserPool
118
+ from .record_replay import HttpRecorder, SessionReplayer, RecordedEntry, record_session
119
+ from .captcha_farm import CaptchaFarm, SolveResult
120
+
121
+ from .synth_fingerprint import SynthProfile, FingerprintSynthesizer
122
+ from .waf_recon import WafInfo, recon_sync, recon, WAF_SIGNATURES
123
+ from .poison_detect import PoisonScore, PoisonDetector, poison_check
124
+ from .resp_diff import DiffReport, diff_json, diff_html_structure, compare_bodies
125
+ from .predictive_rate import PredictiveRateLimiter
126
+ from .smart_retry import FailureDiagnosis, RetryStrategy, SmartRetry
127
+ from .rhythm import HumanRhythm, weibull_delay
128
+ from .coherence import CoherentProfile, coherent_headers, check_coherence, country_to_locale, country_to_timezone, country_to_accept_language
129
+ from .cookie_intel import CookieClassification, CookieIntelligence
130
+ from .cover_traffic import SubResource, CoverTrafficGenerator
131
+ from .immortal import ImmortalSession
132
+ from .mesh import SessionMesh, MeshState
133
+ from .challenge_vm import ChallengeVM, ChallengeResult
134
+ from .proto_chameleon import ProtocolChameleon, NegotiationResult
135
+ from .self_audit import RequestAuditor, AuditReport, AuditFinding
136
+ from .entropy_mask import EntropyMask, PayloadNormalizer, EntropyProfile, shannon_entropy
137
+ from .honeypot_oracle import HoneypotOracle, TrapDetector, LinkClassifier, TrapScore
138
+ from .canvas_webgl_sim import CanvasSimulator, AudioContextSim, CanvasWebGLProfile, WebGLProfile, generate_profile as gen_fp_profile, random_profile as rand_fp_profile, available_gpus, available_platforms
139
+ from .session_dna import SessionDNA, FingerprintGenome, EvolutionEngine
140
+ from .adaptive_persona import AdaptivePersona, BehaviorGraph, BehaviorNode, BehaviorEdge
141
+ from .tls_clone import TLSCloneData, TLSSessionCloner, SessionTicketStore, PSKIdentity, merge_with_session, clone_from_url
142
+ from .traffic_morph import TrafficProfile, TrafficMorpher, PacketPadder, TimingDistribution, ConcurrencyBatcher, TrafficReport
143
+ from .dns_tunnel import DNSTunnel, DoHRelay, EDNSClientSubnet, DNSCache, DNSRecord, DNSResult
144
+ from .replay_attack import ReplayAttackDetector, RequestMutator, ReplayProtection, detect_replay_protection, mutate_request
145
+ from .browser_fsm import BrowserStateMachine, NavigationFSM, BrowserState, StateTransition
146
+
147
+ __version__ = "0.5.0"
148
+
149
+ __all__ = [
150
+ "Session", "Response", "ProxyPool", "CookieJar", "Cookie",
151
+ "RetryPolicy", "CircuitBreaker", "Jitter",
152
+ "HookRegistry", "PreparedRequest", "log_hook",
153
+ "Profile", "Rotator", "resolve_profile", "build_profile",
154
+ "detect_ban", "predict", "measure", "verify",
155
+ "available_backends", "get_backend", "NATIVE", "__version__",
156
+ "Cap", "CAPABILITIES", "CapabilityUnsupported", "Router",
157
+ "KINDS", "RefererChain", "fetch_site",
158
+ "ChallengeTracker", "CLEARANCE_COOKIES", "find_interstitial", "multipart",
159
+ "PageVisit", "VisitPlan", "plan_visit", "ResponseCache",
160
+ "ActivityClock", "TravelCheck", "check_travel", "DEFAULT_MAX_KMH",
161
+ "FlowStep", "dwell_times", "ProxyGeo", "COUNTRY_LANGUAGES", "language_for",
162
+ "VECTORS", "Layer", "Status", "audit", "lint",
163
+ "Vendor", "Solvability", "Challenge", "Solver", "identify",
164
+ "Identity", "IdentityStore",
165
+ "StealthHTTPError", "RequestsError", "ConnectionError", "Timeout",
166
+ "ProxyError", "TooManyRedirects", "HTTPStatusError",
167
+ "NoHealthyProxies", "Banned", "CircuitOpen", "UnknownProfile",
168
+ "JsEnvironment", "HintStore", "HstsStore",
169
+ "MouseTrack", "MouseEvent", "KeyboardTrack", "TouchTrack",
170
+ "ScrollTrack", "InteractionSequence",
171
+ "AkamaiSensor", "PerimeterXCollector", "DataDomeCollector", "ImpervaCollector",
172
+ "collectors", "BypassEngine", "BypassResult", "bypasses",
173
+ "PowSolution", "solve_sha256",
174
+ "AsyncSession", "WebSocket", "DoHResolver",
175
+ "export_har", "save_har", "load_har", "replay_har",
176
+ "HTMLDocument", "Element", "parse_chain", "connect_chain",
177
+ "TCPProfile", "ConnectionPoolPolicy", "apply_tcp_profile", "dns_prefetch_domains",
178
+ "SessionTicket", "SessionTicketCache", "RecordSplitPattern", "TLSCaptureProxy",
179
+ "ECHConfig", "ALPSConfig", "CertCompression", "shuffle_extensions", "get_pq_curve",
180
+ "PriorityTree", "FlowControlProfile", "ConditionalHeaders", "accept_for_type",
181
+ "EntropyScorer", "NavigatorCoherence", "validate_cross_layer",
182
+ "DeviceSpec", "pick_device",
183
+ "AmbientLoader", "DecoyTraffic", "TimingCoherence", "WarmupPipeline",
184
+ "PageLifecycle", "ScrollDepthModel", "HumanIdleModel",
185
+ "import_chrome", "import_firefox", "find_browser_profiles",
186
+ "AgeRotator", "GradientRotator", "SessionRecorder",
187
+ "Middleware", "MiddlewarePipeline", "RateLimitMiddleware",
188
+ "AdaptiveStrategy", "WAFDetector", "HoneypotDetector", "RateLimitPredictor", "StealthDiagnostic",
189
+ "JSSandbox", "Deobfuscator", "match_challenge", "CHALLENGE_TEMPLATES",
190
+ "ConcurrencyLimiter", "DomainThrottle", "CorsPreflight", "CacheRevalidator",
191
+ "StealthScore", "ProfileDiff", "quick_audit",
192
+ "AutoProfileSelector", "ProfileRotationPolicy",
193
+ "HeaderCanonicalizer", "PseudoHeaderOrder",
194
+ "CertAnalyzer", "ServerFingerprint", "MitmDetector",
195
+ "BodyIntelligence", "CookieClassifier", "PatternDetector",
196
+ "NetworkSimulator", "TrafficShaper", "BandwidthMonitor", "NETWORK_PROFILES",
197
+ "DnsLeakChecker", "CnameTracker", "CdnDetector", "DnsPrefetchPlanner",
198
+ "ProxyScorer", "ProxyBenchmark",
199
+ "RedirectTracker", "ChallengeRedirectDetector", "RedirectPattern",
200
+ "ErrorClassifier", "ErrorPattern", "FixSuggester",
201
+ "SharedRateLimiter", "IdentityRotationPolicy", "SessionPool", "CoordinationHub",
202
+ "HealthMonitor", "AlertManager", "HealthStatus", "SessionHealth",
203
+ "RequestGraph", "ResourceNode", "build_graph_from_html", "estimate_load_time",
204
+ "ContentDecoder", "CharsetDetector", "EncodingNegotiator", "decode_response",
205
+ "FingerprintDiff", "format_diff", "similarity_score",
206
+ "StealthBrowser", "CdpSession", "find_chrome", "cdp_solve",
207
+ "AutoSession",
208
+ "SiteRecipe", "get_recipe", "apply_recipe", "RECIPES",
209
+ "Form", "FormField", "FormExtractor", "fill_form", "submit_form",
210
+ "GraphQLClient", "GraphQLResponse", "GraphQLError",
211
+ "SmartProxyPool", "ProxySiteStats", "BrowserPool",
212
+ "HttpRecorder", "SessionReplayer", "RecordedEntry", "record_session",
213
+ "CaptchaFarm", "SolveResult",
214
+ "SynthProfile", "FingerprintSynthesizer",
215
+ "WafInfo", "recon_sync", "recon", "WAF_SIGNATURES",
216
+ "PoisonScore", "PoisonDetector", "poison_check",
217
+ "DiffReport", "diff_json", "diff_html_structure", "compare_bodies",
218
+ "PredictiveRateLimiter",
219
+ "FailureDiagnosis", "RetryStrategy", "SmartRetry",
220
+ "HumanRhythm", "weibull_delay",
221
+ "CoherentProfile", "coherent_headers", "check_coherence",
222
+ "country_to_locale", "country_to_timezone", "country_to_accept_language",
223
+ "CookieClassification", "CookieIntelligence",
224
+ "SubResource", "CoverTrafficGenerator",
225
+ "ImmortalSession", "SessionMesh", "MeshState",
226
+ "ChallengeVM", "ChallengeResult",
227
+ "ProtocolChameleon", "NegotiationResult",
228
+ "RequestAuditor", "AuditReport", "AuditFinding",
229
+ # v0.5.0: entropy masking
230
+ "EntropyMask", "PayloadNormalizer", "EntropyProfile", "shannon_entropy",
231
+ # v0.5.0: honeypot detection
232
+ "HoneypotOracle", "TrapDetector", "LinkClassifier", "TrapScore",
233
+ # v0.5.0: canvas/WebGL/audio fingerprint simulation
234
+ "CanvasSimulator", "AudioContextSim", "CanvasWebGLProfile", "WebGLProfile",
235
+ "gen_fp_profile", "rand_fp_profile", "available_gpus", "available_platforms",
236
+ # v0.5.0: genetic fingerprint evolution
237
+ "SessionDNA", "FingerprintGenome", "EvolutionEngine",
238
+ # v0.5.0: adaptive browsing persona
239
+ "AdaptivePersona", "BehaviorGraph", "BehaviorNode", "BehaviorEdge",
240
+ # v0.5.0: TLS session cloning
241
+ "TLSCloneData", "TLSSessionCloner", "SessionTicketStore", "PSKIdentity",
242
+ "merge_with_session", "clone_from_url",
243
+ # v0.5.0: traffic morphing
244
+ "TrafficProfile", "TrafficMorpher", "PacketPadder",
245
+ "TimingDistribution", "ConcurrencyBatcher", "TrafficReport",
246
+ # v0.5.0: DNS tunnel / DoH relay
247
+ "DNSTunnel", "DoHRelay", "EDNSClientSubnet", "DNSCache", "DNSRecord", "DNSResult",
248
+ # v0.5.0: replay attack detection/bypass
249
+ "ReplayAttackDetector", "RequestMutator", "ReplayProtection",
250
+ "detect_replay_protection", "mutate_request",
251
+ # v0.5.0: browser state machine
252
+ "BrowserStateMachine", "NavigationFSM", "BrowserState", "StateTransition",
253
+ # module-level verbs
254
+ "request", "get", "post", "put", "patch", "delete", "head", "options",
255
+ ]
256
+
257
+
258
+ def request(method: str, url: str, *, browser: str = "chrome136", **kw: Any) -> Response:
259
+ """One-shot request. Prefer a :class:`Session` for anything repeated —
260
+ it reuses connections and keeps cookies."""
261
+ session_keys = (
262
+ "proxy", "proxy_pool", "rotate", "platform", "backend", "verify",
263
+ "http2", "delay", "retries", "circuit_breaker", "isolate_cookies",
264
+ "accept_language", "base_url", "detect_bans", "max_redirects",
265
+ )
266
+ skw = {k: kw.pop(k) for k in list(kw) if k in session_keys}
267
+ with Session(browser=browser, **skw) as s:
268
+ return s.request(method, url, **kw)
269
+
270
+
271
+ def get(url: str, **kw: Any) -> Response:
272
+ return request("GET", url, **kw)
273
+
274
+
275
+ def post(url: str, **kw: Any) -> Response:
276
+ return request("POST", url, **kw)
277
+
278
+
279
+ def put(url: str, **kw: Any) -> Response:
280
+ return request("PUT", url, **kw)
281
+
282
+
283
+ def patch(url: str, **kw: Any) -> Response:
284
+ return request("PATCH", url, **kw)
285
+
286
+
287
+ def delete(url: str, **kw: Any) -> Response:
288
+ return request("DELETE", url, **kw)
289
+
290
+
291
+ def head(url: str, **kw: Any) -> Response:
292
+ return request("HEAD", url, **kw)
293
+
294
+
295
+ def options(url: str, **kw: Any) -> Response:
296
+ return request("OPTIONS", url, **kw)