Guardarian Users Targeted by Malicious NPM Packages in Strapi Ecosystem Attack
A recent supply chain attack has targeted the Strapi ecosystem, involving 36 malicious NPM packages, as reported by supply chain security firm SafeDep. Strapi, an open-source headless CMS built on Node.js, is used by developers to create websites, mobile applications, and APIs. The attack, which was discovered on Friday, involves packages published across four accounts, delivering various malicious payloads. These payloads are capable of Redis code execution, Docker container escape, credential harvesting, and reverse shell deployment. One specific payload exploits Redis instances to inject crontab entries, deploy PHP webshells, and Node.js reverse shells, inject SSH keys, and exfiltrate a Guardarian API module. Another payload is designed to escape Docker containers, write shells to host directories, launch a reverse shell, and read Elasticsearch and wallet credentials. The campaign specifically targets the cryptocurrency payment gateway Guardarian, as evidenced by the direct probing of databases associat...