GitHub Advisoryadvisory · npm
GHSA-5w4r-wwc3-6qcp Malicious Package in precode.js
CRITICAL
Official page ↗
- Ecosystem
- npm
- Packages
- precode.js
- Severity
- Critical
- Reviewed
- 2020-08-31
Affected packages
• npm precode.js: 1.1.1 (no fix yet)
Description
Version 1.1.1 of `precode.js` contained malicious code. The code when executed in the browser would enumerate password, cvc and cardnumber fields from forms and send the extracted values to `https://js-metrics.com/minjs.php?pl=`
Recommendation
Remove the package from your environment and evaluate your application to determine whether or not user data was compromised.
Users may consider downgrading to version 1.1.0