Context-Inappropriate Capability
Medium
- Confidence
- 96% confidence
- Finding
- The restore flow does more than copy backed-up files: it searches restored content for every package.json and runs npm install. Because npm may execute lifecycle scripts such as preinstall/postinstall, anyone who can influence the backup repository can achieve code execution on the restoring machine. In a backup/restore skill, repository-sourced code execution is broader and more dangerous than the stated purpose.
