Skip to content

Investigate when valid high-entropy secrets do not have quotes (outside of yaml/ini files) #203

@KevinHock

Description

@KevinHock

There is the very rare valid secret in the form of

foo bar HIGH-ENTROPY

or just

HIGH-ENTROPY

etc.

where there are no quotes. We currently require quotes for high-entropy secrets, which is a sensible thing IMO, since it is one of the noisier plugin classes already.

I am not saying it is worth the increase in false-positives to catch these in general, simply that we should (a) add some documentation around it, and/or (b) investigate a more sophisticated approach than if we were to just remove the quote requirement all together, if feasible, i.e. handle the special cases where we might come across it. 🤔

I'd love to hear about if anyone else has encountered a valid secret of this form, and what the secret was, so that we could discuss possible solutions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    false negativeshelp wantedIndicates that we would like someone that’s not a maintainer to work on the issue.triagedThe issue has been reviewed but has not been solved yet.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions