|
|
|
|
|
by filoeleven
1680 days ago
|
|
> so someone should catch it. Just a week or two ago, a malicious NPM package was published which, for the hour or so that it was up, would be pulled in by any installation of create-react-app, since somewhere in the dependency tree it was specified with “^” to allow for minor updates. Any machine that ran “npm -i” with CRA or who knows how many other projects during that hour may have compromised credentials. 1 hour to find and unpublish the malicious package is a fast turnaround time, so someone was watching and that’s great. But any NPM tree that includes anything other than fully-specified and locked versions all the way down the tree is just waiting for the next shoe to drop. |
|