TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Empty NPM package '-' has over 700k downloads

61 点作者 clubdorothe将近 4 年前

12 条评论

t0mek将近 4 年前
&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.
marechalbernard将近 4 年前
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>
tus89将近 4 年前
And removing it will probably break half the internet. NPM is a nutshell.
评论 #28045662 未加载
marto1将近 4 年前
Where there&#x27;s user input there&#x27;s cybersquatting.
评论 #28046582 未加载
egberts将近 4 年前
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*
throwaway4good将近 4 年前
So why would anyone make a package like that?
评论 #28046707 未加载
评论 #28046494 未加载
评论 #28046192 未加载
hidden-spyder将近 4 年前
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-Livesey将近 4 年前
&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
pajko将近 4 年前
What would happen if a newer version gets released sometime with some added malware functionality?
undebuggable将近 4 年前
Mistyped, incorrect, and copypasted shell commands which are incorrectly using the minus character.
brundolf将近 4 年前
Also 56 dependents
tapout1960将近 4 年前
can a newer version be used to introduce malicious code for those downloading or the dependents?