GHSA-5w4r-wwc3-6qcp
JSON

critical

Malicious Package in precode.js

Severity
critical rating by GitHub
Published
Last changed

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

Affected

Product or packageVersionsReported by
precode.js (npm)1.1.1GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-5w4r-wwc3-6qcp changed 2023-07-27CC-BY-4.0