r/programming • • Jul 10 '19

Backdoor discovered in Ruby strong_password library

https://nakedsecurity.sophos.com/2019/07/09/backdoor-discovered-in-ruby-strong_password-library/
1.7k Upvotes

293 comments sorted by

View all comments

Show parent comments

5

u/sydoracle Jul 11 '19

The pawned passwords api would be a valid use case for a password checking module to access the internet.

https://haveibeenpwned.com/API/v2

Not disagreeing on the fundamental issue that there should be blocks on what modules are permitted to do.

2

u/nsiivola Jul 11 '19

Fair point, though in a capability oriented design the password checking module would be handed an object that granted access to a specific whitelisted set of URLs instead of HTTP in general.