id: nvidia-triton-detect

info:
  name: Triton Inference Server - Detect
  author: mailler0xa
  severity: info
  description: |
    Detected the NVIDIA Triton Inference Server, an open-source platform for serving AI/ML models. It supported multiple frameworks and exposed HTTP/gRPC endpoints for high-performance inferencing.
  reference:
    - https://github.com/triton-inference-server/server
  metadata:
    verified: true
    max-request: 1
    vendor: nvidia
    product: triton
  tags: oss,nvidia,triton,tech,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/v2"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "{\"name\":\"triton\","
          - "\"extensions\""
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: json
        part: body
        json:
          - ".version"
# digest: 4b0a00483046022100c42f308308963f4329f91239daa67095d66660444b997ac2976ffb0b30ec17780221009a427c719b6acc2c1eaeca96ee4c306315a66eac8a737e19d7f046c7445e82c1:922c64590222798bb761d5b6d8e72950