Upstream/server/military
jvanvik d84b0c9d12 Fix review findings: proto smuggling, trade-leg recall, escrow cap, static headers, rate limits, rankings DoS
Fixed: validator rejects __proto__/constructor keys at any depth (transport capacity bypass); trade and site shipments
cannot be recalled; trade escrow refund capped by Rack hall; CSP/nosniff on static files and connect-src 'self';
IPv6 /64 limiter keys + LRU eviction + per-username login bucket + scrypt concurrency cap; 5 s footprint cache for
rankings; rename uses text.cleanText; 429s no longer pinned in the idempotency store; 30-day notification prune;
units_offline notification on first offline. Accepted items listed in docs/DECISIONS.md R1.
Tested: npm test 182/182 incl. test/review-fixes.test.js (regression tests). Not re-reviewed after the fixes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q2MJaQ5LXAHzGnTDgceT14
2026-10-11 19:06:51 +02:00
..
arrivals.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
combat.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
ctx.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
landing.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
movements.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
power.js Fix review findings: proto smuggling, trade-leg recall, escrow cap, static headers, rate limits, rankings DoS 2026-10-11 19:06:51 +02:00
reports.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
units.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
views.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00