Problem
Transfer records are appended to Redis without verifying that the from_owner in the new transfer matches the to_owner of the most recent transfer. This allows a chain of transfers to be constructed with arbitrary owners, bypassing the custody chain.
Proposed Solution
Create a TransferValidationService inside contract/module/transfer-validation/ that validates custody continuity before recording a new transfer.
Acceptance Criteria
Problem
Transfer records are appended to Redis without verifying that the from_owner in the new transfer matches the to_owner of the most recent transfer. This allows a chain of transfers to be constructed with arbitrary owners, bypassing the custody chain.
Proposed Solution
Create a TransferValidationService inside
contract/module/transfer-validation/that validates custody continuity before recording a new transfer.Acceptance Criteria