OpenSSF/OSV advisory MAL-2025-3660 confirms this npm version as malicious. This package steals IP address and sent it to C&C server in preinstall hook.
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in pie-docs (npm)
Details
This package steals IP address and sent it to C&C server in preinstall hook.
---
## Source: ghsa-malware (6326ffe9d39e0d889a1a93b2faf51b274055e4a9f12f3596cdca2f85098245d3) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Decision reason
OpenSSF Malicious Packages via OSV confirms pie-docs@4.31.0 as malicious (MAL-2025-3660): Malicious code in pie-docs (npm)