Files
DataStack/core/Security/manifest.md
T

12 lines
443 B
Markdown
Raw Normal View History

2026-10-23 11:43:49 -05:00
# Security Engine Manifest
## Purpose
Enforces client rate-limiting, event idempotency verification, and payload size bounds.
## Key Logic
- **Idempotency**: Drops duplicate `clientId + eventId` within a 5-minute TTL window.
- **Rate Limit**: Sliding per-second window configurable per client or globally.
- **Payload Guard**: Rejects payloads exceeding 100KB per event with explicit codes.
## Dependencies
- Native Node.js `Buffer`, `Map`