Skip to content

fix(secret): add prefix to exclude 0-9a-zA-Z before secret #7176

Closed
@DmitriyLewen

Description

@DmitriyLewen

Description

We don't need to detect secrets containing 0-9a-zA-Z before secret.
e.g. finding a secret in #define DISPID_ICANVASRENDERINGCONTEXT2D_CANVAS DISPID_CANVASRENDERCONTEXT2D is false positive.

Important points:

  • we need to check starting line/file.
  • we shouldn't check this prefix for custom secrets

Activity

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

Metadata

Metadata

Labels

scan/secretIssues relating to secret scanning

Type

No type

Projects

  • Status

    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions