1. 05 12月, 2012 1 次提交
  2. 14 11月, 2012 3 次提交
  3. 31 10月, 2012 1 次提交
  4. 12 10月, 2012 1 次提交
  5. 11 10月, 2012 1 次提交
  6. 09 10月, 2012 1 次提交
  7. 26 9月, 2012 5 次提交
  8. 13 9月, 2012 1 次提交
  9. 28 7月, 2012 1 次提交
  10. 07 4月, 2012 1 次提交
  11. 16 2月, 2012 1 次提交
    • N
      Catch raw hrefs as bad, warn unless wrapped in a "safe" method · 3dc688ee
      Neil Matatall 提交于
      Add concept of a safe-ening method to mark hrefs as safe
      
      Feature:
      Warn when using unsafe hrefs.  This is a very specific case that as of now produces a ton of noise.  This came out of an xss vuln where the value was escaped but still vulnerable.
      
          link_to 'asdf', h(@scary)
      
      where
      
          @scary = 'javascript:alert(1)'
      
      or
      
          @scary = 'data:  # http://palpapers.plynt.com/issues/2010Oct/bypass-xss-filters/
      
      This branch accomplishes slightly intelligent warnings by adding a new command line option to declare methods that make a string URL safe (unless there is already a standard one out there).  e.g.:
      
          $ brakeman . --url-safe-methods ensure_valid_protocol!
      
          link_to 'asdf', ensure_valid_protocol!(@scary, :javascript)
      3dc688ee
  12. 05 1月, 2012 1 次提交
  13. 23 12月, 2011 1 次提交
  14. 24 11月, 2011 1 次提交
  15. 23 11月, 2011 1 次提交
  16. 15 11月, 2011 2 次提交
  17. 11 11月, 2011 4 次提交
  18. 01 10月, 2011 1 次提交
  19. 09 9月, 2011 3 次提交
  20. 24 8月, 2011 1 次提交
  21. 18 8月, 2011 1 次提交
  22. 30 7月, 2011 2 次提交
  23. 26 7月, 2011 2 次提交
  24. 21 7月, 2011 1 次提交
  25. 19 7月, 2011 2 次提交