Re:Supply-chain attack hits RubyGems repository with malicio...
by Techies4Trump on Saturday April 18, 2020 @09:55AM
(#22907741)
Anybody who doesn't use a dev VM these days is asking for trouble. It's too easy for attackers to run malicious code on your machine with techniques like this.
[ Parent
| on HN ]
Re:Supply-chain attack hits RubyGems repository with malicio...
by _eht on Saturday April 18, 2020 @01:13PM
(#22909184)
I would go as far as saying anyone who does not have control and awareness of their dependencies is asking for trouble. VM be damned.
Re:Supply-chain attack hits RubyGems repository with malicio...
by akira2501 on Saturday April 18, 2020 @01:40PM
(#22909451)
That's part of the reason I feel uncomfortable with "modern" package systems like golang's. I really want to use golang more, but I just don't feel 'secure' about building a bunch of packages pulled off of github by URL.
Re:Supply-chain attack hits RubyGems repository with malicio...
by _eht on Saturday April 18, 2020 @02:38PM
(#22910019)
Third-party package management is not a modern marvel by any means. You are unnecessarily singling out golang, and if you let that stop you from learning it's your loss. Just be smart. Dependency awareness is not black magic.
Re:Supply-chain attack hits RubyGems repository with malicio...
by jatone on Saturday April 18, 2020 @08:13PM
(#22912263)
odd golang has a better security story than npm, rubygems, and python. it'll at least crypto ensures the dependency code hasnt been modified since you first retrieved it iirc.
the rest is up to you as a developer to ensure its safe.
Re:Supply-chain attack hits RubyGems repository with malicio...
by riyakhanna1983 on Saturday April 18, 2020 @11:35AM
(#22908424)
Not only that, you could end up shipping malicious code to your customer.
Re:Supply-chain attack hits RubyGems repository with malicio...
by ajsharp on Saturday April 18, 2020 @12:10PM
(#22908655)
How would a dev vm prevent this? Vms can still call out to the internet.
Re:Supply-chain attack hits RubyGems repository with malicio...
by badrabbit on Saturday April 18, 2020 @12:31PM
(#22908803)
No host FS or clipboard access means it would be rendered useless.
Re:Supply-chain attack hits RubyGems repository with malicio...
by justinclift on Saturday April 18, 2020 @09:11PM
(#22912605)
Hmmm, that depends on the virtualisation solution being used.
If someone's using (say) VMware Workstation or Fusion, if they've loaded the VMware tools into the VM it can share the clipboard and be configured with access to the hosts filesystem (at defined points).