OpenSSF/OSV advisory MAL-2026-4175 confirms this npm version as malicious. The package.json declares a postinstall lifecycle hook that performs reconnaissance and exfiltration on every install. The script invokes child_process to capture host identity (whoami) and reads process.env, queries https://api.ipify.org to obtain the installer's public IP, and POSTs the collected data to a subdomain under.oast.fun (an out-of-band application security testing / interaction host commonly used as...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in collected-forms-embed-js (npm)
Details
The package.json declares a postinstall lifecycle hook that performs reconnaissance and exfiltration on every install. The script invokes child_process to capture host identity (whoami) and reads process.env, queries https://api.ipify.org to obtain the installer's public IP, and POSTs the collected data to a subdomain under.oast.fun (an out-of-band application security testing / interaction host commonly used as exfiltration C2). Any developer or CI system running `npm install` for this package will leak host identity, environment variables, and network identifiers to the attacker-controlled callback. There is no legitimate reason for a forms-embedding library to fingerprint hosts and beacon to an OAST domain at install time.
## Source: ghsa-malware (ac92e6994c361dee2371b037c52d1ed3d1b27ced5002dcbc3de7ef0c884ed91d) 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.
## Source: ossf-package-analysis (5bc706a222ff9fef4872e708bcd99cf286eaf8a11c9908c33ed9776e43d600e6) The OpenSSF Package Analysis project identified 'collected-forms-embed-js' @ 1.0.1 (npm) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
- The package executes one or more commands associated with malicious behavior.
Decision reason
OpenSSF Malicious Packages via OSV confirms collected-forms-embed-js@1.0.1 as malicious (MAL-2026-4175): Malicious code in collected-forms-embed-js (npm)