{"schema_version":"1.9.0","id":"GHSA-5w4r-wwc3-6qcp","published":"2020-09-11T21:23:29Z","modified":"2023-07-27T20:33:34Z","summary":"Malicious Package in precode.js","details":"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=`\n\n\n\n## Recommendation\n\nRemove the package from your environment and evaluate your application to determine whether or not user data was compromised.\n\nUsers may consider downgrading to version 1.1.0","affected":[{"package":{"name":"precode.js","ecosystem":"npm","purl":"pkg:npm/precode.js"},"versions":["1.1.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5w4r-wwc3-6qcp/GHSA-5w4r-wwc3-6qcp.json"}}],"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/941"}],"database_specific":{"cwe_ids":[],"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:41:20Z","nvd_published_at":null,"severity":"CRITICAL"}}