Source confirms automatic postinstall changes to global Cursor agent instructions, so a lifecycle warning is appropriate. The observed writes are limited to the package’s own skills namespace, with no confirmed broader control-surface abuse.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
Installing the package through npm or npx in a consumer environment.
Impact
The installed skills can affect agent behavior in later Cursor sessions. No credential transfer or unrelated configuration write was established.
Mechanism
The postinstall helper copies skills into the package’s BDK namespace, overwrites existing copies, and sets alwaysApply to true unless a skill explicitly opts out.
Evidence
package.jsonscripts/install-cursor-skills.mjsdist/internal/install-cursor-skills.js~/.cursor/skills/bdk