id: storybook-panel

info:
  name: Storybook Panel - Detect
  author: kh4sh3i
  severity: info
  description: Storybook panel was detected.
  reference:
    - https://storybook.js.org/
    - https://github.com/storybookjs/storybook
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 2
    shodan-query: http.title:"storybook"
  tags: panel,storybook,workshop

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/?path=/settings/about"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Storybook</title>'
          - 'storybook-'
        condition: or

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