Redacted warning
OpenCode was stopped before running a malicious postinstall script
A redacted example of a supply-chain attack via npm install.
- 01
What tried to happen: OpenCode attempted to install a package with a postinstall script that reads .env files.
- 02
Why risky: Postinstall scripts run with full permissions before anyone reviews the code.
- 03
What Guard did: HOL Guard paused the install and showed the script contents.
Safe next step
Review postinstall scripts before allowing installs. Pin dependencies to known-good versions.