Skip to content

Using the raw query as span name feels unsafe #68

@bixu

Description

@bixu

I recently had a security incident at my org related to the default behavior of the library.

Specifically, the default behavior of using the DB statement as the value for the name span attribute caused a leak of sensitive information (from inside the statement) to our telemetry vendor.

Would it make more sense to at least truncate or sanitize the DB statement before using it in name? Reversing the current logic, maybe consider using the statement as the value for name only as an opt-in, rather than as the default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions