Remix.run Logo
mittermayr an hour ago

Does anyone happen to have a grep or similar that helps me check if this is showing up anywhere in the trillions of files in node_modules (or pnpm store)?

byutifu 6 minutes ago | parent | next [-]

This article has a lot of information and ways to check & clean: https://safedep.io/keyv-npm-supply-chain-compromise/

rhdunn an hour ago | parent | prev | next [-]

The what happened section mentions the addition of the `setup.mjs` and `Math_Symbol.js`, along with a change in `package.json` to add `"preinstall": "node setup.mjs"`, so presumably checking for any of those would be a good indication to check further.

For example:

    find . -type f | grep -P "/Math_Symbol\.js$"
orheep 41 minutes ago | parent | prev [-]

find . -type d -name node_modules -prune -exec find {} \( -name setup.mjs -o -name math_init.js -o -name Math_Symbol.js \) \; 2>/dev/null