←back to thread

1369 points universesquid | 2 comments | | HN request time: 0.461s | source
Show context
martypitt ◴[] No.45170121[source]
A super quick script to check the deps in your package-lock.json file is here[0].

[0]: https://gist.github.com/martypitt/0d50c350aa7f0fc73354754343...

replies(2): >>45170178 #>>45170233 #
krona ◴[] No.45170178[source]
how about:

grep -r "_0x112fa8"

replies(1): >>45170506 #
9dev ◴[] No.45170506[source]
Irritatingly, this doesn't turn up anything, despite having a theoretically-compromised project as per the package-lock.json… At least on my end
replies(2): >>45170718 #>>45172597 #
1. mewpmewp2 ◴[] No.45170718[source]
What do you mean irritatingly? Do you mean that you think 'grep -r "_0x112fa8"' is not enough or are you irritated that npm audit is flagging as if it was compromised?
replies(1): >>45171802 #
2. 9dev ◴[] No.45171802[source]
I'm irritated because I expected to find at least one compromised file, but there were none. It may be, though, that we only use the affected packages as transitive development dependencies, in which case they are not installed locally. But a sliver of doubt remains that I missed something.