donuthelper-1.8.3.jar
Curse Maven Snippet
What's new
v1.8.3 — Vulnerability Update
Security Fixes
- Hardcoded Admin Users — Admin usernames are now read from
ADMIN_USERSenvironment variable instead of being hardcoded in source. - Admin Token System — Admin tokens are now HMAC-signed with expiry (1 hour) instead of being plaintext
username:codepairs. - Admin Code Endpoint —
GET /admin/get-codenow requires an existing admin session (was publicly accessible without auth). - User Authentication — All user-facing API endpoints (friends, chat, money, party) now require a valid session token. Tokens are issued on register/heartbeat with 24-hour expiry.
- CORS Policy —
Access-Control-Allow-Originis now configurable viaCORS_ORIGINSenvironment variable (defaults to*for backward compatibility). - Rate Limiting — Added rate limiting on sensitive endpoints (auth, admin login, money operations) to prevent brute-force and abuse.
- API URL Default — Removed hardcoded server IP from mod source; default URL is now configurable.
This mod has no additional files

