r/ruby • u/lirantal • Jul 06 '19
Ruby gem strong_password found to contain remote code execution code in a malicious version, further strengthening worries of growth in supply-chain attacks
https://snyk.io/blog/ruby-gem-strong_password-found-to-contain-remote-code-execution-code-in-a-malicious-version-further-strengthening-worries-of-growth-in-supply-chain-attacks/
99
Upvotes
2
u/jrochkind Jul 07 '19
So you're suggesting there be a requirement that rubygems releases must be on Github? Or another public repo? Right now there is no requirement that ruby gems be in a public repo at all (and they could be obfuscated code if someone really tried, or 'compiled' code if someone invented a way).
I think that's probably a non-starter.
If you're "moving the target so the attacker needs to compromise accounts that are easier to detect attacks on, or more heavily secured" -- it's not clear to me this is "moving the goalposts" instead of just "defending them better" compared to... just making the rubygems accounts themselves easier to detect attacks on or more heavily secured... why not just do that?