Forex Investment 5.1.1

3 August 2025

SECURITYBUG FIXESPERFORMANCEAUDIT

Forex v5.1.1

Release Date: August 3, 2025
Tags: SECURITY, BUG FIXES, PERFORMANCE, AUDIT

Added

Security

  • Added rate limiting across all financial operations — 5 requests per minute for transactions, 10 per hour for investments.
  • Added a complete audit trail: every forex operation is logged with the user, IP address, user-agent, amount and timestamp.
  • Added fraud detection that monitors unusual activity patterns, high amounts and rapid transactions, and produces a risk score for manual review.
  • Added daily ($5,000) and monthly ($50,000) withdrawal limits, with automatic reset.

Reliability

  • Added a retry mechanism with exponential backoff for failed investment processing, plus endpoints for intervening manually.
  • Added pagination to all list endpoints.

Compliance

  • Added mandatory terms acceptance on an investment, with the acceptance time and terms version recorded.

Changed

Performance

  • Changed the forex tables to carry indexes on the fields the platform filters and sorts by, so list and lookup queries return faster as data grows.
  • Changed the investment processing schedule with better error handling and recovery.

Operations

  • Changed deposit and withdrawal processing to share one implementation, so both behave identically.
  • Changed error messages and validation across all financial operations to be clearer.
  • Changed blockchain network handling so an invalid network is rejected before an operation runs.
  • Changed the admin tools for monitoring and approving high-risk transactions.

Fixed

  • Fixed losing investments calculating the remaining wallet balance incorrectly, which produced financial discrepancies.
  • Fixed forex account endpoints not checking ownership, which allowed one user to reach another user's account.
  • Fixed a database restriction that stopped a user from holding more than one active investment per plan, which was always the intent.