Earlier quoted context omitted.
I'll cherry pick an example: the default cookie config rule( https://github.com/bearer/bearer/blob/main//pkg/commands/pro... ). We have many places where `cookie: ` is used in our code and it triggers that rule. There are a few issues with this: - Most of the expressions where we use that pattern are used to send a full encrypted cookie string. The use of `cookie` is not the name of a key in the cookie string, its th…
Thanks for the feedback here; it is much appreciated :) I do know your point around catching encryption is more general than this example, but I’ve made a small improvement to the default cookie config rule regex to address one of the false positive cases mentioned https://github.com/Bearer/bearer/pull/754
Re: Show HN: Bearer – Open-source code security scanning solution (SAST)
#61This still generates the same false positive for me, in all of the previous repos I tested on.