Skip to content

Cosigned policies interpreted as regex by default #1871

Closed
@znewman01

Description

Unrelated to this PR but it's a regex??? That's a surprise

Does this open up an attack where someone passes [email protected] and I go register mailqexample.com and can pass the check?

Originally posted by @znewman01 in #1869 (comment)

I don't think this is necessarily a problem except users shouldn't be surprised by it or do the wrong thing by default. So maybe: make it loudly warn, or make regex behavior configurable? Or support globs instead?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions