Upstream/server/routes
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
..
alliances.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
auth.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
index.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
map.js Stage 0-2 server spine: db, scheduler, REST, auth, economy, map 2026-10-11 18:07:42 +02:00
me.js Stage 0-2 server spine: db, scheduler, REST, auth, economy, map 2026-10-11 18:07:42 +02:00
messages.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
movements.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
rankings.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +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
schemas.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
schemasEndgame.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
schemasMilitary.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
sharedReports.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
towns.js Stage 0-2 server spine: db, scheduler, REST, auth, economy, map 2026-10-11 18:07:42 +02:00
trade.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +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
world.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00