@backblaze-labs/b2-sdk - v0.1.0
    Preparing search index...

    Class B2SsrfError

    Thrown when the SDK is asked to fetch a URL whose host is outside the authorized B2 realm. Defense against SSRF / URL-substitution attacks where a compromised or hostile B2 endpoint returns an upload URL pointing at an internal service (e.g. cloud metadata at 169.254.169.254).

    Not retryable.

    Hierarchy

    • Error
      • B2SsrfError
    Index

    Constructors

    Properties

    Constructors

    • Creates a new B2SsrfError.

      Parameters

      • message: string

        Human-readable description of which URL was rejected and why.

      • url: string

        The full URL that was rejected.

      Returns B2SsrfError

    Properties

    retryable: false

    Always false — this is a security failure, not transient.

    url: string

    The full URL that was rejected.