Skip to content

fix(rules): all-alphabetic unquoted YAML secret (password: correcthorsebattery) is not flagged #635

Closed

Description

@ajianaz

Split out of #625 (sub-item 2, the all-alphabetic half). Flow-style { password: hunter2hunter2 } in YAML is now flagged, and the plain-scalar rule is scoped to non-code files. An all-alphabetic unquoted value (password: correcthorsebattery) is still not flagged: it cannot be told apart from references such as secret: kubernetes or token: optional without a value classifier (wordlist/entropy/known-keyword set). Pinned as a KNOWN_GAPS row in src/engine/secret_heuristics_tests.rs.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions