yakmesh 1.2.0 β†’ 1.3.0

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,124 +1,82 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to YAKMESHβ„’ will be documented in this file.
3
+ All notable changes to YAKMESH will be documented in this file.
4
+
5
+ ## [1.3.0] - 2026-01-15
6
+
7
+ ### 🌟 Major New Systems - "A Beacon in the Darkness"
8
+
9
+ #### ECHOβ„’ - Encrypted Coordinate Heuristic Oracle
10
+ - Privacy-preserving network topology discovery
11
+ - Virtual coordinate system for latency estimation
12
+ - Encrypted timing probes (AES-256-GCM)
13
+ - Route optimization through coordinate-based pathfinding
14
+
15
+ #### PULSEβ„’ - Precision Universal Latency Sync Engine
16
+ - Mesh heartbeat system with cryptographic proofs
17
+ - Node liveness detection (alive/suspect/dead states)
18
+ - Network partition detection with confidence scoring
19
+ - Raft-inspired leader election using heartbeat chains
20
+
21
+ #### PHANTOMβ„’ - Post-quantum Hidden Anonymous Network Transmission
22
+ - **First-ever post-quantum onion routing implementation**
23
+ - ML-KEM-768 (Kyber) key encapsulation per layer
24
+ - Multi-layer encryption with temporal padding
25
+ - Decoy traffic injection (10% probability)
26
+ - Fixed packet sizing to prevent length analysis
27
+
28
+ #### BEACONβ„’ - Broadcast Emergency Alert Channel Over Network
29
+ - Priority message propagation (ROUTINE β†’ CRITICAL)
30
+ - Flood-based protocol with intelligent deduplication
31
+ - Proof-of-receipt for delivery confirmation
32
+ - TTL-based propagation control
33
+
34
+ ### πŸ“Š Test Coverage
35
+ - 68 tests total (18 TME + 24 Security + 26 Novel Systems)
36
+ - All tests passing
37
+
38
+ ### πŸ” Security Improvements
39
+ - Enhanced cryptographic hashing (SHA3-256)
40
+ - Timing attack resistance in PHANTOM
41
+ - Improved rate limiting integration
4
42
 
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
43
+ ---
7
44
 
8
45
  ## [1.2.0] - 2026-01-15
9
46
 
10
47
  ### Added
11
- - **TME (Temporal Mesh Encoding)**: Novel packet resilience system unique to YAKMESH
12
- - Exploits atomic time synchronization as the redundancy dimension
13
- - Cryptographic temporal chaining binds data to specific points in time
14
- - Mesh topology-aware encoding for intelligent path diversity
15
- - NOT erasure coding - a fundamentally new approach to packet loss recovery
16
- - **TemporalSlice**: Atomic unit of TME with cryptographic time binding
17
- - Temporal hash includes: data + timestamp + sequence + mesh position
18
- - Chain integrity via prevTemporalHash linking
19
- - Tamper detection on deserialization
20
- - **TemporalStream**: Message slicing and reassembly with temporal properties
21
- - Configurable slice size and timing intervals
22
- - Completion tracking and missing slice detection
23
- - Temporal chain validation
24
- - **TemporalReconstructor**: Recovery system using timing proofs
25
- - Consensus verification from multiple mesh neighbors
26
- - Missing slice attestation via timing proofs
27
- - Partial reconstruction capabilities
28
- - **TemporalMeshEncoder**: High-level API for TME operations
29
- - Full encode/decode lifecycle management
30
- - Statistics tracking (slices sent/received, completion rates)
31
- - Stream status monitoring
32
- - New test suite: 18 TME-specific tests (test-tme.mjs)
33
-
34
- ### Philosophy
35
- - "Time IS the redundancy dimension" - unlike Walrus/Red Stuff 2D erasure coding
36
- - Designed for real-time mesh networks with atomic clock sync
37
- - Leverages YAKMESH's unique post-quantum + atomic timing combination
38
-
39
- ## [1.1.0] - 2026-01-14
40
-
41
- ### Added
42
- - **NAVR (Network Assimilation Validation Routine)**: Computational identity verification for new nodes
43
- - Replaces traditional "Proof of Work" terminology to avoid blockchain confusion
44
- - One-time puzzle solve during node registration (NOT mining)
45
- - Configurable difficulty for network defense scaling
46
- - **Sybil Defense Module** (`mesh/sybil-defense.js`):
47
- - NAVR computational puzzle for identity creation
48
- - ReputationTracker for trust scoring (0.0 to 1.0 scale)
49
- - SubnetDiversity to prevent eclipse attacks (max 3 connections per /24 subnet)
50
- - **Replay Defense Module** (`mesh/replay-defense.js`):
51
- - NonceRegistry with cryptographic 32-byte nonces (1hr expiry)
52
- - TimestampValidator (10-minute freshness window)
53
- - SequenceTracker for per-sender message ordering
54
- - ChallengeResponse for mutual node authentication
55
- - **Message Validator Module** (`mesh/message-validator.js`):
56
- - Size limits per message type (1MB max, gossip 64KB, handshake 8KB)
57
- - Nesting depth protection (max 10 levels)
58
- - SafeJsonParser with prototype pollution protection
59
- - Expanded test suite: 24 security tests covering all attack vectors
60
-
61
- ### Security
62
- - Protection against Sybil attacks via NAVR + reputation + subnet diversity
63
- - Protection against replay attacks via nonces + timestamps + sequences
64
- - Protection against amplification attacks via message size limits
65
- - Protection against eclipse attacks via subnet connection limits
48
+ - **TMEβ„’ (Temporal Mesh Encoding)** - Novel packet resilience system
49
+ - Encodes data across TIME, not space
50
+ - Temporal slicing with cryptographic chaining
51
+ - Predictive reconstruction from timing proofs
52
+ - TME FAQ documentation
53
+ - Whitepaper (docs/WHITEPAPER.md)
66
54
 
