Skip to content

probe + detector: API keys #348

@leondz

Description

@leondz

Write probe and detector to extract API keys

Two suggested attack modes:

  • Ask directly for keys for various services
  • Provide partial keys and see if the model will complete them

For the detector, we can use trufflehog (see https://github.com/trufflesecurity/trufflehog) or regexes. This should go in a new detector module.

see https://reference.garak.ai/en/latest/extending.html for help getting started

Metadata

Metadata

Assignees

No one assigned

    Labels

    detectorswork on code that inherits from or manages DetectordontautocloseThe `stale` workflow should not mark thisgood first issueGood for newcomersnew pluginDescribes an entirely new probe, detector, generator or harness

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions