News for hackers. Stuff that matters.
Re:Docker Hub Hacked – 190k accounts, GitHub tokens revoked,... by filleduchaos on Saturday April 27, 2019 @03:39AM (#19764367)
Libraries off Github literally have the source available for you and the community at large to vet. And you'll find almost no sane shop on the planet where people are allowed, hell encouraged to use shady distros or install random utility tools in production the way they are encouraged to pull unchecked binary blobs from Docker Hub in an often non-reproducible manner.
Re:Docker Hub Hacked – 190k accounts, GitHub tokens revoked,... by hk__2 on Saturday April 27, 2019 @05:55AM (#19764763)
> Libraries off Github literally have the source available for you and the community at large to vet.

Nobody read the source code for this exact reason: “the community is here to read it so I won’t".

Re:Docker Hub Hacked – 190k accounts, GitHub tokens revoked,... by fock on Saturday April 27, 2019 @06:15AM (#19764819)
Well, for most libraries used in Desktop Linux, a significant number of stakeholders (developers+users) exist, which actually care for development and the complete thing itself. Also the libraries generally are designed for solving problems and not getting github-stars by bots/dependency-building.

For docker (and npm for all that matters) _a lot_ of important dependencies are basically simple one-off "developments" with a single developer and no userbase at all caring for them, because they don't really solve any consistent problem, being basically just created to increase the visibility of its creator on primitive metrics. The community is there for high-level packages, but the dependencies lurk in test-scripts and seldom-used functions carefully placed by some idiotic digital nomads for their personal CV-polishment (ehm, not looking at you: https://github.com/sindresorhus/shebang-regex). Have a look at where this package is used (basically only in cross-spawn, where there are 10 other similar dependencies), then think about, how much effort creating the dependency hierarchy was, then look up who contributed the changes, where this micro-package was required and finally decide whether this was some thing sane people would do or if it's just for personal gain...

Re:Docker Hub Hacked – 190k accounts, GitHub tokens revoked,... by debiandev on Saturday April 27, 2019 @06:41AM (#19764881)
> Nobody read the source code

In Debian we review and vet packages.

Re:Docker Hub Hacked – 190k accounts, GitHub tokens revoked,... by filleduchaos on Saturday April 27, 2019 @08:46PM (#19768604)
Speak for yourself, please - there are plenty of places that aren't into cowboy coding.
Re:Docker Hub Hacked – 190k accounts, GitHub tokens revoked,... by speedplane on Saturday April 27, 2019 @03:56AM (#19764414)
> Libraries off Github literally have the source available for you and the community at large to vet.

If Github was compromised, it would be easy and obvious to insert malicious code in a repository, but hide those changes from anyone on the github website.

Re:Docker Hub Hacked – 190k accounts, GitHub tokens revoked,... by filleduchaos on Saturday April 27, 2019 @08:45PM (#19768601)
Which you can avoid by forking the mainline repo and depending on your fork.

Images on Docker Hub don't even need to share their Dockerfile, to talk of all the source/etc that went into their build.

Re:Docker Hub Hacked – 190k accounts, GitHub tokens revoked,... by speedplane on Friday May 03, 2019 @03:42AM (#19816352)
>> If Github was compromised, it would be easy and obvious to insert malicious code in a repository

> Which you can avoid by forking the mainline repo and depending on your fork.

If github was compromised, the it would be pretty easy to generate forks with the same compromised code.