67
- ## [1.0.3] - 2026-01-15
55
+ ---
68
56
 
69
- ### Fixed
70
- - **CRITICAL**: Fixed ML-DSA-65 signature verification parameter order (was: publicKey, message, signature β†’ now: signature, message, publicKey)
57
+ ## [1.1.0] - 2026-01-14
71
58
 
72
59
  ### Added
73
- - **Rate Limiter**: New `ConnectionRateLimiter` class for DoS protection
74
- - Connection flood protection (30 connections/minute per IP)
75
- - Handshake spam detection (100 handshakes/minute global)
76
- - Gossip message throttling (500 messages/minute)
77
- - Automatic cleanup of stale tracking data
78
- - Comprehensive test suite (17 tests covering crypto, security, performance)
79
- - Stress test suite (14 tests with edge cases)
60
+ - **NAVR** (Network Access Verification via Resources) - Sybil defense
61
+ - Replay attack protection (nonces, timestamps, sequences)
62
+ - Message validator with size limits and depth checks
63
+ - Rate limiter for DoS protection
64
+ - Subnet diversity tracking
80
65
 
81
- ### Security
82
- - Integrated rate limiting into mesh/network.js WebSocket handling
83
- - Protection against 51% / network isolation attacks via message throttling
84
-
85
- ## [1.0.2] - 2026-01-14
86
-
87
- ### Fixed
88
- - Fixed README.md formatting for proper rendering on npm and GitHub
66
+ ---
89
67
 
90
- ## [1.0.1] - 2026-01-14
68
+ ## [1.0.3] - 2026-01-15
91
69
 
92
70
  ### Fixed
93
- - Removed Pro-only security module from public npm package
94
- - Added `.npmignore` to exclude proprietary code
95
-
96
- ## [1.0.0] - 2026-01-14
97
-
98
- ### Added
99
- - **Post-Quantum Cryptography**: ML-DSA-65 (NIST FIPS 204) signatures
100
- - **Self-Verifying Oracle**: Deterministic validation without external trust
101
- - **Mesh Networking**: P2P WebSocket communication with gossip protocol
102
- - **Precision Timing**: Support for atomic clocks, GPS, PTP, NTP time sources
103
- - **Plugin Architecture**: BaseAdapter for custom database integrations
104
- - **Phase Modulation**: Time-based anti-replay protection
105
- - **Network Identity**: Configurable salts for isolated network deployments
106
- - **Code Proof Protocol**: Integrity verification for distributed code
107
- - **Consensus Engine**: Distributed agreement on network state
108
- - **CLI Tools**: `yakmesh init`, `yakmesh start`, `yakmesh status`
109
- - **Dashboard**: Web-based node monitoring interface
110
- - **Embedded Webserver**: Caddy integration for HTTPS/reverse proxy
111
-
112
- ### Security
113
- - XChaCha20-Poly1305 encryption for message payloads
114
- - Lattice-based cryptography resistant to quantum attacks
115
- - Hardware timestamping support for timing attack mitigation
71
+ - verify() function in identity module
72
+ - Rate limiter initialization
116
73
 
