TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Empty NPM package '-' has over 700k downloads

61 pointsby clubdorothealmost 4 years ago

12 comments

t0mekalmost 4 years ago
&gt; Developers should exercise caution when typing npm commands in the terminal when especially when using flags.<p>The double ”when” is quite funny here, given the nature of npm problem described in the article.
marechalbernardalmost 4 years ago
The &quot;-&quot; package: <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;-" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;-</a>
tus89almost 4 years ago
And removing it will probably break half the internet. NPM is a nutshell.
评论 #28045662 未加载
marto1almost 4 years ago
Where there&#x27;s user input there&#x27;s cybersquatting.
评论 #28046582 未加载
egbertsalmost 4 years ago
A simple logic of NOT “-“ would have blocked any reintroduction&#x2F;upgrade of unintended “-“ package, coupled with a inertiazed package replacing the accidentally-introduced “-“ package.<p>Yeah, those who depend on the original but accidental “-“ package for its functionally should suffer any consequential breakage that may have resulted from it.<p>*insert*fake*tear*here*
throwaway4goodalmost 4 years ago
So why would anyone make a package like that?
评论 #28046707 未加载
评论 #28046494 未加载
评论 #28046192 未加载
hidden-spyderalmost 4 years ago
What even does this package do? I can&#x27;t understand how to get to the source and the readme is vague.
评论 #28045881 未加载
评论 #28046989 未加载
评论 #28045880 未加载
James-Liveseyalmost 4 years ago
&gt; A mysterious, one-letter npm package named &quot;-&quot; sitting on the registry since 2020 has received over 700,000 downloads.<p>...then a few lines further down the article:<p>&gt; An npm package called &quot;-&quot; has scored almost 720,000 downloads since its publication on the npm registry, since early 2020.<p>Kinda frustrating that the same information is being written twice imo... And then two ads in a row follow that
pajkoalmost 4 years ago
What would happen if a newer version gets released sometime with some added malware functionality?
undebuggablealmost 4 years ago
Mistyped, incorrect, and copypasted shell commands which are incorrectly using the minus character.
brundolfalmost 4 years ago
Also 56 dependents
tapout1960almost 4 years ago
can a newer version be used to introduce malicious code for those downloading or the dependents?