The npm package 'gaarf' version 3.2.1 contains malicious code in its postinstall script that collects host identifiers and sends them to a third-party server. This behavior occurs automatically during installation and targets users who likely mistyped the intended package name 'google/ads-api-report-fetcher'. The data exfiltration is not configurable and sends information to an external domain unrelated to the installer’s infrastructure.