Context-Inappropriate Capability
Medium
- Confidence
- 94% confidence
- Finding
- This script directly runs `npm install` in discovered subdirectories via `spawnSync`, which executes package manager lifecycle hooks and fetches code from dependency sources. In an agent-skill context, that creates an unnecessary code-execution and supply-chain surface that is not inherent to generating images, so a compromised or unexpected `package.json` under the scanned tree could trigger arbitrary install-time behavior.
