@anonympins/fingerprint 0.6.5 → 0.6.6

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 CHANGED
@@ -1,3 +1,21 @@
1
+ ## Version 0.6.6
2
+
3
+ - 🛡️ **Medium Threshold, Subnet Score & Decay Persistence Fixes**:
4
+ - Resolved an issue where restrictive actions were not properly applied when crossing the medium threshold (`medium_threshold`).
5
+ - Improved and corrected the subnet reputation calculation (`subnetScore`): anomaly metrics are now anchored to a stable, unique hardware identifier (`stable_fp_id`). This neutralizes bypass tactics like cookie dropping without penalizing legitimate users sharing the same network block. (Contributed by @anonympins)
6
+ - **Fixed Sliding Temporal Decay Persistence**: Corrected the subnet metrics decay calculation across PHP, Java, and Python versions, ensuring that decayed metrics are immediately persisted in the active data store (`IStore`) instead of being lost on subsequent evaluations, preventing old activity spikes from overwriting calm history. (Contributed by @anonympins)
7
+
8
+ - 🌐 **Protocol Anomaly Scoring**:
9
+ - Integrated a comprehensive protocol anomaly evaluation module (`protocolAnomalyScore`) that jointly analyzes low-level signatures (TLS handshakes, HTTP/2 stream settings, and QUIC/HTTP/3 behaviors) to detect transport mismatches common in automated browsers and scraping tools. (Contributed by @anonympins)
10
+
11
+ - 🧠 **Machine Learning uPoW Tasks (JS/Node.js Only)**:
12
+ - Integrated distributed model training and evaluation tasks (`tfjs_learning` via TensorFlow.js) into the Useful Proof-of-Work (uPoW) pipeline. This allows utilizing client GPU/CPU resources for federated learning optimization, while protecting against data poisoning using gradient clipping verification. (Contributed by @anonympins)
13
+
14
+ - 🐍 **Python Engine Parity & Useful Work (uPoW) Hardening**:
15
+ - Integrated a robust, fully asynchronous `ProblemManager` matching the JavaScript implementation, featuring dynamic payload initializers (`generate:randomPoints`, `generate:randomAssets`) and a modular `FunctionRegistry`.
16
+ - Implemented strict anti-poisoning, size constraints validation, and sampling-based verification (with dynamic cheat detection) inside Python's solution integration pipeline.
17
+ - Hardened the `portfolio_calculate_metrics` logic to safely handle optional volatility thresholds without triggering false-positive cheating flags when `maxVolatility` is omitted.
18
+
1
19
  ## Version 0.6.5
2
20
 
3
21
  - 🧬 **Auto-Tuner Upgrades & Threat Profiles**:
package/README.md CHANGED
@@ -77,12 +77,12 @@ npm install @anonympins/fingerprint
77
77
  ### PHP
78
78
 
79
79
  ```bash
80
- composer require anonympins/fingerprint
80
+ composer install
81
81
  ```
82
82
 
83
83
  ### Python
84
84
  ```bash
85
- pip install fingerprint-engine
85
+ pip install -e .
86
86
  ```
87
87
 
88
88
  ## Documentation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anonympins/fingerprint",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
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",
@@ -100,5 +100,8 @@
100
100
  "sqlite3": {
101
101
  "optional": true
102
102
  }
103
+ },
104
+ "dependencies": {
105
+ "@tensorflow/tfjs": "^4.22.0"
103
106
  }
104
107
  }