Intent-Code Divergence
High
- Confidence
- 98% confidence
- Finding
- restore_from_trash reads original_path from a .trashmeta file and moves the trashed file there without re-validating that the destination is inside the allowed workspace. If an attacker can modify or plant metadata in the trash directory, they can cause writes to arbitrary filesystem locations reachable by the process, undermining the module's claimed data-loss-prevention guarantees.
