-
-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Labels
securitySecurity-related changeSecurity-related change
Description
@createkr — Node 4 Security Patches (6 fixes needed)
Today's red team audit found 7 critical vulns. All patched on Node 1. Node 4 needs the same.
Easiest path — copy files from Node 1:
scp root@50.28.86.131:/root/rustchain/rustchain_v2_integrated_v2.2.1_rip200.py .
scp root@50.28.86.131:/root/rustchain/hardware_binding_v2.py .
scp root@50.28.86.131:/root/rustchain/fleet_immune_system.py .
scp root@50.28.86.131:/root/rustchain/rustchain_x402.py .
scp root@50.28.86.131:/root/rustchain/settle_epoch.py .
scp root@50.28.86.131:/root/rustchain/node_uptime_rewards.py .
systemctl restart rustchain-nodeWhat was fixed:
- Hardcoded admin key removed from 5 files (fallback to empty string)
- bytes.fromhex crash — try/except on address_from_pubkey + tx_hash
- Split-brain double spend — balance_rtc now syncs with amount_i64 everywhere
- TOCTOU race — BEGIN IMMEDIATE on bridge lock + transfers
- Settlement double-credit — rowcount check in finalize_epoch
- Entropy sybil bypass — collision threshold 0.90 to 0.85
Verify after patching:
python3 -c "import py_compile; py_compile.compile('rustchain_v2_integrated_v2.2.1_rip200.py', doraise=True)"
curl -s http://localhost:8099/health
grep -r 'rustchain_admin_key_2025_secure64' *.py | wc -l # should be 0Also — register a Beacon ID (2 RTC): #1438
Thank you for keeping Node 4 secure!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
securitySecurity-related changeSecurity-related change