Compromised JavaScript Package Caught Stealing npm Credentials (bleepingcomputer.com)
An anonymous reader shares a report: A hacker gained access to a developer's npm account earlier this week and injected malicious code into a popular JavaScript library, code that was designed to steal the npm credentials of users who utilize the poisoned package inside their projects. The JavaScript (npm) package that got compromised is called eslint-scope, a sub-module of the more famous ESLint, a JavaScript code analysis toolkit. The hack took place on the night between July 11 and 12, according to the results of a preliminary investigation posted on GitHub a few hours ago. "One of our maintainers did observe that a new npm token was generated overnight (said maintainer was asleep)," said Kevin Partington, ESLint project member. Partington believes the hacker used the newly-generated npm token to authenticate and push a new version of the eslint-scope library on the npm repository of JavaScript packages.
you are breaking critical news a day late.
Open collaborative coding with the public, always opens the door for bad actors to get in and inject bad code. Especially if the review process is kinda lax.
If something is so important that you feel the need to post it on the internet... It probably isn't that important.
The law for thee - but not for mi? #Law&OrderParty #TreasonIsFineAlso http://www.parkerliveonline.com/2018/07/11/ariz-lawmaker-brags-speeding/
It is showing the true nature of man.
Javascript has destroyed the web; we were better as in, safer, same functionality available, better able to create web pages etc. before it took over the world.
If the internet is only remembered for one thing ... It is showing the true nature of man.
You got that right. The Trumptards have underlined it in bold, and the picture aint pretty.
It is depressing to belong to a species whose extinction and absence will be a profound improvement for the world, and possibly the entire universe within our light-cone.
It's such a tiny package though. It isn't worth compromising.
Howso? How would the world benefit from the fall of man? Reduced co2 levels? You think the planet gives a shit about that? You're a moron. Man is the pinnacle of evolution and as such is the ultimate destiny of this planet.
Secure or easy. Pick one.
I guess I'm an old fart now, being mid-30s, but this package management/repository stuff has always seemed like cancer to me because of said things happening.
I think they've mainly been made up to lower the barrier to entry for monkeys who don't understand how to integrate a library into their build system.
When I decide to use a 3rd party library in a project, I either take a copy of a release and integrate it directly, or clone a copy of the git repository for our own servers in case the source disappears so that we have a full revision history of the code.
After doing that, I subscribe to any mailing lists or issue trackers associated with that 3rd party code to keep a tab on what's happening with it and will only update it if there is a critical bug fix or a new feature that we need.
The whole notion of pulling down packages willy nilly without knowing what's actually in them or what they in turn depend on is just completely insane.
Ha ha only kidding. Just shout "hacker!" a lot and you have prime msmash&beauhd posting material.
I really don't want to run any of MY code on YOUR box. Yet that's what
the web today is made up of. It's infuriating.
This is the risk you take with using a dependency by "some dude" rather than an organization which takes steps to implement proper security. Also demonstrates how auto-updates can also be abused and is not always a good thing. If you must use such a library, go over the code line by line first.
Howso? How would the world benefit from the fall of man?
Here's one way
You're a moron. Man is the pinnacle of evolution and as such is the ultimate destiny of this planet.
The world would also benefit from having less of this sort of idiocy.
A Tardigrade can survive in much more extreme environments than a human, and is therefore ahead in evolutionary terms.