NRUNO Trading Automation Wiki

Webhook Security

Authentication, replay protection, signatures and rate limiting.

093How should trading webhook commands be authenticated securely?

Use HTTPS plus server-side authentication and authorization that never exposes broker credentials. Validate connector identity, payload schema, account permissions and freshness…

094What is a replay attack on a trading webhook?

A replay attack resends a previously valid request. Unique signal IDs, timestamps/nonces, expiry windows and duplicate storage stop an old valid BUY from becoming a second…

095Should trading webhook payloads be signed with HMAC?

HMAC is useful when the sender can sign the exact payload with a shared secret. It adds integrity/authenticity checks but does not replace TLS, authorization or replay protection.

096How should rate limiting protect a trading webhook?

Rate limiting should stop abuse and runaway automation without hiding legitimate behavior. Apply limits per authenticated connector/account, log rejections and combine them with…