The NFT-based asset management system in InheritanceManager has several vulnerabilities related to asset valuation, buyout mechanisms, and interactions with the inheritance process.
The NFT system involves several interacting components:
Critical issues:
Asset Value Management
No validation on NFT value when set
Single assetToPay for all NFTs
No mechanism to update values over time
Values can be manipulated via contractInteractions
Buyout Mechanism Flaws
Calculation can be manipulated
No checks for division by zero
Potential for decimal truncation losses
No validation of asset payment token
NFT Control Issues
NFTs can be created until inheritance
No limit on number of NFTs
Burning mechanism lacks proper checks
No transfer restrictions during inheritance
HIGH - The vulnerability enables:
Value Manipulation
Owner can set arbitrary values
No price oracle integration
Values can become stale
Potential for undervalued buyouts
Asset Distribution Problems
Unfair distribution of buyout proceeds
Potential for lost value in calculations
Race conditions in buyout process
Token approval exploits
System Abuse
Creation of unlimited NFTs
Manipulation of asset payment token
Exploitation of buyout mechanism
Interference with inheritance process
Manual code review
Improve Value Management:
Enhance Buyout Safety:
Add proper value validation
Implement safe math operations
Add slippage protection
Implement proper token approval checks
Structural Improvements:
Add value update mechanism
Implement price oracle integration
Add NFT transfer restrictions
Create proper asset management roles
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.