Skip to content

Ruby auth_middleware: def authenticate_user! (a definition) counts as an authentication site #9440

Backlog

Description

@squid-protocol

SOP-002-v1 gap-cell decoy suite (epic #8863), Ruby batch.

Leak. Ruby auth_middleware has the branch \bauthenticate_<id>+!, which also matches the definition of an authentication helper. The contract says the family counts a site that performs or gates authentication "at its invocation"; the rule's own comment says definitions are kept out.

def authenticate_user!   # expected 0, actual 1

Pinned by strict xfail in tests/decoys/test_decoy_ruby.py.

Activity

  1. added
    bug
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions