MAL-2026-2467
Dashboard / Malicious Package / MAL-2026-2467
MAL-2026-2467
Summary: Malicious code in strapi-plugin-hooks (npm)
Details: strapi-plugin-hooks is a malicious npm package disguised as a Strapi CMS plugin. On install, it runs a postinstall script that executes an 11-phase attack: stealing .env files, environment variables, Strapi configuration, private keys, Redis data, Docker/Kubernetes secrets, and network topology. It then opens a polling C2 loop that accepts and executes arbitrary shell commands from a remote server. Source: amazon-inspector (b6629a11e6da66c2c48c9d8d368a90c03a575416f5d532729f49a2b1bf948645) The package strapi-plugin-hooks was found to contain malicious code. Source: ghsa-malware (0ada863bbd587188d47927e6db00a14794ad99bc319ca74402aabf4c4ecf9b94) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://safedep.io/malicious-npm-strapi-plugin-events-c2-agent/, https://github.com/advisories/GHSA-vgx9-mqvm-pp39
Affected packages
Package
Name: strapi-plugin-hooks
Purl: pkg:npm/strapi-plugin-hooks
Affected ranges
Type: SEMVER
Events:
