id: algonomia-panel

info:
  name: Algonomia Leaf Platform Panel - Detect
  author: righettod
  severity: info
  description: |
    Algonomia Leaf Platform login panel was detected.
  reference:
    - https://algonomia.com/
  metadata:
    verified: true
    max-request: 1
  tags: tech,algonomia,detect,panel

http:
  - method: GET
    path:
      - "{{BaseURL}}/assets/i18n/en.json"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(to_lower(body), "logincomponent\":")'
          - 'contains_any(to_lower(body), "leafplatform", "leaf platform")'
          - 'contains(header, "application/json")'
        condition: and
# digest: 490a00463044022032160571649d0ed1ba21823f0d69dd6fb7c2fd28aee1077ebc11a4e226fa1764022005b55a707c9139a46af38a1f59ba43ec45685fc4557a0e54e706984a3f850e3a:922c64590222798bb761d5b6d8e72950