@anonympins/fingerprint 0.4.1 → 0.4.2
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.
- package/CHANGELOG.md +17 -0
- package/package.json +1 -1
- package/src/js/fingerprint.js +4521 -4429
- package/src/js/problem-manager.js +590 -539
- package/src/php/AutoTuner.php +197 -154
- package/src/php/FingerprintEngine.php +1010 -1006
- package/src/php/ProblemManager.php +258 -254
- package/src/php/Tests/problems.config.json +8 -8
- package/src/php/Utils/RequestUtils.php +1189 -1169
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## Version 0.4.2 (Hotfix)
|
|
2
|
+
|
|
3
|
+
### 🧬 Auto-Tuner Rework & Sanity Guardrails
|
|
4
|
+
- **Genetic Optimizer Guardrails**: Hardened the auto-tuning engine (JS & PHP) with strict guardrails, ensuring optimized configurations maintain proper threshold hierarchies (`low < medium < high < block`) and prevent weights from collapsing below safe minimum thresholds.
|
|
5
|
+
- **Inertial Parameter Sliding**: Implemented a smooth update algorithm (`applyInertialUpdate`) that applies changes progressively using an adaptive learning rate to prevent configuration spikes.
|
|
6
|
+
- **Traffic-Confidence Learning**: Auto-tuning transitions are now weighted dynamically based on high-confidence traffic signals, slowing adjustments down in noisy/unreliable traffic and accelerating them during verified attacks.
|
|
7
|
+
|
|
8
|
+
### ⚙️ Non-Blocking Useful Work & Problem Inits
|
|
9
|
+
- **Event Loop Cooperation (`yieldToEventLoop`)**: Integrated asynchronous cooperativeness during large dataset generation (such as `generate:randomPoints` and `generate:randomAssets`) to yield control back to the runtime and avoid freezing web servers.
|
|
10
|
+
- **Path Resolution Fixes**: Standardized `problems.config.json` file-path resolution using reliable absolute directory joining (`resolve` / `dirname`), mitigating boot crashes across varying execution contexts.
|
|
11
|
+
- **Useful Work Corrections**: Fixed uPoW integration issues to guarantee proper solution ingestion and accurate server-side verification.
|
|
12
|
+
|
|
13
|
+
### ⚡ WASM Client & Packaging
|
|
14
|
+
- **WASM Loader Enhancements**: Refined WebAssembly initialization and asset-delivery routes (`wasmPath` / `wasmFile`), optimizing fallbacks and improving asset-delivery reliability.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
1
18
|
## Version 0.4.1
|
|
2
19
|
|
|
3
20
|
### 🐍 Full Python Engine Support & Middlewares
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anonympins/fingerprint",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Advanced anti-bot library for Node.js using multi-layer fingerprinting (JA3, client-side, headers), behavioral analysis, and adaptive Proof-of-Work (PoW) challenges to mitigate scraping, scalping, and automated threats.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|