🟡 [P1] Reduce timestamp validation window (replay attack) #284

Closed
opened 2026-02-03 22:30:03 +00:00 by jason.woltje · 0 comments
Owner

Summary

5-minute tolerance for message timestamps allows replay attacks.

Location

apps/api/src/federation/signature.service.ts:19-20

Required Fix

  1. Reduce to 60 seconds
  2. Add nonce tracking with Redis
  3. Prevent replay attacks

Priority

HIGH (P1) - Replay attack window

## Summary 5-minute tolerance for message timestamps allows replay attacks. ## Location `apps/api/src/federation/signature.service.ts:19-20` ## Required Fix 1. Reduce to 60 seconds 2. Add nonce tracking with Redis 3. Prevent replay attacks ## Priority **HIGH (P1)** - Replay attack window
jason.woltje added the securityapiapip1 labels 2026-02-03 22:30:03 +00:00
jason.woltje added this to the M7.1-Remediation (0.0.8) milestone 2026-02-03 22:31:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#284