@anonympins/fingerprint 0.6.4 → 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,32 @@
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
+
19
+ ## Version 0.6.5
20
+
21
+ - 🧬 **Auto-Tuner Upgrades & Threat Profiles**:
22
+ - **Threat-Profile Aware Tuning**: Integrated predefined security and threat profiles (e.g., `balanced`, `strict`, `api`) directly into the Auto-Tuner loop, ensuring optimized parameters dynamically align with the active defense posture.
23
+ - **Threshold Auto-Tuning Stabilization**: Disabled raw suspicion score threshold autotuning to prevent boundary drift, keeping decision limits highly predictable while focusing optimizer learning cycles on feature weights.
24
+ - 🌐 **Federated Consensus & Proof-of-Work Verification**:
25
+ - **Federated Consensus Protocols (`federationConsensus`)**: Hardened decentralized consensus validation across federated peer nodes, improving consensus routing speed and securing verification against distributed proxy and replay tactics.
26
+ - **Cryptographic Sample Derivation (`deriveSampleIndices`)**: Reinforced the verification pipeline by binding sample coordinate indexing inside cryptographic challenges to a secure, time-windowed HMAC of the client IP and secret key, completely neutralizing lookup bypasses.
27
+ - 🛡️ **Library Security Hardening**:
28
+ - Resolved critical security alerts and code-quality edge cases inside the main runtime library (`src/js/library.js`).
29
+
1
30
  ## Version 0.6.4
2
31
 
3
32
  - 🔑 **IP and TLS Session Binding in CPU Challenge**: Reinforced CPU challenge security by cryptographically binding the client's IP and `tlsSessionId` to the challenge's binary block (`baseBlock`). This effectively prevents replay attacks and the sharing of calculation solutions between distinct sessions or IP addresses.
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.4",
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
  }