id: pipfile-lock

info:
  name: Pipfile.lock Disclosure
  author: DhiyaneshDK
  severity: info
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Pipfile"
  tags: exposure,pip,devops,cicd,files

http:
  - method: GET
    path:
      - "{{BaseURL}}/Pipfile.lock"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"pipfile-spec":'
          - '"requires"'
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022029af141e7c7ca08ef692f99356310423047ad3c493130738309dc30ab130d1200220114a6e00b2e5053f8a92c695e80d0fd7957c1908fd780574345ff4c615a8b970:922c64590222798bb761d5b6d8e72950