3 ms·
If you're logged in, if you call it with an argument that isn't already in use as a module name, and if you specifically enter the full path to the script (you
by jessaustin 11y ago
If you're logged in, if you call it with an argument that isn't already in use as a module name, and if you specifically enter the full path to the script (you don't have cwd on your $PATH, do you?). TFA would make more sense if it contained a warning not to run random scripts that one downloads without reading them.
As it is, TFA seems like an attempt to invent malicious rumors about a completely innocent person.
[EDIT:] you're still wrong; in order to be equivalent to "curl | sh", x.sh or its equivalent would have to be referenced in the "scripts" object in "package.json".