Skip to content

fix(core): patch negative balance exploit, giveammo validation, identity callback guard, and cron drift - #1909

Merged
N0tNvll merged 1 commit into
esx-framework:v1.16.0from
voidvalue-dev:fix.2
Oct 6, 2026
Merged

N0tNvll merged 1 commit into
esx-framework:v1.16.0from
voidvalue-dev:fix.2

Conversation

@voidvalue-dev

@voidvalue-dev voidvalue-dev commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary of Changes

  • Fix underflow check in removeAccountMoney using correct < 0 comparison
  • Convert money param with tonumber() before use, fix error message copy-paste
  • Add positive-number validator and enable validate on /giveammo command
  • Guard esx_identity:registerIdentity callback against non-table payloads
  • Fix cron scheduledAt() using os.date("*t") instead of string concatenation (Does anyone use the cron script? We never know)
  • Align tick interval to next minute boundary to prevent drift

…ity callback guard, and cron drift

- Fix underflow check in removeAccountMoney using correct < 0 comparison
- Convert money param with tonumber() before use, fix error message copy-paste
- Add positive-number validator and enable validate on /giveammo command
- Guard esx_identity:registerIdentity callback against non-table payloads
- Fix cron scheduledAt() using os.date("*t") instead of string concatenation
- Align tick interval to next minute boundary to prevent drift
@N0tNvll
N0tNvll self-requested a review October 6, 2026 00:25
@N0tNvll
N0tNvll merged commit aa27161 into esx-framework:v1.16.0 Oct 6, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants