MAL-2026-6591 Malicious code in ledgerflow-deploy-utils (npm)
Malicious package
Published
MAL-2026-6591 is a malicious package: ledgerflow-deploy-utils (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-6591/ (Markdown: https://insights.sbomify.com/MAL-2026-6591/index.md)
- Package
- ledgerflow-deploy-utils
- Registry
- npm
What is MAL-2026-6591?
MAL-2026-6591 is a malicious package in ledgerflow-deploy-utils, published on 29 Jun 2026.
Official description
On npm install, the package's postinstall script queries the AWS instance metadata service (IMDSv1) at 169.254.169.254 for the attached IAM role and POSTs the result, along with an IMDS-reachability probe, over plain HTTP to a hardcoded bare IP (54.226.194.239:80/chain3). The published library surface (index.js) only exports two no-op console.log stubs named validate/deploy, with no real functionality — the entire effective behavior is the install-time reconnaissance against AWS-hosted installers and CI runners. The combination of a placeholder API, a generic deployment-utility name suggesting an internal/private package, and install-time recon to a hardcoded bare-IP C2 matches the dependency-confusion / internal-name-squat pattern targeting corporate build systems, where exposed IAM role names enable follow-on credential abuse against the installer's cloud environment.
What should I do about MAL-2026-6591?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.