diff --git a/exposures/tokens/docker/dockercfg.yaml b/exposures/tokens/docker/dockercfg.yaml new file mode 100644 index 0000000000..5f426c2785 --- /dev/null +++ b/exposures/tokens/docker/dockercfg.yaml @@ -0,0 +1,29 @@ +id: dockercfg + +info: + name: Detect .dockercfg + author: geeknik + description: Docker registry authentication data + severity: high + tags: docker,auth + +requests: + - method: GET + path: + - "{{BaseURL}}/.dockercfg" + + matchers-condition: and + matchers: + - type: word + part: header + words: + - "text/plain" + - type: word + words: + - "https" + - "email" + - "auth" + condition: and + - type: status + status: + - 200