You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then when I visit HB to see the reported error, I find two problems:
(minor) account_number_confirmation is not filtered from the "params" section of HB. It would be nice if HoneybadgerReport's constructor allowed us to pass through our own exclusion strategy so that we could allow the use of regexes (or at the very least substrings) instead of only supporting exact matches.
(major) The full URL, with all querystring parameters, is listed in the URL for the origin of the error on HB. ie. The GET parameters are only stripped out in the "params" section, not in the URL itself, which contains all of them.
Granted, sensitive params shouldn't be passed around via GET to begin with, but it's inconsistent to filter them out of the "params" section while leaving them intact in the URL.
The text was updated successfully, but these errors were encountered:
I agree with both points. We've solved the GET URL filtering in Ruby; it's a little tricky because you have to parse out the query string and then reconstruct it with the sensitive keys filtered, but it's doable. Supporting regexps/substrings (or at least some kind of programmatic filter) would also be nice.
We don't have time to tackle this ourselves at the moment, however I'd accept a PR; otherwise we'll look at this in our next Java sprint. It may be better to start with #44 since it's easier and would at least provide a stopgap for people who don't want to risk leaking sensitive info in the query string.
When I manually trigger an error notification to HoneyBadger (HB) like this:
If the page triggering this error has an URL such as:
/page?foo=bar&account_number=secret&foo2=baz&account_number_confirmation=secret
Then when I visit HB to see the reported error, I find two problems:
(minor)
account_number_confirmation
is not filtered from the "params" section of HB. It would be nice if HoneybadgerReport's constructor allowed us to pass through our own exclusion strategy so that we could allow the use of regexes (or at the very least substrings) instead of only supporting exact matches.(major) The full URL, with all querystring parameters, is listed in the URL for the origin of the error on HB. ie. The GET parameters are only stripped out in the "params" section, not in the URL itself, which contains all of them.
Granted, sensitive params shouldn't be passed around via GET to begin with, but it's inconsistent to filter them out of the "params" section while leaving them intact in the URL.
The text was updated successfully, but these errors were encountered: