Context-Inappropriate Capability
Medium
- Confidence
- 94% confidence
- Finding
- The script explicitly executes a JavaScript file from the newly installed plugin directory (`scripts/postinstall-link-sdk.js`). Because plugin contents come from an npm package and may be attacker-controlled or compromised, this turns a nominal 'upgrade helper' into a code-execution path with the privileges of the user running the upgrade. In this skill context, that is especially dangerous because the helper is designed to fetch and install arbitrary plugins, so executing plugin-provided code materially expands the trust boundary.
