Can break the consumer's application by removing its React dependencies.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security review
scanned · by lpm-firewall-ai
The package automatically removes React and ReactDOM from the installing project. This destructive behavior is unrelated to the package's purpose, so the version should be blocked.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Runs automatically during package installation via postinstall.
Mechanism
Executes rm -rf on node_modules/react and node_modules/react-dom.
Attack narrative
On installation, the package's postinstall hook recursively removes React and ReactDOM from the consuming project's node_modules. This destructive action is unrelated to a widgets package's purpose and can break the user's application.
Avoid installing @1interface/widgets@0.15.1. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.