The Trustee system in the inheritance contract has significant vulnerabilities in its access control and value management mechanisms, allowing potential manipulation of NFT values and payment tokens.
The Trustee contract implements critical NFT value management:
Critical issues:
Trustee Appointment
Any beneficiary can appoint trustee after inheritance
No consensus mechanism for appointment
No timelock or delay on appointment
No validation of trustee address
Value Management
Trustee can arbitrarily change NFT values
No validation on value changes
No update frequency limits
No value change bounds
Payment Token Control
Trustee can change payment token at will
No validation on token address
Changes affect all NFTs
No transition period for token changes
HIGH - The vulnerability enables:
Value Manipulation
Malicious trustee can manipulate NFT values
Coordinated attacks between beneficiary and trustee
Forced unfair buyouts through value changes
Price manipulation before buyouts
Token Manipulation
Switch to worthless or malicious tokens
Force buyouts with manipulated tokens
Break existing buyout agreements
DOS through invalid token settings
System Control
Rogue trustee appointment
Manipulation of inheritance process
Interference with fair asset distribution
Permanent damage to NFT valuations
Manual code review
Access control analysis
State management analysis
Improve Trustee Management:
Add Value Change Controls:
Implement min/max bounds for values
Add update frequency limits
Require value change justification
Add value change notifications
Improve Token Management:
Whitelist allowed payment tokens
Add token change timelock
Implement token validation
Add emergency token recovery
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.