Justin Collins
Justin Collins
Whoops, hey Mike. Do you mean in the code snippet? I'm not sure about truncating it, but maybe we just shouldn't provide the code for that warning?
Actually not sure how that could be done without removing line and file information as well :(
Agree, and I think this is totally fixable. Thank you for reporting!
This is kind of fixed on the client-side at this point, although I guess that presumes people update flash/browsers.
RFD requires the attacker to be able to set the downloaded file extension, right? I'm not sure how Brakeman would be able to detect that.
FWIW, I cannot reproduce the lack of a warning on the second example. There are two issues happening here - one is that Brakeman doesn't have any special handling for...
Hi Jason, Sounds like a good idea to me, but isn't it more common to use `link_to`?
Warn on `sanitize_sql("some #{interpolated} string")` or just don't treat `sanitize_sql` as safe when passed a string?
Usually `UnresolvedModel` means it looks like the code is doing something with a model, but Brakeman doesn't know which model. Are you saying Brakeman is reporting a false positive where...
Actually this makes me wonder if Brakeman _can_ benefit from Sorbet. Maybe by consuming .rbi files...?