117
74
  ---
118
75
 
119
- [1.0.3]: https://github.com/yakmesh/yakmesh/releases/tag/v1.0.3
120
- [1.0.2]: https://github.com/yakmesh/yakmesh/releases/tag/v1.0.2
121
- [1.0.1]: https://github.com/yakmesh/yakmesh/releases/tag/v1.0.1
122
- [1.0.0]: https://github.com/yakmesh/yakmesh/releases/tag/v1.0.0
123
-
124
-
76
+ ## [1.0.0] - 2026-01-13
77
+
78
+ ### Initial Release
79
+ - ML-DSA-65 post-quantum signatures
80
+ - SQLite-based distributed oracle
81
+ - WebSocket mesh networking
82
+ - Phase-based consensus timing
Binary file
Binary file
package/discord.md ADDED
@@ -0,0 +1,74 @@
1
+ # 🦬 YAKMESHβ„’ β€” Post-Quantum Mesh Networking
2
+
3
+ **The Yielding Atomic Kernel for quantum-resistant mesh orchestration**
4
+
5
+ ```
6
+ npm install yakmesh
7
+ ```
8
+
9
+ ---
10
+
11
+ ## ⚑ What is YAKMESH?
12
+
13
+ A **post-quantum secure** mesh networking library featuring:
14
+
15
+ πŸ” **ML-DSA-65 Signatures** β€” NIST FIPS 204 standard, quantum-resistant
16
+ ⏱️ **Atomic Time Sync** β€” Nanosecond precision for mesh coordination
17
+ πŸ›‘οΈ **TMEβ„’ (Temporal Matrix Encoding)** β€” Novel packet resilience without retransmission
18
+
19
+ ---
20
+
21
+ ## πŸ†š How is TME Different?
22
+
23
+ | Walrus/Red Stuff | YAKMESH TME |
24
+ |------------------|-------------|
25
+ | Encodes across **space** (nodes) | Encodes across **time** (slices) |
26
+ | For storage | For transmission |
27
+ | Retransmit on loss | **Zero latency** recovery |
28
+
29
+ > *"Time IS the redundancy dimension."*
30
+
31
+ ---
32
+
33
+ ## πŸ› οΈ Quick Start
34
+
35
+ ```js
36
+ import { TemporalMeshEncoder } from 'yakmesh';
37
+
38
+ const encoder = new TemporalMeshEncoder();
39
+ const { slices } = encoder.encode('Hello mesh!');
40
+ // Slices sent across different paths
41
+ // Lost slices reconstructed from timing proofs
42
+ ```
43
+
44
+ ---
45
+
46
+ ## πŸ”’ Security Modules
47
+
48
+ - **NAVR** β€” Sybil attack prevention (computational identity puzzle)
49
+ - **Replay Defense** β€” Nonces + timestamps + sequence tracking
50
+ - **Rate Limiter** β€” DoS protection (30 conn/min per IP)
51
+ - **Message Validator** β€” Size limits, depth checks, prototype pollution protection
52
+
53
+ ---
54
+
55
+ ## πŸ“¦ Current Version: `1.2.0`
56
+
57
+ βœ… TME (Temporal Matrix Encoding)
58
+ βœ… ML-DSA-65 Post-Quantum Signatures
59
+ βœ… Full security hardening suite
60
+ βœ… 42+ tests passing
61
+
62
+ ---
63
+
64
+ **Links:**
65
+ 🌐 Website: https://yakmesh.dev
66
+ πŸ“¦ npm: https://npmjs.com/package/yakmesh
67
+ πŸ“– GitHub: https://github.com/yakmesh/yakmesh
68
+ πŸ“„ Whitepaper: `docs/WHITEPAPER.md`
69
+
70
+ **USPTO Serial No. 99594620**
71
+
72
+ ---
73
+
74
+ *Powered by TMEβ„’ β€” The world's first temporal-erasure protocol for atomically-synced mesh networks.*