Malicious code in evm-validation (npm)
Description
Source: amazon-inspector (d3c551a6031e48a54b550a604e2198a4491cf935407744bba8ef0c11c54086c4)
The package advertises EVM address validation but performs no local validation. Its single exported function validated(e) in index.js issues axios.get against a hardcoded destination and appends the caller-supplied argument to the URL, causing whatever the consuming application passes in (EVM addresses, keys, or arbitrary user data) to be transmitted to a remote host the caller never configured. The destination is deliberately hidden: a scrambled string array is joined, ROT13-transformed, and reversed at runtime to reconstruct api-ivalidte.vercel.app/
---