MAL-2026-2451
Dashboard / Malicious Package / MAL-2026-2451
MAL-2026-2451
Summary: Malicious code in strapi-plugin-api (npm)
Details: strapi-plugin-api 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 (a47bef35e6c9ae0328061a33a99229b1520da7ea6ce227e4b496165054c64d55) The package strapi-plugin-api was found to contain malicious code. Source: ghsa-malware (a26bd0a76b01dc636e328afbe8291d566db972ffe6a8c3b1588cf27ff9f04cc9) 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-2m6v-vrwv-92cm
Affected packages
Package
Name: strapi-plugin-api
Purl: pkg:npm/strapi-plugin-api
Affected ranges
Type: SEMVER
Events:
