> ## Documentation Index
> Fetch the complete documentation index at: https://docs.morphllm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Hack me Engagements

> List your engagements at /api/v1/hack-me/engagements

## Overview

Lists the key's engagements, newest first, in every status, up to the latest 50; the read behind `morph hackme list`. A personal key lists the personal account's engagements, and an organization key the organization's. Any key of the account can read them.

A restart is a new attempt with its own `id`, so it is listed as its own engagement. See [status values](https://docs.morphllm.com/hack-me.md#engagement-status).


## OpenAPI

````yaml GET /api/v1/hack-me/engagements
openapi: 3.1.0
info:
  title: Morph API
  version: 1.2.0
  description: >-
    The Morph public API at api.morphllm.com: OpenAI- and Anthropic-compatible
    inference (chat completions, messages), Fast Apply code editing, Compact
    context compression, System One typed decisions, speech to text (audio
    transcription and translation), model listing, and dedicated endpoint
    management, agentic credit top-ups paid over x402, account usage and billing
    settings, and organization member budgets. Model ids, prices, and context
    windows are served live at https://www.morphllm.com/api/models/json.
  contact:
    name: Morph
    url: https://morphllm.com
    email: info@morphllm.com
  license:
    name: Proprietary
    url: https://morphllm.com/privacy/tos
servers:
  - url: https://api.morphllm.com
    description: Production
security: []
tags:
  - name: chat
    description: >-
      OpenAI- and Anthropic-compatible chat inference, including Fast Apply and
      WarpGrep models.
  - name: compact
    description: Context compression for long agent conversations.
  - name: systemone
    description: 'Typed decisions: a state in, a probability distribution per question out.'
  - name: audio
    description: >-
      Speech to text: transcription and translation of audio files,
      OpenAI-compatible.
  - name: models
    description: Model listing.
  - name: dedicated
    description: Dedicated endpoint discovery, status, and cancellation.
  - name: compute
    description: >-
      Dedicated compute: reserve whole GPU nodes by the month, manage SSH keys,
      give notice. Limited preview.
  - name: hack-me
    description: >-
      Hack me: an automated black-box penetration test of one public host you
      control, run by MindFort, Morph’s security testing partner.
  - name: credits
    description: Agentic credit top-ups paid in USDC over x402.
  - name: account
    description: >-
      Usage and spend per day; billing settings: extra usage, spend limit and
      alert, auto-reload.
  - name: organization
    description: Organization member budgets.
  - name: telemetry
    description: Usage reporting hooks.
paths:
  /api/v1/hack-me/engagements:
    get:
      tags:
        - hack-me
      summary: List Hack me engagements
      description: >-
        The engagements of the key’s account: a personal key lists the personal
        account’s, an organization key the organization’s.
      operationId: listHackMeEngagements
      responses:
        '200':
          description: The engagements, newest first.
          content:
            application/json:
              example:
                engagements:
                  - id: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
                    hostname: app.example.com
                    status: completed
                    assessmentStatus: completed
                    detail: null
                    verification: null
                    agreementVersion: 2026-12-02-v1
                    authorizationAcceptedAt: '2027-01-04T09:02:00.000Z'
                    paidAt: '2027-01-04T09:05:00.000Z'
                    amountSubtotalCents: 50000
                    amountDiscountCents: 0
                    amountTaxCents: 0
                    amountTotalCents: 50000
                    activity:
                      stages:
                        - name: Reconnaissance
                          state: done
                        - name: Access control
                          state: done
                        - name: Injection
                          state: done
                    completedAt: '2027-01-04T15:12:00.000Z'
                    createdAt: '2027-01-04T09:02:00.000Z'
                    report:
                      findings:
                        - id: 5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47
                          status: confirmed
                          severity: high
                          class: Broken Access Control
                          title: >-
                            Any signed-in user can read another account’s
                            invoices
                          where: GET https://app.example.com/api/invoices/{id}
                          proof: >-
                            Signed in as account A, requested invoice 1042 of
                            account B: 200 with the full invoice.
                          control: >-
                            Check that the invoice belongs to the caller’s
                            account before returning it.
                          chain: ''
                          detail: >-
                            Invoice ids are sequential and the route checks only
                            that the caller is signed in.


                            Impact: any customer can read every other customer’s
                            billing details.
                    stopRequestedAt: null
                    attemptNumber: 1
                    attempts:
                      - id: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
                        attemptNumber: 1
                        status: completed
                        assessmentStatus: completed
                        createdAt: '2027-01-04T09:02:00.000Z'
                        dispatchedAt: '2027-01-04T09:41:00.000Z'
                        completedAt: '2027-01-04T15:12:00.000Z'
                    restart: null
                    refundReason: null
              schema:
                $ref: '#/components/schemas/HackMeEngagementList'
        '401':
          $ref: '#/components/responses/HackMeUnauthorized'
      security:
        - bearerAuth: []
components:
  schemas:
    HackMeEngagementList:
      type: object
      properties:
        engagements:
          type: array
          items:
            $ref: '#/components/schemas/HackMeEngagement'
          description: >-
            The account’s engagements, newest first, at most 50. Each restart is
            listed as its own engagement.
          example:
            - id: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
              hostname: app.example.com
              status: completed
              assessmentStatus: completed
              detail: null
              verification: null
              agreementVersion: 2026-12-02-v1
              authorizationAcceptedAt: '2027-01-04T09:02:00.000Z'
              paidAt: '2027-01-04T09:05:00.000Z'
              amountSubtotalCents: 50000
              amountDiscountCents: 0
              amountTaxCents: 0
              amountTotalCents: 50000
              activity:
                stages:
                  - name: Reconnaissance
                    state: done
                  - name: Access control
                    state: done
                  - name: Injection
                    state: done
              completedAt: '2027-01-04T15:12:00.000Z'
              createdAt: '2027-01-04T09:02:00.000Z'
              report:
                findings:
                  - id: 5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47
                    status: confirmed
                    severity: high
                    class: Broken Access Control
                    title: Any signed-in user can read another account’s invoices
                    where: GET https://app.example.com/api/invoices/{id}
                    proof: >-
                      Signed in as account A, requested invoice 1042 of account
                      B: 200 with the full invoice.
                    control: >-
                      Check that the invoice belongs to the caller’s account
                      before returning it.
                    chain: ''
                    detail: >-
                      Invoice ids are sequential and the route checks only that
                      the caller is signed in.


                      Impact: any customer can read every other customer’s
                      billing details.
              stopRequestedAt: null
              attemptNumber: 1
              attempts:
                - id: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
                  attemptNumber: 1
                  status: completed
                  assessmentStatus: completed
                  createdAt: '2027-01-04T09:02:00.000Z'
                  dispatchedAt: '2027-01-04T09:41:00.000Z'
                  completedAt: '2027-01-04T15:12:00.000Z'
              restart: null
              refundReason: null
      required:
        - engagements
      description: Engagements owned by the API key’s account.
      example:
        engagements:
          - id: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
            hostname: app.example.com
            status: completed
            assessmentStatus: completed
            detail: null
            verification: null
            agreementVersion: 2026-12-02-v1
            authorizationAcceptedAt: '2027-01-04T09:02:00.000Z'
            paidAt: '2027-01-04T09:05:00.000Z'
            amountSubtotalCents: 50000
            amountDiscountCents: 0
            amountTaxCents: 0
            amountTotalCents: 50000
            activity:
              stages:
                - name: Reconnaissance
                  state: done
                - name: Access control
                  state: done
                - name: Injection
                  state: done
            completedAt: '2027-01-04T15:12:00.000Z'
            createdAt: '2027-01-04T09:02:00.000Z'
            report:
              findings:
                - id: 5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47
                  status: confirmed
                  severity: high
                  class: Broken Access Control
                  title: Any signed-in user can read another account’s invoices
                  where: GET https://app.example.com/api/invoices/{id}
                  proof: >-
                    Signed in as account A, requested invoice 1042 of account B:
                    200 with the full invoice.
                  control: >-
                    Check that the invoice belongs to the caller’s account
                    before returning it.
                  chain: ''
                  detail: >-
                    Invoice ids are sequential and the route checks only that
                    the caller is signed in.


                    Impact: any customer can read every other customer’s billing
                    details.
            stopRequestedAt: null
            attemptNumber: 1
            attempts:
              - id: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
                attemptNumber: 1
                status: completed
                assessmentStatus: completed
                createdAt: '2027-01-04T09:02:00.000Z'
                dispatchedAt: '2027-01-04T09:41:00.000Z'
                completedAt: '2027-01-04T15:12:00.000Z'
            restart: null
            refundReason: null
    HackMeEngagement:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: >-
            Engagement id. Pass it to the other routes. A restart is a new
            attempt with its own id.
          example: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
        hostname:
          type: string
          description: >-
            The one host under test, lowercase. It is tested over HTTPS on port
            443.
          example: app.example.com
        status:
          type: string
          enum:
            - awaiting_dns
            - awaiting_payment
            - paid
            - dispatched
            - completed
            - failed
            - cancelled
          description: >-
            The field to act on. `awaiting_payment`: terms accepted, not paid;
            pay at the checkout route’s URL. `paid`: payment received; while
            `assessmentStatus` is `verifying` it waits for the DNS TXT record in
            `verification`, otherwise the assessment is being started.
            `dispatched`: the assessment started; `assessmentStatus` is `queued`
            or `running`. `completed`: `report` is ready. `failed`: the run
            failed; `restart` says whether it can run again at no charge.
            `cancelled`: cancelled before payment, stopped at your request, or
            refused (see `refundReason`). `awaiting_dns`: a draft from a retired
            flow that cannot be continued; cancel it.
          example: completed
        assessmentStatus:
          type:
            - string
            - 'null'
          enum:
            - verifying
            - queued
            - running
            - completed
            - failed
            - cancelled
            - null
          description: >-
            The assessment’s own status. `verifying`: waiting for the DNS TXT
            record. `queued`: waiting to start. `running`: testing, which takes
            hours. `completed`, `failed` and `cancelled`: the run ended. Null
            before payment and while a paid assessment is being started.
          example: completed
        detail:
          type:
            - string
            - 'null'
          description: >-
            One line on the current state, in plain text: why it is waiting (the
            DNS record not found yet, a delayed start, another assessment of the
            host running) or why it failed or was cancelled. Null when there is
            nothing to add.
          example: null
        verification:
          anyOf:
            - $ref: '#/components/schemas/HackMeVerification'
            - type: 'null'
          description: >-
            The DNS TXT record to publish. Set only while `status` is `paid` and
            `assessmentStatus` is `verifying`. Otherwise null.
          example: null
        agreementVersion:
          type: string
          description: Version of the authorization terms accepted for this attempt.
          example: 2026-12-02-v1
        authorizationAcceptedAt:
          type: string
          format: date-time
          description: ISO 8601 time the authorization terms were accepted.
          example: '2027-01-04T09:02:00.000Z'
        paidAt:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            ISO 8601 time of payment. Null until paid. A restart shows the
            payment it runs on.
          example: '2027-01-04T09:05:00.000Z'
        amountSubtotalCents:
          type:
            - integer
            - 'null'
          description: The price before discount and tax, in US cents. Null until paid.
          example: 50000
        amountDiscountCents:
          type:
            - integer
            - 'null'
          description: Discount from a promotion code, in US cents. Null until paid.
          example: 0
        amountTaxCents:
          type:
            - integer
            - 'null'
          description: >-
            Sales tax Stripe charged from the billing address, in US cents. Null
            until paid. The example is illustrative.
          example: 0
        amountTotalCents:
          type:
            - integer
            - 'null'
          description: >-
            What was charged, in US cents: subtotal, less discount, plus tax.
            Null until paid. The example is illustrative.
          example: 50000
        activity:
          anyOf:
            - $ref: '#/components/schemas/HackMeActivity'
            - type: 'null'
          description: >-
            The run’s stages and where each one is. Null until the run reports
            them.
          example:
            stages:
              - name: Reconnaissance
                state: done
              - name: Access control
                state: done
              - name: Injection
                state: done
        completedAt:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            ISO 8601 time the assessment ended: completed, failed or cancelled.
            Null before, and on an engagement cancelled before payment.
          example: '2027-01-04T15:12:00.000Z'
        createdAt:
          type: string
          format: date-time
          description: ISO 8601 time the engagement was created.
          example: '2027-01-04T09:02:00.000Z'
        report:
          anyOf:
            - $ref: '#/components/schemas/HackMeReport'
            - type: 'null'
          description: The findings. Set once `status` is `completed`. Otherwise null.
          example:
            findings:
              - id: 5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47
                status: confirmed
                severity: high
                class: Broken Access Control
                title: Any signed-in user can read another account’s invoices
                where: GET https://app.example.com/api/invoices/{id}
                proof: >-
                  Signed in as account A, requested invoice 1042 of account B:
                  200 with the full invoice.
                control: >-
                  Check that the invoice belongs to the caller’s account before
                  returning it.
                chain: ''
                detail: >-
                  Invoice ids are sequential and the route checks only that the
                  caller is signed in.


                  Impact: any customer can read every other customer’s billing
                  details.
        stopRequestedAt:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            ISO 8601 time you cancelled the engagement or asked to stop it.
            While `status` is still `paid` or `dispatched`, the stop waits for
            the assessment service to confirm it, then `status` reads
            `cancelled`. Otherwise null.
          example: null
        attemptNumber:
          type: integer
          description: >-
            1 for the paid run, then 2 and 3 for restarts (at most 3 attempts
            per payment).
          example: 1
        attempts:
          type: array
          items:
            $ref: '#/components/schemas/HackMeAttempt'
          description: Every attempt on this payment, oldest first, this one included.
          example:
            - id: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
              attemptNumber: 1
              status: completed
              assessmentStatus: completed
              createdAt: '2027-01-04T09:02:00.000Z'
              dispatchedAt: '2027-01-04T09:41:00.000Z'
              completedAt: '2027-01-04T15:12:00.000Z'
        restart:
          anyOf:
            - $ref: '#/components/schemas/HackMeRestart'
            - type: 'null'
          description: >-
            Set only on a failed attempt that no restart has replaced yet:
            whether it can run again at no charge. Otherwise null.
          example: null
        refundReason:
          type:
            - string
            - 'null'
          description: >-
            Set when Morph will refund the payment because the assessment was
            refused, for example because the host no longer resolves only to
            public addresses. Plain text. Otherwise null.
          example: null
      required:
        - id
        - hostname
        - status
        - assessmentStatus
        - detail
        - verification
        - agreementVersion
        - authorizationAcceptedAt
        - paidAt
        - amountSubtotalCents
        - amountDiscountCents
        - amountTaxCents
        - amountTotalCents
        - activity
        - completedAt
        - createdAt
        - report
        - stopRequestedAt
        - attemptNumber
        - attempts
        - restart
        - refundReason
      description: 'One engagement: an authorized assessment of one host.'
      example:
        id: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
        hostname: app.example.com
        status: completed
        assessmentStatus: completed
        detail: null
        verification: null
        agreementVersion: 2026-12-02-v1
        authorizationAcceptedAt: '2027-01-04T09:02:00.000Z'
        paidAt: '2027-01-04T09:05:00.000Z'
        amountSubtotalCents: 50000
        amountDiscountCents: 0
        amountTaxCents: 0
        amountTotalCents: 50000
        activity:
          stages:
            - name: Reconnaissance
              state: done
            - name: Access control
              state: done
            - name: Injection
              state: done
        completedAt: '2027-01-04T15:12:00.000Z'
        createdAt: '2027-01-04T09:02:00.000Z'
        report:
          findings:
            - id: 5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47
              status: confirmed
              severity: high
              class: Broken Access Control
              title: Any signed-in user can read another account’s invoices
              where: GET https://app.example.com/api/invoices/{id}
              proof: >-
                Signed in as account A, requested invoice 1042 of account B: 200
                with the full invoice.
              control: >-
                Check that the invoice belongs to the caller’s account before
                returning it.
              chain: ''
              detail: >-
                Invoice ids are sequential and the route checks only that the
                caller is signed in.


                Impact: any customer can read every other customer’s billing
                details.
        stopRequestedAt: null
        attemptNumber: 1
        attempts:
          - id: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
            attemptNumber: 1
            status: completed
            assessmentStatus: completed
            createdAt: '2027-01-04T09:02:00.000Z'
            dispatchedAt: '2027-01-04T09:41:00.000Z'
            completedAt: '2027-01-04T15:12:00.000Z'
        restart: null
        refundReason: null
    HackMeError:
      type: object
      properties:
        error:
          type: string
          description: Why the request was refused and what to do instead, in plain text.
          example: >-
            Engagement not found. List yours with GET
            /api/v1/hack-me/engagements.
      required:
        - error
      description: Error body returned by the Hack me routes.
      example:
        error: Engagement not found. List yours with GET /api/v1/hack-me/engagements.
    HackMeVerification:
      type: object
      properties:
        recordName:
          type: string
          description: Name of the DNS TXT record to publish, as a fully qualified name.
          example: _mindfort.app.example.com
        recordValue:
          type: string
          description: Value of the TXT record, exactly as given.
          example: f0e1d2c3b4a5968778695a4b3c2d1e0f
      required:
        - recordName
        - recordValue
      description: >-
        The DNS TXT record that proves you control the host. MindFort, Morph’s
        security testing partner, issues it.
      example:
        recordName: _mindfort.app.example.com
        recordValue: f0e1d2c3b4a5968778695a4b3c2d1e0f
    HackMeActivity:
      type: object
      properties:
        stages:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
                description: The stage, as the assessment names it.
                example: Access control
              state:
                type: string
                enum:
                  - pending
                  - running
                  - done
                  - skipped
                  - failed
                description: >-
                  Where the stage is: `pending`, `running`, `done`, `skipped` or
                  `failed`.
                example: running
            required:
              - name
              - state
          description: The run’s testing stages, in the order they run.
          example:
            - name: Reconnaissance
              state: done
            - name: Access control
              state: running
            - name: Injection
              state: pending
      required:
        - stages
      description: Progress of a running assessment, stage by stage.
      example:
        stages:
          - name: Reconnaissance
            state: done
          - name: Access control
            state: running
          - name: Injection
            state: pending
    HackMeReport:
      type: object
      properties:
        findings:
          type: array
          items:
            $ref: '#/components/schemas/HackMeFinding'
          description: >-
            Validated findings, highest severity first, at most 200. Findings
            past the first 40 carry their title, severity and class only. Empty
            when nothing was found.
          example:
            - id: 5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47
              status: confirmed
              severity: high
              class: Broken Access Control
              title: Any signed-in user can read another account’s invoices
              where: GET https://app.example.com/api/invoices/{id}
              proof: >-
                Signed in as account A, requested invoice 1042 of account B: 200
                with the full invoice.
              control: >-
                Check that the invoice belongs to the caller’s account before
                returning it.
              chain: ''
              detail: >-
                Invoice ids are sequential and the route checks only that the
                caller is signed in.


                Impact: any customer can read every other customer’s billing
                details.
      required:
        - findings
      description: The report of a completed assessment.
      example:
        findings:
          - id: 5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47
            status: confirmed
            severity: high
            class: Broken Access Control
            title: Any signed-in user can read another account’s invoices
            where: GET https://app.example.com/api/invoices/{id}
            proof: >-
              Signed in as account A, requested invoice 1042 of account B: 200
              with the full invoice.
            control: >-
              Check that the invoice belongs to the caller’s account before
              returning it.
            chain: ''
            detail: >-
              Invoice ids are sequential and the route checks only that the
              caller is signed in.


              Impact: any customer can read every other customer’s billing
              details.
    HackMeAttempt:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: The attempt’s engagement id.
          example: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
        attemptNumber:
          type: integer
          description: 1 for the paid run, then 2 and 3 for restarts.
          example: 1
        status:
          type: string
          enum:
            - awaiting_dns
            - awaiting_payment
            - paid
            - dispatched
            - completed
            - failed
            - cancelled
          description: The attempt’s `status`.
          example: failed
        assessmentStatus:
          type:
            - string
            - 'null'
          enum:
            - verifying
            - queued
            - running
            - completed
            - failed
            - cancelled
            - null
          description: The attempt’s `assessmentStatus`.
          example: failed
        createdAt:
          type: string
          format: date-time
          description: ISO 8601 time the attempt was created.
          example: '2027-01-04T09:02:00.000Z'
        dispatchedAt:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            ISO 8601 time the attempt was handed to the assessment service. Null
            before.
          example: '2027-01-04T09:41:00.000Z'
        completedAt:
          type:
            - string
            - 'null'
          format: date-time
          description: ISO 8601 time the attempt’s assessment ended. Null before.
          example: '2027-01-04T11:30:00.000Z'
      required:
        - id
        - attemptNumber
        - status
        - assessmentStatus
        - createdAt
        - dispatchedAt
        - completedAt
      description: One attempt of a payment.
      example:
        id: c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16
        attemptNumber: 1
        status: failed
        assessmentStatus: failed
        createdAt: '2027-01-04T09:02:00.000Z'
        dispatchedAt: '2027-01-04T09:41:00.000Z'
        completedAt: '2027-01-04T11:30:00.000Z'
    HackMeRestart:
      type: object
      properties:
        available:
          type: boolean
          description: Whether the restart route accepts this attempt now.
          example: true
        remaining:
          type: integer
          description: Restarts this payment has left, out of 2.
          example: 2
        until:
          type:
            - string
            - 'null'
          format: date-time
          description: ISO 8601 end of the restart window, 7 days after payment.
          example: '2027-01-11T09:05:00.000Z'
        requiresAcceptance:
          type: boolean
          description: >-
            The authorization terms changed since this attempt was accepted.
            Restarting needs `acceptedTerms: true`, accepting the current terms.
          example: false
        blockedReason:
          type:
            - string
            - 'null'
          description: Why a restart is not available now, in plain text. Null when it is.
          example: null
        contactSupport:
          type: boolean
          description: >-
            No restart will become available for this payment. Email
            support@morphllm.com about a refund.
          example: false
      required:
        - available
        - remaining
        - until
        - requiresAcceptance
        - blockedReason
        - contactSupport
      description: >-
        Whether a failed attempt can be run again at no charge: up to 2 restarts
        per payment, within 7 days of payment.
      example:
        available: true
        remaining: 2
        until: '2027-01-11T09:05:00.000Z'
        requiresAcceptance: false
        blockedReason: null
        contactSupport: false
    HackMeFinding:
      type: object
      properties:
        id:
          type: string
          description: Finding id.
          example: 5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47
        status:
          type: string
          description: >-
            Validation status. `confirmed`: the agents proved it against the
            live host.
          example: confirmed
        severity:
          type: string
          description: >-
            Severity as reported, such as `critical`, `high`, `medium` or `low`.
            Empty when none was given.
          example: high
        class:
          type: string
          description: The kind of weakness, such as its OWASP category.
          example: Broken Access Control
        title:
          type: string
          description: The problem in one line.
          example: Any signed-in user can read another account’s invoices
        where:
          type: string
          description: The endpoint where it was found. Empty when not reported.
          example: GET https://app.example.com/api/invoices/{id}
        proof:
          type: string
          description: Evidence gathered against the live host. Empty when not reported.
          example: >-
            Signed in as account A, requested invoice 1042 of account B: 200
            with the full invoice.
        control:
          type: string
          description: How to fix it. Empty when not reported.
          example: >-
            Check that the invoice belongs to the caller’s account before
            returning it.
        chain:
          type: string
          description: >-
            How this finding links with others into one attack, when it does.
            Empty otherwise.
          example: ''
        detail:
          type: string
          description: What is wrong and its impact. Empty when not reported.
          example: >-
            Invoice ids are sequential and the route checks only that the caller
            is signed in.


            Impact: any customer can read every other customer’s billing
            details.
      required:
        - id
        - status
        - severity
        - class
        - title
        - where
        - proof
        - control
        - chain
        - detail
      description: One validated finding, as plain text.
      example:
        id: 5b7e0c2a-9d14-4f63-8a1e-3c6f2d9b0e47
        status: confirmed
        severity: high
        class: Broken Access Control
        title: Any signed-in user can read another account’s invoices
        where: GET https://app.example.com/api/invoices/{id}
        proof: >-
          Signed in as account A, requested invoice 1042 of account B: 200 with
          the full invoice.
        control: >-
          Check that the invoice belongs to the caller’s account before
          returning it.
        chain: ''
        detail: >-
          Invoice ids are sequential and the route checks only that the caller
          is signed in.


          Impact: any customer can read every other customer’s billing details.
  responses:
    HackMeUnauthorized:
      description: Missing or invalid Morph API key on a Hack me request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HackMeError'
          example:
            error: >-
              Missing or invalid API key. Send "Authorization: Bearer <key>"
              with a key from https://www.morphllm.com/dashboard/api-keys
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: >-
        Morph API key, passed as `Authorization: Bearer sk-...`. Create keys at
        https://www.morphllm.com/dashboard/api-keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.