yakmesh 1.1.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 +65 -75
- package/assets/yakmesh-logo2sm.png +0 -0
- package/assets/ymsm.png +0 -0
- package/discord.md +74 -0
- package/mesh/beacon-broadcast.js +655 -0
- package/mesh/echo-ranging.js +612 -0
- package/mesh/phantom-routing.js +700 -0
- package/mesh/pulse-sync.js +618 -0
- package/mesh/temporal-encoder.js +383 -0
- package/package.json +82 -51
- package/test-novel-systems.mjs +398 -0
- package/test-tme.mjs +383 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,92 +1,82 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to YAKMESH
|
|
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
|
-
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
43
|
+
---
|
|
7
44
|
|
|
8
|
-
## [1.
|
|
45
|
+
## [1.2.0] - 2026-01-15
|
|
9
46
|
|
|
10
47
|
### Added
|
|
11
|
-
- **
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
- ReputationTracker for trust scoring (0.0 to 1.0 scale)
|
|
18
|
-
- SubnetDiversity to prevent eclipse attacks (max 3 connections per /24 subnet)
|
|
19
|
-
- **Replay Defense Module** (`mesh/replay-defense.js`):
|
|
20
|
-
- NonceRegistry with cryptographic 32-byte nonces (1hr expiry)
|
|
21
|
-
- TimestampValidator (10-minute freshness window)
|
|
22
|
-
- SequenceTracker for per-sender message ordering
|
|
23
|
-
- ChallengeResponse for mutual node authentication
|
|
24
|
-
- **Message Validator Module** (`mesh/message-validator.js`):
|
|
25
|
-
- Size limits per message type (1MB max, gossip 64KB, handshake 8KB)
|
|
26
|
-
- Nesting depth protection (max 10 levels)
|
|
27
|
-
- SafeJsonParser with prototype pollution protection
|
|
28
|
-
- Expanded test suite: 24 security tests covering all attack vectors
|
|
29
|
-
|
|
30
|
-
### Security
|
|
31
|
-
- Protection against Sybil attacks via NAVR + reputation + subnet diversity
|
|
32
|
-
- Protection against replay attacks via nonces + timestamps + sequences
|
|
33
|
-
- Protection against amplification attacks via message size limits
|
|
34
|
-
- 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)
|
|
35
54
|
|
|
36
|
-
|
|
55
|
+
---
|
|
37
56
|
|
|
38
|
-
|
|
39
|
-
- **CRITICAL**: Fixed ML-DSA-65 signature verification parameter order (was: publicKey, message, signature → now: signature, message, publicKey)
|
|
57
|
+
## [1.1.0] - 2026-01-14
|
|
40
58
|
|
|
41
59
|
### Added
|
|
42
|
-
- **
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
- Comprehensive test suite (17 tests covering crypto, security, performance)
|
|
48
|
-
- Stress test suite (14 tests with edge cases)
|
|
49
|
-
|
|
50
|
-
### Security
|
|
51
|
-
- Integrated rate limiting into mesh/network.js WebSocket handling
|
|
52
|
-
- Protection against 51% / network isolation attacks via message throttling
|
|
53
|
-
|
|
54
|
-
## [1.0.2] - 2026-01-14
|
|
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
|
|
55
65
|
|
|
56
|
-
|
|
57
|
-
- Fixed README.md formatting for proper rendering on npm and GitHub
|
|
66
|
+
---
|
|
58
67
|
|
|
59
|
-
## [1.0.
|
|
68
|
+
## [1.0.3] - 2026-01-15
|
|
60
69
|
|
|
61
70
|
### Fixed
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
## [1.0.0] - 2026-01-14
|
|
66
|
-
|
|
67
|
-
### Added
|
|
68
|
-
- **Post-Quantum Cryptography**: ML-DSA-65 (NIST FIPS 204) signatures
|
|
69
|
-
- **Self-Verifying Oracle**: Deterministic validation without external trust
|
|
70
|
-
- **Mesh Networking**: P2P WebSocket communication with gossip protocol
|
|
71
|
-
- **Precision Timing**: Support for atomic clocks, GPS, PTP, NTP time sources
|
|
72
|
-
- **Plugin Architecture**: BaseAdapter for custom database integrations
|
|
73
|
-
- **Phase Modulation**: Time-based anti-replay protection
|
|
74
|
-
- **Network Identity**: Configurable salts for isolated network deployments
|
|
75
|
-
- **Code Proof Protocol**: Integrity verification for distributed code
|
|
76
|
-
- **Consensus Engine**: Distributed agreement on network state
|
|
77
|
-
- **CLI Tools**: `yakmesh init`, `yakmesh start`, `yakmesh status`
|
|
78
|
-
- **Dashboard**: Web-based node monitoring interface
|
|
79
|
-
- **Embedded Webserver**: Caddy integration for HTTPS/reverse proxy
|
|
80
|
-
|
|
81
|
-
### Security
|
|
82
|
-
- XChaCha20-Poly1305 encryption for message payloads
|
|
83
|
-
- Lattice-based cryptography resistant to quantum attacks
|
|
84
|
-
- Hardware timestamping support for timing attack mitigation
|
|
71
|
+
- verify() function in identity module
|
|
72
|
+
- Rate limiter initialization
|
|
85
73
|
|
|
86
74
|
---
|
|
87
75
|
|
|
88
|
-
[1.0.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
package/assets/ymsm.png
ADDED
|
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.*
|