Skip to content
Security
← V4 known risks
V4-22LowAcceptedSpending limits

Anyone can collect the rent when a spending limit is removed

The rent from a removed spending limit can be sent to any account, not only the configured rent collector.

Why this is a risk, not a vulnerability · Documented behavior

Accepted finding with negligible value. It does not affect funds held in the vault. What is a vulnerability
Program
Squads V4
Source
Neodyme ND-SQD2-L2
Code
View at dcac867

When a spending limit is removed, its rent goes to an unchecked rent_collector account rather than the multisig’s configured one. The amount is small.

What to do

  • Integrators: always pass the multisig’s configured rent collector when building this instruction.