Re:Tell HN: Node.js koa-router package transferred to unknow...
by pscanf on Wednesday February 13, 2019 @06:00PM
(#19157996)
I've been on the other side of a similar conversation, that eventually got me the name I wanted after around 30 days. This was around five years ago, when there were still no scoped packages and the ecosystem was surging in popularity. I guess in the previous years people had been creating test packages and forgetting about them, and no doubt some were just squatting popular names. In my case the package with the name I wanted was empty and inactive, and there was a human check before it being handed over.
Re:Tell HN: Node.js koa-router package transferred to unknow...
by binarymax on Wednesday February 13, 2019 @06:13PM
(#19158085)
Yes I had guessed the policy is to prevent squatting. But it shouldn't apply to packages that actually have code sitting in them - anyone could have seen my package had a bunch of work gone into it, even if it hadn't been updated in a while. If it's a legit package, no matter how old it is, then the ownership should stick to the original author by default in perpetuity.
Re:Tell HN: Node.js koa-router package transferred to unknow...
by basil-rash on Wednesday February 13, 2019 @04:39PM
(#19157315)
What a strange exchange. Why would npm assume that you actually want to add this random third party as a user? Could the package in question have appeared "dead" (i.e. no recent updates, not many weekly downloads)?
Re:Tell HN: Node.js koa-router package transferred to unknow...
by binarymax on Wednesday February 13, 2019 @06:11PM
(#19158070)
It wasn't dead, but I hadn't updated it in awhile and it wasn't the most popular thing in the world.
Re:Tell HN: Node.js koa-router package transferred to unknow...
by rogierschouten on Friday February 15, 2019 @02:52AM
(#19169223)
I once took over ownership of the then-quite-popular async-lock package. It had a bug and it really wasn't being maintained anymore. The process was actually quite beneficial to the community in that case.
That being said, I think the owner didn't understand English very well so I'm not sure he would have understood the emails from NPM support had he read them.
Re:Tell HN: Node.js koa-router package transferred to unknow...
by antic on Thursday February 14, 2019 @11:16PM
(#19168418)
Allowing automatic claiming of ownership by a third party is extremely dangerous to the ecosystem. This sounds like a vulnerability that could be used to publish malicious code to repos that people are using but that are no longer maintained (event-stream->flatmap-stream, anyone?).
It's very possible this went through npm support, they received no reply within the window, and the transfer was granted.
There are good practices around domain names to lock transfer, perhaps npm should consider adopting similar mechanisms.
--edit-- for the curious, here is the redacted email chain. I don't want to call anyone out on this. These things are hard and handling edge cases are very difficult. I love npm, and host several packages there. I really appreciate everything they've done for node and javascript, and I think folks are harder on them than they should be due to some tricky decisions they've made. But I want things to improve for everyone, so consider this a disclosure for analysis on how things can get better. https://pastebin.com/636v8YSP