Tool Parameter Abuse
- Category
- Tool Misuse
- Confidence
- 93% confidence
- Finding
Using 'rm -rf ~/.local/share/Trash/*' grants a powerful recursive deletion primitive through a broad shell command. Although intended to empty trash, shell expansion and path-handling risks make this more dangerous than a purpose-built API call, and any mistake in execution context or path resolution can cause irreversible data loss.
- Content
Linux(自动检测)
bash rm -rf ~/.local/share/Trash/*Windows(自动检测)
